Hadrian needs more convenient build target names
With the make build system one can easily build a particular library or executable by cding into the relevant directory and typing make. With hadrian there appears to be no convenient way to replicate this. Instead, you need to know the name of the final target which the build will produce which may contain version numbers, platform triples, and all sorts of other ugliness.
I suggest we introduce a set of convenience targets to make this easier. For instance one could run:
$ hadrian stage1:lib:ghc
to build the stage1 ghc library or
$ hadrian stage2:exe:hp2ps
to build hp2ps.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.6.2 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | alpmestan, snowleopard |
| Operating system | |
| Architecture |