Make.hs 457 Bytes
Newer Older
1
2
module Settings.Builders.Make (makeBuilderArgs) where

3
import Base
4
import Predicate
5
6
7
import Settings

makeBuilderArgs :: Args
8
9
10
11
12
13
14
makeBuilderArgs = do
    threads <- shakeThreads <$> lift getShakeOptions
    let j = "-j" ++ show threads
    mconcat
        [ builder (Make gmpBuildPath     ) ? append ["MAKEFLAGS=" ++ j]
        , builder (Make libffiBuildPath  ) ? append ["MAKEFLAGS=" ++ j, "install"]
        , builder (Make "testsuite/tests") ? arg "fast" ]