[llvm-commits] CVS: llvm/utils/NightlyTest.pl

Misha Brukman brukman at cs.uiuc.edu
Mon Jun 6 12:17:16 PDT 2005



Changes in directory llvm/utils:

NightlyTest.pl updated: 1.96 -> 1.97
---
Log message:

* Add ability to specify the target LLVM will compile for via configure
* Minor whitespace cleanups


---
Diffs of the changes:  (+6 -2)

 NightlyTest.pl |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.96 llvm/utils/NightlyTest.pl:1.97
--- llvm/utils/NightlyTest.pl:1.96	Thu May 26 11:28:55 2005
+++ llvm/utils/NightlyTest.pl	Mon Jun  6 14:17:05 2005
@@ -36,6 +36,7 @@
 #  -gccpath         Path to gcc/g++ used to build LLVM
 #  -cvstag          Check out a specific CVS tag to build LLVM (useful for
 #                   testing release branches)
+#  -target          Specify the target triplet
 #
 # CVSROOT is the CVS repository from which the tree will be checked out,
 #  specified either in the full :method:user at host:/dir syntax, or
@@ -272,7 +273,7 @@
   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'"; 
+      $MAKEOPTS = "$MAKEOPTS CompileOptimizeOpts='-O3 -DNDEBUG -finline-functions -Wpointer-arith -Wcast-align -Wno-deprecated -Wold-style-cast -Wabi -Woverloaded-virtual -ffor-scope'"; 
       next; 
   }
   if (/^-enable-llcbeta$/) { $PROGTESTOPTS .= " ENABLE_LLCBETA=1"; next; }
@@ -292,8 +293,11 @@
     $CONFIGUREARGS .= " CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++"; shift; next; 
   }
   if (/^-cvstag/)          { $CVSCOOPT .= " -r $ARGV[0]"; shift; next; }
+  if (/^-target/)          {
+    $CONFIGUREARGS .= " --target=$ARGV[0]"; shift; next;
+  }
   if (/^-noexternals$/)    { $NOEXTERNALS = 1; next; }
-  if(/^-nodejagnu$/) { $NODEJAGNU = 1; next; }
+  if (/^-nodejagnu$/)      { $NODEJAGNU = 1; next; }
 
   print "Unknown option: $_ : ignoring!\n";
 }






More information about the llvm-commits mailing list