[commit: ghc] wip/angerman/reinstallable-lib-ghc: drop stage logic from ghc.cabal (4b13d8f)

git at git.haskell.org git at git.haskell.org
Wed Mar 6 21:49:30 UTC 2019


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

On branch  : wip/angerman/reinstallable-lib-ghc
Link       : http://ghc.haskell.org/trac/ghc/changeset/4b13d8fb93fd770ce9e74b88f03af07aea81f26f/ghc

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

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

    drop stage logic from ghc.cabal


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

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

diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index a02ce12..f2b8483 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
@@ -143,17 +128,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