repo/clang/build
2021-07-19 08:45:18 +02:00

9 lines
262 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" ..
make
make DESTDIR="$1" install