[llvm-commits] [dragonegg] r98951 - /dragonegg/trunk/extras/do_self_strap
Duncan Sands
baldrick at free.fr
Fri Mar 19 02:45:44 PDT 2010
Author: baldrick
Date: Fri Mar 19 04:45:44 2010
New Revision: 98951
URL: http://llvm.org/viewvc/llvm-project?rev=98951&view=rev
Log:
Convenience variable for parametrizing the dragonegg build.
Modified:
dragonegg/trunk/extras/do_self_strap
Modified: dragonegg/trunk/extras/do_self_strap
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/extras/do_self_strap?rev=98951&r1=98950&r2=98951&view=diff
==============================================================================
--- dragonegg/trunk/extras/do_self_strap (original)
+++ dragonegg/trunk/extras/do_self_strap Fri Mar 19 04:45:44 2010
@@ -47,6 +47,8 @@
LLVM_OPTIONS="--enable-optimized --enable-assertions \
--disable-threads"
+# Options to pass to the dragonegg Makefile.
+DRAGONEGG_OPTIONS=""
COMPARE="cmp --ignore-initial=16" # How to compare object files
MAKE="nice -n 20 make -j -l3" # How to run make
@@ -172,7 +174,7 @@
mkdir -p $DRAGONEGG_BUILD-pre
cd $DRAGONEGG_BUILD-pre
$MAKE -f $DRAGONEGG_SOURCE/Makefile clean
- SRC_DIR=$DRAGONEGG_SOURCE $MAKE -f $DRAGONEGG_SOURCE/Makefile
+ SRC_DIR=$DRAGONEGG_SOURCE $DRAGONEGG_OPTIONS $MAKE -f $DRAGONEGG_SOURCE/Makefile
# <== end: Build dragonegg using the just built GCC and DRAGONEGG.
@@ -189,7 +191,7 @@
mkdir -p $DRAGONEGG_BUILD
cd $DRAGONEGG_BUILD
$MAKE -f $DRAGONEGG_SOURCE/Makefile clean
- SRC_DIR=$DRAGONEGG_SOURCE $MAKE -f $DRAGONEGG_SOURCE/Makefile
+ SRC_DIR=$DRAGONEGG_SOURCE $DRAGONEGG_OPTIONS $MAKE -f $DRAGONEGG_SOURCE/Makefile
# <== end: Build dragonegg again using the just built dragonegg
More information about the llvm-commits
mailing list