of having to hack the nightly tester script itself.
as an example, I use the following for my machine:
$HOME/llvm/utils/NightlyTest.pl -parallel -release -enable-llcbeta \
-spec2000path /Volumes/ProjectsDisk/cvs/benchmarks/speccpu2000-llvm/benchspec/ \
-povraypath /Volumes/ProjectsDisk/cvs/benchmarks/povray31 \
-namdpath /Volumes/ProjectsDisk/cvs/benchmarks/namd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24136
91177308-0d34-0410-b5e6-
96231b3b80d8
# testing release branches)
# -target Specify the target triplet
#
# testing release branches)
# -target Specify the target triplet
#
+# ---------------- Options to configure llvm-test ----------------------------
+# -spec2000path Path to the benchspec directory in the SPEC 2000 distro
+# -spec95path Path to the benchspec directory in the SPEC 95 distro.
+# -povraypath Path to the povray sources
+# -namdpath Path to the namd sources
+#
# CVSROOT is the CVS repository from which the tree will be checked out,
# specified either in the full :method:user@host:/dir syntax, or
# just /dir if using a local repo.
# CVSROOT is the CVS repository from which the tree will be checked out,
# specified either in the full :method:user@host:/dir syntax, or
# just /dir if using a local repo.
my $NICE = "";
my $NODEJAGNU = 0;
my $NICE = "";
my $NODEJAGNU = 0;
+my $LLVMTESTCONFIGARGS = "";
+
sub ReadFile {
if (open (FILE, $_[0])) {
undef $/;
sub ReadFile {
if (open (FILE, $_[0])) {
undef $/;
}
if (/^-noexternals$/) { $NOEXTERNALS = 1; next; }
if (/^-nodejagnu$/) { $NODEJAGNU = 1; next; }
}
if (/^-noexternals$/) { $NOEXTERNALS = 1; next; }
if (/^-nodejagnu$/) { $NODEJAGNU = 1; next; }
+ if (/^-spec2000path$/) {
+ $LLVMTESTCONFIGARGS .= " --enable-spec2000=$ARGV[0]"; shift; next;
+ }
+ if (/^-spec95path$/) {
+ $LLVMTESTCONFIGARGS .= " --enable-spec95=$ARGV[0]"; shift; next;
+ }
+ if (/^-povraypath$/) {
+ $LLVMTESTCONFIGARGS .= " --enable-povray=$ARGV[0]"; shift; next;
+ }
+ if (/^-namdpath$/) {
+ $LLVMTESTCONFIGARGS .= " --enable-namd=$ARGV[0]"; shift; next;
+ }
print "Unknown option: $_ : ignoring!\n";
}
print "Unknown option: $_ : ignoring!\n";
}
#
if (!$NOCHECKOUT) {
if ( $VERBOSE ) { print "CONFIGURE STAGE\n"; }
#
if (!$NOCHECKOUT) {
if ( $VERBOSE ) { print "CONFIGURE STAGE\n"; }
- my $EXTRAFLAGS = "--enable-spec --with-objroot=.";
+ my $EXTRAFLAGS = "--enable-spec --with-objroot=.$LLVMTESTCONFIGARGS";
system "(time -p $NICE ./configure $CONFIGUREARGS $EXTRAFLAGS) > $BuildLog 2>&1";
if ( $VERBOSE ) { print "BUILD STAGE\n"; }
system "(time -p $NICE ./configure $CONFIGUREARGS $EXTRAFLAGS) > $BuildLog 2>&1";
if ( $VERBOSE ) { print "BUILD STAGE\n"; }