Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package intel-graphics-compiler for
openSUSE:Factory checked in at 2023-03-27 18:17:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-graphics-compiler (Old)
and /work/SRC/openSUSE:Factory/.intel-graphics-compiler.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-graphics-compiler"
Mon Mar 27 18:17:46 2023 rev:2 rq:1074686 version:1.0.8744
Changes:
--------
---
/work/SRC/openSUSE:Factory/intel-graphics-compiler/intel-graphics-compiler.changes
2021-10-29 22:34:56.471698164 +0200
+++
/work/SRC/openSUSE:Factory/.intel-graphics-compiler.new.31432/intel-graphics-compiler.changes
2023-03-27 18:17:49.435595340 +0200
@@ -1,0 +2,7 @@
+Mon Mar 27 11:00:31 UTC 2023 - Patrik Jakobsson <[email protected]>
+
+- Fix build issues for missing include of cstdio with gcc13
+ * 0001-llvm-needs-to-include-cstdio-for-gcc13.patch
+ * 0001-libspriv-needs-to-include-cstdint-for-gcc13.patch
+
+-------------------------------------------------------------------
New:
----
0001-libspriv-needs-to-include-cstdint-for-gcc13.patch
0001-llvm-needs-to-include-cstdio-for-gcc13.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ intel-graphics-compiler.spec ++++++
--- /var/tmp/diff_new_pack.CwPw3V/_old 2023-03-27 18:17:51.087604058 +0200
+++ /var/tmp/diff_new_pack.CwPw3V/_new 2023-03-27 18:17:51.091604079 +0200
@@ -1,7 +1,7 @@
#
# spec file for package intel-graphics-compiler
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,13 +32,15 @@
Source2:
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/%{spirv_llvm_translator_commit}/spirv-llvm-translator.tar.gz
Source3:
https://github.com/llvm/llvm-project/archive/%{llvm_commit}/llvm-project.tar.gz
Source4:
https://github.com/intel/vc-intrinsics/archive/%{vc_intrinsics_commit}/vc-intrinsics.zip
-BuildRequires: memory-constraints
+Patch0: 0001-llvm-needs-to-include-cstdio-for-gcc13.patch
+Patch1: 0001-libspriv-needs-to-include-cstdint-for-gcc13.patch
BuildRequires: bison
BuildRequires: cmake
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: make
+BuildRequires: memory-constraints
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: unzip
@@ -107,6 +109,9 @@
mkdir llvm-project
tar -xzf %{_sourcedir}/llvm-project.tar.gz -C llvm-project --strip-components=1
mv llvm-project/clang llvm-project/llvm/tools/
+pushd llvm-project
+%patch0 -p1
+popd
unzip %{_sourcedir}/vc-intrinsics.zip
mv vc-intrinsics* vc-intrinsics
@@ -119,6 +124,9 @@
mkdir igc
tar -xzf %{_sourcedir}/igc-%{version}.tar.gz -C igc --strip-components=1
+pushd igc
+%patch1 -p1
+popd
%build
%limit_build -m 900
++++++ 0001-libspriv-needs-to-include-cstdint-for-gcc13.patch ++++++
>From 13c6be4252ba82ff1790ddd9bfc157ae7e332126 Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <[email protected]>
Date: Mon, 27 Mar 2023 12:08:02 +0200
Subject: [PATCH] libspriv needs to include cstdint for gcc13
Signed-off-by: Patrik Jakobsson <[email protected]>
---
IGC/AdaptorOCL/SPIRV/libSPIRV/SPIRVUtil.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/IGC/AdaptorOCL/SPIRV/libSPIRV/SPIRVUtil.h
b/IGC/AdaptorOCL/SPIRV/libSPIRV/SPIRVUtil.h
index 1076d5d..e638b98 100644
--- a/IGC/AdaptorOCL/SPIRV/libSPIRV/SPIRVUtil.h
+++ b/IGC/AdaptorOCL/SPIRV/libSPIRV/SPIRVUtil.h
@@ -57,6 +57,7 @@ THE SOFTWARE.
#include <string>
#include <unordered_set>
#include <vector>
+#include <cstdint>
#include "Probe/Assertion.h"
namespace igc_spv{
--
2.40.0
++++++ 0001-llvm-needs-to-include-cstdio-for-gcc13.patch ++++++
>From 0d8fd59f21dfa546c07b2ff9f80c56224785b775 Mon Sep 17 00:00:00 2001
From: Patrik Jakobsson <[email protected]>
Date: Mon, 27 Mar 2023 11:03:41 +0200
Subject: [PATCH] llvm needs to include cstdio for gcc13
Signed-off-by: Patrik Jakobsson <[email protected]>
---
llvm/include/llvm/Support/Signals.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/include/llvm/Support/Signals.h
b/llvm/include/llvm/Support/Signals.h
index e0a18e72f..c66ea8b33 100644
--- a/llvm/include/llvm/Support/Signals.h
+++ b/llvm/include/llvm/Support/Signals.h
@@ -15,6 +15,7 @@
#define LLVM_SUPPORT_SIGNALS_H
#include <string>
+#include <cstdint>
namespace llvm {
class StringRef;
--
2.40.0