From 9f5f99d3dd3261a389ad27235a6b92e45e6f157e Mon Sep 17 00:00:00 2001 From: Kamal Heib Date: Wed, 6 Nov 2024 18:36:05 -0500 Subject: [PATCH] Fix build for ppc64le Resolves: RHEL-52883 Signed-off-by: Kamal Heib --- ...eclared-INFINITY-error-in-ucs_time_u.patch | 29 +++++++++++++++++++ ucx.spec | 9 +++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 UCS-TIME-Fix-undeclared-INFINITY-error-in-ucs_time_u.patch diff --git a/UCS-TIME-Fix-undeclared-INFINITY-error-in-ucs_time_u.patch b/UCS-TIME-Fix-undeclared-INFINITY-error-in-ucs_time_u.patch new file mode 100644 index 0000000..f6dd8de --- /dev/null +++ b/UCS-TIME-Fix-undeclared-INFINITY-error-in-ucs_time_u.patch @@ -0,0 +1,29 @@ +From b0a275a5492125a13020cd095fe9934e0b5e7c6a Mon Sep 17 00:00:00 2001 +From: Aboorva Devarajan +Date: Wed, 19 Jun 2024 13:47:14 -0400 +Subject: [PATCH] UCS/TIME: Fix undeclared INFINITY error in + ucs_time_units_to_sec() + +Included in ucs_time_units_to_sec() to resolve compilation +errors due to missing INFINITY constant. + +Signed-off-by: Aboorva Devarajan +--- + src/ucs/time/time.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ucs/time/time.h b/src/ucs/time/time.h +index cff9810cdad8..c51362273f8d 100644 +--- a/src/ucs/time/time.h ++++ b/src/ucs/time/time.h +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + BEGIN_C_DECLS + +-- +2.47.0 + diff --git a/ucx.spec b/ucx.spec index df5f50b..571eaf3 100644 --- a/ucx.spec +++ b/ucx.spec @@ -12,12 +12,13 @@ Name: ucx Version: 1.17.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: UCX is a communication library implementing high-performance messaging License: BSD URL: http://www.openucx.org Source: https://github.com/openucx/%{name}/releases/download/v%{version}/ucx-%{version}.tar.gz +Patch0: UCS-TIME-Fix-undeclared-INFINITY-error-in-ucs_time_u.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Prefix: %{_prefix} @@ -84,6 +85,8 @@ Provides header files and examples for developing with UCX. %prep %setup -q +%patch -P0 -p1 + %build %define _with_arg() %{expand:%%{?with_%{1}:--with-%{2}}%%{!?with_%{1}:--without-%{2}}} %define _enable_arg() %{expand:%%{?with_%{1}:--enable-%{2}}%%{!?with_%{1}:--disable-%{2}}} @@ -290,6 +293,10 @@ library internals, protocol objects, transports status, and more. %endif %changelog +* Wed Nov 06 2024 Kamal Heib - 1.17.0-2 +- Fix build for ppc64le +- Resolves: RHEL-52883 + * Wed Nov 06 2024 Kamal Heib - 1.17.0-1 - Update to upstream release 1.17.0 - Resolves: RHEL-52883