[Rivet-svn] r2520 - bootstrap

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jun 23 14:53:53 BST 2010


Author: buckley
Date: Wed Jun 23 14:54:05 2010
New Revision: 2520

Log:
Adding new flags for enabling the PDF manual and unvalidated analyses builds

Modified:
   bootstrap/rivet-bootstrap

Modified: bootstrap/rivet-bootstrap
==============================================================================
--- bootstrap/rivet-bootstrap	Wed Jun 23 14:49:37 2010	(r2519)
+++ bootstrap/rivet-bootstrap	Wed Jun 23 14:54:05 2010	(r2520)
@@ -159,6 +159,10 @@
                   help="Explicitly specify version of Rivet to get and use [%default]")
 parser.add_option("--rivet-url", default="http://www.hepforge.org/archive/rivet/",
                   dest="RIVET_URL", help="Base URL for Rivet tarball downloads [%default]")
+parser.add_option("--build-rivet-manual", default=False, action="store_true",
+                  dest="BUILD_RIVET_MANUAL", help="Try to build the Rivet PDF manual (requires LaTeX) [%default]")
+parser.add_option("--build-unvalidated", default=False, action="store_true",
+                  dest="BUILD_UNVALIDATED", help="Build the unvalidated collection of Rivet analyses [%default]")
 parser.add_option("--install-agile", action="store_true", default=False, dest="INSTALL_AGILE",
                   help="Install the AGILe interface system for Fortran generators [%default]")
 parser.add_option("--agile-version", default="1.1.6", dest="AGILE_VERSION",
@@ -546,7 +550,10 @@
     if opts.INSTALL_RIVET:
         logging.debug("FastJet path: " + FASTJETPATH)
         RIVET_CONFIGURE_FLAGS += " --with-fastjet=%s" % FASTJETPATH
-        RIVET_CONFIGURE_FLAGS += " --disable-pdfmanual"
+        if not opts.BUILD_RIVET_MANUAL:
+            RIVET_CONFIGURE_FLAGS += " --disable-pdfmanual"
+        if opts.BUILD_UNVALIDATED:
+            RIVET_CONFIGURE_FLAGS += " --enable-unvalidated"
         if opts.GSL_DIR:
             logging.debug("Using GSL path: " + opts.GSL_DIR)
             RIVET_CONFIGURE_FLAGS += " --with-gsl=%s" % opts.GSL_DIR


More information about the Rivet-svn mailing list