[GHC] #15949: Hadrian needs more convenient build target names
GHC
ghc-devs at haskell.org
Tue Dec 11 23:21:06 UTC 2018
#15949: Hadrian needs more convenient build target names
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: alpmestan
Type: feature request | Status: patch
Priority: normal | Milestone: 8.8.1
Component: Build System | Version: 8.6.2
(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:D5434
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"7491cedb20d15a54e905205c51aea72a13ac73aa/ghc" 7491ced/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="7491cedb20d15a54e905205c51aea72a13ac73aa"
Hadrian: simple targets for building libraries and executables
This patch introduces (phony) build targets of the form
(1) stage<N>:<lib>:<name> (e.g: stage1:lib:Cabal)
(2) stage<N>:<exe>:<name> (e.g: stage2:exe:ghc-bin)
where (1) builds the given library with the stage N compiler and (2)
builds the given executable with the stage N-1 compiler. This patch may
be generating too many such targets but it's a first stab that we can
refine.
This fixes #15949.
Test Plan: hadrian/build.sh stage1:exe:ghc-bin
Reviewers: bgamari, snowleopard
Reviewed By: bgamari
Subscribers: rwbarton, carter
GHC Trac Issues: #15949
Differential Revision: https://phabricator.haskell.org/D5434
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15949#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list