From cdc3fbc61bbe790154ee1e71b545adfe7b17128a Mon Sep 17 00:00:00 2001 From: David Greene Date: Fri, 14 Oct 2011 19:12:34 +0000 Subject: [PATCH] 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 --- utils/llvmbuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/utils/llvmbuild b/utils/llvmbuild index 38f4f748dcc..0b43a0c5086 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, -- 2.34.1