repo/clang/build

8 lines
264 B
Text
Raw Normal View History

2021-07-09 16:16:10 +03:00
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
2021-07-09 08:22:40 +03:00
cmake -S llvm -G "Unix Makefiles" -B build -DCMAKE_INSTALL_PREFIX="$1"/usr/bin
2021-07-08 20:49:15 +03:00
make
2021-07-07 17:59:27 +03:00
make install DESTDIR="$1"