File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 99if on_rtd :
1010 XEUS_CPP_ROOT = os .path .abspath ('../..' )
1111 command_emscripten = 'cd ../../;\
12- mamba init ;\
13- . /home/docs/.bashrc; \
14- echo $PWD ;\
15- find . -name "*" ;\
16- mamba create -n xeus-cpp-wasm-build emscripten_emscripten-wasm32==3.1.73 -c https://repo.prefix.dev/emscripten-forge-dev -y;\
17- mamba activate xeus-cpp-wasm-build;\
18- CONDA_SUBDIR=emscripten-wasm32 mamba create -n environment-wasm-host nlohmann_json=3.12.0 xeus-lite xeus CppInterOp cpp-argparse pugixml doctest -c https://repo.prefix.dev/emscripten-forge-dev -y;\
12+ curl -L https://micro. mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba ;\
13+ export PATH="$PWD/bin:$PATH"; \
14+ micromamba shell init -s bash -p ~/micromamba ;\
15+ . ~/.bashrc ;\
16+ micromamba create -n xeus-cpp-wasm-build emscripten_emscripten-wasm32==3.1.73 -c https://repo.prefix.dev/emscripten-forge-dev -y;\
17+ micromamba activate xeus-cpp-wasm-build;\
18+ micromamba create -n environment-wasm-host --platform emscripten-wasm32 nlohmann_json=3.12.0 xeus-lite xeus CppInterOp cpp-argparse pugixml doctest -c https://repo.prefix.dev/emscripten-forge-dev -y;\
1919 mkdir build;\
2020 cd build;\
2121 export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build;\
3131 {0}/xeus-cpp/;\
3232 emmake make -j $(nproc --all) install;\
3333 cd {0};\
34- mamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge;\
35- mamba activate xeus-lite-host;\
34+ micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge;\
35+ micromamba activate xeus-lite-host;\
3636 python -m pip install jupyterlite-xeus jupyter_server;\
3737 jupyter lite build --XeusAddon.prefix=$PREFIX \
3838 --contents notebooks/xeus-cpp-lite-demo.ipynb \
You can’t perform that action at this time.
0 commit comments