UserSettings.hs 544 Bytes
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
module UserSettings (
2
    userSettings, userPackages
Andrey Mokhov's avatar
Andrey Mokhov committed
3
4
5
6
    ) where

import Base hiding (arg, args, Args)
import Oracles.Builder
7
import Targets
Andrey Mokhov's avatar
Andrey Mokhov committed
8
9
10
11
12
13
14
import Expression
import Expression.Settings

userSettings :: Settings
userSettings = mconcat
    [ package compiler ? stage Stage0 ? append ["foo", "bar"]
    , builder (Ghc Stage0) ? remove ["-O2"]
15
    , builder GhcCabal ? removeSub "--configure-option=CFLAGS" ["-Werror"] ]
Andrey Mokhov's avatar
Andrey Mokhov committed
16

17
userPackages :: Packages
18
19
20
userPackages = mconcat
    [ stage Stage1 ? remove [cabal]
    ,                remove [compiler] ]