Set -O2 via NoFibHcOpts instead of individual Makefiles.
We set -O2 in NoFibHcOpts which is then applied to all benchmarks run. Adding -O2 in individual benchmarks is therefore redundant. It also leads to issues when testing performance flags via EXTRA_HC_OPTS. Individual Makefiles attach -O2 last. This means all flags set by -O2 could not be disabled with -fno-<flag> as they were reenabled by the later -O2 switch. Test Plan: Using Reviewers: bgamari, jmct, O26 nofib Differential Revision: https://phabricator.haskell.org/D4829
Showing
- real/eff/S/Makefile 1 addition, 1 deletionreal/eff/S/Makefile
- shootout/binary-trees/Makefile 1 addition, 1 deletionshootout/binary-trees/Makefile
- shootout/fannkuch-redux/Makefile 2 additions, 1 deletionshootout/fannkuch-redux/Makefile
- shootout/fasta/Makefile 1 addition, 1 deletionshootout/fasta/Makefile
- shootout/k-nucleotide/Makefile 1 addition, 1 deletionshootout/k-nucleotide/Makefile
- shootout/n-body/Makefile 1 addition, 1 deletionshootout/n-body/Makefile
- shootout/pidigits/Makefile 0 additions, 1 deletionshootout/pidigits/Makefile
- shootout/reverse-complement/Makefile 1 addition, 1 deletionshootout/reverse-complement/Makefile
- shootout/spectral-norm/Makefile 1 addition, 1 deletionshootout/spectral-norm/Makefile
- smp/threads005/Main.hs 0 additions, 2 deletionssmp/threads005/Main.hs
- smp/threads006/Main.hs 0 additions, 1 deletionsmp/threads006/Main.hs
Loading
Please register or sign in to comment