SHA256
1
0
forked from pool/libvma

Accepting request 1075169 from home:NMorey:branches:science:HPC

- Add issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch for GCC13 support

OBS-URL: https://build.opensuse.org/request/show/1075169
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libvma?expand=0&rev=29
This commit is contained in:
Nicolas Morey 2023-03-29 08:56:41 +00:00 committed by Git OBS Bridge
parent ec4f9b52ed
commit 6377d097b7
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,21 @@
commit 24524730a0344c7de1bba2ba9a2bf637bb32153f
Author: Igor Ivanov <igori@nvidia.com>
Date: Mon Feb 20 18:05:47 2023 +0200
issue: 3373882 Fix compilation issue for gcc 13.0.1
Signed-off-by: Igor Ivanov <igori@nvidia.com>
diff --git config/m4/compiler.m4 config/m4/compiler.m4
index 014a01f1ed51..3c93276f7b7c 100644
--- config/m4/compiler.m4
+++ config/m4/compiler.m4
@@ -143,7 +143,7 @@ case $CC in
-Wno-free-nonheap-object "
CXXFLAGS="$CXXFLAGS -Wshadow -Wall -Wextra -Werror -Wundef \
-ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs \
- -Wno-free-nonheap-object "
+ -Wno-free-nonheap-object -Wno-overloaded-virtual "
;;
icc*|icpc*)
AC_MSG_RESULT([icc])

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 29 08:41:11 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>
- Add issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch for GCC13 support
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 30 13:13:43 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> Fri Sep 30 13:13:43 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libvma # spec file for package libvma
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,6 +28,7 @@ Version: 9.7.0
Release: 0 Release: 0
Source0: %{name}-%{version}%{git_ver}.tar.gz Source0: %{name}-%{version}%{git_ver}.tar.gz
Source1: vma.service Source1: vma.service
Patch1: issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch
Patch3: harden_vma.service.patch Patch3: harden_vma.service.patch
URL: https://github.com/Mellanox/libvma URL: https://github.com/Mellanox/libvma
BuildRequires: autoconf BuildRequires: autoconf
@ -71,6 +72,7 @@ Headers and symbolink link required to compile and link with the Libvma library.
%prep %prep
%setup -q -n %{name}-%{version}%{git_ver} %setup -q -n %{name}-%{version}%{git_ver}
%patch1
%patch3 -p1 %patch3 -p1
%build %build