From f0cf1b4696f0b2514fbd914e928eaa73512a8383 Mon Sep 17 00:00:00 2001 From: Kamal Heib Date: Wed, 4 Feb 2026 11:14:21 -0500 Subject: [PATCH] Update to upstream release 1.19.1 Resolves: RHEL-98259 Signed-off-by: Kamal Heib --- .gitignore | 1 + Fix-annocheck-failure.patch | 26 ++++++++++++++++++++++++++ sources | 2 +- ucx.spec | 26 +++++++++++++++++++++++++- 4 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 Fix-annocheck-failure.patch diff --git a/.gitignore b/.gitignore index f3c2134..3286720 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /ucx-1.15.0.tar.gz /ucx-1.17.0.tar.gz /ucx-1.18.1.tar.gz +/ucx-1.19.1.tar.gz diff --git a/Fix-annocheck-failure.patch b/Fix-annocheck-failure.patch new file mode 100644 index 0000000..6fac50b --- /dev/null +++ b/Fix-annocheck-failure.patch @@ -0,0 +1,26 @@ +From deb5a0c31ebfcf8d4cb838705b00a60dcc6d5b27 Mon Sep 17 00:00:00 2001 +From: Kamal Heib +Date: Thu, 5 Feb 2026 08:54:51 -0500 +Subject: [PATCH] Fix annocheck failure + +Signed-off-by: Kamal Heib +--- + src/ucs/sys/compiler.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ucs/sys/compiler.h b/src/ucs/sys/compiler.h +index 9ebb8e89fa3f..7244ef9ade87 100644 +--- a/src/ucs/sys/compiler.h ++++ b/src/ucs/sys/compiler.h +@@ -32,7 +32,7 @@ + + /* A function which should not be optimized */ + #if defined(HAVE_ATTRIBUTE_NOOPTIMIZE) && (HAVE_ATTRIBUTE_NOOPTIMIZE == 1) +-#define UCS_F_NOOPTIMIZE __attribute__((optimize("O0"))) ++#define UCS_F_NOOPTIMIZE __attribute__((optimize("O2"))) + #else + #define UCS_F_NOOPTIMIZE + #endif +-- +2.52.0 + diff --git a/sources b/sources index 436d0be..9cac4e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ucx-1.18.1.tar.gz) = bcab4a93c1fbf154275c6cdedfc981600cbac43d850f70e2cbfa0dfc73160be8808442acb86154ea964aaea0364aa9a37c41f4c643fa143f54e9d238b13820c7 +SHA512 (ucx-1.19.1.tar.gz) = db6eca505f905ef27c148a8c3b3e828b760f7ac524d405e81096bd8919bd4f119139dc9003c9a37e09cbb364f5ecacc04d04257c491acd609df42891625b4a32 diff --git a/ucx.spec b/ucx.spec index 48b581e..937f923 100644 --- a/ucx.spec +++ b/ucx.spec @@ -11,9 +11,10 @@ %bcond_with vfs %bcond_with mad %bcond_without mlx5 +%bcond_with efa Name: ucx -Version: 1.18.1 +Version: 1.19.1 Release: 1%{?dist} Summary: UCX is a communication library implementing high-performance messaging @@ -30,6 +31,7 @@ License: BSD-3-Clause AND MIT AND CC-PDDC AND (BSD-3-Clause OR Apache-2.0) URL: http://www.openucx.org Source: https://github.com/openucx/%{name}/releases/download/v%{version}/ucx-%{version}.tar.gz +Patch0: Fix-annocheck-failure.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Prefix: %{_prefix} @@ -59,6 +61,9 @@ BuildRequires: libibverbs-devel %if %{with mlx5} BuildRequires: rdma-core-devel %endif +%if %{with efa} +BuildRequires: rdma-core-devel +%endif %if %{with knem} BuildRequires: knem %endif @@ -102,6 +107,7 @@ Provides header files and examples for developing with UCX. %prep %setup -q +%patch -P0 -p1 autoreconf -fiv %build @@ -119,6 +125,7 @@ autoreconf -fiv %_with_arg gdrcopy gdrcopy \ %_with_arg ib verbs \ %_with_arg mlx5 mlx5 \ + %_with_arg efa efa \ %_with_arg knem knem \ %_with_arg rdmacm rdmacm \ %_with_arg rocm rocm \ @@ -339,6 +346,19 @@ devices. %{_libdir}/ucx/libuct_ib_mlx5.so.* %endif +%if %{with efa} +%package ib-efa +Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: UCX EFA device RDMA support +Group: System Environment/Libraries + +%description ib-efa +Provides support for EFA device as an IBTA transport for UCX. + +%files ib-efa +%{_libdir}/ucx/libuct_ib_efa.so.* +%endif + %if %{with mad} %package mad Requires: %{name}%{?_isa} = %{version}-%{release} @@ -354,6 +374,10 @@ Infiniband datagrams for out-of-band communications. %endif %changelog +* Wed Feb 04 2026 Kamal Heib - 1.19.1-1 +- Update to upstream release 1.19.1 +- Resolves: RHEL-98259 + * Thu Jun 19 2025 Kamal Heib - 1.18.1-1 - Update to upstream release 1.18.1 - Resolves: RHEL-94486