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 9
9
if on_rtd :
10
10
XEUS_CPP_ROOT = os .path .abspath ('../..' )
11
11
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;\
19
19
mkdir build;\
20
20
cd build;\
21
21
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build;\
31
31
{0}/xeus-cpp/;\
32
32
emmake make -j $(nproc --all) install;\
33
33
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;\
36
36
python -m pip install jupyterlite-xeus jupyter_server;\
37
37
jupyter lite build --XeusAddon.prefix=$PREFIX \
38
38
--contents notebooks/xeus-cpp-lite-demo.ipynb \
You can’t perform that action at this time.
0 commit comments