[GHC] #15576: Hadrian puts its build tree in the wrong place
GHC
ghc-devs at haskell.org
Wed Aug 29 21:51:34 UTC 2018
#15576: Hadrian puts its build tree in the wrong place
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
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):
Ah, now I'm confused.
If you run Hadrian from `/playpen/ghc` I don't understand why build
results appear in `/home/simonpj/ghc`.
> Is it difficult to achieve for some reason?
Actually, I would say achieving the current behaviour seems difficult!
I think the magic symlink-traversal code in `build.sh` and
`build.cabal.sh` has something to do with it. I believe it was added by
Herbert, but I don't recall why.
Can you try building and running Hadrian directly using Cabal?
{{{
cd hadrian
cabal new-build --disable-profiling --disable-documentation -j exe:hadrian
cabal new-run hadrian -- -c -j4 --flavour=quick --directory=".."
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15576#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list