Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8bdefdd7
Commit
8bdefdd7
authored
Jan 14, 2015
by
Andrey Mokhov
Browse files
Add Cabal/Cabal to list of packages.
parent
1a3f43b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Package.hs
View file @
8bdefdd7
...
...
@@ -13,7 +13,8 @@ packages :: [Package]
packages
=
[
libraryPackage
"array"
Stage1
defaultSettings
,
libraryPackage
"bin-package-db"
Stage1
defaultSettings
,
libraryPackage
"binary"
Stage1
defaultSettings
,
libraryPackage
"deepseq"
Stage1
defaultSettings
]
libraryPackage
"deepseq"
Stage1
defaultSettings
,
libraryPackage
"Cabal/Cabal"
Stage1
defaultSettings
]
-- Rule buildPackageX is defined in module Package.X
buildPackage
::
Package
->
TodoItem
->
Rules
()
...
...
@@ -28,7 +29,8 @@ packageRules = do
forM_
packages
$
\
pkg
@
(
Package
name
path
todo
)
->
do
forM_
todo
$
\
todoItem
@
(
stage
,
dist
,
settings
)
->
do
-- Want top .o and .a files for the pkg/todo combo:
-- Want top .o and .a files for the pkg/todo combo
-- TODO: Check BUILD_GHCI_LIB flag to decide if .o is needed
action
$
do
let
buildDir
=
path
</>
dist
</>
"build"
pkgData
=
path
</>
dist
</>
"package-data.mk"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment