Stage1Only conditional program/package building
This patch includes changes to allow programs and packages to be disabled by stage when building GHC.
rule/build-package.mk
- Add guards for "disable-
(dir)-(stage)" around the rule body
rule/build-prog.mk
- Add guards for "disabled-
(dir)-(stage)" around the rule body
mk/build.mk.default
- Add a set of package disabling definitions when $(Stage1Only) is set to "YES"
rts/ghc.mk
- Add the all_rts target as a dependency for all, causing the rts to build when packages that depend on it are disabled
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |