1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Add Option to Skip Install

Add a --no-install option to skip installing components.  This
speeds up the develop/test cycle.

llvm-svn: 141975
This commit is contained in:
David Greene 2011-10-14 19:12:34 +00:00
parent 2e7a259810
commit 082a0faa50

View File

@ -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,