repo/clang/build

10 lines
262 B
Text
Raw Normal View History

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
2021-07-19 09:45:18 +03:00
cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ..
make
make DESTDIR="$1" install