|
53 | 53 | command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-16/build/lib/cmake/clang\
|
54 | 54 | -DLLVM_DIR=/usr/lib/llvm-16/build/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON\
|
55 | 55 | -DCPPINTEROP_INCLUDE_DOCS=ON'.format(CPPINTEROP_ROOT)
|
56 |
| -subprocess.call(command, shell=True) |
57 |
| -subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True) |
58 |
| -subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True) |
59 |
| -subprocess.call('git clone https://github.com/emscripten-core/emsdk.git {0}/emsdk; |
| 56 | +command_emscripten = 'git clone https://github.com/emscripten-core/emsdk.git {0}/emsdk; |
60 | 57 | {0}/emsdk/emsdk install 3.1.73;
|
61 | 58 | {0}/emsdk/emsdk activate 3.1.73;
|
62 | 59 | source {0}/emsdk/emsdk_env.sh;
|
|
132 | 129 | micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge;
|
133 | 130 | micromamba activate xeus-lite-host;
|
134 | 131 | python -m pip install jupyterlite-xeus jupyter_server;
|
135 |
| - jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir $READTHEDOCS_OUTPUT/html/xeus-cpp; |
136 |
| - '.format(CPPINTEROP_ROOT), shell=True) |
| 132 | + jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir $READTHEDOCS_OUTPUT/html/xeus-cpp; '.format(CPPINTEROP_ROOT) |
| 133 | +subprocess.call(command, shell=True) |
| 134 | +subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True) |
| 135 | +subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True) |
| 136 | +subprocess.call(command_emscripten.format(CPPINTEROP_ROOT), shell=True) |
0 commit comments