From 6a966f5112b9d685626e628c980eed673c0b71a77d5095dc475a8a5b0cc633ac Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Tue, 19 Sep 2017 13:27:22 +0000 Subject: [PATCH 1/3] Accepting request 527297 from home:NMoreyChaisemartin:branches:science:HPC - Switch to version 1.2.1 Previous 1.3+ version was based on a development branch. Supported platforms - Shared memory: KNEM, CMA, XPMEM, SYSV, Posix - VERBs over InfiniBand and RoCE. VERBS over other RDMA interconnects (iWarp, OmniPath, etc.) is available for community evaluation and has not been tested in context of this release - Cray Gemini and Aries - Architectures: x86_64, ARMv8 (64bit), Power64 Features: - Added support for InfiniBand DC and UD transports, including accelerated verbs for Mellanox devices - Full support for PGAS/SHMEM interfaces, blocking and non-blocking APIs - Support for MPI tag matching, both in software and offload mode - Zero copy protocols and rendezvous, registration cache - Handling transport errors - Flow control for DC/RC - Dataypes support: contiguous, IOV, generic - Multi-threading support - Support for ARMv8 64bit architecture - A new API for efficient memory polling - Support for malloc-hooks and memory registration caching OBS-URL: https://build.opensuse.org/request/show/527297 OBS-URL: https://build.opensuse.org/package/show/science:HPC/openucx?expand=0&rev=7 --- _service | 8 ++++---- openucx.changes | 26 ++++++++++++++++++++++++++ openucx.spec | 8 ++++---- ucx-1.2.1.0.756c745a.tar.xz | 3 +++ ucx-1.3+git44.tar.xz | 3 --- 5 files changed, 37 insertions(+), 11 deletions(-) create mode 100644 ucx-1.2.1.0.756c745a.tar.xz delete mode 100644 ucx-1.3+git44.tar.xz diff --git a/_service b/_service index 0072ba9..cfde8a4 100644 --- a/_service +++ b/_service @@ -2,13 +2,13 @@ git git://github.com/openucx/ucx - master - 9f8e93fc392a456cc86a60b55f02ef3086a6c616 - 1.3+git@TAG_OFFSET@ + 756c745a34035d1946f96e7e868a30781d908302 + @PARENT_TAG@.@TAG_OFFSET@.%h + v(.*) + \1 *.tar xz - diff --git a/openucx.changes b/openucx.changes index 43a23a7..5431f9b 100644 --- a/openucx.changes +++ b/openucx.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Tue Sep 19 09:26:07 UTC 2017 - nmoreychaisemartin@suse.com + +- Switch to version 1.2.1 + Previous 1.3+ version was based on a development branch. + + Supported platforms + - Shared memory: KNEM, CMA, XPMEM, SYSV, Posix + - VERBs over InfiniBand and RoCE. + VERBS over other RDMA interconnects (iWarp, OmniPath, etc.) is available + for community evaluation and has not been tested in context of this release + - Cray Gemini and Aries + - Architectures: x86_64, ARMv8 (64bit), Power64 + Features: + - Added support for InfiniBand DC and UD transports, including accelerated verbs for Mellanox devices + - Full support for PGAS/SHMEM interfaces, blocking and non-blocking APIs + - Support for MPI tag matching, both in software and offload mode + - Zero copy protocols and rendezvous, registration cache + - Handling transport errors + - Flow control for DC/RC + - Dataypes support: contiguous, IOV, generic + - Multi-threading support + - Support for ARMv8 64bit architecture + - A new API for efficient memory polling + - Support for malloc-hooks and memory registration caching + ------------------------------------------------------------------- Fri Jun 30 09:30:58 UTC 2017 - nmoreychaisemartin@suse.com diff --git a/openucx.spec b/openucx.spec index e45cc81..ccf5ab2 100644 --- a/openucx.spec +++ b/openucx.spec @@ -16,19 +16,19 @@ # -%define version_unconverted 1.3+git44 +%define git_ver .0.756c745a Name: openucx Summary: Unifieid Communication X License: BSD-3-Clause Group: Development/Libraries/C and C++ -Version: 1.3+git44 +Version: 1.2.1 Release: 0 Url: http://openucx.org/ #Git-Clone: git://github.com/openucx/ucx #Git-Web: https://github.com/openucx/ucx -Source: ucx-%version.tar.xz +Source: ucx-%{version}%{git_ver}.tar.xz Patch0: openucx-s390x-support.patch BuildRequires: autoconf >= 2.63 BuildRequires: automake >= 1.10 @@ -128,7 +128,7 @@ Low-level API that expose basic network operations supported by underlying hardware. %prep -%setup -qn ucx-%version +%setup -qn ucx-%{version}%{git_ver} %patch0 %build diff --git a/ucx-1.2.1.0.756c745a.tar.xz b/ucx-1.2.1.0.756c745a.tar.xz new file mode 100644 index 0000000..ff6cc4b --- /dev/null +++ b/ucx-1.2.1.0.756c745a.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eff0b1e66a2c9bcc93f64e9d0ad47e830d0cdbb520de1f89fd0953c2df45317a +size 999012 diff --git a/ucx-1.3+git44.tar.xz b/ucx-1.3+git44.tar.xz deleted file mode 100644 index 77a9b24..0000000 --- a/ucx-1.3+git44.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20ddc629f9e7d6b9b681fda25b4b4d79f834c97a03b429d7ec017a5c5a5ca55f -size 1000964 From 8c6efa2743f159e916a7115b8311ba72f26ddf8668778dcf56e59950ce72967a Mon Sep 17 00:00:00 2001 From: Nicolas Morey-Chaisemartin Date: Tue, 19 Sep 2017 13:28:56 +0000 Subject: [PATCH 2/3] Add missing fate ID OBS-URL: https://build.opensuse.org/package/show/science:HPC/openucx?expand=0&rev=8 --- openucx.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openucx.changes b/openucx.changes index 5431f9b..ba314dd 100644 --- a/openucx.changes +++ b/openucx.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Tue Sep 19 09:26:07 UTC 2017 - nmoreychaisemartin@suse.com -- Switch to version 1.2.1 +- Switch to version 1.2.1 (Fate#324050) Previous 1.3+ version was based on a development branch. Supported platforms From 2b8d3bdf0604cde3f8571b6668e307781440003d72360fa182b1455a3044f1f6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 19 Sep 2017 13:53:14 +0000 Subject: [PATCH 3/3] Switch to "proper" 1.2.1 tarball. Rediff openucx-s390x-support.patch as p1 to be in line with potential git-generated patches. OBS-URL: https://build.opensuse.org/package/show/science:HPC/openucx?expand=0&rev=9 --- _service | 14 --------- openucx-s390x-support.patch | 60 +++++++++++++++++++++---------------- openucx.changes | 6 ++++ openucx.spec | 10 +++---- ucx-1.2.1.0.756c745a.tar.xz | 3 -- ucx-1.2.1.tar.gz | 3 ++ 6 files changed, 48 insertions(+), 48 deletions(-) delete mode 100644 _service delete mode 100644 ucx-1.2.1.0.756c745a.tar.xz create mode 100644 ucx-1.2.1.tar.gz diff --git a/_service b/_service deleted file mode 100644 index cfde8a4..0000000 --- a/_service +++ /dev/null @@ -1,14 +0,0 @@ - - - git - git://github.com/openucx/ucx - 756c745a34035d1946f96e7e868a30781d908302 - @PARENT_TAG@.@TAG_OFFSET@.%h - v(.*) - \1 - - - *.tar - xz - - diff --git a/openucx-s390x-support.patch b/openucx-s390x-support.patch index 7e14881..646324c 100644 --- a/openucx-s390x-support.patch +++ b/openucx-s390x-support.patch @@ -1,8 +1,20 @@ -diff --git src/ucs/Makefile.am src/ucs/Makefile.am -index ba869dbf..c588cd9d 100644 ---- src/ucs/Makefile.am -+++ src/ucs/Makefile.am -@@ -25,6 +25,8 @@ nobase_dist_libucs_la_HEADERS = \ +From: Nicolas Morey-Chaisemartin +Date: 2017-06-29 08:09:49 +0000 + +--- + src/ucs/Makefile.am | 2 + + src/ucs/arch/atomic.h | 2 + + src/ucs/arch/bitops.h | 2 + + src/ucs/arch/cpu.h | 2 + + src/ucs/arch/s390x/bitops.h | 32 +++++++++++++++++++++++++++ + src/ucs/arch/s390x/cpu.h | 51 ++++++++++++++++++++++++++++++++++++++++++++ + 6 files changed, 91 insertions(+) + +Index: ucx-1.2.1/src/ucs/Makefile.am +=================================================================== +--- ucx-1.2.1.orig/src/ucs/Makefile.am ++++ ucx-1.2.1/src/ucs/Makefile.am +@@ -26,6 +26,8 @@ nobase_dist_libucs_la_HEADERS = \ arch/generic/cpu.h \ arch/ppc64/bitops.h \ arch/ppc64/cpu.h \ @@ -11,10 +23,10 @@ index ba869dbf..c588cd9d 100644 arch/x86_64/atomic.h \ arch/x86_64/bitops.h \ arch/x86_64/cpu.h \ -diff --git src/ucs/arch/atomic.h src/ucs/arch/atomic.h -index 7649971b..7bb2bc36 100644 ---- src/ucs/arch/atomic.h -+++ src/ucs/arch/atomic.h +Index: ucx-1.2.1/src/ucs/arch/atomic.h +=================================================================== +--- ucx-1.2.1.orig/src/ucs/arch/atomic.h ++++ ucx-1.2.1/src/ucs/arch/atomic.h @@ -15,6 +15,8 @@ # include "generic/atomic.h" #elif defined(__aarch64__) @@ -24,10 +36,10 @@ index 7649971b..7bb2bc36 100644 #else # error "Unsupported architecture" #endif -diff --git src/ucs/arch/bitops.h src/ucs/arch/bitops.h -index f4dd3ab4..de53bde0 100644 ---- src/ucs/arch/bitops.h -+++ src/ucs/arch/bitops.h +Index: ucx-1.2.1/src/ucs/arch/bitops.h +=================================================================== +--- ucx-1.2.1.orig/src/ucs/arch/bitops.h ++++ ucx-1.2.1/src/ucs/arch/bitops.h @@ -14,6 +14,8 @@ # include "ppc64/bitops.h" #elif defined(__aarch64__) @@ -37,10 +49,10 @@ index f4dd3ab4..de53bde0 100644 #else # error "Unsupported architecture" #endif -diff --git src/ucs/arch/cpu.h src/ucs/arch/cpu.h -index d5127b3d..817ac0d2 100644 ---- src/ucs/arch/cpu.h -+++ src/ucs/arch/cpu.h +Index: ucx-1.2.1/src/ucs/arch/cpu.h +=================================================================== +--- ucx-1.2.1.orig/src/ucs/arch/cpu.h ++++ ucx-1.2.1/src/ucs/arch/cpu.h @@ -52,6 +52,8 @@ typedef enum ucs_cpu_flag { # include "ppc64/cpu.h" #elif defined(__aarch64__) @@ -50,11 +62,10 @@ index d5127b3d..817ac0d2 100644 #else # error "Unsupported architecture" #endif -diff --git src/ucs/arch/s390x/bitops.h src/ucs/arch/s390x/bitops.h -new file mode 100644 -index 00000000..39ad1251 +Index: ucx-1.2.1/src/ucs/arch/s390x/bitops.h +=================================================================== --- /dev/null -+++ src/ucs/arch/s390x/bitops.h ++++ ucx-1.2.1/src/ucs/arch/s390x/bitops.h @@ -0,0 +1,32 @@ +/** +* Copyright (C) Mellanox Technologies Ltd. 2001-2015. ALL RIGHTS RESERVED. @@ -88,11 +99,10 @@ index 00000000..39ad1251 +} + +#endif -diff --git src/ucs/arch/s390x/cpu.h src/ucs/arch/s390x/cpu.h -new file mode 100644 -index 00000000..f5131ea3 +Index: ucx-1.2.1/src/ucs/arch/s390x/cpu.h +=================================================================== --- /dev/null -+++ src/ucs/arch/s390x/cpu.h ++++ ucx-1.2.1/src/ucs/arch/s390x/cpu.h @@ -0,0 +1,51 @@ +/** +* Copyright (C) Mellanox Technologies Ltd. 2001-2013. ALL RIGHTS RESERVED. diff --git a/openucx.changes b/openucx.changes index ba314dd..8be8f8b 100644 --- a/openucx.changes +++ b/openucx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 19 13:52:13 UTC 2017 - jengelh@inai.de + +- Rediff openucx-s390x-support.patch as p1 to be in line with + potential git-generated patches. + ------------------------------------------------------------------- Tue Sep 19 09:26:07 UTC 2017 - nmoreychaisemartin@suse.com diff --git a/openucx.spec b/openucx.spec index ccf5ab2..dadcd55 100644 --- a/openucx.spec +++ b/openucx.spec @@ -16,8 +16,6 @@ # -%define git_ver .0.756c745a - Name: openucx Summary: Unifieid Communication X License: BSD-3-Clause @@ -28,8 +26,8 @@ Url: http://openucx.org/ #Git-Clone: git://github.com/openucx/ucx #Git-Web: https://github.com/openucx/ucx -Source: ucx-%{version}%{git_ver}.tar.xz -Patch0: openucx-s390x-support.patch +Source: https://github.com/openucx/ucx/releases/download/v%version/ucx-%version.tar.gz +Patch1: openucx-s390x-support.patch BuildRequires: autoconf >= 2.63 BuildRequires: automake >= 1.10 BuildRequires: binutils-devel @@ -128,8 +126,8 @@ Low-level API that expose basic network operations supported by underlying hardware. %prep -%setup -qn ucx-%{version}%{git_ver} -%patch0 +%setup -qn ucx-%version +%patch -P 1 -p1 %build autoreconf -fi diff --git a/ucx-1.2.1.0.756c745a.tar.xz b/ucx-1.2.1.0.756c745a.tar.xz deleted file mode 100644 index ff6cc4b..0000000 --- a/ucx-1.2.1.0.756c745a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eff0b1e66a2c9bcc93f64e9d0ad47e830d0cdbb520de1f89fd0953c2df45317a -size 999012 diff --git a/ucx-1.2.1.tar.gz b/ucx-1.2.1.tar.gz new file mode 100644 index 0000000..7bd987e --- /dev/null +++ b/ucx-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc63760601c03ff60a2531ec3c6637e98f5b743576eb410f245839c84a0ad617 +size 1582971