@@ -57,15 +57,15 @@ and on Windows execute in Powershell
5757 $env: PWD_DIR = $PWD.Path
5858 $env: SYSROOT_PATH = " $env: EMSDK /upstream/emscripten/cache/sysroot"
5959
60- Now clone the 20 .x release of the LLVM project repository and CppInterOp
60+ Now clone the 21 .x release of the LLVM project repository and CppInterOp
6161(the building of the emscripten version of llvm can be avoided by
6262executing micromamba install llvm -c
6363<https://repo.mamba.pm/emscripten-forge> and setting the LLVM_BUILD_DIR/$env:LLVM_BUILD_DIR
6464appropriately)
6565
6666.. code :: bash
6767
68- git clone --depth=1 --branch release/20 .x https://github.com/llvm/llvm-project.git
68+ git clone --depth=1 --branch release/21 .x https://github.com/llvm/llvm-project.git
6969 git clone --depth=1 https://github.com/compiler-research/CppInterOp.git
7070
7171 Now move into the cloned llvm-project folder and apply the required patches. On Linux and osx this
@@ -74,16 +74,16 @@ executing
7474.. code :: bash
7575
7676 cd ./llvm-project/
77- git apply -v ../CppInterOp/patches/llvm/emscripten-clang20 -* .patch
77+ git apply -v ../CppInterOp/patches/llvm/emscripten-clang21 -* .patch
7878
7979 On Windows execute the following
8080
8181.. code :: powershell
8282
8383 cd .\llvm- project\
84- cp - r ..\patches\llvm\emscripten- clang20 *
85- git apply - v emscripten- clang20 - 2 - shift- temporary- files- to- tmp- dir.patch
86- git apply - v emscripten- clang20 - 3 - enable_exception_handling.patch
84+ cp - r ..\patches\llvm\emscripten- clang21 *
85+ git apply - v emscripten- clang21 - 1 - shift- temporary- files- to- tmp- dir.patch
86+ git apply - v emscripten- clang21 - 2 - enable_exception_handling.patch
8787
8888 We are now in a position to build an emscripten build of llvm by executing the following on Linux
8989and osx
@@ -365,7 +365,7 @@ build folder, you can build the wasm version of xeus-cpp by executing
365365
366366 cd ../..
367367 git clone --depth=1 https://github.com/compiler-research/xeus-cpp.git
368- export LLVM_VERSION=20
368+ export LLVM_VERSION=21
369369 cd ./xeus-cpp
370370 mkdir build
371371 cd build
0 commit comments