mirror of
https://github.com/c-cube/iter.git
synced 2025-12-05 19:00:31 -05:00
put benchmark compilation into oasis
This commit is contained in:
parent
e1cbfedeab
commit
dcbee64684
3 changed files with 59 additions and 7005 deletions
6
Makefile
6
Makefile
|
|
@ -40,12 +40,6 @@ configure:
|
|||
|
||||
# OASIS_STOP
|
||||
|
||||
benchs: all
|
||||
ocamlbuild -use-ocamlfind -pkg benchmark -pkg unix \
|
||||
bench/benchs.native bench/simple_bench.native \
|
||||
bench/bench_persistent.native \
|
||||
bench/bench_persistent_read.native
|
||||
|
||||
tests:
|
||||
ocamlbuild -use-ocamlfind -pkg oUnit tests/run_tests.native
|
||||
|
||||
|
|
|
|||
28
_oasis
28
_oasis
|
|
@ -15,6 +15,10 @@ Description:
|
|||
like `filter`, `map`, `take`, `drop` and `append` can be performed before the
|
||||
sequence is iterated/folded on.
|
||||
|
||||
Flag bench
|
||||
Description: enable benchmarks (require library Benchmark)
|
||||
Default: false
|
||||
|
||||
Library "sequence"
|
||||
Path: .
|
||||
Modules: Sequence
|
||||
|
|
@ -31,6 +35,30 @@ Test all
|
|||
Type: custom
|
||||
Command: make tests
|
||||
|
||||
Executable benchs
|
||||
Path: bench
|
||||
Install: false
|
||||
CompiledObject: native
|
||||
Build$: flag(bench)
|
||||
BuildDepends: sequence,benchmark
|
||||
MainIs: benchs.ml
|
||||
|
||||
Executable bench_persistent
|
||||
Path: bench
|
||||
Install: false
|
||||
CompiledObject: native
|
||||
Build$: flag(bench)
|
||||
BuildDepends: sequence,benchmark
|
||||
MainIs: bench_persistent.ml
|
||||
|
||||
Executable bench_persistent_read
|
||||
Path: bench
|
||||
Install: false
|
||||
CompiledObject: native
|
||||
Build$: flag(bench)
|
||||
BuildDepends: sequence,benchmark
|
||||
MainIs: bench_persistent_read.ml
|
||||
|
||||
SourceRepository head
|
||||
Type: git
|
||||
Location: https://github.com/c-cube/sequence
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue