[llvm-commits] [llvm] r141975 - /llvm/trunk/utils/llvmbuild
David Greene
greened at obbligato.org
Fri Oct 14 12:12:34 PDT 2011
Author: greened
Date: Fri Oct 14 14:12:34 2011
New Revision: 141975
URL: http://llvm.org/viewvc/llvm-project?rev=141975&view=rev
Log:
Add Option to Skip Install
Add a --no-install option to skip installing components. This
speeds up the develop/test cycle.
Modified:
llvm/trunk/utils/llvmbuild
Modified: llvm/trunk/utils/llvmbuild
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvmbuild?rev=141975&r1=141974&r2=141975&view=diff
==============================================================================
--- llvm/trunk/utils/llvmbuild (original)
+++ llvm/trunk/utils/llvmbuild Fri Oct 14 14:12:34 2011
@@ -191,6 +191,8 @@
help=("Force reconfigure of all components"))
parser.add_option("--no-gcc", default=False, action="store_true",
help=("Do not build dragonegg and gcc"))
+ parser.add_option("--no-install", default=False, action="store_true",
+ help=("Do not do installs"))
return
def check_options(parser, options, valid_builds):
@@ -655,10 +657,11 @@
make_flags[comp_key][build],
make_env[comp_key][build])
- self.logger.info("Installing " + component + " in " + installdir)
- self.make(component, srcdir, builddir,
- make_install_flags[comp_key][build],
- make_install_env[comp_key][build])
+ if (not self.options.no_install):
+ self.logger.info("Installing " + component + " in " + installdir)
+ self.make(component, srcdir, builddir,
+ make_install_flags[comp_key][build],
+ make_install_env[comp_key][build])
self.logger.info("Testing " + component + " in " + builddir)
self.make(component, srcdir, builddir,
More information about the llvm-commits
mailing list