Skip to content

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
emscripten-forge:mainfrom
davy39:bump-xeus-ocaml_0.2.8_to_0.2.10_for_emscripten-4x
Open

Update xeus-ocaml from 0.2.8 to 0.2.10, OCaml 5.5.0, fix opam root#6201
davy39 wants to merge 1 commit into
emscripten-forge:mainfrom
davy39:bump-xeus-ocaml_0.2.8_to_0.2.10_for_emscripten-4x

Conversation

@davy39

@davy39 davy39 commented Aug 8, 2026

Copy link
Copy Markdown
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
Copilot AI lite review requested due to automatic review settings August 8, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-ocaml from 0.2.8 to 0.2.10 and updated the source sha256.
  • Updated the OCaml build phase to use OCaml 5.5.0 and a private OPAMROOT, while unsetting OPAMSWITCH to ensure opam initializes against the real repository.
  • Unset LDFLAGS before CMake to avoid passing native -Wl,... flags to wasm-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.

Comment thread recipes/recipes_emscripten/xeus-ocaml/build.sh
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