diff options
| author | Théo Zimmermann | 2018-10-02 18:11:15 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-10-02 18:11:15 +0200 |
| commit | e7a939b4661ad300d4f5c4d25f74d25705f38589 (patch) | |
| tree | 7b4e178afa4c598298803265987257fbac0296b5 | |
| parent | 7803262696980e6f2cb1fd4397b91f1098712647 (diff) | |
| parent | 65da59b0bd464d67e092a61bf281fcf62fa987cb (diff) | |
Merge PR #8617: [dune] Provide workspace file with all supported Ocaml builds.
| -rw-r--r-- | Makefile.dune | 4 | ||||
| -rw-r--r-- | dev/dune-workspace.all | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.dune b/Makefile.dune index 1e401a57b9..3585882142 100644 --- a/Makefile.dune +++ b/Makefile.dune @@ -15,6 +15,7 @@ help: @echo " - watch: build all binaries and libraries [continuous build]" @echo " - release: build Coq in release mode" @echo " - apidoc: build ML API documentation" + @echo " - ocheck: build for all supported OCaml versions [requires OPAM]" @echo " - clean: remove build directory and autogenerated files" @echo " - help: show this message" @@ -28,6 +29,9 @@ states: voboot world: voboot dune build $(DUNEOPT) @install +ocheck: voboot + dune build $(DUNEOPT) @install --workspace=dev/dune-workspace.all + watch: voboot dune build $(DUNEOPT) @install -w diff --git a/dev/dune-workspace.all b/dev/dune-workspace.all new file mode 100644 index 0000000000..44857ed050 --- /dev/null +++ b/dev/dune-workspace.all @@ -0,0 +1,11 @@ +(lang dune 1.2) + +; Add custom flags here. Default developer profile is `dev` +(env + (dev (flags :standard -rectypes -w -9-27-50)) + (release (flags :standard -rectypes))) + +(context (opam (switch 4.05.0))) +(context (opam (switch 4.05.0+32bit))) +(context (opam (switch 4.07.0))) +(context (opam (switch 4.07.0+flambda))) |
