[commit: ghc] wip/nfs-locking: Remove parallel, stm, random, primitive, vector and dph from Stage1 packages, drop integerGmp2 support. (228da6f)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:05:42 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/228da6fe168616b0aeca8d462eab345cef5b7e48/ghc
>---------------------------------------------------------------
commit 228da6fe168616b0aeca8d462eab345cef5b7e48
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Fri Aug 21 16:30:17 2015 +0100
Remove parallel, stm, random, primitive, vector and dph from Stage1 packages, drop integerGmp2 support.
>---------------------------------------------------------------
228da6fe168616b0aeca8d462eab345cef5b7e48
src/Settings/Packages.hs | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/Settings/Packages.hs b/src/Settings/Packages.hs
index 369879c..5820e0c 100644
--- a/src/Settings/Packages.hs
+++ b/src/Settings/Packages.hs
@@ -29,12 +29,13 @@ packagesStage0 = mconcat
[ append [binPackageDb, binary, cabal, compiler, hoopl, hpc, transformers]
, notWindowsHost ? notTargetOs "ios" ? append [terminfo] ]
+-- TODO: what do we do with parallel, stm, random, primitive, vector and dph?
packagesStage1 :: Packages
packagesStage1 = mconcat
[ packagesStage0
, append [ array, base, bytestring, containers, deepseq, directory
- , filepath, ghcPrim, haskeline, integerLibrary, parallel
- , pretty, primitive, process, stm, templateHaskell, time ]
+ , filepath, ghcPrim, haskeline, integerLibrary, pretty, process
+ , templateHaskell, time ]
, windowsHost ? append [win32]
, notWindowsHost ? append [unix]
, buildHaddock ? append [xhtml] ]
@@ -43,9 +44,5 @@ knownPackages :: [Package]
knownPackages = defaultKnownPackages ++ userKnownPackages
-- Note: this is slow but we keep it simple as there not too many packages (30)
--- We handle integerLibrary in a special way, because packages integerGmp and
--- integerGmp2 have the same package name -- we return the user-selected one.
findKnownPackage :: PackageName -> Maybe Package
-findKnownPackage name
- | name == pkgName integerLibrary = Just integerLibrary
- | otherwise = find (\pkg -> pkgName pkg == name) knownPackages
+findKnownPackage name = find (\pkg -> pkgName pkg == name) knownPackages
More information about the ghc-commits
mailing list