Commit 67548aad authored by erwan's avatar erwan

Build: move to dune 2.0

parent c10bed2a
Pipeline #32904 passed with stages
in 2 minutes and 33 seconds
(lang dune 1.11)
(lang dune 2.0)
......@@ -10,7 +10,7 @@ $(EXPDIR):
%.cmxs: %.ml
ocamlfind ocamlopt -shared -o $*.cmxs -package rdbg graphics.cmxa $*.ml
ocamlfind ocamlopt -shared -o $*.cmxs -package rdbg,graphics graphics.cmxa $*.ml
clean:
......
......@@ -4,7 +4,6 @@
(libraries camlidl)
; (wrapped false)
(modules Ezdl Inspect)
(c_names Ezdl_c Inspect_c)
(c_flags -fPIC)
(foreign_stubs (language c) (names Ezdl_c Inspect_c) (flags -fPIC))
(synopsis "Easy dynamic linking of C functions from ocaml.")
)
......@@ -4,8 +4,8 @@
(libraries camlidl)
(wrapped false)
(modules Bdd)
(c_names gbdd_cml gbdd)
(c_flags -x c++ -g -O2 -fno-operator-names -fPIC)
(foreign_stubs (language c) (names gbdd_cml gbdd)
(flags -x c++ -g -O2 -fno-operator-names -fPIC))
(c_library_flags -lstdc++)
(synopsis "gbddml: A BDD library in C + an ocaml wrapper")
)
......@@ -2,7 +2,7 @@
(name lutinRun)
(public_name lutin)
(libraries polka num rdbg camlidl str unix ezdl gbddml gmp)
(c_names lutinUtils_stubs lutinUtils_c myuid)
(foreign_stubs (language c) (names lutinUtils_stubs lutinUtils_c myuid))
(wrapped false)
(library_flags (-linkall))
; (install_c_headers myuid)
......
......@@ -4,11 +4,10 @@
(wrapped false)
(libraries num gmp camlidl)
(modules Polka PolkaIO Vector Matrix Poly Polka_parser Polka_lexer)
(c_flags -O3 -fPIC -DPOLKA_NUM=3 -I$pkg_camlidl -I/usr/local/include/)
(c_names polka_c internal bit satmat cherni vector_c matrix_c poly_c
vector_caml matrix_caml poly_caml polka_caml)
(foreign_stubs (language c)
(names polka_c internal bit satmat cherni vector_c matrix_c poly_c
vector_caml matrix_caml poly_caml polka_caml)
(flags -O3 -fPIC -DPOLKA_NUM=3 -I$pkg_camlidl -I/usr/local/include/))
(synopsis "polka: convex polyhedron library by Bertrand Jeannet (now part of apron).")
)
(ocamllex polka_lexer)
......
This diff is collapsed.
......@@ -22,11 +22,12 @@ depends: [
"base-unix" {build}
"num"
"camlidl"
"graphics" {test}
"extlib" {build} | "extlib-compat" {build}
"lustre-v6"
"lutils" {>= "1.49"}
"mlgmpidl"
"dune" {build & >= "1.11"}
"dune" {build & >= "2.0"}
"ocamlfind"
"rdbg" {> "1.184"}
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment