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

Reid Spencer reid at x10sys.com
Sat Dec 25 21:21:24 PST 2004



Changes in directory llvm/utils:

NightlyTest.pl updated: 1.84 -> 1.85
---
Log message:

Revert the last patch so that the LLVMGCCDIR environment variable is
still viable and will make use of the resurrected --with-llvmgccdir 
configure option.


---
Diffs of the changes:  (+5 -0)

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.84 llvm/utils/NightlyTest.pl:1.85
--- llvm/utils/NightlyTest.pl:1.84	Fri Dec 24 00:32:54 2004
+++ llvm/utils/NightlyTest.pl	Sat Dec 25 23:21:13 2004
@@ -45,6 +45,8 @@
 # WEBDIR is the directory into which the test results web page will be written,
 #  AND in which the "index.html" is assumed to be a symlink to the most recent
 #  copy of the results. This directory will be created if it does not exist.
+# LLVMGCCDIR is the directory in which the LLVM GCC Front End is installed
+#  to. This is the same as you would have for a normal LLVM build.
 #
 use POSIX qw(strftime);
 use File::Copy;
@@ -280,6 +282,9 @@
   print "Unknown option: $_ : ignoring!\n";
 }
 
+if ($ENV{'LLVMGCCDIR'}) {
+  $CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV{'LLVMGCCDIR'};
+}
 if ($CONFIGUREARGS !~ /--disable-jit/) {
   $CONFIGUREARGS .= " --enable-jit";
 }






More information about the llvm-commits mailing list