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 | cdc3fbc61bbe790154ee1e71b545adfe7b17128a (patch) | |
tree | e9ff0fe066547c7d6f15997a66a19a18967ad46d /utils | |
parent | d17f81343cf3a88e6306308274705b7c40ef261d (diff) | |
download | external_llvm-cdc3fbc61bbe790154ee1e71b545adfe7b17128a.zip external_llvm-cdc3fbc61bbe790154ee1e71b545adfe7b17128a.tar.gz external_llvm-cdc3fbc61bbe790154ee1e71b545adfe7b17128a.tar.bz2 |
Add Option to Skip Install
Add a --no-install option to skip installing components. This
speeds up the develop/test cycle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/llvmbuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/utils/llvmbuild b/utils/llvmbuild index 38f4f74..0b43a0c 100755 --- a/utils/llvmbuild +++ b/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, |