fix clang

This commit is contained in:
Ohio2 2021-07-09 07:22:40 +02:00
parent ddf3e48236
commit a6c55418be

View file

@ -1,8 +1,6 @@
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz git clone https://github.com/llvm/llvm-project.git
tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz cd llvm-projcet.git
cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04 cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
cd OBJ_ROOT
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
make make
make install DESTDIR="$1" make install DESTDIR="$1"