Skip to content

Commit 703be7d

Browse files
authored
Use mount instead of preload for tagfiles (#336)
* Use mount instead of preload for tagfiles
1 parent 3a888b6 commit 703be7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ jobs:
143143
micromamba activate xeus-lite-host
144144
jupyter lite build \
145145
--XeusAddon.prefix=${{ env.PREFIX }} \
146+
--XeusAddon.mounts="${{ env.PREFIX }}/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
147+
--XeusAddon.mounts="${{ env.PREFIX }}/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
146148
--contents README.md \
147149
--contents notebooks/xeus-cpp-lite-demo.ipynb \
148150
--contents notebooks/smallpt.ipynb \

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,6 @@ if(EMSCRIPTEN)
450450
PUBLIC "SHELL: -s USE_SDL=2"
451451
PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/include@/include"
452452
PUBLIC "SHELL: --preload-file ${XEUS_CPP_RESOURCE_DIR}@/${CMAKE_INSTALL_LIBDIR}/clang/${CPPINTEROP_LLVM_VERSION_MAJOR}"
453-
PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR}@/share/xeus-cpp"
454-
PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR}@/etc/xeus-cpp"
455453
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/wasm_patches/post.js"
456454
)
457455
endif()

0 commit comments

Comments
 (0)