Skip to content

Instantly share code, notes, and snippets.

@maedoc
Created April 6, 2016 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maedoc/a41cb253011ad55edacca560a66dff76 to your computer and use it in GitHub Desktop.
Save maedoc/a41cb253011ad55edacca560a66dff76 to your computer and use it in GitHub Desktop.
NumPy/SciPy site.cfg for building against MATLAB BLAS/LAPACK
[ALL]
libraries = mwblas mwlapack
library_dirs = /usr/local/MATLAB/R2016a/bin/glnxa64
runtime_library_dirs = /usr/local/MATLAB/R2016a/bin/glnxa64
include_dirs = /usr/local/MATLAB/R2016a/extern/include
extra_compile_args = -fexceptions -fPIC -fno-omit-frame-pointer -pthread -D_GNU_SOURCE -DMATLAB_MEX_FILE
extra_link_args = -L/usr/local/MATLAB/R2016a/bin/glnxa64 -lmx -lmex -lmat -lm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment