Skip to content

Instantly share code, notes, and snippets.

@abel0b
Created June 27, 2020 13:20
Show Gist options
  • Save abel0b/a6b6c898572377752c4fc1aaa4999dc5 to your computer and use it in GitHub Desktop.
Save abel0b/a6b6c898572377752c4fc1aaa4999dc5 to your computer and use it in GitHub Desktop.
Install llvm clang openmp from sources
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