Skip to content

Commit 02b4642

Browse files
authored
Update conf.py
1 parent 86049da commit 02b4642

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/source/conf.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,22 @@
1515
export MAMBA_ROOT_PREFIX="/home/docs/.local/share/mamba";\
1616
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";\
1717
alias micromamba="$MAMBA_EXE";\
18-
micromamba shell hook --shell bash > ~/.micromamba_hook.sh;\
19-
bash;\
20-
. ~/.micromamba_hook.sh;\
2118
micromamba create -f environment-wasm-build.yml -y;\
22-
micromamba activate xeus-cpp-wasm-build;\
2319
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32;\
2420
mkdir build;\
2521
cd build;\
2622
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build;\
2723
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host;\
2824
export SYSROOT_PATH=$BUILD_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot;\
29-
emcmake cmake -DCMAKE_BUILD_TYPE=Release \
25+
micromamba run -n environment-wasm-build emcmake cmake -DCMAKE_BUILD_TYPE=Release \
3026
-DCMAKE_PREFIX_PATH=$PREFIX \
3127
-DCMAKE_INSTALL_PREFIX=$PREFIX \
3228
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
3329
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
3430
-DXEUS_CPP_RESOURCE_DIR=$LLVM_BUILD_DIR/lib/clang/$LLVM_VERSION \
3531
-DSYSROOT_PATH=$SYSROOT_PATH \
3632
{0}/xeus-cpp/;\
37-
emmake make -j $(nproc --all) install;\
33+
micromamba run -n environment-wasm-build emmake make -j $(nproc --all) install;\
3834
cd {0};\
3935
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge;\
4036
micromamba activate xeus-lite-host;\

0 commit comments

Comments
 (0)