Fix clang, openrc #14
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue