Skip to content

Commit e1b7ecd

Browse files
committed
Use mount instead of preload for tagfiles
1 parent 2226ca0 commit e1b7ecd

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
@@ -451,8 +451,6 @@ if(EMSCRIPTEN)
451451
PUBLIC "SHELL: -s USE_SDL=2"
452452
PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/include@/include"
453453
PUBLIC "SHELL: --preload-file ${XEUS_CPP_RESOURCE_DIR}@/${CMAKE_INSTALL_LIBDIR}/clang/${CPPINTEROP_LLVM_VERSION_MAJOR}"
454-
PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR}@/share/xeus-cpp"
455-
PUBLIC "SHELL: --preload-file ${XEUS_CPP_CONF_DIR}@/etc/xeus-cpp"
456454
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/wasm_patches/post.js"
457455
)
458456
endif()

0 commit comments

Comments
 (0)