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 2022-05-13 23:03:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/intel-opencl (Old) and /work/SRC/openSUSE:Factory/.intel-opencl.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-opencl" Fri May 13 23:03:11 2022 rev:3 rq:976980 version:21.43.21438 Changes: -------- --- /work/SRC/openSUSE:Factory/intel-opencl/intel-opencl.changes 2021-11-11 21:39:25.469020038 +0100 +++ /work/SRC/openSUSE:Factory/.intel-opencl.new.1538/intel-opencl.changes 2022-05-13 23:03:14.379126862 +0200 @@ -1,0 +2,12 @@ +Fri May 13 06:29:01 UTC 2022 - Patrik Jakobsson <patrik.jakobs...@suse.com> + +- 0001-Include-memory-in-generate_cpp_array.cpp.patch + * Include <memory> in generate_cpp_array.cpp + +------------------------------------------------------------------- +Thu May 12 20:31:30 UTC 2022 - Patrik Jakobsson <patrik.jakobs...@suse.com> + +- gcc12 introduced new warnings that must not be treated as errors +- Include <memory> in generate_cpp_array.cpp + +------------------------------------------------------------------- New: ---- 0001-Include-memory-in-generate_cpp_array.cpp.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ intel-opencl.spec ++++++ --- /var/tmp/diff_new_pack.L1AErJ/_old 2022-05-13 23:03:15.039127469 +0200 +++ /var/tmp/diff_new_pack.L1AErJ/_new 2022-05-13 23:03:15.051127480 +0200 @@ -1,7 +1,7 @@ # # spec file for package intel-opencl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ Group: Development/Libraries/C and C++ URL: https://github.com/intel/compute-runtime Source0: https://github.com/intel/compute-runtime/archive/%{version}/compute-runtime-%{version}.tar.gz +Patch0: 0001-Include-memory-in-generate_cpp_array.cpp.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libigc-devel @@ -45,10 +46,16 @@ Development package for Intel Graphics Compute Runtime for OpenCL. %prep -%autosetup -n compute-runtime-%{version} +%autosetup -p1 -n compute-runtime-%{version} %build %define __builder ninja + +# Needed for gcc12+ +%if 0%{?suse_version} > 1500 +export CXXFLAGS="-Wno-error=maybe-uninitialized -Wno-error=mismatched-new-delete" +%endif + %cmake \ -DSKIP_UNIT_TESTS=1 %cmake_build ++++++ 0001-Include-memory-in-generate_cpp_array.cpp.patch ++++++ >From c556ae051f51e1d49f7700908df10c906af2aefc Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson <patrik.r.jakobs...@gmail.com> Date: Thu, 12 May 2022 16:05:36 +0200 Subject: [PATCH] Include <memory> in generate_cpp_array.cpp Signed-off-by: Patrik Jakobsson <pjakobs...@suse.de> --- shared/generate_cpp_array/source/generate_cpp_array.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/generate_cpp_array/source/generate_cpp_array.cpp b/shared/generate_cpp_array/source/generate_cpp_array.cpp index b2220a4..9cd24f7 100644 --- a/shared/generate_cpp_array/source/generate_cpp_array.cpp +++ b/shared/generate_cpp_array/source/generate_cpp_array.cpp @@ -9,6 +9,7 @@ #include <iomanip> #include <iostream> #include <sstream> +#include <memory> constexpr int MIN_ARG_COUNT = 7; -- 2.36.1