[GHC] #15890: Provide a way for hadrian users to always pass some options to hadrian itself
GHC
ghc-devs at haskell.org
Mon Dec 17 06:16:41 UTC 2018
#15890: Provide a way for hadrian users to always pass some options to hadrian
itself
-------------------------------------+-------------------------------------
Reporter: alpmestan | Owner: alpmestan
Type: feature request | Status: new
Priority: normal | Milestone: 8.8.1
Component: Build System | Version: 8.7
(Hadrian) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D5454
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"c42eb2e67ae7f1e77c7bf365b7a41f808bc606cc/ghc"
c42eb2e6/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="c42eb2e67ae7f1e77c7bf365b7a41f808bc606cc"
Hadrian: introduce userDefaultFlavour, making default flavour overridable
This patch introduces the `userDefaultFlavour` user setting. It should
be the name of the default flavour to use when no --flavour argument is
passed. Before this patch, we would just always default to... the
`default` flavour. With this patch, we default to whatever Flavour whose
name is `userDefaultFlavour`, therefore providing a way for users to
"persist" their choice of flavour, not having to repeat --flavour=[...]
in every hadrian command.
Test Plan:
Set `userDefaultFlavour = "quickest"`, run `hadrian/build.sh`, check
that the quickest flavour is indeed picked.
Reviewers: snowleopard, bgamari
Reviewed By: snowleopard
Subscribers: mpickering, rwbarton, carter
GHC Trac Issues: #15890
Differential Revision: https://phabricator.haskell.org/D5454
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15890#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list