Skip to content

Commit 3b3e903

Browse files
committed
Update LLVM version from 17 to 18
1 parent e0c9de8 commit 3b3e903

5 files changed

+6
-6
lines changed

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

+1-1
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: 17
27+
LLVM_VERSION: 18
2828

2929
jobs:
3030
clang-format-and-tidy:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
- cron: 0 0 * * *
3333

3434
env:
35-
LLVM_VERSION: 17
35+
LLVM_VERSION: 18
3636

3737
jobs:
3838
build_and_test_linux:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
- cron: 0 0 * * *
3030

3131
env:
32-
LLVM_VERSION: 17
32+
LLVM_VERSION: 18
3333

3434
jobs:
3535
build_and_test:

CMakeLists.txt

+1-1
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 17.0.0)
4+
set (BASE_LLVM_VERSION 18.0.0)
55
endif(NOT DEFINED BASE_LLVM_VERSION)
66
set(LLVM_SPIRV_VERSION ${BASE_LLVM_VERSION}.0)
77

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The translator can be built with the latest(nightly) package of LLVM. For Ubuntu
2929
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
3030
sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main"
3131
sudo apt-get update
32-
sudo apt-get install llvm-17-dev llvm-17-tools clang-17 libclang-17-dev
32+
sudo apt-get install llvm-18-dev llvm-18-tools clang-18 libclang-18-dev
3333
```
3434
The installed version of LLVM will be used by default for out-of-tree build of the translator.
3535
```
@@ -153,7 +153,7 @@ make test
153153
```
154154
This requires that the `-DLLVM_SPIRV_INCLUDE_TESTS=ON` argument is
155155
passed to CMake during the build step. Additionally,
156-
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-17/build/utils/lit/lit.py"` is
156+
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-18/build/utils/lit/lit.py"` is
157157
needed when building with a pre-installed version of LLVM.
158158

159159
The translator test suite can be disabled by passing

0 commit comments

Comments
 (0)