From 91c119fdab9b390af7ac1a259b40b6316eb82002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E6=BC=A0=E8=A1=8C=E8=88=9F?= Date: Thu, 16 Feb 2023 03:50:08 +0000 Subject: [PATCH] fix issue: I6CF14 pytorch build problem in openEuler:Mainline https://gitee.com/src-openeuler/pytorch/issues/I6CF14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 大漠行舟 --- pytorch.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pytorch.spec b/pytorch.spec index 7f747ee..713a424 100644 --- a/pytorch.spec +++ b/pytorch.spec @@ -1,13 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: pytorch Version: 1.11.0 -Release: 1 +Release: 2 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration License: BSD-3 URL: https://pytorch.org/ Source0: https://github.com/pytorch/pytorch/releases/download/v%{version}/pytorch-v%{version}.tar.gz Patch0001: 0001-Remove-breakpad-dependency.patch +Patch0002: 0002-Update-gloo-for-gcc11-compile.patch BuildRequires: g++ Requires: python3-future @@ -85,6 +86,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Feb 16 2023 Dongxing Wang - 1.11.0-2 +- fixes: error: the CXX 11 compiler error (linux.cc flexible array member not at end of struct) + * Mon Jun 13 2022 Zhipeng Xie - 1.11.0-1 - upgrade to 1.11.0 -- Gitee