NewNightlyTest.pl - Add -configure-args option.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 13 Jul 2009 22:31:58 +0000 (22:31 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 13 Jul 2009 22:31:58 +0000 (22:31 +0000)
 - For adding arbitrary arguments to pass to configure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75535 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NewNightlyTest.pl

index 09e6e30c6b23bddb9ae9f743c9a125826b79cdcd..fd38a05cf0b068629af54f3011cf811f3b42f042 100755 (executable)
@@ -181,6 +181,8 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
                              shift; next; }
   if (/^-with-externals$/) { $CONFIGUREARGS .= " --with-externals=$ARGV[0]";
                              shift; next; }
+  if (/^-configure-args$/) { $CONFIGUREARGS .= " $ARGV[0]";
+                             shift; next; }
   if (/^-submit-server/)   { $SUBMITSERVER = "$ARGV[0]"; shift; next; }
   if (/^-submit-script/)   { $SUBMITSCRIPT = "$ARGV[0]"; shift; next; }
   if (/^-submit-aux/)      { $SUBMITAUX = "$ARGV[0]"; shift; next; }