import CS ucx-1.17.0-2.el9

This commit is contained in:
eabdullin 2025-03-11 08:16:32 +00:00
parent 02caed63c5
commit 408947c513
4 changed files with 49 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ucx-1.15.0.tar.gz
SOURCES/ucx-1.17.0.tar.gz

View File

@ -1 +1 @@
8d4102ea12d415a1fa2362ed031b0e548888bbce SOURCES/ucx-1.15.0.tar.gz
24b2e832443aa2f72efd20e0d49ac49ea6e75450 SOURCES/ucx-1.17.0.tar.gz

View File

@ -0,0 +1,29 @@
From b0a275a5492125a13020cd095fe9934e0b5e7c6a Mon Sep 17 00:00:00 2001
From: Aboorva Devarajan <aboorvad@linux.ibm.com>
Date: Wed, 19 Jun 2024 13:47:14 -0400
Subject: [PATCH] UCS/TIME: Fix undeclared INFINITY error in
ucs_time_units_to_sec()
Included <math.h> in ucs_time_units_to_sec() to resolve compilation
errors due to missing INFINITY constant.
Signed-off-by: Aboorva Devarajan <aboorvad@linux.ibm.com>
---
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 <ucs/time/time_def.h>
#include <sys/time.h>
#include <limits.h>
+#include <math.h>
BEGIN_C_DECLS
--
2.47.0

View File

@ -11,13 +11,14 @@
%bcond_with vfs
Name: ucx
Version: 1.15.0
Version: 1.17.0
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}}}
@ -118,6 +121,7 @@ rm -f %{buildroot}%{_libdir}/ucx/lib*.a
%{_libdir}/lib*.so.*
%{_bindir}/ucx_info
%{_bindir}/ucx_perftest
%{_bindir}/ucx_perftest_daemon
%{_bindir}/ucx_read_profile
%{_bindir}/io_demo
%{_datadir}/ucx
@ -125,6 +129,7 @@ rm -f %{buildroot}%{_libdir}/ucx/lib*.a
%doc README AUTHORS NEWS
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_sysconfdir}/ucx/ucx.conf
%files devel
%{_includedir}/uc*
@ -288,6 +293,18 @@ library internals, protocol objects, transports status, and more.
%endif
%changelog
* Wed Nov 06 2024 Kamal Heib <kheib@redhat.com> - 1.17.0-2
- Fix build for ppc64le
- Resolves: RHEL-52883
* Wed Nov 06 2024 Kamal Heib <kheib@redhat.com> - 1.17.0-1
- Update to upstream release 1.17.0
- Resolves: RHEL-52883
* Wed May 01 2024 Kamal Heib <kheib@redhat.com> - 1.16.0-1
- Update to upstream release 1.16.0
- Resolves: RHEL-24468, RHEL-31249
* Thu Nov 09 2023 Kamal Heib <kheib@redhat.com> - 1.15.0-2
- Fix requirement error
- Resolves: RHEL-888