Skip to content

Commit a8e59e3

Browse files
svenvhAlexeySachkov
authored andcommitted
Update LLVM version from 12 to 13
1 parent bd39160 commit a8e59e3

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.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: 12
27+
LLVM_VERSION: 13
2828

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

.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: 12
35+
LLVM_VERSION: 13
3636

3737
jobs:
3838
build_and_test_linux:

.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: 12
32+
LLVM_VERSION: 13
3333

3434
jobs:
3535
build_and_test:

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ compiler:
4343
env:
4444
global:
4545
- MAKEFLAGS="-j2"
46-
- LLVM_VERSION=12
46+
- LLVM_VERSION=13
4747
matrix:
4848
- BUILD_TYPE=Release BUILD_EXTERNAL=1 SHARED_LIBS=ON MAKE_TARGETS="" MAKE_TEST_TARGET="test"
4949
- BUILD_TYPE=Debug BUILD_EXTERNAL=1 SHARED_LIBS=ON MAKE_TARGETS="" MAKE_TEST_TARGET="test"
@@ -58,11 +58,11 @@ matrix:
5858
include:
5959
- os: osx
6060
env: BUILD_TYPE=Release BUILD_EXTERNAL=0 MAKE_TARGETS="llvm-spirv" MAKE_TEST_TARGET="check-llvm-spirv"
61-
osx_image: xcode12
61+
osx_image: xcode13
6262

6363
- os: osx
6464
env: BUILD_TYPE=Debug BUILD_EXTERNAL=0 MAKE_TARGETS="llvm-spirv" MAKE_TEST_TARGET="check-llvm-spirv"
65-
osx_image: xcode12
65+
osx_image: xcode13
6666

6767
- compiler: clang
6868
env: BUILD_TYPE=Release BUILD_EXTERNAL=1 SHARED_LIBS=OFF MAKE_TARGETS="" MAKE_TEST_TARGET="test"

CMakeLists.txt

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

3-
set (BASE_LLVM_VERSION 12.0.0)
3+
set (BASE_LLVM_VERSION 13.0.0)
44
set(LLVM_SPIRV_VERSION ${BASE_LLVM_VERSION}.0)
55

66
option(LLVM_SPIRV_INCLUDE_TESTS

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The translator can be built with the latest(nightly) package of LLVM. For Ubuntu
3131
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
3232
sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main"
3333
sudo apt-get update
34-
sudo apt-get install llvm-12-dev llvm-12-tools clang-12 libclang-12-dev
34+
sudo apt-get install llvm-13-dev llvm-13-tools clang-13 libclang-13-dev
3535
```
3636
The installed version of LLVM will be used by default for out-of-tree build of the translator.
3737
```
@@ -107,7 +107,7 @@ make test
107107
```
108108
This requires that the `-DLLVM_SPIRV_INCLUDE_TESTS=ON` argument is
109109
passed to CMake during the build step. Additionally,
110-
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-12/build/utils/lit/lit.py"` is
110+
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-13/build/utils/lit/lit.py"` is
111111
needed when building with a pre-installed version of LLVM.
112112

113113
The translator test suite can be disabled by passing

0 commit comments

Comments
 (0)