9 lines
267 B
Text
Executable file
9 lines
267 B
Text
Executable file
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/clang-12.0.1.src.tar.xz
|
|
tar -xf clang-12.0.1.src.tar.xz
|
|
cd clang-12.0.1.src
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
|
|
make
|
|
make DESTDIR="$1" install
|