summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-01 16:02:00 +0000
committerChris Lattner <sabre@nondot.org>2003-07-01 16:02:00 +0000
commit42815c8fc38eac1d4e737c14b74cfbc5f2215670 (patch)
treeb299566cd34fe129d71c46380831ca456b8176a2 /utils
parentb812e76b56f96815c08b850fd688ff835862b22a (diff)
downloadllvm-42815c8fc38eac1d4e737c14b74cfbc5f2215670.tar.gz
llvm-42815c8fc38eac1d4e737c14b74cfbc5f2215670.tar.bz2
llvm-42815c8fc38eac1d4e737c14b74cfbc5f2215670.tar.xz
Update to configure the tree before building it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NightlyTest.pl9
1 files changed, 2 insertions, 7 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index d0ddec3252..af46bf0821 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -153,17 +153,12 @@ $LOC = GetRegex "([0-9]+) +total", `wc -l \`utils/getsrcs.sh\` | grep total`;
# 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";
}