Skip to content

Commit

Permalink
Using emsdk from environment-wasm-build.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 22, 2025
1 parent 466fbeb commit 8734152
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
9 changes: 4 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ git clone https://github.com/<your-github-username>/xeus-cpp.git
cd ./xeus-cpp
```

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
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
the following
```bash
git clone https://github.com/emscripten-core/emsdk.git $HOME/emsdk
$HOME/emsdk/emsdk install 3.1.45
$HOME/emsdk/emsdk activate 3.1.45
source $HOME/emsdk/emsdk_env.sh
micromamba create -f environment-wasm-build.yml -y
micromamba activate xeus-cpp-wasm-build
```

You are now in a position to build the xeus-cpp kernel. You build it by executing the following
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ git clone --depth=1 https://github.com/compiler-research/xeus-cpp.git
cd ./xeus-cpp
```

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
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
the following
```bash
git clone https://github.com/emscripten-core/emsdk.git $HOME/emsdk
$HOME/emsdk/emsdk install 3.1.45
$HOME/emsdk/emsdk activate 3.1.45
source $HOME/emsdk/emsdk_env.sh
micromamba create -f environment-wasm-build.yml -y
micromamba activate xeus-cpp-wasm-build
```

You are now in a position to build the xeus-cpp kernel. You build it by executing the following
Expand Down
9 changes: 4 additions & 5 deletions docs/source/InstallationAndUsage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ These instructions will assume you have cmake installed on your system. First cl
cd ./xeus-cpp
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
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
the following

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

Expand Down

0 comments on commit 8734152

Please sign in to comment.