From 02a74c88955225c8db1f02db4919abc65cc778b5 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 23 May 2024 19:30:55 +0200 Subject: [PATCH] use Clang 18 Signed-off-by: Uilian Ries --- .github/workflows/linux-clang-build.yml | 1 + cmake/cmake-coverage.cmake | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-clang-build.yml b/.github/workflows/linux-clang-build.yml index 9b199cf85..50d7b7492 100644 --- a/.github/workflows/linux-clang-build.yml +++ b/.github/workflows/linux-clang-build.yml @@ -32,6 +32,7 @@ jobs: run: | cmake -S ${{github.workspace}} -B ${{github.workspace}}/build \ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -DCMAKE_C_COMPILER=/usr/bin/clang-18 \ -DCMAKE_CXX_COMPILER=/usr/bin/clang++-18 \ -DCODE_COVERAGE:BOOL=ON \ -GNinja diff --git a/cmake/cmake-coverage.cmake b/cmake/cmake-coverage.cmake index f7cd02fe1..cf7e4d570 100644 --- a/cmake/cmake-coverage.cmake +++ b/cmake/cmake-coverage.cmake @@ -80,8 +80,8 @@ option( OFF) # Programs -find_program(LLVM_COV_PATH llvm-cov-16) -find_program(LLVM_PROFDATA_PATH llvm-profdata-16) +find_program(LLVM_COV_PATH llvm-cov-18) +find_program(LLVM_PROFDATA_PATH llvm-profdata-18) find_program(LCOV_PATH lcov) find_program(GENHTML_PATH genhtml) # Hide behind the 'advanced' mode flag for GUI/ccmake