diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-11-19 22:12:09 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-19 22:12:10 -0500 |
commit | 606bbc310654fcf56fe068905bb1aca30d2f0a8a (patch) | |
tree | 7b0c2e89415e65760b44555576ef9bf29f76d8f3 /boot | |
parent | ca3700ab232207d946b47bd751e666f7aa3d21cb (diff) | |
download | haskell-606bbc310654fcf56fe068905bb1aca30d2f0a8a.tar.gz |
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
Diffstat (limited to 'boot')
-rwxr-xr-x | boot | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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() |