Commit 48b6c777 authored by rl@cse.unsw.edu.au's avatar rl@cse.unsw.edu.au
Browse files

Make dph-seq and dph-par wired-in packages

parent 74614af8
......@@ -37,6 +37,8 @@ module Module
haskell98PackageId,
thPackageId,
ndpPackageId,
dphSeqPackageId,
dphParPackageId,
mainPackageId,
-- * The Module type
......@@ -312,6 +314,8 @@ rtsPackageId = fsToPackageId (fsLit "rts")
haskell98PackageId = fsToPackageId (fsLit "haskell98")
thPackageId = fsToPackageId (fsLit "template-haskell")
ndpPackageId = fsToPackageId (fsLit "ndp")
dphSeqPackageId = fsToPackageId (fsLit "dph-seq")
dphParPackageId = fsToPackageId (fsLit "dph-par")
-- This is the package Id for the program. It is the default package
-- Id if you don't specify a package name. We don't add this prefix
......
......@@ -384,6 +384,8 @@ findWiredInPackages dflags pkgs preload this_package = do
(rtsPackageId, [""]),
(haskell98PackageId, [""]),
(thPackageId, [""]),
(dphSeqPackageId, [""]),
(dphParPackageId, [""]),
(ndpPackageId, ["-seq", "-par"]) ]
matches :: PackageConfig -> (PackageId, [String]) -> Bool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment