Closed
Description
This is the kernel.json file I see while building xeus-cpp-lite
{
"display_name": "C++20",
"env": {
"PATH":"/Users/anutosh491/micromamba/envs/xeus-cpp/bin:/Users/anutosh491/.pixi/bin:/Users/anutosh491/miniconda3/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/anutosh491/micromamba/condabin:/Users/anutosh491/.pixi/bin:/Users/anutosh491/miniconda3/bin",
"LD_LIBRARY_PATH":""
},
"argv": [
"/Users/anutosh491/micromamba/envs/xeus-cpp/bin/xcpp",
"-f",
"{connection_file}",
"-resource-dir", "/Users/anutosh491/micromamba/envs/xeus-cpp/lib/clang/19",
"-I", "/Users/anutosh491/micromamba/envs/xeus-cpp/include",
"-std=c++20"
],
"language": "cpp",
"metadata": {"debugger": false
}
}
Most things are redundant (or can't be used in a wasm context) except
- kernel display name
- c++ version based on kernel name
- language (cpp or c I guess)
- debugger info
Things like env, resource dir and other include paths if any can't be put to use.
There is no xcpp
exectuable either (a wasm build would give us xcpp.js, xcpp.wasm, xcpp.data) and we just have an empty placeholder there.