Skip to content
  • Alp Mestanogullari's avatar
    Hadrian: introduce an easy way for users to build with -split-sections · fb12f53c
    Alp Mestanogullari authored and Marge Bot's avatar Marge Bot committed
    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`.
    fb12f53c