Last active
June 30, 2019 04:36
-
-
Save chichunchen/1ea6a12485e1a7852a90bbb3b574c402 to your computer and use it in GitHub Desktop.
llvm cmake script for building the learning env.
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
# clone llvm-project -> mkdir build -> cd build | |
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_INSTALL_PREFIX=$HOME/llvm -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;lldb;lld;openmp;clang-tools-extra;compiler-rt" ../llvm/ | |
ninja -j 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment