Skip to content

Update discovery to optionally allow dynamic builds#670

Merged
djs55 merged 1 commit into
moby:masterfrom
tarides:allow-dynamic-builds
May 27, 2026
Merged

Update discovery to optionally allow dynamic builds#670
djs55 merged 1 commit into
moby:masterfrom
tarides:allow-dynamic-builds

Conversation

@Leonidas-from-XIV
Copy link
Copy Markdown
Contributor

This is a small clean-up of the discover.exe mechanism which generates build flags.

  • Adds a new Dune profile dynamic which disables the -ccopt static. This makes it easier to build on platforms without a static configuration (my Fedora Linux complains that there's no static -lm for example but is plenty happy to build a dynamic executable). The default is still to build a static executable, so nothing changes unless the user specifically requests --profile dynamic from Dune.
  • Removes the OCAMLC variable. The program didn't use it.

cc @djs55

Signed-off-by: Marek Kubica <marek@tarides.com>
@djs55 djs55 merged commit d6c8f7f into moby:master May 27, 2026
4 of 9 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the allow-dynamic-builds branch May 27, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants