| 40 | | There are some options you might want to tweak; search for nofib in |
| 41 | | {{{mk/config.mk}}} ([[GhcFile(mk/config.mk.in)]]), and override settings in `mk/build.mk` as usual. |
| | 40 | == Tweaking things == |
| | 41 | |
| | 42 | To tweak things, add settings to your `mk/build.mk` (see [wiki:Commentary/SourceTree]). |
| | 43 | |
| | 44 | * Each benchmark is run in each "way" in `NoFibWays`. By default `NoFibWays` is initialised to `GhcLibWays`, but you can override that in `mk/build.mk`. Typically, to just use the vanilla way, set `NoFibWays` to empty: |
| | 45 | {{{ |
| | 46 | NoFibWays = |
| | 47 | }}} |
| | 48 | |
| | 49 | * By default nofib uses the stage-2 compiler from your build tree. To tell nofib to use a different compiler, set `WithNofibHc`. For example: |
| | 50 | {{{ |
| | 51 | WithNofibHc = /home/simonpj/builds/HEAD/inplace/bin/ghc-stage1 |
| | 52 | }}} |
| | 53 | |
| | 54 | |