aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/NightlyTest.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index 67c96def3a..0c99c6248f 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -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 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
print "Unknown option: $_ : ignoring!\n";
}
+if ($ENV{'LLVMGCCDIR'}) {
+ $CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV{'LLVMGCCDIR'};
+}
if ($CONFIGUREARGS !~ /--disable-jit/) {
$CONFIGUREARGS .= " --enable-jit";
}