Created
August 26, 2014 09:46
-
-
Save palmerc/d9c40816748fa76ede35 to your computer and use it in GitHub Desktop.
Setup up some critical values for LLVM OpenMP to function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
OPENMP_DIR=/usr/local/llvm-omp | |
export CC=${OPENMP_DIR}/bin/clang | |
export CXX=${OPENMP_DIR}/bin/clang++ | |
export CMAKE_C_COMPILER=${CC} | |
export CMAKE_CXX_COMPILER=${CXX} | |
export PATH=${OPENMP_DIR}/bin:${PATH} | |
export C_INCLUDE_PATH=${OPENMP_DIR}/include:${C_INCLUDE_PATH} | |
export CPLUS_INCLUDE_PATH=${OPENMP_DIR}/include:${CPLUS_INCLUDE_PATH} | |
export LIBRARY_PATH=${OPENMP_DIR}/lib:${LIBRARY_PATH} | |
export LD_LIBRARY_PATH=${OPENMP_DIR}/lib:${LD_LIBRARY_PATH} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment