Skip to content

Commit 8a14027

Browse files
svenvhsys-ce-bb
authored andcommitted
Update LLVM version from 19 to 20 (#2652)
Original commit: KhronosGroup/SPIRV-LLVM-Translator@097435f74df64bd
1 parent 7e1776d commit 8a14027

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
@@ -24,7 +24,7 @@ env:
2424
# We need compile command database in order to perform clang-tidy check. So,
2525
# in order to perform configure step we need to setup llvm-dev package. This
2626
# env variable used to specify desired version of it
27-
LLVM_VERSION: 19
27+
LLVM_VERSION: 20
2828

2929
jobs:
3030
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
@@ -32,7 +32,7 @@ on:
3232
- cron: 0 0 * * *
3333

3434
env:
35-
LLVM_VERSION: 19
35+
LLVM_VERSION: 20
3636

3737
jobs:
3838
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
@@ -29,7 +29,7 @@ on:
2929
- cron: 0 0 * * *
3030

3131
env:
32-
LLVM_VERSION: 19
32+
LLVM_VERSION: 20
3333

3434
jobs:
3535
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 19.0.0)
4+
set (BASE_LLVM_VERSION 20.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-19-dev llvm-19-tools clang-19 libclang-19-dev
33+
sudo apt-get install llvm-20-dev llvm-20-tools clang-20 libclang-20-dev
3434
```
3535
The installed version of LLVM will be used by default for out-of-tree build of the translator.
3636
```
@@ -156,7 +156,7 @@ make test
156156
```
157157
This requires that the `-DLLVM_SPIRV_INCLUDE_TESTS=ON` argument is
158158
passed to CMake during the build step. Additionally,
159-
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-19/build/utils/lit/lit.py"` is
159+
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-20/build/utils/lit/lit.py"` is
160160
needed when building with a pre-installed version of LLVM.
161161

162162
The translator test suite can be disabled by passing

0 commit comments

Comments
 (0)