aboutsummaryrefslogtreecommitdiffstats
path: root/extra-tools/llvm-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extra-tools/llvm-build.sh')
-rw-r--r--extra-tools/llvm-build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra-tools/llvm-build.sh b/extra-tools/llvm-build.sh
new file mode 100644
index 0000000..9830cb5
--- /dev/null
+++ b/extra-tools/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