Skip to content

Commit 7bafc52

Browse files
authored
Fix copying xcpp.data for xeus-cpp-lite deploy page (#200)
1 parent 23913f6 commit 7bafc52

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/deploy-github-page.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
micromamba activate xeus-lite-host
7979
python -m pip install jupyterlite-xeus
8080
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --output-dir dist
81-
cp xcpp.data dist/extensions/@jupyterlite/xeus/static
81+
cp $PREFIX/bin/xcpp.data dist/extensions/@jupyterlite/xeus/static
8282
cp $PREFIX/lib/libclangCppInterOp.so dist/extensions/@jupyterlite/xeus/static
8383
mkdir -p dist/files
8484
mv notebooks dist/files

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
micromamba activate xeus-lite-host
277277
python -m pip install jupyterlite-xeus
278278
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }}
279-
cp xcpp.data _output/extensions/@jupyterlite/xeus/static
279+
cp $PREFIX/bin/xcpp.data _output/extensions/@jupyterlite/xeus/static
280280
cp $PREFIX/lib/libclangCppInterOp.so _output/extensions/@jupyterlite/xeus/static
281281
282282
- name: Setup tmate session

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ We now need to shift necessary files like `xcpp.data` which contains the binary
112112
we want to include in our application. As of now this would contain all important files like Standard Headers,
113113
Libraries etc coming out of emscripten's sysroot. Assuming we are still inside build we should do the following
114114
```bash
115-
cp xcpp.data _output/extensions/@jupyterlite/xeus/static
115+
cp $PREFIX/bin/xcpp.data _output/extensions/@jupyterlite/xeus/static
116116
cp $PREFIX/lib/libclangCppInterOp.so _output/extensions/@jupyterlite/xeus/static
117117
```
118118

0 commit comments

Comments
 (0)