• Alp Mestanogullari's avatar
    Hadrian: introduce an easy way for users to build with -split-sections · fb12f53c
    Alp Mestanogullari authored
    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`.
Flavour.hs 3.41 KB