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 wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
cd llvm-projcet.git 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 cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make make
make install DESTDIR="$1" make install DESTDIR="$1"