summaryrefslogtreecommitdiff
path: root/strata/llvm-common/llvm.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/llvm-common/llvm.morph')
-rw-r--r--strata/llvm-common/llvm.morph17
1 files changed, 10 insertions, 7 deletions
diff --git a/strata/llvm-common/llvm.morph b/strata/llvm-common/llvm.morph
index dca81043..2719e6ce 100644
--- a/strata/llvm-common/llvm.morph
+++ b/strata/llvm-common/llvm.morph
@@ -1,11 +1,14 @@
name: llvm
kind: chunk
description: Low Level Virtual Machine
-build-system: autotools
+build-system: cmake
configure-commands:
-- ./configure --prefix="$PREFIX" --sysconfdir=/etc
- --enable-shared
- --enable-targets=host
- --enable-optimized
- --disable-assertions
- --with-python=/usr/bin/python3
+- mkdir build
+- cd build && cmake ..
+ -DCMAKE_INSTALL_PREFIX="$PREFIX"
+ -DLLVM_TARGETS_TO_BUILD=host
+ -DBUILD_SHARED_LIBS=yes
+build-commands:
+- cd build && make
+install-commands:
+- cd build && make DESTDIR="$DESTDIR" install