Skip to content

Commit 14fbd7b

Browse files
axman6Shimuuar
authored andcommitted
Make benchmarks work on macOS
1 parent 32bc108 commit 14fbd7b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
module Main where
2+
13
import Data.Complex
24
import Statistics.Sample
35
import Statistics.Transform

statistics.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ benchmark statistics-bench
224224
import: bench-stanza
225225
type: exitcode-stdio-1.0
226226
hs-source-dirs: benchmark bench-time
227-
main-is: bench.hs
227+
main-is: Main.hs
228228
Other-modules: Bench
229229
build-depends: tasty-bench >= 0.3
230230

@@ -234,6 +234,6 @@ benchmark statistics-bench-papi
234234
if impl(ghcjs) || !flag(BenchPAPI)
235235
buildable: False
236236
hs-source-dirs: benchmark bench-papi
237-
main-is: bench.hs
237+
main-is: Main.hs
238238
Other-modules: Bench
239239
build-depends: tasty-papi >= 0.1.2

0 commit comments

Comments
 (0)