summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-10-14 19:12:34 +0000
committerDavid Greene <greened@obbligato.org>2011-10-14 19:12:34 +0000
commit0907a61acb65cfd2c67a63bab0c4ecea2cfe7276 (patch)
tree078936aa3f47f75e472ea53b3f26c5b1fb7f32cd
parentd42442d646703cb8bcd76133ec6e6b297364c590 (diff)
downloadbcm5719-llvm-0907a61acb65cfd2c67a63bab0c4ecea2cfe7276.tar.gz
bcm5719-llvm-0907a61acb65cfd2c67a63bab0c4ecea2cfe7276.zip
Add Option to Skip Install
Add a --no-install option to skip installing components. This speeds up the develop/test cycle. llvm-svn: 141975
-rwxr-xr-xllvm/utils/llvmbuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/llvm/utils/llvmbuild b/llvm/utils/llvmbuild
index 38f4f748dcc..0b43a0c5086 100755
--- a/llvm/utils/llvmbuild
+++ b/llvm/utils/llvmbuild
@@ -191,6 +191,8 @@ def add_options(parser):
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 @@ class Builder(threading.Thread):
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,
OpenPOWER on IntegriCloud