File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 15
15
export MAMBA_ROOT_PREFIX="/home/docs/.local/share/mamba";\
16
16
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";\
17
17
alias micromamba="$MAMBA_EXE";\
18
- micromamba shell hook --shell bash > ~/.micromamba_hook.sh;\
19
- bash;\
20
- . ~/.micromamba_hook.sh;\
21
18
micromamba create -f environment-wasm-build.yml -y;\
22
- micromamba activate xeus-cpp-wasm-build;\
23
19
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32;\
24
20
mkdir build;\
25
21
cd build;\
26
22
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build;\
27
23
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host;\
28
24
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 \
30
26
-DCMAKE_PREFIX_PATH=$PREFIX \
31
27
-DCMAKE_INSTALL_PREFIX=$PREFIX \
32
28
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
33
29
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
34
30
-DXEUS_CPP_RESOURCE_DIR=$LLVM_BUILD_DIR/lib/clang/$LLVM_VERSION \
35
31
-DSYSROOT_PATH=$SYSROOT_PATH \
36
32
{0}/xeus-cpp/;\
37
- emmake make -j $(nproc --all) install;\
33
+ micromamba run -n environment-wasm-build emmake make -j $(nproc --all) install;\
38
34
cd {0};\
39
35
micromamba create -n xeus-lite-host jupyterlite-core=0.6 jupyter_server jupyterlite-xeus -c conda-forge;\
40
36
micromamba activate xeus-lite-host;\
You can’t perform that action at this time.
0 commit comments