Skip to content

Conversation

@MisterDA
Copy link
Contributor

@MisterDA MisterDA commented Mar 6, 2023

Different releases of OCaml require different system libraries: libX11 isn't needed since 4.09, when the Graphics library was moved from the core distribution to a separate package. On the opposite side, OCaml 5.1 can optionally use libzstd for compressing marshalled data. Install these packages accordingly in the ocaml image.

@MisterDA MisterDA force-pushed the ocaml-dev-packages branch 4 times, most recently from 5aa8f1c to dfce7ff Compare March 13, 2023 12:06
@MisterDA MisterDA force-pushed the ocaml-dev-packages branch 3 times, most recently from 9844048 to 5ce1412 Compare March 22, 2023 21:41
OCaml 5.1+ can optionally use libzstd for compressing marshalled data.
Install this package in the ocaml image. It's not needed in the opam
stage.

Future work might remove uneeded packages from the opam image, like
libx11 that the graphics library depends on, for OCaml 4.09+.
@MisterDA MisterDA force-pushed the ocaml-dev-packages branch from 5ce1412 to 6f65e17 Compare March 23, 2023 16:10
@MisterDA MisterDA merged commit 8b63dd6 into master Mar 23, 2023
@MisterDA MisterDA deleted the ocaml-dev-packages branch March 23, 2023 16:13
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