[llvm-commits] CVS: llvm/utils/NightlyTest.pl
Misha Brukman
brukman at cs.uiuc.edu
Sun Nov 7 19:28:38 PST 2004
Changes in directory llvm/utils:
NightlyTest.pl updated: 1.68 -> 1.69
---
Log message:
* Add support for f2c and the -f2c switch to enable Fortran benchmarks
* Remove spurious spaces between variable names and `=' (they're not lined up
anyway and there's no hope of doing that)
---
Diffs of the changes: (+18 -12)
Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.68 llvm/utils/NightlyTest.pl:1.69
--- llvm/utils/NightlyTest.pl:1.68 Sat Nov 6 15:35:40 2004
+++ llvm/utils/NightlyTest.pl Sun Nov 7 21:28:27 2004
@@ -31,6 +31,7 @@
# -debug Print information useful only to maintainers of this script.
# -nice Checkout/Configure/Build with "nice" to reduce impact
# on busy servers.
+# -f2c Next argument specifies path to F2C utility
# -gnuplotscript Next argument specifies gnuplot script to use
# -templatefile Next argument specifies template file to use
# -gccpath Path to gcc/g++ used to build LLVM
@@ -69,15 +70,15 @@
# Command line argument settings...
my $NOCHECKOUT = 0;
-my $NOREMOVE = 0;
+my $NOREMOVE = 0;
my $NOFEATURES = 0;
my $NOREGRESSIONS = 0;
-my $NOTEST = 0;
+my $NOTEST = 0;
my $NORUNNINGTESTS = 0;
my $NOEXTERNALS = 0;
-my $MAKEOPTS = "";
+my $MAKEOPTS = "";
my $PROGTESTOPTS = "";
-my $VERBOSE = 0;
+my $VERBOSE = 0;
my $DEBUG = 0;
my $CONFIGUREARGS = "";
my $NICE = "";
@@ -262,13 +263,13 @@
# List command line options here...
if (/^-nocheckout$/) { $NOCHECKOUT = 1; next; }
- if (/^-noremove$/) { $NOREMOVE = 1; next; }
+ if (/^-noremove$/) { $NOREMOVE = 1; next; }
if (/^-nofeaturetests$/) { $NOFEATURES = 1; next; }
if (/^-noregressiontests$/){ $NOREGRESSIONS = 1; next; }
- if (/^-notest$/) { $NOTEST = 1; $NORUNNINGTESTS = 1; next; }
+ if (/^-notest$/) { $NOTEST = 1; $NORUNNINGTESTS = 1; next; }
if (/^-norunningtests$/) { $NORUNNINGTESTS = 1; next; }
- if (/^-parallel$/) { $MAKEOPTS = "$MAKEOPTS -j2 -l3.0"; next; }
- if (/^-release$/) { $MAKEOPTS = "$MAKEOPTS ENABLE_OPTIMIZED=1"; next; }
+ if (/^-parallel$/) { $MAKEOPTS = "$MAKEOPTS -j2 -l3.0"; next; }
+ if (/^-release$/) { $MAKEOPTS = "$MAKEOPTS ENABLE_OPTIMIZED=1"; next; }
if (/^-pedantic$/) {
$MAKEOPTS = "$MAKEOPTS CompileOptimizeOpts='-O3 -DNDEBUG -finline-functions -Wpointer-arith -Wcast-align -Wno-deprecated -Wold-style-cast -Wabi -Woverloaded-virtual -ffor-scope'";
next;
@@ -278,12 +279,17 @@
$CONFIGUREARGS .= " --disable-llc_diffs"; next; }
if (/^-disable-jit$/) { $PROGTESTOPTS .= " DISABLE_JIT=1";
$CONFIGUREARGS .= " --disable-jit"; next; }
- if (/^-verbose$/) { $VERBOSE = 1; next; }
- if (/^-debug$/) { $DEBUG = 1; next; }
- if (/^-nice$/) { $NICE = "nice "; next; }
+ if (/^-verbose$/) { $VERBOSE = 1; next; }
+ if (/^-debug$/) { $DEBUG = 1; next; }
+ if (/^-nice$/) { $NICE = "nice "; next; }
+ if (/^-f2c$/) {
+ $CONFIGUREARGS .= " --with-f2c=$ARGV[0]"; shift; next;
+ }
if (/^-gnuplotscript$/) { $PlotScriptFilename = $ARGV[0]; shift; next; }
if (/^-templatefile$/) { $Template = $ARGV[0]; shift; next; }
- if (/^-gccpath/) { $CONFIGUREARGS=" CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++"; shift; next; }
+ if (/^-gccpath/) {
+ $CONFIGUREARGS .= " CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++"; shift; next;
+ }
if (/^-noexternals$/) { $NOEXTERNALS = 1; next; }
print "Unknown option: $_ : ignoring!\n";
More information about the llvm-commits
mailing list