commit openucx for openSUSE:Factory

2024-09-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2024-09-09 14:43:20

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.10096 (New)


Package is "openucx"

Mon Sep  9 14:43:20 2024 rev:32 rq:1199376 version:1.17.0

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2024-07-03 
20:28:26.973000829 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.10096/openucx.changes   
2024-09-09 14:43:24.292120934 +0200
@@ -1,0 +2,5 @@
+Sat Sep  7 14:22:20 UTC 2024 - Nicolas Morey 
+
+- Refresh openucx-s390x-support.patch to fix compilation on s390x
+
+---



Other differences:
--
++ openucx-s390x-support.patch ++
--- /var/tmp/diff_new_pack.MAF61T/_old  2024-09-09 14:43:24.896145997 +0200
+++ /var/tmp/diff_new_pack.MAF61T/_new  2024-09-09 14:43:24.900146163 +0200
@@ -1,4 +1,4 @@
-commit 28e90896cbd655466b870b74d8304736a316
+commit 70e243c8a6685a03d5faa65e706d318196ad712b
 Author: Nicolas Morey 
 Date:   Wed Jun 26 17:36:58 2024 +0200
 
@@ -278,7 +278,7 @@
 +#endif
 diff --git src/ucs/arch/s390x/cpu.h src/ucs/arch/s390x/cpu.h
 new file mode 100644
-index ..033f58f7c047
+index ..0aee278010d2
 --- /dev/null
 +++ src/ucs/arch/s390x/cpu.h
 @@ -0,0 +1,84 @@
@@ -308,7 +308,7 @@
 +#define ucs_memory_bus_fence()asm volatile (""::: "memory")
 +#define ucs_memory_bus_store_fence()  ucs_memory_bus_fence()
 +#define ucs_memory_bus_load_fence()   ucs_memory_bus_fence()
-+#define ucs_memory_bus_wc_flush() ucs_memory_bus_fence()
++#define ucs_memory_bus_cacheline_wc_flush() ucs_memory_bus_fence()
 +#define ucs_memory_cpu_fence()ucs_memory_bus_fence()
 +#define ucs_memory_cpu_store_fence()  ucs_memory_bus_fence()
 +#define ucs_memory_cpu_load_fence()   ucs_memory_bus_fence()


commit openucx for openSUSE:Factory

2024-07-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2024-07-03 20:26:35

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.18349 (New)


Package is "openucx"

Wed Jul  3 20:26:35 2024 rev:31 rq:1184228 version:1.17.0

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2024-06-29 
15:16:15.437670627 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.18349/openucx.changes   
2024-07-03 20:28:26.973000829 +0200
@@ -1,0 +2,5 @@
+Sat Jun 29 16:55:27 UTC 2024 - Andreas Schwab 
+
+- Enable build on riscv64
+
+---



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.wLEc6t/_old  2024-07-03 20:28:29.241083841 +0200
+++ /var/tmp/diff_new_pack.wLEc6t/_new  2024-07-03 20:28:29.245083988 +0200
@@ -49,7 +49,7 @@
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  aarch64 %power64 x86_64 s390x
+ExclusiveArch:  aarch64 %power64 x86_64 s390x riscv64
 
 %description
 UCX stands for Unified Communication X. UCX provides a communication


commit openucx for openSUSE:Factory

2024-06-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2024-06-29 15:16:13

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.18349 (New)


Package is "openucx"

Sat Jun 29 15:16:13 2024 rev:30 rq:1183479 version:1.17.0

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2024-02-27 
22:44:25.189991431 +0100
+++ /work/SRC/openSUSE:Factory/.openucx.new.18349/openucx.changes   
2024-06-29 15:16:15.437670627 +0200
@@ -1,0 +2,9 @@
+Wed Jun 26 15:43:05 UTC 2024 - Nicolas Morey 
+
+- Update to 1.17.0
+  - See NEWS for the complete CHANGELOG
+- Refresh openucx-s390x-support.patch against the latest sources
+- Add upstream fix UCS-TIME-Add-math.h-to-provide-INFINITY.patch
+  to fix compilation on ppc64
+
+---

Old:

  ucx-1.15.0.tar.gz

New:

  UCS-TIME-Add-math.h-to-provide-INFINITY.patch
  ucx-1.17.0.tar.gz

BETA DEBUG BEGIN:
  New:- Refresh openucx-s390x-support.patch against the latest sources
- Add upstream fix UCS-TIME-Add-math.h-to-provide-INFINITY.patch
  to fix compilation on ppc64
BETA DEBUG END:



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.KWq1UI/_old  2024-06-29 15:16:16.869722737 +0200
+++ /var/tmp/diff_new_pack.KWq1UI/_new  2024-06-29 15:16:16.873722883 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openucx
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define version_suf %{nil}
 
 Name:   openucx
-Version:1.15.0
+Version:1.17.0
 Release:0
 Summary:Communication layer for Message Passing (MPI)
 License:BSD-3-Clause
@@ -32,6 +32,7 @@
 Source: 
https://github.com/openucx/ucx/releases/download/v%version%{?version_suf}/ucx-%version.tar.gz
 Patch1: openucx-s390x-support.patch
 Patch2: ucm-fix-UCX_MEM_MALLOC_RELOC.patch
+Patch3: UCS-TIME-Add-math.h-to-provide-INFINITY.patch
 BuildRequires:  autoconf >= 2.63
 BuildRequires:  automake >= 1.10
 BuildRequires:  binutils-devel
@@ -136,10 +137,7 @@
 
 %prep
 %setup -qn ucx-%version
-%ifarch s390x
-%patch -P 1
-%endif
-%patch -P 2
+%autopatch -p0
 
 %build
 autoreconf -fi
@@ -192,6 +190,8 @@
 %_libdir/pkgconfig/ucx.pc
 %dir %_libdir/cmake/
 %_libdir/cmake/ucx/
+%dir %{_sysconfdir}/ucx/
+%config %{_sysconfdir}/ucx/ucx.conf
 %license LICENSE
 %doc NEWS
 

++ UCS-TIME-Add-math.h-to-provide-INFINITY.patch ++
commit c49bd7a5d183a57f41c801c7f5c9691bcd7d23da
Author: Thomas Vegas 
Date:   Mon Jun 24 16:52:04 2024 +0300

UCS/TIME: Add math.h to provide INFINITY

diff --git src/ucs/time/time.h src/ucs/time/time.h
index cff9810cdad8..c51362273f8d 100644
--- src/ucs/time/time.h
+++ src/ucs/time/time.h
@@ -11,6 +11,7 @@
 #include 
 #include 
 #include 
+#include 
 
 BEGIN_C_DECLS
 

++ openucx-s390x-support.patch ++
--- /var/tmp/diff_new_pack.KWq1UI/_old  2024-06-29 15:16:16.909724193 +0200
+++ /var/tmp/diff_new_pack.KWq1UI/_new  2024-06-29 15:16:16.913724339 +0200
@@ -1,6 +1,6 @@
-commit 328a69d07b618e0aa83fe2351e8d7ca4fc1b2f00
+commit 28e90896cbd655466b870b74d8304736a316
 Author: Nicolas Morey 
-Date:   Mon Feb 13 17:04:14 2023 +0100
+Date:   Wed Jun 26 17:36:58 2024 +0200
 
 openucx s390x support
 
@@ -32,42 +32,26 @@
  
  AS_IF([test "x$bistro_hooks_happy" = "xyes"],
[AC_DEFINE([UCM_BISTRO_HOOKS], [1], [Enable BISTRO hooks])],
-diff --git src/tools/info/sys_info.c src/tools/info/sys_info.c
-index e5aff871d491..2b7c54319f53 100644
 src/tools/info/sys_info.c
-+++ src/tools/info/sys_info.c
-@@ -47,7 +47,8 @@ static const char* cpu_vendor_names[] = {
- [UCS_CPU_VENDOR_GENERIC_ARM]  = "Generic ARM",
- [UCS_CPU_VENDOR_GENERIC_PPC]  = "Generic PPC",
- [UCS_CPU_VENDOR_FUJITSU_ARM]  = "Fujitsu ARM",
--[UCS_CPU_VENDOR_ZHAOXIN]  = "Zhaoxin"
-+[UCS_CPU_VENDOR_ZHAOXIN]  = "Zhaoxin",
-+[UCS_CPU_VENDOR_GENERIC_IBM]  = "Generic IBM"
- };
- 
- static double measure_memcpy_bandwidth(size_t size)
 diff --git src/ucm/Makefile.am src/ucm/Makefile.am
-index 48b82bf89cbe..582f83d1ea82 100644
+index fa7a722f2d31..e6df414a4ecb 100644
 --- src/ucm/Makefile.am
 +++ src/ucm/Makefile.am
-@@ -31,7 +31,8 @@ noinst_HEADERS = \
-   bistro/bistro.h \
-   bistro/bistro_x86_64.h \
+@@ -34,6 +34,7 @@ noinst_HEADERS = \
bistro/bistro_aarch64.h \
--  bistro/bistro_ppc64.h
-+  bistro/bistro_ppc64.h \
+   bistro/bistro_ppc64

commit openucx for openSUSE:Factory

2023-10-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2023-10-08 12:17:06

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.28202 (New)


Package is "openucx"

Sun Oct  8 12:17:06 2023 rev:28 rq:1116008 version:1.15.0

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2023-07-26 
13:22:25.935479120 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.28202/openucx.changes   
2023-10-08 12:18:34.446709014 +0200
@@ -1,0 +2,93 @@
+Mon Oct  2 08:00:54 UTC 2023 - Nicolas Morey 
+
+- Update to 1.15.0
+  - UCP
+- Added 2-stage pipeline protocol in the new protocol infrastructure
+- Added reset and abort functionality of rendezvous protocols in the
+   new infrastructure
+- Added zero-copy rendezvous data send protocol in the new infrastructure
+- Added support for user memory handle in the new protocol infrastructure
+- Added option to force ODP registration for certain memory types
+- Enabled lock free memory region deregistration
+- Updated allow/deny transport list feature to control auxiliary transport 
selection
+- Multiple performance improvements of the new protocol infrastructure
+- Multiple improvements in error and debug messages
+- Fixed assertion when sending from non-contiguous GPU buffer to managed 
buffer
+- Fixed the race condition on endpoint configurations
+- Fixed endpoint reconfiguration issues due to asymmetrical selection
+- Fixed endpoint reconfiguration error due to wrong locality detection
+- Fixed crash during connection manager cleanup
+- Fixed rkey index calculation for rendezvous protocol
+- Fixed rcache dump function
+- Removed logging from rkey unpack in release mode
+- Fixed dobule free of rkey in rendezvous protocol
+- Fixed rendezvous pipeline protocol error flow
+- Fixed error handling in rendezvous get zcopy protocol
+- Replay pending requests of wireup EP CM during connection establishment
+  to prevent potential ordering issues and wrong configuration
+- Pass user-provided memory type to the function that checks whether the 
buffer
+  can be sent inline or not
+- Avoid memory registration during UCP context initialization
+- Fixed CPU/device atomics selection in the new protocol infrastructure
+- Multiple fixes in the new protocol infrastructure information output
+  - UCT
+- Split UCT_MD_MKEY_PACK_FLAG_INVALIDATE into two flags for RMA and AMO
+- Added put_zcopy and get_zcopy scheme support for self transport
+- Added base implementation of is_reachable_v2 API using intra/inter flag
+- Introduced MD capability for non-blocking registration memory types
+- Added check for dmabuf kernel support in ROCm memory domain
+- Fixed exported memh packing
+- Fixed an error in checking return status of multi-threaded memory
+  registration function
+  - RDMA CORE (IB, ROCE, etc.)
+- Added implementation of is_reachable_v2 routine to IB interface
+- Added option to control CQE zipping per CQ RX/TX direction
+- Added option to specify how DCI selects port under RoCE LAG
+- Added hw_dcs to the list of policies to select DCI by an endpoint
+- Removed implicit on-demand paging
+- Added option to set RoCE lag dct port for response under queue affinity 
mode
+- Improved IB memlock limit logging
+- Fixed dma-buf based memory region registration
+- Fixed memory handle data corruption when PCIe relaxed ordering is enabled
+- Fixed performance degradation when indirect atomic key is not supported
+  by the hardware
+- Fixed remote access error to strict-order keys because of wrong offset
+- Added check for UAR support to memory domain opening
+- Fixed updating port counters for devx qp
+- Fixed ibv_create_cq error message on node without Infiniband
+- Fixed performance degradation due to using 2 paths on NDR400 by default
+- Removed unnecessary async lock which otherwise would block UD progress
+  - UCS
+- Added ucs_string_buffer_rbrk() to split token
+- Fixed lane selection and added bandwidth estimation for Sapphire Rapids 
family
+- Fixed displaying wrong environment variable suggestions
+- Fixed VFS warning output
+- Fixed SEGV in ucs_debug_backtrace_next(), upon previous SEGV handling,
+  due to ENOMEM situation
+- Fixed memory corruption when using UCX_MPOOL_FIFO=y
+  - UCM
+- Fixed conditional jump patching
+- Fixed mremap() override
+  - Tests
+- Added a rocm docker container for testing
+- Added option to send client_id in iodemo test
+- Added support for multiple connections to the same server in iodemo test
+- Added synchro

commit openucx for openSUSE:Factory

2023-07-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2023-07-26 13:22:10

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.15225 (New)


Package is "openucx"

Wed Jul 26 13:22:10 2023 rev:27 rq:1100646 version:1.14.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2023-04-01 
23:26:52.987300557 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.15225/openucx.changes   
2023-07-26 13:22:25.935479120 +0200
@@ -1,0 +2,16 @@
+Tue Jul 25 13:08:44 UTC 2023 - Nicolas Morey 
+
+- Update to v1.14.1
+  - Fixed ROCm to prevent the locking of host pinned memory
+  - Added CUDA 12 based UCX builds to the release flow
+  - Increased the maximal number of endpoint configurations
+  - Fixed filter for a slow-lanes in selection logic
+  - Fixed TCP transport bandwidth calculation
+  - Fixed device detection for ROCM
+  - Fixed compatibility with CUDA 12
+  - Fixed rendezvous threshold for multi-path configurations
+  - Fixed error message in case of static link
+  - Fixed BlueField-3 detection
+  - Multiple fixes for Azure CI pipeline
+
+---

Old:

  ucx-1.14.0.tar.gz

New:

  ucx-1.14.1.tar.gz



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.NaLvZ5/_old  2023-07-26 13:22:26.807484056 +0200
+++ /var/tmp/diff_new_pack.NaLvZ5/_new  2023-07-26 13:22:26.811484079 +0200
@@ -20,7 +20,7 @@
 %define version_suf %{nil}
 
 Name:   openucx
-Version:1.14.0
+Version:1.14.1
 Release:0
 Summary:Communication layer for Message Passing (MPI)
 License:BSD-3-Clause

++ ucx-1.14.0.tar.gz -> ucx-1.14.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ucx-1.14.0/NEWS new/ucx-1.14.1/NEWS
--- old/ucx-1.14.0/NEWS 2023-03-13 21:22:52.0 +0100
+++ new/ucx-1.14.1/NEWS 2023-05-22 10:48:57.0 +0200
@@ -11,6 +11,20 @@
 ### Features:
 ### Bugfixes:
 
+## 1.14.1 (May 22, 2023)
+### Bugfixes:
+* Fixed ROCm to prevent the locking of host pinned memory
+* Added CUDA 12 based UCX builds to the release flow
+* Increased the maximal number of endpoint configurations
+* Fixed filter for a slow-lanes in selection logic
+* Fixed TCP transport bandwidth calculation
+* Fixed device detection for ROCM
+* Fixed compatibility with CUDA 12
+* Fixed rendezvous threshold for multi-path configurations
+* Fixed error message in case of static link
+* Fixed BlueField-3 detection
+* Multiple fixes for Azure CI pipeline
+
 ## 1.14.0 (March 13, 2023)
 ### Features:
  Core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ucx-1.14.0/bindings/java/src/test/java/org/openucx/jucx/UcpEndpointTest.java
 
new/ucx-1.14.1/bindings/java/src/test/java/org/openucx/jucx/UcpEndpointTest.java
--- 
old/ucx-1.14.0/bindings/java/src/test/java/org/openucx/jucx/UcpEndpointTest.java
2023-01-26 22:33:58.0 +0100
+++ 
new/ucx-1.14.1/bindings/java/src/test/java/org/openucx/jucx/UcpEndpointTest.java
2023-04-12 16:42:15.0 +0200
@@ -735,7 +735,8 @@
 sendData.getMemory().getAddress(), 2L, 
UcpConstants.UCP_AM_FLAG_PERSISTENT_DATA, null,
 new 
UcpRequestParams().setMemoryType(memType).setMemoryHandle(sendData.getMemory()));
 
-while (!Arrays.stream(requests).allMatch(r -> (r != null) && 
r.isCompleted())) {
+while (!Arrays.stream(requests).allMatch(r -> (r != null) && 
r.isCompleted()) ||
+ (persistantAmData.get() == null)) {
 worker1.progress();
 worker2.progress();
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ucx-1.14.0/cmake/ucx-config-version.cmake 
new/ucx-1.14.1/cmake/ucx-config-version.cmake
--- old/ucx-1.14.0/cmake/ucx-config-version.cmake   2023-03-13 
21:24:15.0 +0100
+++ new/ucx-1.14.1/cmake/ucx-config-version.cmake   2023-05-22 
10:53:08.0 +0200
@@ -10,7 +10,7 @@
 # the requested version string are exactly the same and it sets
 # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
 
-set(PACKAGE_VERSION 1.14.0)
+set(PACKAGE_VERSION 1.14.1)
 
 if (PACKAGE_FIND_VERSION_RANGE)
   # Package version must be in the requested version range
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ucx-1.14.0/configure new/ucx-1.14.1/configure
--- old/ucx-1.14.0/configure2023-03-13 21:23:46.0 +0100
+++ new/ucx-1.14.1/configure2023-05-22 10:52:42.0 +0200
@@ -4291,7 +4291,7 @@

commit openucx for openSUSE:Factory

2023-04-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2023-04-01 23:26:51

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.9019 (New)


Package is "openucx"

Sat Apr  1 23:26:51 2023 rev:26 rq:1075600 version:1.14.0

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2023-03-07 
16:49:04.421186507 +0100
+++ /work/SRC/openSUSE:Factory/.openucx.new.9019/openucx.changes
2023-04-01 23:26:52.987300557 +0200
@@ -1,0 +2,48 @@
+Mon Mar 20 09:00:27 UTC 2023 - Nicolas Morey 
+
+- Update to v1.14.0
+  - UCP
+- Added API for querying transport and device names on endpoint
+- Added API for querying datatype object
+- Added API for exporting and importing memory keys (no implementation yet)
+- Added support for non-persistent active message header
+- Added infrastructure to print protocols v2 performance
+- Multiple performance improvements for protocols v2
+- Added support for non-contiguous datatypes for rendezvous protocols v2
+- Added support for reset and abort request in protocols v2
+- Added support for user memory handles in RMA API
+- Added multi-rail support for RMA API in protocols v2
+- Added support for up to 16 different lanes per endpoint
+- Added support for dmabuf memory registration in protocols v2
+- Added strong fence mode for ucp_worker_fence() API
+  - UCT
+- Added new uct_md_mem_attach() API to support exported memory handles
+- Added remote completion mode for endpoint flush (via new flag)
+- Added support for dmabuf registration
+- Added new uct_ep_connect_to_ep_v2() API
+- Added new uct_mem_reg_v2() API
+- Added new uct_md_query_v2() API
+- Added support for IPv6 loopback address in TCP transport
+  - RDMA CORE (IB, ROCE, etc.)
+- Added ECE (enhanced connection establishment) support for RC and DC 
transports
+- Added support for hardware DCS in DC transport
+- Added UD interface and endpoint resource information to VFS
+- Added CQ creation via DEVX API
+- Removed support for accelerated IB transports over legacy experimental 
verbs
+  - UCS
+- Added support for auto-correction of user environment variables
+  - UCM
+- Implemented CUDA bistro hooks for aarch64 (to enable memory cache on 
this platform)
+- Added support for CUDA virtual/stream-ordered memory with cudaMallocAsync
+  - Documentation
+- Added FAQ for using pkg-config tool to build applications with UCX
+  - Tools
+- Added runtime library version to the 'ucx_info -v' output
+- Added support for memory types in ucx_info
+  - Many bugfixes. See NEWS.
+- Drop patch merged upstream:
+  - UCS-DEBUG-replace-PTR-with-void.patch
+  - gcc13-fix.patch
+- Refresh openucx-s390x-support.patch
+
+---

Old:

  UCS-DEBUG-replace-PTR-with-void.patch
  gcc13-fix.patch
  ucx-1.13.1.tar.gz

New:

  ucx-1.14.0.tar.gz



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.1J60e1/_old  2023-04-01 23:26:53.631303942 +0200
+++ /var/tmp/diff_new_pack.1J60e1/_new  2023-04-01 23:26:53.635303963 +0200
@@ -16,8 +16,11 @@
 #
 
 
+# Use for pulling RC versions
+%define version_suf %{nil}
+
 Name:   openucx
-Version:1.13.1
+Version:1.14.0
 Release:0
 Summary:Communication layer for Message Passing (MPI)
 License:BSD-3-Clause
@@ -26,11 +29,9 @@
 
 #Git-Clone:git://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%{?version_suf}/ucx-%version.tar.gz
 Patch1: openucx-s390x-support.patch
 Patch2: ucm-fix-UCX_MEM_MALLOC_RELOC.patch
-Patch3: UCS-DEBUG-replace-PTR-with-void.patch
-Patch4: gcc13-fix.patch
 BuildRequires:  autoconf >= 2.63
 BuildRequires:  automake >= 1.10
 BuildRequires:  binutils-devel
@@ -139,8 +140,6 @@
 %patch1
 %endif
 %patch2
-%patch3
-%patch4 -p1
 
 %build
 autoreconf -fi
@@ -193,7 +192,8 @@
 %_libdir/pkgconfig/ucx.pc
 %dir %_libdir/cmake/
 %_libdir/cmake/ucx/
-%doc LICENSE NEWS
+%license LICENSE
+%doc NEWS
 
 %files -n libucm0
 %defattr(-,root,root)

++ openucx-s390x-support.patch ++
--- /var/tmp/diff_new_pack.1J60e1/_old  2023-04-01 23:26:53.663304110 +0200
+++ /var/tmp/diff_new_pack.1J60e1/_new  2023-04-01 23:26:53.667304131 +0200
@@ -1,13 +1,13 @@
-commit d85339a86c0902ca36f4306f8d971cf46ae87eaf
-Author: Nicolas Morey-Chaisemartin 
-Date:   Tue Sep 27 1

commit openucx for openSUSE:Factory

2023-03-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2023-03-07 16:48:49

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.31432 (New)


Package is "openucx"

Tue Mar  7 16:48:49 2023 rev:25 rq:1069629 version:1.13.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2023-01-17 
17:34:59.653069853 +0100
+++ /work/SRC/openSUSE:Factory/.openucx.new.31432/openucx.changes   
2023-03-07 16:49:04.421186507 +0100
@@ -1,0 +2,5 @@
+Mon Mar  6 12:18:52 UTC 2023 - Martin Liška 
+
+- Add upstream gcc13-fix.patch fix.
+
+---

New:

  gcc13-fix.patch



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.NEHTCr/_old  2023-03-07 16:49:05.565192527 +0100
+++ /var/tmp/diff_new_pack.NEHTCr/_new  2023-03-07 16:49:05.569192549 +0100
@@ -30,6 +30,7 @@
 Patch1: openucx-s390x-support.patch
 Patch2: ucm-fix-UCX_MEM_MALLOC_RELOC.patch
 Patch3: UCS-DEBUG-replace-PTR-with-void.patch
+Patch4: gcc13-fix.patch
 BuildRequires:  autoconf >= 2.63
 BuildRequires:  automake >= 1.10
 BuildRequires:  binutils-devel
@@ -139,6 +140,7 @@
 %endif
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 autoreconf -fi

++ gcc13-fix.patch ++
>From 8f70e898b43d1bde1ff3fae56bf0ac5aac285997 Mon Sep 17 00:00:00 2001
From: Sam James 
Date: Fri, 9 Sep 2022 11:35:03 +0100
Subject: [PATCH] TEST/SOCKADDR: Add missing  include for GCC 13

Closes: https://github.com/openucx/ucx/issues/8347
Signed-off-by: Sam James 
---
 test/apps/sockaddr/sa_util.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/apps/sockaddr/sa_util.h b/test/apps/sockaddr/sa_util.h
index 90c9649443f..c77ccc9a849 100644
--- a/test/apps/sockaddr/sa_util.h
+++ b/test/apps/sockaddr/sa_util.h
@@ -7,6 +7,7 @@
 #ifndef SA_UTIL_H_
 #define SA_UTIL_H_
 
+#include 
 #include 
 #include 
 #include 


commit openucx for openSUSE:Factory

2023-01-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2023-01-17 17:34:47

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.32243 (New)


Package is "openucx"

Tue Jan 17 17:34:47 2023 rev:24 rq:1058681 version:1.13.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2022-10-10 
18:44:39.642881333 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.32243/openucx.changes   
2023-01-17 17:34:59.653069853 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 09:45:05 UTC 2023 - Andreas Schwab 
+
+- openucx-s390x-support.patch: fix use of clz builtin for 64-bit value
+
+---



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.w3rqnV/_old  2023-01-17 17:35:00.293073566 +0100
+++ /var/tmp/diff_new_pack.w3rqnV/_new  2023-01-17 17:35:00.301073612 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openucx
 #
-# Copyright (c) 2022 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

++ openucx-s390x-support.patch ++
--- /var/tmp/diff_new_pack.w3rqnV/_old  2023-01-17 17:35:00.333073798 +0100
+++ /var/tmp/diff_new_pack.w3rqnV/_new  2023-01-17 17:35:00.337073821 +0100
@@ -244,7 +244,7 @@
 +{
 +  if (!n)
 +  return 0;
-+  return 63 - __builtin_clz(n);
++  return 63 - __builtin_clzl(n);
 +}
 +
 +static UCS_F_ALWAYS_INLINE unsigned ucs_ffs32(uint32_t n)


commit openucx for openSUSE:Factory

2022-10-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2022-10-10 18:44:15

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.2275 (New)


Package is "openucx"

Mon Oct 10 18:44:15 2022 rev:23 rq:1008219 version:1.13.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2022-10-03 
13:44:08.829268274 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.2275/openucx.changes
2022-10-10 18:44:39.642881333 +0200
@@ -1,0 +2,6 @@
+Tue Oct  4 16:39:30 UTC 2022 - Nicolas Morey-Chaisemartin 

+
+- Update openucx-s390x-support.patch to add missing ucs_ffs32 on s390x
+- Drop baselibs.conf as openucx only works on 64b systems
+
+---

Old:

  baselibs.conf



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.WCRqSB/_old  2022-10-10 18:44:41.834886051 +0200
+++ /var/tmp/diff_new_pack.WCRqSB/_new  2022-10-10 18:44:41.838886060 +0200
@@ -27,7 +27,6 @@
 #Git-Clone:git://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
-Source1:baselibs.conf
 Patch1: openucx-s390x-support.patch
 Patch2: ucm-fix-UCX_MEM_MALLOC_RELOC.patch
 Patch3: UCS-DEBUG-replace-PTR-with-void.patch

++ openucx-s390x-support.patch ++
--- /var/tmp/diff_new_pack.WCRqSB/_old  2022-10-10 18:44:41.870886128 +0200
+++ /var/tmp/diff_new_pack.WCRqSB/_new  2022-10-10 18:44:41.874886137 +0200
@@ -1,4 +1,4 @@
-commit 9d5c0d189d4cd5413089bd65fed1e87293e15763
+commit d85339a86c0902ca36f4306f8d971cf46ae87eaf
 Author: Nicolas Morey-Chaisemartin 
 Date:   Tue Sep 27 17:47:15 2022 +0200
 
@@ -217,10 +217,10 @@
  #endif
 diff --git src/ucs/arch/s390x/bitops.h src/ucs/arch/s390x/bitops.h
 new file mode 100644
-index ..39ad125107e9
+index ..ce48ff1ff451
 --- /dev/null
 +++ src/ucs/arch/s390x/bitops.h
-@@ -0,0 +1,32 @@
+@@ -0,0 +1,37 @@
 +/**
 +* Copyright (C) Mellanox Technologies Ltd. 2001-2015.  ALL RIGHTS RESERVED.
 +*
@@ -247,6 +247,11 @@
 +  return 63 - __builtin_clz(n);
 +}
 +
++static UCS_F_ALWAYS_INLINE unsigned ucs_ffs32(uint32_t n)
++{
++return __ucs_ilog2_u32(n & -n);
++}
++
 +static inline unsigned ucs_ffs64(uint64_t n)
 +{
 +return __ucs_ilog2_u64(n & -n);


commit openucx for openSUSE:Factory

2022-10-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2022-10-03 13:44:06

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.2275 (New)


Package is "openucx"

Mon Oct  3 13:44:06 2022 rev:22 rq:1007003 version:1.13.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2022-01-14 
23:13:01.562623490 +0100
+++ /work/SRC/openSUSE:Factory/.openucx.new.2275/openucx.changes
2022-10-03 13:44:08.829268274 +0200
@@ -1,0 +2,99 @@
+Tue Sep 27 15:55:19 UTC 2022 - Nicolas Morey-Chaisemartin 

+
+- Update to v1.13.1 (jsc#PED-912)
+  - Core
+- Added new objects to VFS: local and remote address of endpoint,
+  statistics of ucp_ep_create success/failure, failed/destroyed endpoints
+- Added support for UCX static libraries
+- Added profiling for rkey management routines
+- PCIe relaxed order enabled by default for AMD CPUs
+- Fixed not deallocating memory from ucp_mem_unmap if no rcache
+- Fixed versioning infrastructure
+- Multiple code improvements: refactoring, debug prints and assertions, 
etc.
+- Multiple improvements in build, test and docs infrastructure
+- Added new objects to VFS (md, component, log_level, etc.)
+- Added configuration variable to specify which loadable modules are 
allowed
+- Added build-time configuration to disable sigaction overriding
+  - UCP
+- Added API to pass pre-registered memory handle to UCP operations
+- Added implementation of AM rendezvous protocol
+- Added 2-stage pipeline rendezvous protocol for GPU
+- Added support for fragment mem_type for v1 pipeline proto, disabled by 
default
+- Added active message support for proto v2
+- Added UCP memory registration cache
+- Improved adaptive progress - deactivate iface when all p2p lanes are 
destroyed
+- Added support for user memh in proto_v1
+- Added support for selecting local address when creating a client endpoint
+- Added option to limit GPUDirectRDMA size in rendezvous protocol, 
UCX_RNDV_MEMTYPE_DIRECT_SIZE
+- Deprecated UCX_SOCKADDR_AUX_TLS configuration parameter
+- Resolving remote EP ID when creating local EP disabled by default
+- Added client_id to ucp_worker_create() and ucp_conn_request_query() APIs
+- Added ucp_worker_address_query() API
+- Updated ucp_ep_query() API for getting local and remote addresses
+- Added address versioning to correctly preserve wire compatibility 
starting from version 1.11.0
+- Added new client/server connection establishment packet header format
+- Enabled rendezvous and tag sync protocols when error handling is enabled 
on the endpoint
+- Added iov zcopy support to RMA operations
+- Reduced memory usage of unexpected messages by fitting receive buffer 
size to packet size
+- Added support for modifying UCT and UCS configs by ucp_config_modify() 
API
+- Optimized unpacked rkeys memory consumption
+- Added request flag to influence latency vs. bandwidth protocol
+- Reduced memory management overhead with new protocols
+- Improved performance calculations for new protocols
+- Added AMO support with GPU memory target using new protocols
+- Added put_zcopy, get_zcopy and pipeline based rendezvous in new protocols
+- Added support for user-defined alignment in Active Messages
+- Added support for offload tag sync in new protocols
+- Updated ucp_atomic_post() to use NBX flow
+  - UCT
+- Introduced API uct_md_mkey_pack_v2
+- Introduced UCT iface features API
+- Introduced max_inflight_eps parameter in perf_attr API
+- Introduced UCT_SEND_FLAG_PEER_CHECK flag that forces checking 
connectivity to a peer
+- Introduced UCX_RCACHE_PURGE_ON_FORK to enable/disable cleaning regions 
when application is forking
+- Disabled PEER_FAILURE capability for XPMEM
+- Added API - uct_iface_is_reachable_v2()
+- Added IPv6 address support in TCP
+- Added latency estimation to uct_iface_estimate_perf()
+- Adjusted knem and cma overhead cost
+- Increased built-in TCP keep-alive interval to 2 seconds
+  - RDMA CORE (IB, ROCE, etc.)
+- Introduced NDR autorecognition
+- Introduced CQE zipping support
+- Set the default MAX_RD_ATOMIC to maximum value supported by the hardware
+- Disabled mlx5 ifaces on verbs MD
+- Added detection of IB NDR devices
+- Added check for CQ overrun in assert mode
+- Added bitmap usage for releasing detached DCIs
+- Added configuration for requests ack frequency with DevX
+- Added remote QP info to tx error CQE traces
+  - ROCM
+- Increased maximum number of HSA agents
+  - UCS
+- Added topo module infrastructure
+- Added memtrack a

commit openucx for openSUSE:Factory

2022-01-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2022-01-14 23:12:37

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.1892 (New)


Package is "openucx"

Fri Jan 14 23:12:37 2022 rev:21 rq:946105 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2021-09-30 
23:43:13.068457182 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.1892/openucx.changes
2022-01-14 23:13:01.562623490 +0100
@@ -1,0 +2,6 @@
+Thu Jan 13 08:42:05 UTC 2022 - Nicolas Morey-Chaisemartin 

+
+- Fix UCM bistro support on non s390x archs
+- Add ucm-fix-UCX_MEM_MALLOC_RELOC.patch to disable malloc relocations by 
default (bsc#1194369)
+
+---

New:

  ucm-fix-UCX_MEM_MALLOC_RELOC.patch



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.80fHMq/_old  2022-01-14 23:13:03.822624947 +0100
+++ /var/tmp/diff_new_pack.80fHMq/_new  2022-01-14 23:13:03.826624949 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openucx
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Source: 
https://github.com/openucx/ucx/releases/download/v%version/ucx-%version.tar.gz
 Source1:baselibs.conf
 Patch1: openucx-s390x-support.patch
+Patch2: ucm-fix-UCX_MEM_MALLOC_RELOC.patch
 BuildRequires:  autoconf >= 2.63
 BuildRequires:  automake >= 1.10
 BuildRequires:  binutils-devel
@@ -133,7 +134,10 @@
 
 %prep
 %setup -qn ucx-%version
+%ifarch s390x
 %patch1
+%endif
+%patch2
 
 %build
 autoreconf -fi

++ ucm-fix-UCX_MEM_MALLOC_RELOC.patch ++
commit 57ca2c53bcef6de7ca33767cedab120afd9a7601
Author: Nicolas Morey-Chaisemartin 
Date:   Thu Jan 13 12:00:19 2022 +0100

ucm: fix UCX_MEM_MALLOC_RELOC

Should be disabled by default but is enabled by the parser default value

Signed-off-by: Nicolas Morey-Chaisemartin 

diff --git src/ucs/config/ucm_opts.c src/ucs/config/ucm_opts.c
index 89487231..b13360980793 100644
--- src/ucs/config/ucm_opts.c
+++ src/ucs/config/ucm_opts.c
@@ -62,7 +62,7 @@ static ucs_config_field_t ucm_global_config_table[] = {
ucs_offsetof(ucm_global_config_t, enable_malloc_hooks),
UCS_CONFIG_TYPE_BOOL},
 
-  {"MALLOC_RELOC", "yes",
+  {"MALLOC_RELOC", "no",
"Enable installing malloc symbols in the relocation table.\n"
"This is unsafe and off by default, because sometimes glibc\n"
"calls malloc/free without going through the relocation table,\n"


commit openucx for openSUSE:Factory

2021-09-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2021-09-30 23:42:59

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.2443 (New)


Package is "openucx"

Thu Sep 30 23:42:59 2021 rev:20 rq:921703 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2021-03-02 
12:25:29.643318270 +0100
+++ /work/SRC/openSUSE:Factory/.openucx.new.2443/openucx.changes
2021-09-30 23:43:13.068457182 +0200
@@ -1,0 +2,5 @@
+Thu Sep 23 07:35:57 UTC 2021 - Nicolas Morey-Chaisemartin 

+
+- Update to v1.11.1 (jsc#SLE-19260)
+
+---
@@ -4,0 +10,62 @@
+  - Core:
+- Added support for UCX monitoring using virtual file system (VFS)/FUSE
+- Added support for applications with static CUDA runtime linking
+- Added support for a configuration file
+- Updated clang format configuration
+  - UCP
+- Added rendezvous API for active messages
+- Added user-defined name to context, worker, and endpoint objects
+- Added flag to silence request leak check
+- Added API for endpoint performance evaluation
+- Added API - ucp_request_query
+- Added API - ucp_lib_query
+- Added bandwidth optimizations for new protocols multi-lane
+- Added support for multi-rail over lanes with BW ratio >= 1/4
+- Added support for tracking outstanding requests and aborting those in 
case of connection failure
+- Refactored keep-alive protocol
+- Added device id to wireup protocol
+- Added support up to 128 transport layer resources in UCP context
+- Added support CUDA memory allocations with ucp_mem_map
+- Increased UCP_WORKER_MAX_EP_CONFIG to 64
+- Adjusted memory type zcopy threshold when UCX_ZCOPY_THRESH set
+- Refactored wireup protocols, rendezvous, get, zcopy protocols
+- Added put zcopy multi-rail
+- Improved logging for new protocols
+- Added system topology information
+- Added new protocols for eager offload protocols
+  - UCT
+- Extended connection establishment API
+- Added active message AM alignment in iface params
+- Added active message short IOV API.
+- Added support for interface query by operation and memory type
+- Added API to get allocation base address and length
+- Added md_dereg_v2 API
+  - UCS
+- Added log filter by source file name.
+- Added checking for last element in fraglist queue
+- Added a method to get IP address from sockaddr.
+- Added memory usage limits to registration cache
+  - RDMA CORE (IB, ROCE, etc.)
+- Added report of QP info in case of completion with error
+- Refactored of FC send operations
+- Added support for  DevX unique QPN allocation
+- Optimized endpoint lookup for  DCI
+- Added support for RDMA sub-function (SF)
+- Added support for DCI via DEVX
+- Added DCI pool per LAG port
+- Added support  for RoCE IP reachability check using a subnet mask
+- Added active message short IOV for UD/DC/RC mlx, UD/RC verbs
+- Added endpoint keep alive check for UD
+- Suppressed warning if device can't be opened
+- Added support for multiple flush cancel without completion
+- Added ignore for devices with invalid GID
+- Added support for SRQ linked list reordering
+- Added flush by flow control on old devices
+- Added support for configurable rdma_resolve_addr/route timeout
+  - Shared memory
+- Added active message short IOV support for posix, sysv, and self 
transports
+  - TCP
+- Added support for peer failure in case of CONNECT_TO_EP
+- Added support for active message short IOV
+  - See NEWS for a complete changelog and bug fixes
+- Refresh openucx-s390x-support against latest sources

Old:

  ucx-1.9.0.tar.gz

New:

  ucx-1.11.1.tar.gz



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.A8WFGB/_old  2021-09-30 23:43:13.660457859 +0200
+++ /var/tmp/diff_new_pack.A8WFGB/_new  2021-09-30 23:43:13.664457864 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   openucx
-Version:1.9.0
+Version:1.11.1
 Release:0
 Summary:Communication layer for Message Passing (MPI)
 License:BSD-3-Clause
@@ -174,11 +174,15 @@
 rm -fv "%buildroot/%_libdir"/ucx/*.la
 # Rename example dir for consistency with the package name
 mv %buildroot/%_datadir/ucx  %buildroot/%_datadir/openucx
+# io_demo should not be in %{bindir} and more likely in %{libexec}
+mkdir -p %buildroot/%_libexecdir/%{name}/
+mv %buildroot/%_bindir/io_demo  %buildroot/%_libexecdir/%{name}/
 
 %files tools
 %defattr(-,root,root)
 %_bindir/ucx

commit openucx for openSUSE:Factory

2021-03-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openucx for openSUSE:Factory checked 
in at 2021-03-02 12:25:29

Comparing /work/SRC/openSUSE:Factory/openucx (Old)
 and  /work/SRC/openSUSE:Factory/.openucx.new.2378 (New)


Package is "openucx"

Tue Mar  2 12:25:29 2021 rev:19 rq:874910 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/openucx/openucx.changes  2020-10-11 
20:15:15.484382682 +0200
+++ /work/SRC/openSUSE:Factory/.openucx.new.2378/openucx.changes
2021-03-02 12:25:29.643318270 +0100
@@ -1,0 +2,5 @@
+Wed Feb 24 16:34:54 UTC 2021 - Nicolas Morey-Chaisemartin 

+
+- Update openucx-s390x-support.patch to fix mmap syscall on s390x (bsc#1182691)
+
+---



Other differences:
--
++ openucx.spec ++
--- /var/tmp/diff_new_pack.WHArr8/_old  2021-03-02 12:25:30.135318733 +0100
+++ /var/tmp/diff_new_pack.WHArr8/_new  2021-03-02 12:25:30.135318733 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openucx
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ openucx-s390x-support.patch ++
--- /var/tmp/diff_new_pack.WHArr8/_old  2021-03-02 12:25:30.159318755 +0100
+++ /var/tmp/diff_new_pack.WHArr8/_new  2021-03-02 12:25:30.159318755 +0100
@@ -1,4 +1,4 @@
-commit a8b24a8cd4124e3ffb7b682b94b3a1192e48c9c7
+commit b47dad27703f0b59072f5a8d8fba99c1d173f8f0
 Author: Nicolas Morey-Chaisemartin 
 Date:   Thu Aug 9 07:41:24 2018 +0200
 
@@ -407,3 +407,27 @@
 +
 +#endif
 +
+diff --git src/ucs/sys/sys.c src/ucs/sys/sys.c
+index 62e555b409d1..8adc26241781 100644
+--- src/ucs/sys/sys.c
 src/ucs/sys/sys.c
+@@ -1134,8 +1134,19 @@ void *ucs_sys_realloc(void *old_ptr, size_t old_length, 
size_t new_length)
+ if (old_ptr == NULL) {
+ /* Note: Must pass the 0 offset as "long", otherwise it will be
+  * partially undefined when converted to syscall arguments */
++#if defined(__s390x__)
++  long int _args[6] = {
++  (long int) NULL,
++  (long int) new_length,
++  (long int) PROT_READ|PROT_WRITE,
++  (long int) MAP_PRIVATE|MAP_ANONYMOUS,
++  (long int) -1,
++  (long int) 0ul};
++ptr = (void*)syscall(__NR_mmap, _args);
++#else
+ ptr = (void*)syscall(__NR_mmap, NULL, new_length, 
PROT_READ|PROT_WRITE,
+  MAP_PRIVATE|MAP_ANONYMOUS, -1, 0ul);
++#endif
+ if (ptr == MAP_FAILED) {
+ ucs_log_fatal_error("mmap(NULL, %zu, READ|WRITE, PRIVATE|ANON) 
failed: %m",
+ new_length);