[commit: ghc] wip/angerman/llvmng: stop generating to many files (7940926)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 03:03:51 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/angerman/llvmng
Link       : http://ghc.haskell.org/trac/ghc/changeset/79409260b87f42df415b601fd16b153d06ec1fe1/ghc

>---------------------------------------------------------------

commit 79409260b87f42df415b601fd16b153d06ec1fe1
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Sat Nov 18 15:26:05 2017 +0800

    stop generating to many files


>---------------------------------------------------------------

79409260b87f42df415b601fd16b153d06ec1fe1
 boot | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/boot b/boot
index b6ecc09..05706af 100755
--- a/boot
+++ b/boot
@@ -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()



More information about the ghc-commits mailing list