Created
June 27, 2020 13:20
-
-
Save abel0b/a6b6c898572377752c4fc1aaa4999dc5 to your computer and use it in GitHub Desktop.
Install llvm clang openmp from sources
This file contains hidden or 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
git clone https://github.com/llvm/llvm-project.git --depth=1 /tmp/llvm | |
mkdir /tmp/llvm/build | |
cd /tmp/llvm/build | |
cmake -DLLVM_ENABLE_PROJECTS="clang;openmp;libcxx;libcxxabi;libunwind;lldb;compiler-rt;lld" -DCMAKE_INSTALL_PREFIX="/opt/llvm" ../llvm | |
make -j64 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment