diff options
| author | Emilio Jesus Gallego Arias | 2018-10-04 11:50:11 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-09 22:18:57 +0200 |
| commit | b70c5fd9cc29f32c87d72a6da3f731be25c42d85 (patch) | |
| tree | 5b8610aa38eee1eddffec112926ef8274de43a1a /dev | |
| parent | 59de2827b63b5bc475452bef385a2149a10a631c (diff) | |
[dune] Provide an optimized build profile with inlining reports.
This satisfies a wish by @ppedrot
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/doc/build-system.dune.md | 11 | ||||
| -rw-r--r-- | dev/dune-workspace.all | 4 |
2 files changed, 11 insertions, 4 deletions
diff --git a/dev/doc/build-system.dune.md b/dev/doc/build-system.dune.md index 7349360be8..91ab57f1e9 100644 --- a/dev/doc/build-system.dune.md +++ b/dev/doc/build-system.dune.md @@ -107,6 +107,17 @@ global options --- such as flags --- on all packages, or build Coq with different OPAM switches simultaneously [for example to test compatibility]; for more information, please refer to the Dune manual. +## Inlining reports + +The `ireport` profile will produce standard OCaml [inlining +reports](https://caml.inria.fr/pub/docs/manual-ocaml/flambda.html#sec488). These +are to be found under `_build/default/$lib/$lib.objs/$module.$round.inlining.org` +and are in Emacs `org-mode` format. + +Note that due to https://github.com/ocaml/dune/issues/1401 , we must +perform a full rebuild each time as otherwise Dune will remove the +files. We hope to solve this in the future. + ## Documentation and test targets The documentation and test suite targets for Coq are still not diff --git a/dev/dune-workspace.all b/dev/dune-workspace.all index 1a8a816aaa..93b807d5e3 100644 --- a/dev/dune-workspace.all +++ b/dev/dune-workspace.all @@ -1,10 +1,6 @@ (lang dune 1.2) ; Add custom flags here. Default developer profile is `dev` -(env - (dev (flags :standard -rectypes -w -9-27-50+60)) - (release (flags :standard -rectypes))) - (context (opam (switch 4.05.0))) (context (opam (switch 4.05.0+32bit))) (context (opam (switch 4.07.0))) |
