Skip to content

Commit 7aa1fd2

Browse files
committedAug 1, 2022
Update LLVM version from 15 to 16
1 parent 1b8a007 commit 7aa1fd2

6 files changed

+7
-7
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: 15
27+
LLVM_VERSION: 16
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: 15
35+
LLVM_VERSION: 16
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: 15
32+
LLVM_VERSION: 16
3333

3434
jobs:
3535
build_and_test:

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ compiler:
4242
env:
4343
global:
4444
- MAKEFLAGS="-j2"
45-
- LLVM_VERSION=15
45+
- LLVM_VERSION=16
4646
matrix:
4747
- BUILD_TYPE=Release BUILD_EXTERNAL=1 SHARED_LIBS=ON MAKE_TARGETS="" MAKE_TEST_TARGET="test"
4848
- BUILD_TYPE=Debug BUILD_EXTERNAL=1 SHARED_LIBS=ON MAKE_TARGETS="" MAKE_TEST_TARGET="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 15.0.0)
4+
set (BASE_LLVM_VERSION 16.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-15-dev llvm-15-tools clang-15 libclang-15-dev
32+
sudo apt-get install llvm-16-dev llvm-16-tools clang-16 libclang-16-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-15/build/utils/lit/lit.py"` is
156+
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-16/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)
Please sign in to comment.