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.morph12
1 files changed, 8 insertions, 4 deletions
diff --git a/strata/llvm-common/llvm.morph b/strata/llvm-common/llvm.morph
index de274476..0d4f07c4 100644
--- a/strata/llvm-common/llvm.morph
+++ b/strata/llvm-common/llvm.morph
@@ -1,7 +1,11 @@
name: llvm
-kind: chunk
description: Low Level Virtual Machine
-build-system: autotools
+kind: chunk
+build-system: cmake
configure-commands:
-- ./configure --prefix="$PREFIX" --sysconfdir=/etc --enable-shared --enable-targets=host
- --enable-optimized --disable-assertions
+- mkdir o
+- cd o && cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_BUILD_TYPE=Release ..
+build-commands:
+- cd o && make
+install-commands:
+- cd o && make DESTDIR="$DESTDIR" install