Skip to content

Commit

Permalink
Revert "Add smallpt as an example notebook (#235)" (#236)
Browse files Browse the repository at this point in the history
This reverts commit 7a0d110.
  • Loading branch information
anutosh491 authored Jan 23, 2025
1 parent 7a0d110 commit 8866074
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 362 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
--XeusAddon.prefix=${{ env.PREFIX }} \
--contents README.md \
--contents notebooks/xeus-cpp-lite-demo.ipynb \
--contents notebooks/smallpt.ipynb \
--contents notebooks/images/marie.png \
--contents notebooks/audio/audio.wav \
--output-dir dist
Expand Down
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,8 @@ if(EMSCRIPTEN)
# TODO: Remove the exported runtime methods
# after the next xeus release.
target_link_options(xcpp
PUBLIC "SHELL: -s USE_SDL=2"
PUBLIC "SHELL: -s EXPORTED_RUNTIME_METHODS='[\"FS\",\"PATH\",\"LDSO\",\"loadDynamicLibrary\",\"ERRNO_CODES\"]'"
PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/@/"
PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/include@/include"
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/wasm_patches/post.js"
)
# TODO: Emscripten supports preloading files just once before it generates
Expand Down
359 changes: 0 additions & 359 deletions notebooks/smallpt.ipynb

This file was deleted.

0 comments on commit 8866074

Please sign in to comment.