mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-23 08:43:16 +03:00
Build the benchmarks only if requested
Reviewed By: niteria Differential Revision: D6172800 fbshipit-source-id: 6ded874ff575d35a564808be2bdf29347b39a3ca
This commit is contained in:
parent
3dbb11f6fe
commit
bc1f39f477
@ -151,7 +151,12 @@ test-suite test
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
flag bench
|
||||
default: False
|
||||
|
||||
executable monadbench
|
||||
if !flag(bench)
|
||||
buildable: False
|
||||
default-language:
|
||||
Haskell2010
|
||||
hs-source-dirs:
|
||||
@ -169,6 +174,8 @@ executable monadbench
|
||||
-O2 -main-is MonadBench -rtsopts
|
||||
|
||||
executable cachebench
|
||||
if !flag(bench)
|
||||
buildable: False
|
||||
default-language:
|
||||
Haskell2010
|
||||
hs-source-dirs:
|
||||
|
Loading…
Reference in New Issue
Block a user