diff options
| author | Théo Zimmermann | 2019-06-21 23:07:55 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2019-06-21 23:07:55 +0200 |
| commit | f70bbc797cc0f4759aa1557211ffa193a3f00a06 (patch) | |
| tree | bb3a21ec0911f87e8ffa9086a6482c67a65e41d0 | |
| parent | 623a431c293dcff42b4bc4dc3dc50c047a9ecbcc (diff) | |
| parent | 4a60c81e9fc67d98558b48d9f79e2d3610d60d77 (diff) | |
Merge PR #9665: [dune] Enable optimization options in the compilation of the VM.
Reviewed-by: SkySkimmer
Reviewed-by: Zimmi48
| -rw-r--r-- | dune | 7 | ||||
| -rw-r--r-- | topbin/dune | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,13 @@ (ocaml409 (flags :standard -strict-sequence -strict-formats -keep-locs -rectypes -w -9-27+40+60 -warn-error -5 -alert --deprecated))) +; Information about flags for release mode: +; +; In #9665 we tried to add (c_flags -O3) to the release setup, +; unfortunately the resulting VM seems to be slower [5% slower on +; fourcolor, thus we keep the default C flags for now, which seem to +; be -O2. + ; The _ profile could help factoring the above, however it doesn't ; seem to work like we'd expect/like: ; diff --git a/topbin/dune b/topbin/dune index 3b861afe78..7b77826216 100644 --- a/topbin/dune +++ b/topbin/dune @@ -26,6 +26,8 @@ (package coq) (modules coqc_bin) (libraries coq.toplevel) + ; Adding -ccopt -flto to links options could be interesting, however, + ; it doesn't work on Windows (link_flags -linkall)) (install |
