Changes in directory llvm/utils:
NightlyTest.pl updated: 1.107 -> 1.108 --- Log message: Add -extraflags FLAGS to pass extra compilation options. --- Diffs of the changes: (+6 -1) NightlyTest.pl | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-) Index: llvm/utils/NightlyTest.pl diff -u llvm/utils/NightlyTest.pl:1.107 llvm/utils/NightlyTest.pl:1.108 --- llvm/utils/NightlyTest.pl:1.107 Fri Apr 14 08:53:56 2006 +++ llvm/utils/NightlyTest.pl Wed Jun 7 00:28:07 2006 @@ -43,6 +43,8 @@ # override the default. # -ldflags Next argument specifies that linker options that override # the default. +# -extraflags Next argument specifies extra options that are passed to +# compile the tests. # # ---------------- Options to configure llvm-test ---------------------------- # -spec2000path Path to the benchspec directory in the SPEC 2000 distro @@ -312,7 +314,7 @@ $CONFIGUREARGS .= " --with-f2c=$ARGV[0]"; shift; next; } if (/^-with-externals/) { - $CONFIGUREARGS .= "--with-externals=$ARGV[0]"; shift; next + $CONFIGUREARGS .= " --with-externals=$ARGV[0]"; shift; next } if (/^-gnuplotscript$/) { $PlotScriptFilename = $ARGV[0]; shift; next; } if (/^-templatefile$/) { $Template = $ARGV[0]; shift; next; } @@ -332,6 +334,9 @@ if (/^-ldflags/) { $MAKEOPTS = "$MAKEOPTS LD.Flags=\'$ARGV[0]\'"; shift; next; } + if (/^-extraflags/) { + $PROGTESTOPTS .= " EXTRA_FLAGS=\'$ARGV[0]\'"; shift; next; + } if (/^-noexternals$/) { $NOEXTERNALS = 1; next; } if (/^-nodejagnu$/) { $NODEJAGNU = 1; next; } if (/^-spec2000path$/) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits