Easily build LLVM
Make building LLVM and switching between commits painless.
/tmp/llvm-project
curl -L https://github.com/TianyiChen/llvm-build/releases/download/48a8c7dc/clang11-virtualroot.tar.gz| tar -xz
export LLVM_VIRT=/tmp/llvm-project/virtualroot
export PATH=$LLVM_VIRT/bin:$PATH
export LD_LIBRARY_PATH=$LLVM_VIRT/lib:$LD_LIBRARY_PATH
Issues in this repository are meant to be handled by scripts, issues for humans can be submitted at https://github.com/TianyiChen/llvm-build-issues/issues
git fetch origin <commit>
, which does not differ much in benchmark.
# run within the folder for actural storage
ln -s $PWD /tmp/llvm-project