From a50dbbc869c0942c6e442b055620d3d2ebc3f992 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2021 04:19:37 +0000 Subject: import ucx-1.10.1-2.el8 --- diff --git a/.gitignore b/.gitignore index 17b5b9d..4b80ee4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ucx-1.9.0.tar.gz +SOURCES/ucx-1.10.1.tar.gz diff --git a/.ucx.metadata b/.ucx.metadata index 898b283..a379c19 100644 --- a/.ucx.metadata +++ b/.ucx.metadata @@ -1 +1 @@ -578c6064f9913bcf15f9b03569187ed547e30d8b SOURCES/ucx-1.9.0.tar.gz +a9b8a15bf3975cab16553d6eff19270b0bb42876 SOURCES/ucx-1.10.1.tar.gz diff --git a/SOURCES/ucx-config.patch b/SOURCES/ucx-config.patch deleted file mode 100644 index 2ee4837..0000000 --- a/SOURCES/ucx-config.patch +++ /dev/null @@ -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 -- 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 -- 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 -- static int rc = 1; -+ volatile static int rc = 1; - void *ptr; - void *myhook(size_t size, const void *caller) { - rc = 0; diff --git a/SOURCES/ucx-gcc11.patch b/SOURCES/ucx-gcc11.patch deleted file mode 100644 index 7d887ed..0000000 --- a/SOURCES/ucx-gcc11.patch +++ /dev/null @@ -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); diff --git a/SPECS/ucx.spec b/SPECS/ucx.spec index 87d7c6a..bf15895 100644 --- a/SPECS/ucx.spec +++ b/SPECS/ucx.spec @@ -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 1.10.1-2 +- Bump version to 1.10.1 + +* Mon Apr 26 2021 Yurii Shestakov 1.10.1-rc1 +- Bump version to 1.10.1-rc1 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Nov 11 2020 Yossi Itigin 1.10.0-1 +- Make the RPM relocatable + * Mon Nov 2 2020 Orion Poplawski - 1.9.0-1 - Update to 1.9.0