[Lunar-commits] <moonbase> llvm: A little adjustment here.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sun Jun 20 14:19:06 CEST 2010
commit 9db940f005e770ad0a58e5836c8355b989020fc9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sun Jun 20 08:19:06 2010 -0400
llvm: A little adjustment here.
---
compilers/llvm/BUILD | 8 +++++++-
compilers/llvm/CONFIGURE | 3 ++-
compilers/llvm/DEPENDS | 3 +++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/compilers/llvm/BUILD b/compilers/llvm/BUILD
index 3dad6b9..dfd27b9 100644
--- a/compilers/llvm/BUILD
+++ b/compilers/llvm/BUILD
@@ -1,6 +1,12 @@
(
- OPTS="$OPTS --enable-optimized --enable-assertions --enable-pic --enable-targets=host-only"
+ OPTS="$OPTS --enable-optimized --enable-shared --enable-pic --enable-targets=host-only"
+
+ if [ "$USE_ASSERTS" == "y" ] ; then
+ OPTS="--enable-assertions"
+ else
+ OPTS="--disable-assertions"
+ fi &&
default_build &&
diff --git a/compilers/llvm/CONFIGURE b/compilers/llvm/CONFIGURE
index c3d230c..70060da 100644
--- a/compilers/llvm/CONFIGURE
+++ b/compilers/llvm/CONFIGURE
@@ -4,5 +4,6 @@ USE_CLANG="n"
if [ -n "$RECONFIGURE" ] ; then
mquery USE_CLANG "Do you want to build the clang (C compiler) front-end ? " n
-
fi
+
+mquery USE_ASSERTS "Do you want to use assertions? (Not supported by OpenGTL)" n
diff --git a/compilers/llvm/DEPENDS b/compilers/llvm/DEPENDS
index db19b64..dfc6624 100644
--- a/compilers/llvm/DEPENDS
+++ b/compilers/llvm/DEPENDS
@@ -1,3 +1,6 @@
depends udis86
+optional_depends tcl "" "" "for tcl support"
+optional_depends libffi "--enable-libffi" "--disable-libffi" "for high level programming support"
optional_depends doxygen "--enable-doxygen" "--disable-doxygen" "for documentation support"
+optional_depends ocaml "" "" "for ocaml support"
More information about the Lunar-commits
mailing list