Separate compile/run in benchmark

This commit is contained in:
John J. Camilleri
2021-02-17 16:57:06 +01:00
parent 9a263450f5
commit 7a5bc2dab3
3 changed files with 75 additions and 34 deletions

View File

@@ -701,12 +701,29 @@ benchmark lpgf-bench
PGF.TypeCheck
PGF.Utilities
PGF.VisualizeTree
PGF2
PGF2.Expr
PGF2.Type
PGF2.FFI
Paths_gf
if flag(interrupt)
cpp-options: -DUSE_INTERRUPT
other-modules: GF.System.UseSignal
else
other-modules: GF.System.NoSignal
hs-source-dirs:
src/runtime/haskell-bind
other-modules:
PGF2
PGF2.FFI
PGF2.Expr
PGF2.Type
build-tools: hsc2hs
extra-libraries: pgf gu
c-sources: src/runtime/haskell-bind/utils.c
cc-options: -std=c99
build-depends:
array,
base>=4.6 && <5,