mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
simplify dune setup
This commit is contained in:
parent
7244b2eb5e
commit
b077feaafb
2 changed files with 7 additions and 10 deletions
|
|
@ -5,9 +5,7 @@
|
||||||
(libraries iter bigarray unix)
|
(libraries iter bigarray unix)
|
||||||
(modules IterBigarray IterBigarrayShims_)
|
(modules IterBigarray IterBigarrayShims_)
|
||||||
(wrapped false)
|
(wrapped false)
|
||||||
(optional)
|
(optional))
|
||||||
(flags :standard -warn-error -a+8 -safe-string)
|
|
||||||
(ocamlopt_flags :standard (:include ../flambda.flags)))
|
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name mkshims)
|
(name mkshims)
|
||||||
|
|
|
||||||
13
src/dune
13
src/dune
|
|
@ -1,8 +1,3 @@
|
||||||
(rule
|
|
||||||
(targets flambda.flags)
|
|
||||||
(deps mkflags.ml)
|
|
||||||
(mode fallback)
|
|
||||||
(action (run ocaml ./mkflags.ml)))
|
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name mkshims)
|
(name mkshims)
|
||||||
|
|
@ -19,7 +14,11 @@
|
||||||
(public_name iter)
|
(public_name iter)
|
||||||
(wrapped false)
|
(wrapped false)
|
||||||
(modules Iter IterLabels Iter_shims_)
|
(modules Iter IterLabels Iter_shims_)
|
||||||
(flags :standard -warn-error -a+8 -safe-string -nolabels)
|
(flags :standard -nolabels)
|
||||||
(ocamlopt_flags :standard (:include flambda.flags))
|
|
||||||
(libraries bytes result))
|
(libraries bytes result))
|
||||||
|
|
||||||
|
|
||||||
|
(env
|
||||||
|
(_
|
||||||
|
(flags :standard -warn-error -a+8 -safe-string -strict-sequence)
|
||||||
|
(ocamlopt_flags :standard -O3 -unbox-closures -unbox-closures-factor 20)))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue