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)
|
||||
(modules IterBigarray IterBigarrayShims_)
|
||||
(wrapped false)
|
||||
(optional)
|
||||
(flags :standard -warn-error -a+8 -safe-string)
|
||||
(ocamlopt_flags :standard (:include ../flambda.flags)))
|
||||
(optional))
|
||||
|
||||
(executable
|
||||
(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
|
||||
(name mkshims)
|
||||
|
|
@ -19,7 +14,11 @@
|
|||
(public_name iter)
|
||||
(wrapped false)
|
||||
(modules Iter IterLabels Iter_shims_)
|
||||
(flags :standard -warn-error -a+8 -safe-string -nolabels)
|
||||
(ocamlopt_flags :standard (:include flambda.flags))
|
||||
(flags :standard -nolabels)
|
||||
(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