mkdir code && cd code
git clone https://github.com/llvm-mirror/llvm.git
cd llvm/tools && git clone https://github.com/llvm-mirror/clang.git && cd ..
mkdir build && cd build
cmake .. && make -j4
brew install libomp
cd ~
dummp_omp_file.cpp
/code/llvm/build/bin/clang++ -fopenmp=libomp dummy_omp_file.cpp -o dummy
./dummy
Created
April 3, 2018 07:15
-
-
Save annanay25/b5076bc78b2022fb12bc2c1708c462e0 to your computer and use it in GitHub Desktop.
Setup for getting a LLVM + Clang (Built from source) working with OpenMP on MacOSX.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment