[GHC] #16325: Hadrian should respect the build root setting for the testsuite and its own binaries

GHC ghc-devs at haskell.org
Fri Feb 15 14:12:41 UTC 2019


#16325: Hadrian should respect the build root setting for the testsuite and its own
binaries
-------------------------------------+-------------------------------------
           Reporter:  snowleopard    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.6.3
  (Hadrian)                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently the `--build-root` setting is respected only partially:

 * The `test` rule appears to be placing all testsuite build artefacts
 right in the GHC tree `./testsuite`.

 * Hadrian puts its own binaries also in the GHC tree, into the
 `./hadrian/X` directory, where `X` depends on whether we build with Cabal
 or Stack.

 We should improve on this and provide more guarantees about where all
 build artefacts go.

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


More information about the ghc-tickets mailing list