diff options
author | David Greene <greened@obbligato.org> | 2011-10-14 19:12:34 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2011-10-14 19:12:34 +0000 |
commit | 0907a61acb65cfd2c67a63bab0c4ecea2cfe7276 (patch) | |
tree | 078936aa3f47f75e472ea53b3f26c5b1fb7f32cd | |
parent | d42442d646703cb8bcd76133ec6e6b297364c590 (diff) | |
download | bcm5719-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-x | llvm/utils/llvmbuild | 11 |
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, |