Skip to content

Commit 76b9f31

Browse files
svenvhsys-ce-bb
authored andcommitted
Update LLVM version from 21 to 22 (#3265)
Original commit: KhronosGroup/SPIRV-LLVM-Translator@867325493735a3c
1 parent 1037414 commit 76b9f31

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

llvm-spirv/.github/workflows/check-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ env:
3939
# We need compile command database in order to perform clang-tidy check. So,
4040
# in order to perform configure step we need to setup llvm-dev package. This
4141
# env variable used to specify desired version of it
42-
LLVM_VERSION: 21
42+
LLVM_VERSION: 22
4343

4444
jobs:
4545
clang-format-and-tidy:

llvm-spirv/.github/workflows/check-in-tree-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ on:
5050
- cron: 0 0 * * *
5151

5252
env:
53-
LLVM_VERSION: 21
53+
LLVM_VERSION: 22
5454

5555
jobs:
5656
build_and_test_linux:

llvm-spirv/.github/workflows/check-out-of-tree-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ on:
4646
- cron: 0 0 * * *
4747

4848
env:
49-
LLVM_VERSION: 21
49+
LLVM_VERSION: 22
5050

5151
jobs:
5252
build_and_test:

llvm-spirv/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.13.4)
22

33
if(NOT DEFINED BASE_LLVM_VERSION)
4-
set (BASE_LLVM_VERSION 21.0.0)
4+
set (BASE_LLVM_VERSION 22.0.0)
55
endif(NOT DEFINED BASE_LLVM_VERSION)
66
set(LLVM_SPIRV_VERSION ${BASE_LLVM_VERSION}.0)
77

llvm-spirv/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The translator can be built with the latest(nightly) package of LLVM. For Ubuntu
3030
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
3131
sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main"
3232
sudo apt-get update
33-
sudo apt-get install llvm-21-dev llvm-21-tools clang-21 libclang-21-dev
33+
sudo apt-get install llvm-22-dev llvm-22-tools clang-22 libclang-22-dev
3434
```
3535
The installed version of LLVM will be used by default for out-of-tree build of the translator.
3636
```
@@ -157,7 +157,7 @@ make test
157157
```
158158
This requires that the `-DLLVM_SPIRV_INCLUDE_TESTS=ON` argument is
159159
passed to CMake during the build step. Additionally,
160-
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-21/build/utils/lit/lit.py"` is
160+
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-22/build/utils/lit/lit.py"` is
161161
needed when building with a pre-installed version of LLVM.
162162

163163
The translator test suite can be disabled by passing

0 commit comments

Comments
 (0)