[GHC] #10973: Building git HEAD with a singe make job fails due to dependency problem

GHC ghc-devs at haskell.org
Sat Oct 17 09:18:51 UTC 2015


#10973: Building git HEAD with a singe make job fails due to dependency problem
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Build System      |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1333
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Thomas Miedema <thomasmiedema@…>):

 In [changeset:"3340fe01bc6842c2cad53271541dce6699512ce0/ghc"
 3340fe01/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3340fe01bc6842c2cad53271541dce6699512ce0"
 Build system: fix `make -j1` (#10973)

 There are multiple hacks all over the build system to account for the
 fact that the ghc package uses different build subdirectories
 (stage1/stage2) than the other packages (dist/dist-install).

 One such hack filtered on 'ghc%', with the intention of filtering the
 ghc package only. After renaming bin-package-db to ghc-boot
 (d2f9972a35ce05ceb8a78893e433ef1df06f73ef, Phab:D1313, #10796), ghc-boot
 also got caught in the hack, which broke the build when running without
 parallelism.

 This patch replaces the before mentioned hack by a different one, such
 that filtering on 'ghc%' is no longer necessary. See Note [inconsistent
 distdirs].

 Reviewed by: austin

 Differential Revision: https://phabricator.haskell.org/D1333
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10973#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list