Skip to content

Instantly share code, notes, and snippets.

@JPenuchot
Last active November 5, 2019 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JPenuchot/e2f1ca08898813e5410c2c6d8c666bf8 to your computer and use it in GitHub Desktop.
Save JPenuchot/e2f1ca08898813e5410c2c6d8c666bf8 to your computer and use it in GitHub Desktop.
clang-metaprogramming build script
#!/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