Skip to content

Commit c22a03a

Browse files
authored
Update conf.py
1 parent b5fbea3 commit c22a03a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/source/conf.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
command_emscripten = 'cd ../../;\
1212
curl -L https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba;\
1313
export PATH="$PWD/bin:$PATH"; \
14-
micromamba shell init -s bash;\
15-
. ~/.bashrc;\
16-
micromamba create -n xeus-cpp-wasm-build emscripten_emscripten-wasm32==3.1.73 cmake -c https://repo.prefix.dev/emscripten-forge-dev conda-forge -y;\
14+
export MAMBA_EXE='/home/docs/checkouts/readthedocs.org/user_builds/xeus-cpp/checkouts/361/bin/micromamba';\
15+
export MAMBA_ROOT_PREFIX='/home/docs/.local/share/mamba';\
16+
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";\
17+
alias micromamba="$MAMBA_EXE";\
18+
micromamba create -f environment-wasm-build.yml -y;\
1719
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;\
20+
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32;\
1921
mkdir build;\
2022
cd build;\
2123
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build;\

0 commit comments

Comments
 (0)