Skip to content

Instantly share code, notes, and snippets.

@eraly
Last active April 26, 2016 19:18
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 eraly/5c1369ed7fdf31adeeab2179632c4a3f to your computer and use it in GitHub Desktop.
Save eraly/5c1369ed7fdf31adeeab2179632c4a3f to your computer and use it in GitHub Desktop.
export OPENMP_HOME=/usr/local/Cellar/libiomp/20150227
export CLANGOMP_HOME=/usr/local/Cellar/clang-omp/2015-04-01
export PATH=$CLANGOMP_HOME/bin:$PATH
export C_INCLUDE_PATH=$CLANGOMP_HOME/libexec/include/clang-c:$OPENMP_HOME/include/libiomp:$C_INCLUDE_PATH
export CXX_INCLUDE_PATH=$CLANGOMP_HOME/libexec/include/clang-c:$OPENMP_HOME/include/libiomp:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=$CLANGOMP_HOME/libexec/include/c++/v1:$OPENMP_HOME/include/libiomp:$CPLUS_INCLUDE_PATH
export LIBRARY_PATH=$CLANGOMP_HOME/libexec/lib:$OPENMP_HOME/include/libiomp:$LIBRARY_PATH
export LD_LIBRARY_PATH=$CLANGOMP_HOME/libexec/lib:$OPENMP_HOME/include/libiomp:$LD_LIBRARY_PATH
#export DYLD_LIBRARY_PATH=$OPENMP_HOME/include:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$CLANGOMP_HOME/libexec/lib:$OPENMP_HOME/include/libiomp:$LD_LIBRARY_PATH
@treo
Copy link

treo commented Apr 26, 2016

For anyone who may find this: Try to restart your shell, after running setupox.sh first. This exports have been shown to create more problems, then they solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment