Skip to content

Commit

Permalink
Update Emscripten-build-instructions.md to match PR in xeus-cpp compi…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Dec 22, 2024
1 parent 6cc66be commit 322d3c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Emscripten-build-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 322d3c1

Please sign in to comment.