mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
update dune to 1.10, condition some rules to unix
This commit is contained in:
parent
b23e075762
commit
ef9851983f
6 changed files with 7 additions and 6 deletions
2
dune
2
dune
|
|
@ -1,9 +1,11 @@
|
|||
(rule
|
||||
(targets README.md.corrected)
|
||||
(deps (package containers-data) ./src/mdx_runner.exe)
|
||||
(enabled_if (= %{system} "linux"))
|
||||
(action (run ./src/mdx_runner.exe)))
|
||||
|
||||
(rule
|
||||
(alias runtest)
|
||||
(package containers-data)
|
||||
(enabled_if (= %{system} "linux"))
|
||||
(action (diff README.md README.md.corrected)))
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
(wrapped false)
|
||||
(modules :standard \ mkshims)
|
||||
(preprocess (action (run %{project_root}/src/core/cpp/cpp.exe %{input-file})))
|
||||
(flags :standard -warn-error -a+8 -w -32 -safe-string
|
||||
(flags :standard -warn-error -a+8 -w -32-70 -safe-string
|
||||
-strict-sequence -nolabels -open CCMonomorphic)
|
||||
(libraries seq either containers.monomorphic))
|
||||
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@
|
|||
(name containers_data)
|
||||
(public_name containers-data)
|
||||
(wrapped false)
|
||||
(flags :standard -w +a-4-42-44-48-50-58-32-60@8 -safe-string -open CCShims_)
|
||||
(flags :standard -warn-error -3 -w -70 -color always
|
||||
-safe-string -strict-sequence -open CCShims_)
|
||||
(libraries containers))
|
||||
|
|
|
|||
2
src/dune
2
src/dune
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
(env
|
||||
(_
|
||||
(flags :standard -warn-error -3 -w -70 -color always)
|
||||
(flags :standard -warn-error -a+8 -w -32-70 -color always -safe-string -strict-sequence)
|
||||
(ocamlopt_flags :standard -O3 -unbox-closures -unbox-closures-factor 20
|
||||
-inline 100)
|
||||
))
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@
|
|||
(name containers_monomorphic)
|
||||
(public_name containers.monomorphic)
|
||||
(modules CCMonomorphic CCMonomorphicShims_)
|
||||
(wrapped false)
|
||||
(flags :standard -w +a-4-42-44-48-50-58-32-60@8 -safe-string))
|
||||
(wrapped false))
|
||||
|
|
|
|||
|
|
@ -4,5 +4,4 @@
|
|||
(name containers_top)
|
||||
(public_name containers.top)
|
||||
(wrapped false)
|
||||
(flags :standard -w +a-4-42-44-48-50-58-32-60@8 -safe-string)
|
||||
(libraries compiler-libs.common containers containers.unix))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue