mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Add Option to Skip gcc Build
And a --no-gcc option to skip dragonegg and gcc builds. This greatly speeds up the develop/test cycle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8ee53e2eb6
commit
d17f81343c
@ -189,6 +189,8 @@ def add_options(parser):
|
||||
help=("Extra flags to pass to gcc configure [default: %default]"))
|
||||
parser.add_option("--force-configure", default=False, action="store_true",
|
||||
help=("Force reconfigure of all components"))
|
||||
parser.add_option("--no-gcc", default=False, action="store_true",
|
||||
help=("Do not build dragonegg and gcc"))
|
||||
return
|
||||
|
||||
def check_options(parser, options, valid_builds):
|
||||
@ -622,6 +624,12 @@ class Builder(threading.Thread):
|
||||
|
||||
for component in components:
|
||||
comp = component[:]
|
||||
|
||||
if (self.options.no_gcc):
|
||||
if (comp == 'gcc' or comp == 'dragonegg' or comp == 'llvm2'):
|
||||
self.logger.info("Skipping " + component + " in "
|
||||
+ builddir)
|
||||
continue
|
||||
|
||||
srcdir = source + "/" + comp.rstrip("2")
|
||||
builddir = self.build_prefix + "/" + comp + "/" + build_suffix
|
||||
|
Loading…
x
Reference in New Issue
Block a user