Fix clang, openrc #14

Merged
hippoz merged 10 commits from Ohio2/repo:master into master 2021-07-09 17:26:54 +03:00
Showing only changes of commit a6c55418be - Show all commits

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
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"