Skip to content

Conversation

anutosh491
Copy link
Member

@anutosh491 anutosh491 commented Jul 1, 2025

Replicating the PR on xeus-cpp so that xeus-python can use the latest xeus & xeus-lite.

compiler-research/xeus-cpp#334


set(XPYT_BUILD_STATIC OFF)
set(XPYT_BUILD_SHARED OFF)
set(XPYT_BUILD_XPYTHON_EXECUTABLE OFF)
set(XPYT_BUILD_XPYTHON_EXTENSION OFF)
set(XPYT_USE_SHARED_XEUS OFF)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is enough to link with libxeus.so (ON by default)

configure_file (
"${CMAKE_CURRENT_SOURCE_DIR}/share/jupyter/kernels/xpython/wasm_kernel.json.in"
"${CMAKE_CURRENT_SOURCE_DIR}/share/jupyter/kernels/xpython/kernel.json"
)
Copy link
Member Author

Choose a reason for hiding this comment

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

Fetching xeus-python from emscripten-forge, I see that we're only interested in the xpython build and not xpython-raw so we can skip configuring it for the wasm use case.

@anutosh491
Copy link
Member Author

cc @martinRenou

Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks!

@martinRenou martinRenou merged commit 965a467 into jupyter-xeus:main Jul 9, 2025
10 of 14 checks passed
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