[GHC] #15133: Make `nofib` work with Hadrian

GHC ghc-devs at haskell.org
Tue May 15 22:24:12 UTC 2018


#15133: Make `nofib` work with Hadrian
-------------------------------------+-------------------------------------
        Reporter:  tdammers          |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  NoFib benchmark   |              Version:
  suite                              |
      Resolution:  fixed             |             Keywords:  hadrian
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by alpmestan):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This was due to me trying to run nofib against a `quickest`-flavoured GHC
 built (by Hadrian). When I run nofib against a `perf` GHC, it runs to
 completion. When I run nofib against a `quickest`-flavoured GHC built by
 the Make build system, I get the error from my previous comment.

 I'm also introducing a `nofib` rule in
 [https://github.com/snowleopard/hadrian/pull/599 this PR] which records
 the log under `<build root>/nofib-log` (so `_build/nofib-log` by default,
 if you don't specify your own `--build-root`). It's not merged yet but
 will likely be under a few days. That rule just runs `make clean ; make
 WithNofibHc=<build root>/stage1/bin/ghc PERL=<path to perl> boot ; make
 WithNofibHc=<build root>/stage1/bin/ghc PERL=<path to perl>`, recording
 stdout/stderr just for that last `make` command, to mirror the
 benchmarking workflow described
 [https://ghc.haskell.org/trac/ghc/wiki/Building/RunningNoFib on this trac
 page]. You can run these commands manually or wait for my patch to land.

 Closing this ticket, given that we can now run nofib with hadrian-built
 GHCs, and soon directly with hadrian.

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


More information about the ghc-tickets mailing list