import ucx-1.10.1-2.el8

This commit is contained in:
CentOS Sources 2021-11-09 05:06:49 -05:00 committed by Stepan Oksanichenko
parent b733119e74
commit 24b1da8992
5 changed files with 25 additions and 65 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/ucx-1.9.0.tar.gz
SOURCES/ucx-1.10.1.tar.gz

View File

@ -1 +1 @@
578c6064f9913bcf15f9b03569187ed547e30d8b SOURCES/ucx-1.9.0.tar.gz
a9b8a15bf3975cab16553d6eff19270b0bb42876 SOURCES/ucx-1.10.1.tar.gz

View File

@ -1,35 +0,0 @@
diff --git a/config/m4/sysdep.m4 b/config/m4/sysdep.m4
index b1e5485..0133803 100644
--- a/config/m4/sysdep.m4
+++ b/config/m4/sysdep.m4
@@ -158,7 +158,7 @@ AC_MSG_CHECKING([malloc hooks])
SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $CFLAGS_NO_DEPRECATED"
CHECK_CROSS_COMP([AC_LANG_SOURCE([#include <malloc.h>
- static int rc = 1;
+ static volatile int rc = 1;
void *ptr;
void *myhook(size_t size, const void *caller) {
rc = 0;
diff --git a/configure b/configure
index db54a6a..fa4352d 100755
--- a/configure
+++ b/configure
@@ -22221,7 +22221,7 @@ CFLAGS="$CFLAGS $CFLAGS_NO_DEPRECATED"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <malloc.h>
- static int rc = 1;
+ volatile static int rc = 1;
void *ptr;
void *myhook(size_t size, const void *caller) {
rc = 0;
@@ -22252,7 +22252,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <malloc.h>
- static int rc = 1;
+ volatile static int rc = 1;
void *ptr;
void *myhook(size_t size, const void *caller) {
rc = 0;

View File

@ -1,13 +0,0 @@
diff --git a/src/ucs/datastruct/mpool.inl b/src/ucs/datastruct/mpool.inl
index d06e2f9..6b32406 100644
--- a/src/ucs/datastruct/mpool.inl
+++ b/src/ucs/datastruct/mpool.inl
@@ -71,7 +71,7 @@ static inline ucs_mpool_t *ucs_mpool_obj_owner(void *obj)
static inline void ucs_mpool_put_inline(void *obj)
{
- ucs_mpool_elem_t *elem;
+ ucs_mpool_elem_t * volatile elem;
ucs_mpool_t *mp;
elem = ucs_mpool_obj_to_elem(obj);

View File

@ -15,19 +15,16 @@
%bcond_with xpmem
Name: ucx
Version: 1.9.0
Release: 1%{?dist}
Version: 1.10.1
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
Patch: ucx-config.patch
# This avoids a false positive from gcc-11 by making the problematic
# pointer volatile rather than disabling the warning completely
Patch1: %{name}-gcc11.patch
Source: https://github.com/openucx/%{name}/releases/download/v1.10.1/ucx-1.10.1.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Prefix: %{_prefix}
# UCX currently supports only the following architectures
ExclusiveArch: aarch64 ppc64le x86_64
@ -68,15 +65,16 @@ BuildRequires: xpmem-devel
%endif
%description
UCX stands for Unified Communication X. UCX provides an optimized communication
layer for Message Passing (MPI), PGAS/OpenSHMEM libraries and RPC/data-centric
UCX is an optimized communication framework for high-performance distributed
applications. UCX utilizes high-speed networks, such as RDMA (InfiniBand, RoCE,
etc), Cray Gemini or Aries, for inter-node communication. If no such network is
available, TCP is used instead. UCX supports efficient transfer of data in
either main memory (RAM) or GPU memory (through CUDA and ROCm libraries).
In addition, UCX provides efficient intra-node communication, by leveraging the
either main memory (RAM) or GPU memory (through CUDA and ROCm libraries). In
addition, UCX provides efficient intra-node communication, by leveraging the
following shared memory mechanisms: posix, sysv, cma, knem, and xpmem.
This package was built from '' branch, commit 6b29558.
The acronym UCX stands for "Unified Communication X".
This package was built from '' branch, commit c334359.
%if "%{_vendor}" == "suse"
%debug_package
@ -91,8 +89,6 @@ Provides header files and examples for developing with UCX.
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
%define _with_arg() %{expand:%%{?with_%{1}:--with-%{2}}%%{!?with_%{1}:--without-%{2}}}
@ -102,7 +98,6 @@ Provides header files and examples for developing with UCX.
--disable-debug \
--disable-assertions \
--disable-params-check \
--enable-examples \
--without-java \
%_enable_arg cma cma \
%_with_arg cuda cuda \
@ -128,6 +123,7 @@ rm -f %{buildroot}%{_libdir}/ucx/lib*.a
%files
%{_libdir}/lib*.so.*
%{_bindir}/uc*
%{_bindir}/io_demo
%{_datadir}/ucx
%exclude %{_datadir}/ucx/examples
%doc README AUTHORS NEWS
@ -293,6 +289,18 @@ process to map the memory of another process into its virtual address space.
%changelog
* Thu May 27 2021 Yurii Shestakov <yuriis@nvidia.com> 1.10.1-2
- Bump version to 1.10.1
* Mon Apr 26 2021 Yurii Shestakov <yuriis@nvidia.com> 1.10.1-rc1
- Bump version to 1.10.1-rc1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Nov 11 2020 Yossi Itigin <yosefe@mellanox.com> 1.10.0-1
- Make the RPM relocatable
* Mon Nov 2 2020 Orion Poplawski <orion@nwra.com> - 1.9.0-1
- Update to 1.9.0