Diffusion nofib a3b0f2b2cff8

Set -O2 via NoFibHcOpts instead of individual Makefiles.

Authored by AndreasK on Jun 16 2018, 11:37 AM.

Description

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

Details

Committed
bgamariJun 16 2018, 11:38 AM
Differential Revision
D4829: Set -O2 via NoFibHcOpts instead of individual Makefiles.
Parents
rNOFIB22240ca8034d: Eliminate trailing whitespace
Branches
Unknown
Tags
Unknown