Skip to content

Conversation

@mcbarton
Copy link
Collaborator

@mcbarton mcbarton commented Nov 11, 2025

Description

Please include a summary of changes, motivation and context for this PR.

This PR adds a python script which can be used to build the native (macos and Linux) and Emscripten (on MacOS arm and Linux x86) versions of xeus-cpp. It is the first step in the plan for container builds of xeus-cpp (see #403 ). This script as of the initial commit of this PR works, but is rough around the edges, and needs to be refined. It will not cover Windows for the time being, since that platform currently has very limited support.

To build the native version of xeus-cpp and run jupyter lab with the kernel installed you execute

python scripts/xeus-cpp-build.py --build native --launch-lab

To build the Emscripten version of xeus-cpp and run jupyter lite with the kernel installed you execute (this will also run the browser tests)

python scripts/xeus-cpp-build.py --build emscripten --run-browser-tests --launch-lite

Steps left

  • Refine python script
  • Add to documentation about python script which can build xeus-cpp

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@mcbarton mcbarton marked this pull request as draft November 11, 2025 21:00
@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.05%. Comparing base (5860e95) to head (59efdc0).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #410   +/-   ##
=======================================
  Coverage   82.05%   82.05%           
=======================================
  Files          21       21           
  Lines         858      858           
  Branches       89       89           
=======================================
  Hits          704      704           
  Misses        154      154           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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