diff options
| author | Emilio Jesus Gallego Arias | 2018-10-09 14:28:04 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-10-11 15:23:00 +0200 |
| commit | 823f41dc9fa54efc7c55d3e1df8df7e5797837fb (patch) | |
| tree | 79e44f4f78923ec48206f09617c6a60cbdd50362 /dune | |
| parent | 4a6ddf4fdc4790fc407dc98bcfb80fd816cab304 (diff) | |
[dune] Add optimizing flags to release profile.
- In `release` profile, we use an optimizing set of flags. This will
only affect to people using a Flambda-enabled OCaml.
- We use the `_` pattern for flags that are common to all profiles.
Diffstat (limited to 'dune')
| -rw-r--r-- | dune | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,10 +1,15 @@ ; Default flags for all Coq libraries. (env (dev (flags :standard -rectypes -w -9-27-50+40+60)) - (release (flags :standard -rectypes)) - (ireport - (flags :standard -rectypes -w -9-27-50+40+60) - (ocamlopt_flags :standard -O3 -unbox-closures -inlining-report))) + (release (flags :standard -rectypes) + (ocamlopt_flags -O3 -unbox-closures)) + (ireport (flags :standard -rectypes -w -9-27-50+40+60) + (ocamlopt_flags :standard -O3 -unbox-closures -inlining-report))) + +; The _ profile could help factoring the above, however it doesn't +; seem to work like we'd expect/like: +; +; (_ (flags :standard -rectypes))) ; Rules for coq_dune (rule |
