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:
226
226
- name : Setup emsdk
227
227
shell : bash -l {0}
228
228
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 }}
230
233
231
234
- name : Build xeus-cpp
232
235
shell : bash -l {0}
233
236
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
236
239
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
237
240
238
241
mkdir build
239
242
pushd build
240
243
241
- export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
242
244
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
243
245
echo "PREFIX=$PREFIX" >> $GITHUB_ENV
244
246
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
78
78
79
79
You'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
80
80
``` 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
84
87
```
85
88
86
89
You are now in a position to build the xeus-cpp kernel. You build it by executing the following
87
90
``` bash
88
91
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
89
92
mkdir build
90
93
pushd build
91
- export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX /envs/xeus-cpp-wasm-build
92
94
export PREFIX=$MAMBA_ROOT_PREFIX /envs/xeus-cpp-wasm-host
93
95
export CMAKE_PREFIX_PATH=$PREFIX
94
96
export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX
Original file line number Diff line number Diff line change @@ -2,6 +2,4 @@ name: xeus-cpp-wasm-build
2
2
channels :
3
3
- conda-forge
4
4
dependencies :
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