Skip to content

Commit 541711e

Browse files
authored
Update rest of docs for llvm 21
1 parent c97eb37 commit 541711e

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

docs/DevelopersDocumentation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ library
3434
Setup Clang-REPL
3535
******************
3636

37-
Clone the 20.x release of the LLVM project repository.
37+
Clone the 21.x release of the LLVM project repository.
3838

3939
.. code:: bash
4040
41-
git clone --depth=1 --branch release/20.x https://github.com/llvm/llvm-project.git
41+
git clone --depth=1 --branch release/21.x https://github.com/llvm/llvm-project.git
4242
cd llvm-project
4343
4444
******************

docs/Emscripten-build-instructions.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
6262
executing micromamba install llvm -c
6363
<https://repo.mamba.pm/emscripten-forge> and setting the LLVM_BUILD_DIR/$env:LLVM_BUILD_DIR
6464
appropriately)
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
8989
and 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

docs/InstallationAndUsage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ library
3434
Setup Clang-REPL
3535
******************
3636

37-
Clone the 20.x release of the LLVM project repository.
37+
Clone the 21.x release of the LLVM project repository.
3838

3939
.. code:: bash
4040
41-
git clone --depth=1 --branch release/20.x https://github.com/llvm/llvm-project.git
41+
git clone --depth=1 --branch release/21.x https://github.com/llvm/llvm-project.git
4242
cd llvm-project
4343
4444
******************

docs/ReleaseNotes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ infrastructure are described first.
2525
## External Dependencies
2626

2727
- CppInterOp now works with:
28-
- llvm20
28+
- llvm21
2929

3030
## Introspection
3131

0 commit comments

Comments
 (0)