haskell / vector

An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework .
Other
366 stars 139 forks source link

Workaround for overwriting of .ddump-timing in tests #507

Closed Shimuuar closed 1 month ago

Shimuuar commented 1 month ago
Enable CPP per module in tests

This is workaround for problem of benchmarking build time.
When package is compiled with GHC flags `-ddump-timings -ddump-to-file`
*.dump-timings files corresponding to modules with enabled CPP gets overwritten
at link time.

Timing for Utilities still get lost but its contribution is small anyway
and we're able to keep timings for other modules

Note that libraries are not affected by this problem.

Also unbreak CI which stopped working after upgrading ubuntu-latest to 24.04