Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c9e7570b
Commit
c9e7570b
authored
Jun 04, 2016
by
Andrey Mokhov
Browse files
Minor revision
parent
157b855a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Settings/Builders/Make.hs
View file @
c9e7570b
...
...
@@ -7,8 +7,8 @@ import Settings
makeBuilderArgs
::
Args
makeBuilderArgs
=
do
threads
<-
shakeThreads
<$>
lift
getShakeOptions
let
j
=
"-j"
++
show
threads
let
t
=
show
threads
mconcat
[
builder
(
Make
gmpBuildPath
)
?
append
[
"MAKEFLAGS="
++
j
]
,
builder
(
Make
libffiBuildPath
)
?
append
[
"MAKEFLAGS="
++
j
,
"install"
]
,
builder
(
Make
"testsuite/tests"
)
?
append
[
"THREADS="
++
show
threads
,
"fast"
]
]
[
builder
(
Make
gmpBuildPath
)
?
append
[
"MAKEFLAGS=
-j
"
++
t
]
,
builder
(
Make
libffiBuildPath
)
?
append
[
"MAKEFLAGS=
-j
"
++
t
,
"install"
]
,
builder
(
Make
"testsuite/tests"
)
?
append
[
"THREADS="
++
t
,
"fast"
]
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment