Skip to content

Instantly share code, notes, and snippets.

@playmer
Created October 27, 2017 15:12
Show Gist options
  • Save playmer/42e7f6575e347beccc66ad03dc1d7fc3 to your computer and use it in GitHub Desktop.
Save playmer/42e7f6575e347beccc66ad03dc1d7fc3 to your computer and use it in GitHub Desktop.
/mnt/c/ClangTesting/build/bin/clang++ -stdlib=libc++ -nostdinc++ -I/mnt/c/ClangTesting/build/include/c++/v1 -I/mnt/c/ClangTesting/build/include -L/mnt/c/ClangTesting/build/lib -Wl,-rpath,/mnt/c/ClangTesting/build/lib -Xclang -freflection -std=c++1z ReflectionTest.cpp
git clone https://github.com/llvm-mirror/llvm.git
cd llvm
git checkout 40b1e969f9cb2a0c697e247435193fb006ef1311
cd projects
git clone https://github.com/llvm-mirror/libcxx.git
cd libcxx
git checkout 64182a5877865cde2538c6038f98e3df33c93a03
cd ..
git clone https://github.com/llvm-mirror/libcxxabi.git
cd libcxxabi
git checkout c515867bc14c433febcc574baedd081c078124d1
cd ..
git clone https://github.com/llvm-mirror/compiler-rt
cd compiler-rt
git checkout 06f1c090cb4e27ea82320bfa7af1e3cfb681edeb
cd ../../tools
git clone https://github.com/asutton/clang.git
cd ../..
mkdir build
cd build
cmake -G"Unix Makefiles" ../llvm
make -j15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment