From e12dcd976d17c496497a6f284a1df74cc7ee7a7d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 13 Jul 2009 22:31:58 +0000 Subject: [PATCH] NewNightlyTest.pl - Add -configure-args option. - For adding arbitrary arguments to pass to configure. llvm-svn: 75535 --- llvm/utils/NewNightlyTest.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/utils/NewNightlyTest.pl b/llvm/utils/NewNightlyTest.pl index 09e6e30c6b23..fd38a05cf0b0 100755 --- a/llvm/utils/NewNightlyTest.pl +++ b/llvm/utils/NewNightlyTest.pl @@ -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; }