clang fix

This commit is contained in:
Ohio2 2021-07-09 15:16:10 +02:00
parent 2971d07a93
commit c9c731721f

View file

@ -1,5 +1,6 @@
git clone https://github.com/llvm/llvm-project.git
cd llvm-projcet.git
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
untar -xf clang-12.0.1.src.tar.xz
cd clang-12.0.1.src
cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make
make install DESTDIR="$1"