Skip to content

Instantly share code, notes, and snippets.

View staticfloat's full-sized avatar

Elliot Saba staticfloat

View GitHub Profile
staticfloat / cryptopp521-522.patch
Created March 14, 2012 20:12
Upgrade cryptopp revision 521->522 to fix clang error
diff --git a/Readme.txt b/Readme.txt
index 1b26794..2f04e9f 100644
--- a/Readme.txt
+++ b/Readme.txt
@@ -1,5 +1,5 @@
Crypto++: a C++ Class Library of Cryptographic Schemes
-Version 5.6.1 (8/9/2010, SVN r520)
+Version 5.6.2 (in development)
Crypto++ Library is a free C++ class library of cryptographic schemes.
Index: panama.cpp
panama.cpp (revision 521)
panama.cpp (revision 522)
@@ -422,7 +422,7 @@
- PadLastBlock(this->BLOCKSIZE, 0x01);
+ this->PadLastBlock(this->BLOCKSIZE, 0x01);
staticfloat / gist:2269043
Created March 31, 2012 22:15
matplotlib build log
basedirlist is: []
matplotlib: 1.2.x
python: 2.7.2 (default, Mar 14 2012, 13:59:16) [GCC 4.2.1
Compatible Apple Clang 2.1
platform: darwin
staticfloat / gist:2288301
Created April 3, 2012 00:35
config.log for valgrind
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Valgrind configure 3.7.0, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --prefix=/Users/sabae/.homebrew/Cellar/valgrind/3.7.0 --mandir=/Users/sabae/.homebrew/Cellar/valgrind/3.7.0/share/man --enable-only64bit --build=amd64-darwin
## --------- ##
## Platform. ##
staticfloat / gist:2347454
Created April 9, 2012 23:51
julia build log, FFTW failure
$ brew install -v --HEAD julia
==> Installing julia
==> Cloning
Updating /Library/Caches/Homebrew/julia--git
git remote set-url origin
git fetch origin
git reset --hard origin/HEAD
HEAD is now at 9d25ba8 fix #691
git checkout-index -a -f --prefix=/private/tmp/homebrew-julia-HEAD-vExl/
==> Using Homebrew-provided fortran compiler.
staticfloat / gist:2419628
Created April 19, 2012 08:21
julia buildlog re: suitesparce
mkdir -p SuiteSparse-SYSTEM/lib && \
cd SuiteSparse-SYSTEM/lib && \
cp `find /lib /usr/lib /usr/local/lib /Users/sabae/.homebrew/lib \
-name libamd.a -o -name libbtf.a -o -name libcamd.a -o -name libccolamd.a \
-o -name libcholmod.a -o -name libcolamd.a -o -name libspqr.a -o -name libufconfig.a \
-o -name libcerbla.a -o -name libumfpack.a` . && \
for i in *.a; do ar x $i; done && \
gfortran -shared -Os -w -pipe -march=core2 -msse4.1 -O2 -fPIC *.o -framework vecLib -lLAPACK -framework vecLib -lBLAS -lstdc++ -o libsuitesparse.dylib
find: /lib: No such file or directory
Undefined symbols for architecture x86_64:
staticfloat / gist:3101831
Created July 12, 2012 23:38
Suite-Sparse 4.0.1 patch
diff -ur ../SuiteSparse.orig/CHOLMOD/Partition/cholmod_metis.c ./CHOLMOD/Partition/cholmod_metis.c
--- ../SuiteSparse.orig/CHOLMOD/Partition/cholmod_metis.c 2007-05-04 11:47:17.000000000 -0500
+++ ./CHOLMOD/Partition/cholmod_metis.c 2011-10-21 18:21:54.000000000 -0500
@@ -76,7 +76,7 @@
#include <stdio.h>
/* After dumping the graph with this routine, run "onmetis metisgraph" */
-static void dumpgraph (idxtype *Mp, idxtype *Mi, SuiteSparse_long n,
+static void dumpgraph (idx_t *Mp, idx_t *Mi, SuiteSparse_long n,
cholmod_common *Common)
staticfloat / gist:3351963
Created August 14, 2012 19:23
BrewBot crash log
$ brew test-bot wget
Error: undefined method `factory' for Formula:Class
Please report this bug:
/Users/sabae/.homebrew/Library/Contributions/cmds/brew-test-bot.rb:92:in `initialize'
/Users/sabae/.homebrew/Library/Contributions/cmds/brew-test-bot.rb:255:in `new'
/Users/sabae/.homebrew/Library/Contributions/cmds/brew-test-bot.rb:255:in `run'
/Users/sabae/.homebrew/Library/Contributions/cmds/brew-test-bot.rb:275:in `each'
$ brew --config
HEAD: c6dee782206c77700ea10224e516b9f0cc935a78
HOMEBREW_PREFIX: /Users/sabae/.homebrew
HOMEBREW_CELLAR: /Users/sabae/.homebrew/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.4.1
GCC-4.0: N/A
staticfloat / gdb backtrace
Created August 19, 2012 00:14
Julia crash
$ gdb ./julia-debug-readline
GNU gdb 6.3.50-20050815 (Apple version gdb-1820) (Sat Jun 16 02:40:11 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ....... done
(gdb) cd ../../base