on master help sign in
Disable lib-base build for GHCJS
f39b982Harendra Kumar
benchmark/streamly-benchmarks.cabal+25−5
@@ -234,7 +234,11 @@ library lib-base
234 Streamly.Benchmark.Data.Stream.StreamD
234 Streamly.Benchmark.Data.Stream.StreamD
235 , Streamly.Benchmark.Data.Stream.StreamK
235 , Streamly.Benchmark.Data.Stream.StreamK
236 , Streamly.Benchmark.Data.Stream.StreamDK
236 , Streamly.Benchmark.Data.Stream.StreamDK
237+ if impl(ghcjs)
238+ buildable: False
239+ else
237− build-depends: streamly-benchmarks
240+ build-depends: streamly-benchmarks
241+ buildable: True
238
242
239benchmark base
243benchmark base
240-- benchmark base-o-1-space
244-- benchmark base-o-1-space
@@ -244,7 +248,11 @@ benchmark base
244 ghc-options: -with-rtsopts "-T -K36K -M16M"
248 ghc-options: -with-rtsopts "-T -K36K -M16M"
245 hs-source-dirs: Streamly/Benchmark/Data/Stream
249 hs-source-dirs: Streamly/Benchmark/Data/Stream
246 main-is: BaseStreams.hs
250 main-is: BaseStreams.hs
251+ if impl(ghcjs)
252+ buildable: False
253+ else
247− build-depends: lib-base
254+ build-depends: lib-base
255+ buildable: True
248
256
249benchmark base-o-n-heap
257benchmark base-o-n-heap
250 import: bench-options
258 import: bench-options
@@ -253,7 +261,11 @@ benchmark base-o-n-heap
253 ghc-options: -with-rtsopts "-T -K36K -M64M"
261 ghc-options: -with-rtsopts "-T -K36K -M64M"
254 hs-source-dirs: Streamly/Benchmark/Data/Stream
262 hs-source-dirs: Streamly/Benchmark/Data/Stream
255 main-is: BaseStreams.hs
263 main-is: BaseStreams.hs
264+ if impl(ghcjs)
265+ buildable: False
266+ else
256− build-depends: lib-base
267+ build-depends: lib-base
268+ buildable: True
257
269
258benchmark base-o-n-stack
270benchmark base-o-n-stack
259 import: bench-options
271 import: bench-options
@@ -262,7 +274,11 @@ benchmark base-o-n-stack
262 ghc-options: -with-rtsopts "-T -K1M -M16M"
274 ghc-options: -with-rtsopts "-T -K1M -M16M"
263 hs-source-dirs: Streamly/Benchmark/Data/Stream
275 hs-source-dirs: Streamly/Benchmark/Data/Stream
264 main-is: BaseStreams.hs
276 main-is: BaseStreams.hs
277+ if impl(ghcjs)
278+ buildable: False
279+ else
265− build-depends: lib-base
280+ build-depends: lib-base
281+ buildable: True
266
282
267benchmark base-o-n-space
283benchmark base-o-n-space
268 import: bench-options
284 import: bench-options
@@ -271,7 +287,11 @@ benchmark base-o-n-space
271 ghc-options: -with-rtsopts "-T -K32M -M32M"
287 ghc-options: -with-rtsopts "-T -K32M -M32M"
272 hs-source-dirs: Streamly/Benchmark/Data/Stream
288 hs-source-dirs: Streamly/Benchmark/Data/Stream
273 main-is: BaseStreams.hs
289 main-is: BaseStreams.hs
290+ if impl(ghcjs)
291+ buildable: False
292+ else
274− build-depends: lib-base
293+ build-depends: lib-base
294+ buildable: True
275
295
276executable nano-bench
296executable nano-bench
277 import: bench-options
297 import: bench-options