[llvm] [CI][libsycl] Enable -Werror in libsycl precommit testing (PR #226129)

Sergey Semenov via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 06:00:52 PDT 2026


https://github.com/sergey-semenov updated https://github.com/llvm/llvm-project/pull/226129

>From ef08263d08f85a11b4242c0dc10362b8aba60719 Mon Sep 17 00:00:00 2001
From: Sergey Semenov <sergey.semenov at intel.com>
Date: Thu, 24 Sep 2026 04:36:29 -0700
Subject: [PATCH] [CI][libsycl] Enable -Werror in libsycl precommit testing

---
 .github/workflows/sycl-tests.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/sycl-tests.yml b/.github/workflows/sycl-tests.yml
index 497fe01b56017..3ef8f81a3622f 100644
--- a/.github/workflows/sycl-tests.yml
+++ b/.github/workflows/sycl-tests.yml
@@ -44,6 +44,7 @@ jobs:
             -DLLVM_ENABLE_PROJECTS=clang \
             -DLLVM_ENABLE_RUNTIMES="offload;openmp;libsycl" \
             -DLLVM_TARGETS_TO_BUILD="host;SPIRV" \
-            -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON
+            -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON \
+            -DLIBSYCL_ENABLE_WERROR=ON
 
           ninja -C build check-sycl



More information about the llvm-commits mailing list