[GHC] #15948: Hadrian cannot build on Windows

GHC ghc-devs at haskell.org
Mon Nov 26 00:29:33 UTC 2018


#15948: Hadrian cannot build on Windows
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.8.1
       Component:  Build System      |              Version:  8.7
  (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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by snowleopard):

 I think I know what's going on: right now `inplace/mingw` is copied to
 `_build` only when the `-c` flag is passed, and you prefer to run
 `configure` manually. See this:

 https://github.com/ghc/ghc/blob/master/hadrian/src/Rules/Configure.hs#L37-L44

 This is a hack, and we should get rid of it, but I couldn't come up with
 anything significantly better. Do you have any suggestions on how to
 reliably handle mingw tarballs? It might seem like this is a task for the
 `configure` script, but unfortunately it doesn't know the build root
 (`_build` may be overriden).

 Here is the corresponding issue on GitHub:
 https://github.com/snowleopard/hadrian/issues/564.

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


More information about the ghc-tickets mailing list