-
Notifications
You must be signed in to change notification settings - Fork 456
Open
Description
Many dune packages have a makefile that contains targets such as dune build. While opam packages do the right thing and specify -p and a package name in order to enable release mode, I suspect that many other OS package managers do not do this and simply wrap the Makefile.
There are a few things that'll help:
- add a section to the dune docs on "Instructions for package managers" to explain the various dev/release profile options. There isn't a single one right now.
- consider adding a
DUNE_PROFILEenvironment variable that a generic wrapper such asdh_ocamlin Debian can set toreleasein order to force release mode for the package.
If release mode is not set, then the resulting binaries from the package manager will have cross-module inlining disabled.
Metadata
Metadata
Assignees
Labels
No labels