Accepting request 591614 from science:HPC

OBS-URL: https://build.opensuse.org/request/show/591614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openucx?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2018-03-30 09:58:56 +00:00 committed by Git OBS Bridge
commit 61591a8cc8
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,23 @@
commit 851a26c3e553f88386658129ad2d4dca060e164c
Author: Sergey Oblomov <sergeyo@mellanox.com>
Date: Mon Mar 19 07:25:32 2018 +0200
UCT/UD: fixed compilation by gcc8
- removed 'packed' attribute from uct_ud_send_skb_inl_t structure
diff --git src/uct/ib/ud/base/ud_def.h src/uct/ib/ud/base/ud_def.h
index 0ccc0bb8495a..44d50ec643f8 100644
--- src/uct/ib/ud/base/ud_def.h
+++ src/uct/ib/ud/base/ud_def.h
@@ -172,8 +172,8 @@ typedef struct uct_ud_zcopy_desc {
typedef struct uct_ud_send_skb_inl {
uct_ud_send_skb_t super;
- uct_ud_neth_t neth;
-} UCS_S_PACKED uct_ud_send_skb_inl_t;
+ uct_ud_neth_t neth; /* placeholder for super.neth, should not be used directly */
+} uct_ud_send_skb_inl_t;
typedef struct uct_ud_recv_skb {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 27 07:12:37 UTC 2018 - nmoreychaisemartin@suse.com
- Add UCT-UD-fixed-compilation-by-gcc8.patch to fix compilation
with GCC8 (bsc#1084635)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 20 15:40:43 UTC 2018 - jengelh@inai.de Sat Jan 20 15:40:43 UTC 2018 - jengelh@inai.de

View File

@ -28,6 +28,7 @@ Url: http://openucx.org/
#Git-Web: https://github.com/openucx/ucx #Git-Web: https://github.com/openucx/ucx
Source: https://github.com/openucx/ucx/releases/download/v%version/ucx-%version.tar.gz Source: https://github.com/openucx/ucx/releases/download/v%version/ucx-%version.tar.gz
Patch1: openucx-s390x-support.patch Patch1: openucx-s390x-support.patch
Patch2: UCT-UD-fixed-compilation-by-gcc8.patch
BuildRequires: autoconf >= 2.63 BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1.10 BuildRequires: automake >= 1.10
BuildRequires: binutils-devel BuildRequires: binutils-devel
@ -127,6 +128,7 @@ underlying hardware.
%prep %prep
%setup -qn ucx-%version %setup -qn ucx-%version
%patch -P 1 -p1 %patch -P 1 -p1
%patch2
%build %build
autoreconf -fi autoreconf -fi