Skip to content

Commit 6a92a56

Browse files
committed
Ah! Perils of case-sensitive file systems
Also don't try to build papi benchmarks on GHC<8.2
1 parent 7b11eae commit 6a92a56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

math-functions.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,17 @@ benchmark math-functions-bench
165165
type: exitcode-stdio-1.0
166166
if impl(ghcjs)
167167
buildable: False
168-
Main-is: bench.hs
168+
Main-is: main.hs
169169
Other-modules: Bench
170170
hs-source-dirs: bench bench-time
171171
build-depends: tasty-bench >=0.3.4
172172

173173
benchmark math-functions-papi
174174
import: bench-stanza
175175
type: exitcode-stdio-1.0
176-
if impl(ghcjs) || !flag(BenchPAPI)
176+
if impl(ghcjs) || !flag(BenchPAPI) || impl(ghc < 8.2)
177177
buildable: False
178-
Main-is: bench.hs
178+
Main-is: main.hs
179179
Other-modules: Bench
180180
hs-source-dirs: bench bench-papi
181181
build-depends: tasty-papi >=0.1.2

0 commit comments

Comments
 (0)