aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-build.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xllvm-build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm-build.sh b/llvm-build.sh
new file mode 100755
index 0000000..83d4aef
--- /dev/null
+++ b/llvm-build.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+"cmake" -G "Unix Makefiles" ../llvm -DLLVM_ENABLE_RTTI=1 -DCMAKE_BUILD_TYPE=Release -DLLDB_TEST_C_COMPILER=cc -DLLDB_TEST_CXX_COMPILER=g++ -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly -DLLVM_ENABLE_ASSERTIONS=1 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;clang-tools-extra;compiler-rt;"