diff --git a/.github/workflows/check-code-style.yml b/.github/workflows/check-code-style.yml index c97d109ab..cca748da6 100644 --- a/.github/workflows/check-code-style.yml +++ b/.github/workflows/check-code-style.yml @@ -24,7 +24,7 @@ env: # We need compile command database in order to perform clang-tidy check. So, # in order to perform configure step we need to setup llvm-dev package. This # env variable used to specify desired version of it - LLVM_VERSION: 20 + LLVM_VERSION: 21 jobs: clang-format-and-tidy: diff --git a/.github/workflows/check-in-tree-build.yml b/.github/workflows/check-in-tree-build.yml index 31f28b7ea..b4d6d4e21 100644 --- a/.github/workflows/check-in-tree-build.yml +++ b/.github/workflows/check-in-tree-build.yml @@ -32,7 +32,7 @@ on: - cron: 0 0 * * * env: - LLVM_VERSION: 20 + LLVM_VERSION: 21 jobs: build_and_test_linux: diff --git a/.github/workflows/check-out-of-tree-build.yml b/.github/workflows/check-out-of-tree-build.yml index f0106b422..26ee70143 100644 --- a/.github/workflows/check-out-of-tree-build.yml +++ b/.github/workflows/check-out-of-tree-build.yml @@ -29,7 +29,7 @@ on: - cron: 0 0 * * * env: - LLVM_VERSION: 20 + LLVM_VERSION: 21 jobs: build_and_test: diff --git a/CMakeLists.txt b/CMakeLists.txt index e8eae2484..f9f9de4c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13.4) if(NOT DEFINED BASE_LLVM_VERSION) - set (BASE_LLVM_VERSION 20.0.0) + set (BASE_LLVM_VERSION 21.0.0) endif(NOT DEFINED BASE_LLVM_VERSION) set(LLVM_SPIRV_VERSION ${BASE_LLVM_VERSION}.0) diff --git a/README.md b/README.md index baa0ebc2d..be50f441c 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The translator can be built with the latest(nightly) package of LLVM. For Ubuntu wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" sudo apt-get update -sudo apt-get install llvm-20-dev llvm-20-tools clang-20 libclang-20-dev +sudo apt-get install llvm-21-dev llvm-21-tools clang-21 libclang-21-dev ``` The installed version of LLVM will be used by default for out-of-tree build of the translator. ``` @@ -157,7 +157,7 @@ make test ``` This requires that the `-DLLVM_SPIRV_INCLUDE_TESTS=ON` argument is passed to CMake during the build step. Additionally, -`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-20/build/utils/lit/lit.py"` is +`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-21/build/utils/lit/lit.py"` is needed when building with a pre-installed version of LLVM. The translator test suite can be disabled by passing