
#7841: Stage1Only conditional program/package building -----------------------------+---------------------------------------------- Reporter: elliottt | Owner: Type: feature request | Status: new Priority: normal | Component: Build System Version: 7.7 | Keywords: Stage1Only Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- 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 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7841 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler