Skip to content
Snippets Groups Projects
Commit 606bbc31 authored by Moritz Angermann's avatar Moritz Angermann Committed by Ben Gamari
Browse files

Stop generating make files when using hadrian.

The boot script generates lots of .mk files
for the make based build system. This change adds
a `--hadrian` flag to `boot`, which skips the `.mk`
file generation.

Reviewers: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4211
parent ca3700ab
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ cwd = os.getcwd()
parser = argparse.ArgumentParser()
parser.add_argument('--validate', action='store_true', help='Run in validate mode')
parser.add_argument('--required-tag', type=str, action='append', default=set())
parser.add_argument('--hadrian', action='store_true', help='Do not assume the make base build system')
args = parser.parse_args()
def print_err(s):
......@@ -180,6 +181,8 @@ def check_build_mk():
"""))
check_for_url_rewrites()
boot_pkgs()
if not args.hadrian:
boot_pkgs()
autoreconf()
check_build_mk()
if not args.hadrian:
check_build_mk()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment