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
d2dfdfa9
Commit
d2dfdfa9
authored
Jul 24, 2015
by
Andrey Mokhov
Browse files
Add GhcM builder.
parent
9b560ce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Builder.hs
View file @
d2dfdfa9
...
...
@@ -28,6 +28,7 @@ data Builder = Ar
|
GhcCabal
|
Gcc
Stage
|
Ghc
Stage
|
GhcM
Stage
|
GhcPkg
Stage
deriving
(
Show
,
Eq
,
Generic
)
...
...
@@ -48,6 +49,8 @@ builderKey builder = case builder of
Gcc
_
->
"gcc"
GhcPkg
Stage0
->
"system-ghc-pkg"
GhcPkg
_
->
"ghc-pkg"
-- GhcM is currently a synonym for Ghc (to be called with -M flag)
GhcM
stage
->
builderKey
$
Ghc
stage
builderPath
::
Builder
->
Action
String
builderPath
builder
=
do
...
...
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