Last active
November 5, 2019 10:50
-
-
Save JPenuchot/e2f1ca08898813e5410c2c6d8c666bf8 to your computer and use it in GitHub Desktop.
clang-metaprogramming build script
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
#!/bin/sh | |
git clone https://gitlab.com/lock3/clang.git llvm-project | |
cd llvm-project | |
git checkout feature/metaprogramming | |
cd .. | |
mkdir -p build | |
cd build | |
cmake -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi" \ | |
-DCMAKE_BUILD_TYPE="Release" \ | |
-G "Unix Makefiles" \ | |
../llvm-project/llvm | |
make -j2 | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment