diff options
author | Alp Mestanogullari <alpmestan@gmail.com> | 2019-03-15 21:35:59 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-27 07:20:05 -0400 |
commit | fb12f53c2779f15ee24786e8c3beae3133506a01 (patch) | |
tree | 954591064a368662821b289a606a8a6706ca7d91 /compiler/codeGen | |
parent | 646f2e79c5d6e79341693b1b9660da974102cec2 (diff) | |
download | haskell-fb12f53c2779f15ee24786e8c3beae3133506a01.tar.gz |
Hadrian: introduce an easy way for users to build with -split-sections
Any user can now trivially build any number of Haskell packages with
`-split-sections` by using `splitSections`/`splitSectionsIf` on any
existing or new flavour:
-- build all packages but the ghc library with -split-sections
splitSections :: Flavour -> Flavour
-- build all packages that satisfy the given predicate
-- with --split-sections
splitSectionsIf :: (Package -> Bool) -> Flavour -> Flavour
See the new section in `doc/user-settings.md`.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions