File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed
Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -226,19 +226,21 @@ jobs:
226226 - name : Setup emsdk
227227 shell : bash -l {0}
228228 run : |
229- emsdk install ${{matrix.emsdk_ver}}
229+ cd $HOME
230+ git clone https://github.com/emscripten-core/emsdk.git
231+ cd emsdk
232+ ./emsdk install ${{ matrix.emsdk_ver }}
230233
231234 - name : Build xeus-cpp
232235 shell : bash -l {0}
233236 run : |
234- emsdk activate ${{matrix.emsdk_ver}}
235- source $CONDA_EMSDK_DIR /emsdk_env.sh
237+ $HOME/emsdk/ emsdk activate ${{matrix.emsdk_ver}}
238+ source $HOME/emsdk /emsdk_env.sh
236239 micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
237240
238241 mkdir build
239242 pushd build
240243
241- export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
242244 export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
243245 echo "PREFIX=$PREFIX" >> $GITHUB_ENV
244246 export CMAKE_PREFIX_PATH=$PREFIX
Original file line number Diff line number Diff line change @@ -78,17 +78,19 @@ micromamba activate xeus-cpp-wasm-build
7878
7979You'll now want to make sure you're using emsdk version "3.1.45" and activate it. You can get this by executing the following
8080``` bash
81- emsdk install 3.1.45
82- emsdk activate 3.1.45
83- source $CONDA_EMSDK_DIR /emsdk_env.sh
81+ cd $HOME
82+ git clone https://github.com/emscripten-core/emsdk.git
83+ cd emsdk
84+ ./emsdk install 3.1.45
85+ ./emsdk activate 3.1.45
86+ source $HOME /emsdk/emsdk_env.sh
8487```
8588
8689You are now in a position to build the xeus-cpp kernel. You build it by executing the following
8790``` bash
8891micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
8992mkdir build
9093pushd build
91- export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX /envs/xeus-cpp-wasm-build
9294export PREFIX=$MAMBA_ROOT_PREFIX /envs/xeus-cpp-wasm-host
9395export CMAKE_PREFIX_PATH=$PREFIX
9496export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX
Original file line number Diff line number Diff line change @@ -2,6 +2,4 @@ name: xeus-cpp-wasm-build
22channels :
33 - conda-forge
44dependencies :
5- - cmake
6- - emsdk >=3.1.11
7- - empack >=2.0.1
5+ - cmake
You can’t perform that action at this time.
0 commit comments