Skip to content

Commit e9d1192

Browse files
committed
Fix XEUS_CPP_RESOURCE_DIR Emscripten-build-instructions.rst
1 parent 0401378 commit e9d1192

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/Emscripten-build-instructions.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,13 @@ Assuming it passes all test you can install by executing the following.
341341
A project which makes use of the wasm build of CppInterOp is xeus-cpp.
342342
xeus-cpp is a C++ Jupyter kernel. Assuming you are in the CppInterOp
343343
build folder, you can build the wasm version of xeus-cpp by executing
344-
(replace $LLVM_VERSION with the version of llvm you are building against)
344+
(replace LLVM_VERSION with the version of llvm you are building against)
345345

346346
.. code:: bash
347347
348348
cd ../..
349349
git clone --depth=1 https://github.com/compiler-research/xeus-cpp.git
350+
export LLVM_VERSION=20
350351
cd ./xeus-cpp
351352
mkdir build
352353
cd build
@@ -356,7 +357,7 @@ build folder, you can build the wasm version of xeus-cpp by executing
356357
-DCMAKE_INSTALL_PREFIX=$PREFIX \
357358
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
358359
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
359-
-DXEUS_CPP_RESOURCE_DIR=$LLVM_BUILD_DIR/lib/clang/$LLVM_VERSION \
360+
-DXEUS_CPP_RESOURCE_DIR="$LLVM_BUILD_DIR/lib/clang/$LLVM_VERSION" \
360361
-DSYSROOT_PATH=$SYSROOT_PATH \
361362
..
362363
emmake make -j $(nproc --all) install

0 commit comments

Comments
 (0)