Skip to content

Use same compiler settings for .#dune and .#dune-static#15408

Draft
Leonidas-from-XIV wants to merge 1 commit into
ocaml:mainfrom
Leonidas-from-XIV:use-fp-compiler
Draft

Use same compiler settings for .#dune and .#dune-static#15408
Leonidas-from-XIV wants to merge 1 commit into
ocaml:mainfrom
Leonidas-from-XIV:use-fp-compiler

Conversation

@Leonidas-from-XIV

Copy link
Copy Markdown
Member

The nix-overlay enables flambda automatically and in the flake we disable it for dune, instead enabling frame pointers. However, this is not the case for dune-static, where we use the regular ocaml package (from the overlay) which uses flambda but no frame pointers.

This applies the same compiler configuration to dune-static as to dune.

The nix-overlay enables `flambda` automatically and in the flake we
disable it for `dune`, instead enabling frame pointers. However, this is
not the case for `dune-static`, where we use the regular `ocaml` package
(from the overlay) which uses `flambda` but no frame pointers.

This applies the same compiler configuration to `dune-static` as to
`dune`.

Signed-off-by: Marek Kubica <marek@tarides.com>
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.

1 participant