[llvm-commits] CVS: llvm/utils/NightlyTest.pl

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 1 11:03:02 PDT 2003


Changes in directory llvm/utils:

NightlyTest.pl updated: 1.14 -> 1.15

---
Log message:

Update to configure the tree before building it.


---
Diffs of the changes:

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.14 llvm/utils/NightlyTest.pl:1.15
--- llvm/utils/NightlyTest.pl:1.14	Thu Jun 26 15:11:07 2003
+++ llvm/utils/NightlyTest.pl	Tue Jul  1 11:02:00 2003
@@ -153,17 +153,12 @@
 # Build the entire tree, saving build messages to the build log
 #
 if (!$NOCHECKOUT) {
-  # Change the Makefile.config to build into the local directory...
-  rename "Makefile.config", "Makefile.config.orig";
-  system "sed '/^OBJ_ROOT/d' < Makefile.config.orig > Makefile.config";
-  system "echo >> Makefile.config";
-  system "echo 'OBJ_ROOT := .' >> Makefile.config";
-
+  system "(time -p ./configure) > $Prefix-Build-Log.txt 2>&1";
   # Change the Makefile.config to not strip executables...
   system "echo 'KEEP_SYMBOLS := 1' >> Makefile.config";
 
   # Build the entire tree, capturing the output into $Prefix-Build-Log.txt
-  system "(time -p gmake $MAKEOPTS) > $Prefix-Build-Log.txt 2>&1";
+  system "(time -p gmake $MAKEOPTS) >> $Prefix-Build-Log.txt 2>&1";
 }
 
 





More information about the llvm-commits mailing list