Skip to content

Commit ccf6b82

Browse files
authored
Update conf.py
1 parent 12f5680 commit ccf6b82

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/source/conf.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
if 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;\
@@ -31,8 +31,8 @@
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 \

0 commit comments

Comments
 (0)