Skip to content

Commit 8ea4937

Browse files
authored
Fix instructions
1 parent 9e27b4c commit 8ea4937

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ You are now in a position to build the xeus-cpp kernel. You build it by executin
8080
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
8181
mkdir build
8282
cd build
83-
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
84-
export SYSROOT_PATH=$PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
83+
export BUILD_TOOLS_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
84+
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
85+
export SYSROOT_PATH=$BUILD_TOOLS_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
8586

8687
emcmake cmake \
8788
-DCMAKE_BUILD_TYPE=Release \

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ You are now in a position to build the xeus-cpp kernel. You build it by executin
8181
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
8282
mkdir build
8383
cd build
84-
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
85-
export SYSROOT_PATH=$PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
84+
export BUILD_TOOLS_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
85+
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
86+
export SYSROOT_PATH=$BUILD_TOOLS_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
8687

8788
emcmake cmake \
8889
-DCMAKE_BUILD_TYPE=Release \

docs/source/InstallationAndUsage.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ You are now in a position to build the xeus-cpp kernel. You build it by executin
6969
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32
7070
mkdir build
7171
cd build
72-
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
73-
export SYSROOT_PATH=$PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
72+
export BUILD_TOOLS_PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-build
73+
export PREFIX=$MAMBA_ROOT_PREFIX/envs/xeus-cpp-wasm-host
74+
export SYSROOT_PATH=$BUILD_TOOLS_PREFIX/opt/emsdk/upstream/emscripten/cache/sysroot
7475
emcmake cmake \
7576
-DCMAKE_BUILD_TYPE=Release \
7677
-DCMAKE_INSTALL_PREFIX=$PREFIX \

0 commit comments

Comments
 (0)