Skip to content

Commit 8734152

Browse files
authored
Using emsdk from environment-wasm-build.yml file
1 parent 466fbeb commit 8734152

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,11 @@ git clone https://github.com/<your-github-username>/xeus-cpp.git
6868
cd ./xeus-cpp
6969
```
7070

71-
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
71+
You'll now want to make sure you are using the same emsdk as the rest of our dependencies. This can be achieved by executing
72+
the following
7273
```bash
73-
git clone https://github.com/emscripten-core/emsdk.git $HOME/emsdk
74-
$HOME/emsdk/emsdk install 3.1.45
75-
$HOME/emsdk/emsdk activate 3.1.45
76-
source $HOME/emsdk/emsdk_env.sh
74+
micromamba create -f environment-wasm-build.yml -y
75+
micromamba activate xeus-cpp-wasm-build
7776
```
7877

7978
You are now in a position to build the xeus-cpp kernel. You build it by executing the following

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,11 @@ git clone --depth=1 https://github.com/compiler-research/xeus-cpp.git
6969
cd ./xeus-cpp
7070
```
7171

72-
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
72+
You'll now want to make sure you are using the same emsdk as the rest of our dependencies. This can be achieved by executing
73+
the following
7374
```bash
74-
git clone https://github.com/emscripten-core/emsdk.git $HOME/emsdk
75-
$HOME/emsdk/emsdk install 3.1.45
76-
$HOME/emsdk/emsdk activate 3.1.45
77-
source $HOME/emsdk/emsdk_env.sh
75+
micromamba create -f environment-wasm-build.yml -y
76+
micromamba activate xeus-cpp-wasm-build
7877
```
7978

8079
You are now in a position to build the xeus-cpp kernel. You build it by executing the following

docs/source/InstallationAndUsage.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,14 @@ These instructions will assume you have cmake installed on your system. First cl
5353
cd ./xeus-cpp
5454
5555
56-
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
56+
You'll now want to make sure you are using the same emsdk as the rest of our dependencies. This can be achieved by executing
57+
the following
5758

5859
.. code-block:: bash
5960
60-
git clone https://github.com/emscripten-core/emsdk.git $HOME/emsdk
61-
$HOME/emsdk/emsdk install 3.1.45
62-
$HOME/emsdk/emsdk activate 3.1.45
63-
source $HOME/emsdk/emsdk_env.sh
6461
62+
micromamba create -f environment-wasm-build.yml -y
63+
micromamba activate xeus-cpp-wasm-build
6564
6665
You are now in a position to build the xeus-cpp kernel. You build it by executing the following
6766

0 commit comments

Comments
 (0)