Skip to content

Commit 47cd80d

Browse files
authored
Drop smallpt example notebook (#422)
1 parent 19c639b commit 47cd80d

File tree

7 files changed

+0
-417
lines changed

7 files changed

+0
-417
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ jobs:
150150
--XeusAddon.mounts="${{ env.PREFIX }}/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
151151
--contents README.md \
152152
--contents notebooks/xeus-cpp-lite-demo.ipynb \
153-
--contents notebooks/smallpt.ipynb \
154153
--contents notebooks/images/marie.png \
155154
--contents notebooks/audio/audio.wav \
156155
--output-dir dist

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,6 @@ if (XEUS_CPP_BUILD_EXECUTABLE)
409409
endif()
410410

411411
if(EMSCRIPTEN)
412-
# Ensure required SDL2 ports (e.g. SDL2) are built before header preloading
413-
execute_process(
414-
COMMAND embuilder${EMCC_SUFFIX} build sdl2
415-
RESULT_VARIABLE SDL2_RESULT
416-
)
417-
if(NOT SDL2_RESULT EQUAL 0)
418-
message(FATAL_ERROR "Failed to run 'embuilder build sdl2'")
419-
endif()
420412
include(WasmBuildOptions)
421413
find_package(xeus-lite ${xeus_lite_REQUIRED_VERSION} REQUIRED)
422414
add_executable(xcpp src/main_emscripten_kernel.cpp )
@@ -429,7 +421,6 @@ if(EMSCRIPTEN)
429421
string(REPLACE "\\" "/" ESCAPED_XEUS_CPP_RESOURCE_DIR "${ESCAPED_XEUS_CPP_RESOURCE_DIR}")
430422
string(REPLACE "\\" "/" ESCAPED_SYSROOT_PATH "${ESCAPED_SYSROOT_PATH}")
431423
target_link_options(xcpp
432-
PUBLIC "SHELL: -s USE_SDL=2"
433424
PUBLIC "SHELL: --preload-file ${ESCAPED_SYSROOT_PATH}/include@/include"
434425
PUBLIC "SHELL: --preload-file ${ESCAPED_XEUS_CPP_RESOURCE_DIR}@/${CMAKE_INSTALL_LIBDIR}/clang/${CPPINTEROP_LLVM_VERSION_MAJOR}"
435426
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/wasm_patches/post.js"

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ jupyter lite serve --XeusAddon.prefix=$PREFIX \
161161
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
162162
--contents README.md \
163163
--contents notebooks/xeus-cpp-lite-demo.ipynb \
164-
--contents notebooks/smallpt.ipynb \
165164
--contents notebooks/images/marie.png \
166165
--contents notebooks/audio/audio.wav
167166
```

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ jupyter lite serve --XeusAddon.prefix=$PREFIX \
176176
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
177177
--contents README.md \
178178
--contents notebooks/xeus-cpp-lite-demo.ipynb \
179-
--contents notebooks/smallpt.ipynb \
180179
--contents notebooks/images/marie.png \
181180
--contents notebooks/audio/audio.wav
182181
```

docs/source/InstallationAndUsage.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ To build and test Jupyter Lite with this kernel locally you can execute the foll
158158
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
159159
--contents README.md \
160160
--contents notebooks/xeus-cpp-lite-demo.ipynb \
161-
--contents notebooks/smallpt.ipynb \
162161
--contents notebooks/images/marie.png \
163162
--contents notebooks/audio/audio.wav
164163

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
--XeusAddon.mounts="$PREFIX/share/xeus-cpp/tagfiles:/share/xeus-cpp/tagfiles" \
4242
--XeusAddon.mounts="$PREFIX/etc/xeus-cpp/tags.d:/etc/xeus-cpp/tags.d" \
4343
--contents notebooks/xeus-cpp-lite-demo.ipynb \\
44-
--contents notebooks/smallpt.ipynb \\
4544
--contents notebooks/images/marie.png \\
4645
--contents notebooks/audio/audio.wav \\
4746
--output-dir $READTHEDOCS_OUTPUT/html/xeus-cpp;

notebooks/smallpt.ipynb

Lines changed: 0 additions & 403 deletions
This file was deleted.

0 commit comments

Comments
 (0)