aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-19 09:18:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-19 09:18:54 +0000
commit2e10794e06419ee59f0c5f9ec1f06020a3a4b514 (patch)
tree2efee48da096f25f6d0f16599988ea53d29c0d93 /utils
parentad83e7f37109c00ee2f25a81718aa621f594e57d (diff)
downloadexternal_llvm-2e10794e06419ee59f0c5f9ec1f06020a3a4b514.zip
external_llvm-2e10794e06419ee59f0c5f9ec1f06020a3a4b514.tar.gz
external_llvm-2e10794e06419ee59f0c5f9ec1f06020a3a4b514.tar.bz2
NNT: Remove now-unused -cvstag argument and CVSROOT code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NewNightlyTest.pl28
1 files changed, 9 insertions, 19 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index b29b6e7..37e22d9 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -48,8 +48,6 @@ use Socket;
# -release Build an LLVM Release version
# -release-asserts Build an LLVM ReleaseAsserts version
# -disable-bindings Disable building LLVM bindings.
-# -cvstag Check out a specific CVS tag to build LLVM (useful for
-# testing release branches)
# -with-clang Checkout Clang source into tools/clang.
# -compileflags Next argument specifies extra options passed to make when
# building LLVM.
@@ -92,12 +90,10 @@ use Socket;
# -ldflags Next argument specifies that linker options that override
# the default.
#
-# 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 ignored, it is passed for backwards compatibility.
# BUILDDIR is the directory where sources for this test run will be checked out
# AND objects for this test run will be built. This directory MUST NOT
-# exist before the script is run; it will be created by the cvs checkout
+# exist before the script is run; it will be created by the svn checkout
# process and erased (unless -noremove is specified; see above.)
# WEBDIR is the directory into which the test results web page will be written,
# AND in which the "index.html" is assumed to be a symlink to the most recent
@@ -115,8 +111,6 @@ my $SVNURL = $ENV{"SVNURL"};
$SVNURL = 'http://llvm.org/svn/llvm-project' unless $SVNURL;
my $TestSVNURL = $ENV{"TestSVNURL"};
$TestSVNURL = 'http://llvm.org/svn/llvm-project' unless $TestSVNURL;
-my $CVSRootDir = $ENV{'CVSROOT'};
-$CVSRootDir = "/home/vadve/shared/PublicCVS" unless $CVSRootDir;
my $BuildDir = $ENV{'BUILDDIR'};
$BuildDir = "$HOME/buildtest" unless $BuildDir;
my $WebDir = $ENV{'WEBDIR'};
@@ -206,8 +200,6 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
" CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++";
$GCCPATH=$ARGV[0]; shift; next; }
else { $GCCPATH=""; }
- if (/^-cvstag/) { $CVSCOOPT .= " -r $ARGV[0]"; shift; next; }
- else { $CVSCOOPT="";}
if (/^-target/) { $CONFIGUREARGS .= " --target=$ARGV[0]";
shift; next; }
if (/^-cflags/) { $MAKEOPTS = "$MAKEOPTS C.Flags=\'$ARGV[0]\'";
@@ -254,16 +246,14 @@ if (@ARGV != 0 and @ARGV != 3 and $VERBOSE) {
}
if (@ARGV == 3) {
- $CVSRootDir = $ARGV[0];
+ # ARGV[0] used to be the CVS root, ignored for backward compatibility.
$BuildDir = $ARGV[1];
$WebDir = $ARGV[2];
}
-if ($CVSRootDir eq "" or
- $BuildDir eq "" or
+if ($BuildDir eq "" or
$WebDir eq "") {
- die("please specify a cvs root directory, a build directory, and a ".
- "web directory");
+ die("please specify a build directory, and a web directory");
}
if ($nickname eq "") {
@@ -577,7 +567,7 @@ $starttime = `date "+20%y-%m-%d %H:%M:%S"`;
##############################################################
#
-# Create the CVS repository directory
+# Create the source repository directory
#
##############################################################
if (!$NOCHECKOUT) {
@@ -601,7 +591,7 @@ if (!$NOCHECKOUT) {
##############################################################
#
-# Check out the llvm tree, using either SVN or CVS
+# Check out the llvm tree with SVN
#
##############################################################
if (!$NOCHECKOUT) {
@@ -621,7 +611,7 @@ ChangeDir( $LLVMSrcDir , "llvm source directory") ;
##############################################################
#
-# Get some static statistics about the current state of CVS
+# Get some static statistics about the current source code
#
# This can probably be put on the server side
#
@@ -1110,7 +1100,7 @@ if ($SUBMIT || !($SUBMITAUX eq "")) {
##############################################################
#
-# Remove the cvs tree...
+# Remove the source tree...
#
##############################################################
system ( "$NICE rm -rf $BuildDir")