From 211ba92b6c2a3c8863c1028ea2ca85e2dcd407ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 2 Oct 2014 10:54:36 +0000 Subject: llvm.morph: Compile the default options with some exceptions --disable-assertions: those checks are not needed in production systems --enable-optimized: it will help compiling on ARM --enable-shared: mesa recommends llvm to be compiled in this way --enable-targets=host: Only build for the host architecture See http://llvm.org/docs/GettingStarted.html#local-llvm-configuration and http://llvm.org/docs/HowToBuildOnARM.html --- strata/llvm-common/llvm.morph | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/strata/llvm-common/llvm.morph b/strata/llvm-common/llvm.morph index fed29165..9d280062 100644 --- a/strata/llvm-common/llvm.morph +++ b/strata/llvm-common/llvm.morph @@ -3,6 +3,6 @@ kind: chunk description: Low Level Virtual Machine build-system: autotools configure-commands: -- ./configure --prefix="$PREFIX" --libdir="$PREFIX"/lib/llvm --sysconfdir=/etc --enable-shared - --enable-libffi --enable-targets=all --disable-expensive-checks --disable-debug-runtime - --disable-assertions --enable-optimized +- ./configure --prefix="$PREFIX" --sysconfdir=/etc --enable-shared --enable-targets=host --enable-optimized --disable-assertions +build-commands: +- make $MAKEFLAGS -- cgit v1.2.1