From a6c55418bed63b71594f1b92abce457b6e6c3d4c Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Fri, 9 Jul 2021 07:22:40 +0200 Subject: [PATCH] fix clang --- clang/build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/clang/build b/clang/build index 8264904..bde6329 100755 --- a/clang/build +++ b/clang/build @@ -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 -tar -xf clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz -cd clang+llvm-12.0.0-x86_64-linux-gnu-ubuntu-20.04 -cd OBJ_ROOT -cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$1"/usr/bin +git clone https://github.com/llvm/llvm-project.git +cd llvm-projcet.git +cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin make make install DESTDIR="$1"