7 lines
264 B
Text
Executable file
7 lines
264 B
Text
Executable file
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
|
|
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
|
|
make
|
|
make install DESTDIR="$1"
|
|
|