repo/testing/lld/build
2019-08-01 01:54:41 +03:00

15 lines
236 B
Bash
Executable File

#!/bin/sh -e
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_ENABLE_EH=ON \
-Wno-dev -G "Unix Makefiles" ..
make
make DESTDIR="$1" install