[commit: ghc] wip/angerman/backport/8.6/reinstallable-lib-ghc: drop stage logic from ghc.cabal (326d383)

git at git.haskell.org git at git.haskell.org
Fri Mar 8 01:45:16 UTC 2019


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

On branch  : wip/angerman/backport/8.6/reinstallable-lib-ghc
Link       : http://ghc.haskell.org/trac/ghc/changeset/326d38302c9943d4695e87e64a3b493f8266072a/ghc

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

commit 326d38302c9943d4695e87e64a3b493f8266072a
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Wed Mar 6 17:06:16 2019 +0800

    drop stage logic from ghc.cabal


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

326d38302c9943d4695e87e64a3b493f8266072a
 compiler/ghc.cabal.in | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 01628dc..44ce668 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -25,21 +25,6 @@ Flag ghci
     Default: False
     Manual: True
 
-Flag stage1
-    Description: Is this stage 1?
-    Default: False
-    Manual: True
-
-Flag stage2
-    Description: Is this stage 2?
-    Default: False
-    Manual: True
-
-Flag stage3
-    Description: Is this stage 3?
-    Default: False
-    Manual: True
-
 Flag terminfo
     Description: Build GHC with terminfo support on non-Windows platforms.
     Default: True
@@ -119,17 +104,6 @@ Library
     -- as it's magic.
     GHC-Options: -this-unit-id ghc
 
-    if flag(stage1)
-        Include-Dirs: stage1
-    else
-        if flag(stage2)
-            Include-Dirs: stage2
-        else
-            if flag(stage3)
-                Include-Dirs: stage2
-
-    Install-Includes: HsVersions.h, ghc_boot_platform.h
-
     c-sources:
         parser/cutils.c
         ghci/keepCAFsForGHCi.c



More information about the ghc-commits mailing list