Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package intel-opencl for openSUSE:Factory checked in at 2025-04-18 16:20:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/intel-opencl (Old) and /work/SRC/openSUSE:Factory/.intel-opencl.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-opencl" Fri Apr 18 16:20:34 2025 rev:21 rq:1270305 version:24.52.32224.5 Changes: -------- --- /work/SRC/openSUSE:Factory/intel-opencl/intel-opencl.changes 2025-01-27 20:50:42.699392364 +0100 +++ /work/SRC/openSUSE:Factory/.intel-opencl.new.30101/intel-opencl.changes 2025-04-20 19:56:33.564376317 +0200 @@ -1,0 +2,8 @@ +Thu Apr 17 06:54:11 UTC 2025 - Patrik Jakobsson <patrik.jakobs...@suse.com> + +- Fix build problems on SLE15-SP7 by not treating unused-variable + and unused-but-set-variable as errors. +- Prefix CXX_FLAGS with %(optflags) to make sure we don't loose them. +- Make sure we build with a recommended or newer version of level-zero. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ intel-opencl.spec ++++++ --- /var/tmp/diff_new_pack.3e8rMg/_old 2025-04-20 19:56:34.024395575 +0200 +++ /var/tmp/diff_new_pack.3e8rMg/_new 2025-04-20 19:56:34.024395575 +0200 @@ -33,7 +33,7 @@ BuildRequires: cmake BuildRequires: gcc-c++ %if %{with level_zero} -BuildRequires: level-zero-devel +BuildRequires: level-zero-devel >= 1.19.2 %endif BuildRequires: libigc-devel BuildRequires: libigdgmm-devel >= 22.3.0 @@ -74,7 +74,9 @@ # Needed for gcc12+ %if 0%{?suse_version} > 1500 -export CXXFLAGS="-Wno-error=maybe-uninitialized -Wno-error=mismatched-new-delete" +export CXXFLAGS="%{optflags} -Wno-error=maybe-uninitialized -Wno-error=mismatched-new-delete" +%else +export CXXFLAGS="%{optflags} -Wno-error=unused-variable -Wno-error=unused-but-set-variable" %endif %cmake \