From 322d3c1468a7a41658a6ceb6679388c190b7ac78 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Sun, 22 Dec 2024 20:35:29 +0000 Subject: [PATCH] Update Emscripten-build-instructions.md to match PR in xeus-cpp https://github.com/compiler-research/xeus-cpp/pull/199 --- Emscripten-build-instructions.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Emscripten-build-instructions.md b/Emscripten-build-instructions.md index c067621b9..ad8332cee 100644 --- a/Emscripten-build-instructions.md +++ b/Emscripten-build-instructions.md @@ -148,6 +148,15 @@ python -m pip install jupyterlite-xeus jupyter lite build --XeusAddon.prefix=$PREFIX ``` +We now need to shift necessary files like `xcpp.data` which contains the binary representation of the file(s) +we want to include in our application. As of now this would contain all important files like Standard Headers, +Libraries etc coming out of emscripten's sysroot. Assuming we are still inside build we should do the following + +```bash +cp xcpp.data _output/extensions/@jupyterlite/xeus/static +cp $PREFIX/lib/libclangCppInterOp.so _output/extensions/@jupyterlite/xeus/static +``` + Once the Jupyter Lite site has built you can test the website locally by executing ```bash