Skip to content

Instantly share code, notes, and snippets.

@ronert
Created May 24, 2013 18:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ronert/5645530 to your computer and use it in GitHub Desktop.
Save ronert/5645530 to your computer and use it in GitHub Desktop.
export arch=x86_64
export r_arch=x86_64
export CC="gcc -arch x86_64 -std=gnu99"
export CXX="g++ -arch x86_64"
export OBJC="clang"
export F77="gfortran -arch x86_64"
export FC="gfortran -arch x86_64"
export CFLAGS='-g -O2'
export CXXFLAGS='-g -O2'
export FCFLAGS='-g -O2'
export F77FLAGS='-g -O2'
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
./configure --with-blas="-framework Accelerate" --with-lapack --with-aqua --with-system-zlib --enable-memory-profiling --enable-R-framework --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib --with-tcltk=/usr/local/lib --disable-openmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment