Update xeus-ocaml from 0.2.8 to 0.2.10, OCaml 5.5.0, fix opam root - #6201
Open
davy39 wants to merge 1 commit into
Open
Update xeus-ocaml from 0.2.8 to 0.2.10, OCaml 5.5.0, fix opam root#6201davy39 wants to merge 1 commit into
davy39 wants to merge 1 commit into
Conversation
davy39
commented
Aug 8, 2026
Contributor
- Bump version to 0.2.10 with new sha256
- Use a private OPAMROOT and unset OPAMSWITCH so opam init fetches the real opam repository (the conda-forge opam root only ships an empty repo, which broke 'opam install dune' with 'No package named dune found')
- Build with OCaml 5.5.0 to match the v0.2.10 tag
- Unset LDFLAGS before cmake: native -Wl flags are rejected by wasm-ld
- Bump version to 0.2.10 with new sha256 - Use a private OPAMROOT and unset OPAMSWITCH so opam init fetches the real opam repository (the conda-forge opam root only ships an empty repo, which broke 'opam install dune' with 'No package named dune found') - Build with OCaml 5.5.0 to match the v0.2.10 tag - Unset LDFLAGS before cmake: native -Wl flags are rejected by wasm-ld
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the xeus-ocaml emscripten-forge recipe to align with upstream v0.2.10 and to make the OCaml/opam bootstrap more reliable during cross-compilation by isolating opam state and adjusting environment flags.
Changes:
- Bumped
xeus-ocamlfrom0.2.8to0.2.10and updated the sourcesha256. - Updated the OCaml build phase to use OCaml
5.5.0and a privateOPAMROOT, while unsettingOPAMSWITCHto ensure opam initializes against the real repository. - Unset
LDFLAGSbefore CMake to avoid passing native-Wl,...flags towasm-ld.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| recipes/recipes_emscripten/xeus-ocaml/recipe.yaml | Bumps version and source hash for the xeus-ocaml recipe. |
| recipes/recipes_emscripten/xeus-ocaml/build.sh | Adjusts opam/OCaml bootstrapping and linker flag handling for wasm builds. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.