Allow an option, -with-externals, to be specified that provides the location

of the external tests. This turns into --with-externals option to configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2006-04-14 13:53:56 +00:00
parent f3e1b1d716
commit 43fdfdcfd1

View File

@@ -19,6 +19,7 @@
# LARGE_PROBLEM_SIZE enabled. # LARGE_PROBLEM_SIZE enabled.
# -noexternals Do not run the external tests (for cases where povray # -noexternals Do not run the external tests (for cases where povray
# or SPEC are not installed) # or SPEC are not installed)
# -with-externals Specify a directory where the external tests are located.
# -nodejagnu Do not run feature or regression tests # -nodejagnu Do not run feature or regression tests
# -parallel Run two parallel jobs with GNU Make. # -parallel Run two parallel jobs with GNU Make.
# -release Build an LLVM Release version # -release Build an LLVM Release version
@@ -310,6 +311,9 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
if (/^-f2c$/) { if (/^-f2c$/) {
$CONFIGUREARGS .= " --with-f2c=$ARGV[0]"; shift; next; $CONFIGUREARGS .= " --with-f2c=$ARGV[0]"; shift; next;
} }
if (/^-with-externals/) {
$CONFIGUREARGS .= "--with-externals=$ARGV[0]"; shift; next
}
if (/^-gnuplotscript$/) { $PlotScriptFilename = $ARGV[0]; shift; next; } if (/^-gnuplotscript$/) { $PlotScriptFilename = $ARGV[0]; shift; next; }
if (/^-templatefile$/) { $Template = $ARGV[0]; shift; next; } if (/^-templatefile$/) { $Template = $ARGV[0]; shift; next; }
if (/^-gccpath/) { if (/^-gccpath/) {