forked from alnux/repo
Compare commits
3 commits
cc4e68c90b
...
6ced0cbc6a
Author | SHA1 | Date | |
---|---|---|---|
|
6ced0cbc6a | ||
|
b510669bf9 | ||
|
c9c731721f |
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