[commit: ghc] wip/nfs-locking: Add more targets. (4399476)
git at git.haskell.org
git at git.haskell.org
Thu Oct 26 23:54:15 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/4399476dfd70a7ce9ad97750873e8b3397deb270/ghc
>---------------------------------------------------------------
commit 4399476dfd70a7ce9ad97750873e8b3397deb270
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Jan 18 14:27:23 2015 +0000
Add more targets.
>---------------------------------------------------------------
4399476dfd70a7ce9ad97750873e8b3397deb270
src/Targets.hs | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/src/Targets.hs b/src/Targets.hs
index a8c9e68..25a3a0e 100644
--- a/src/Targets.hs
+++ b/src/Targets.hs
@@ -6,23 +6,25 @@ import Base
-- TODO: this should eventually be removed and replaced by the top-level
-- target, i.e. GHC (and perhaps, something else)
libraryPackagesInStage :: Stage -> [String]
-libraryPackagesInStage Stage0 = []
- --[ "bin-package-db"
- --, "binary"
- --, "hoopl"
- --, "hpc"
- --, "transformers" ]
-libraryPackagesInStage Stage1 = ["directory", "bytestring"]
- --libraryPackagesInStage Stage0 ++
- --[ "array"
- --, "deepseq"
- --, "Cabal/Cabal"
- --, "containers"
- --, "filepath"
- --, "parallel"
- --, "pretty"
- --, "stm"
- --, "template-haskell" ]
+libraryPackagesInStage Stage0 =
+ [ "bin-package-db"
+ , "binary"
+ , "hoopl"
+ , "hpc"
+ , "transformers" ]
+libraryPackagesInStage Stage1 =
+ libraryPackagesInStage Stage0 ++
+ [ "array"
+ , "bytestring"
+ , "Cabal/Cabal"
+ , "containers"
+ , "deepseq"
+ , "directory"
+ , "filepath"
+ , "parallel"
+ , "pretty"
+ , "stm"
+ , "template-haskell" ]
libraryPackagesInStage _ = []
More information about the ghc-commits
mailing list