Accepting request 1012023 from home:NMoreyChaisemartin:branches:science:HPC

- Update to 1.16.1
  - Core
    - Fix windows implementation to remove fd from poll set
  - PSM3
    - Add missing files to release tarball
  - Util
    - Handle NULL address insertion to fi_av_insert
- Drop prov-rxm-Disable-128-bit-atomics.patch which was merged upstream

- Update to 1.16.1
  - Core
    - Fix windows implementation to remove fd from poll set
  - PSM3
    - Add missing files to release tarball
  - Util
    - Handle NULL address insertion to fi_av_insert
- Drop prov-rxm-Disable-128-bit-atomics.patch which was merged upstream

OBS-URL: https://build.opensuse.org/request/show/1012023
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=79
This commit is contained in:
Nicolas Morey-Chaisemartin 2022-10-17 08:21:22 +00:00 committed by Git OBS Bridge
parent f1f52ea9c9
commit b4457cf5d3
8 changed files with 32 additions and 44 deletions

View File

@ -8,7 +8,7 @@
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">fcf62e5b494b78be35ee884c48ad84663abef0f0</param>
<param name="revision">619d9b3c4082dcf872c611ef18458ced067c29d7</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">libfabric*.tar</param>

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 10 06:47:42 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Update to 1.16.1
- Core
- Fix windows implementation to remove fd from poll set
- PSM3
- Add missing files to release tarball
- Util
- Handle NULL address insertion to fi_av_insert
- Drop prov-rxm-Disable-128-bit-atomics.patch which was merged upstream
-------------------------------------------------------------------
Thu Oct 6 16:06:29 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

View File

@ -16,10 +16,10 @@
#
%define git_ver .0.fcf62e5b494b
%define git_ver .0.619d9b3c4082
Name: fabtests
Version: 1.16.0
Version: 1.16.1
Release: 0
Summary: Test suite for libfabric API
License: BSD-2-Clause OR GPL-2.0-only
@ -28,7 +28,6 @@ URL: http://www.github.com/ofiwg/libfabric
Source: libfabric-%{version}%{git_ver}.tar.bz2
Source1: fabtests-rpmlintrc
Patch0: libfabric-libtool.patch
Patch1: prov-rxm-Disable-128-bit-atomics.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libfabric-devel = %{version}
@ -41,7 +40,6 @@ Fabtests provides a set of examples that uses libfabric, a fabric software libra
%prep
%setup -q -n libfabric-%{version}%{git_ver}
%patch0 -p1
%patch1
%build
cd fabtests

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c89b4720d72d01a0488ca53a7b31ab95daab0bf4a47846a328343685afe617aa
size 2943718

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bab5c443ec19580c94e5ebd6543cd02d094e4b3930ba350156240bc48c97402c
size 2944448

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 10 06:47:42 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Update to 1.16.1
- Core
- Fix windows implementation to remove fd from poll set
- PSM3
- Add missing files to release tarball
- Util
- Handle NULL address insertion to fi_av_insert
- Drop prov-rxm-Disable-128-bit-atomics.patch which was merged upstream
-------------------------------------------------------------------
Thu Oct 6 16:06:29 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

View File

@ -17,10 +17,10 @@
#
%define git_ver .0.fcf62e5b494b
%define git_ver .0.619d9b3c4082
Name: libfabric
Version: 1.16.0
Version: 1.16.1
Release: 0
Summary: User-space RDMA Fabric Interfaces
License: BSD-2-Clause OR GPL-2.0-only
@ -28,7 +28,6 @@ Group: Development/Libraries/C and C++
Source: %{name}-%{version}%{git_ver}.tar.bz2
Source1: baselibs.conf
Patch0: libfabric-libtool.patch
Patch1: prov-rxm-Disable-128-bit-atomics.patch
URL: http://www.github.com/ofiwg/libfabric
BuildRequires: autoconf
BuildRequires: automake
@ -71,7 +70,6 @@ services, such as RDMA. This package contains the development files.
%prep
%setup -q -n %{name}-%{version}%{git_ver}
%patch0 -p1
%patch1
%build
rm -f config/libtool.m4

View File

@ -1,32 +0,0 @@
commit 740b5e9daa2319f7397797f2f17d8e56245fdce4
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Thu Oct 6 18:02:38 2022 +0200
prov/rxm: Disable 128-bit atomics
128-bit atomics fail (cause segfault) in release build of
provider. Cause is likely related to alignment. Fail
query calls for 128-bit integers to indicate support is not
provided.
https://github.com/ofiwg/libfabric/issues/7248
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
diff --git prov/rxm/src/rxm_atomic.c prov/rxm/src/rxm_atomic.c
index 28e29ade0dde..0f070b92f446 100644
--- prov/rxm/src/rxm_atomic.c
+++ prov/rxm/src/rxm_atomic.c
@@ -509,6 +509,12 @@ int rxm_ep_query_atomic(struct fid_domain *domain, enum fi_datatype datatype,
return -FI_EINVAL;
}
+ if ((datatype == FI_INT128) || (datatype == FI_UINT128)) {
+ FI_WARN(&rxm_prov, FI_LOG_EP_CTRL,
+ "128-bit integers not supported\n");
+ return -FI_EOPNOTSUPP;
+ }
+
ret = ofi_atomic_valid(&rxm_prov, datatype, op, flags);
if (ret || !attr)
return ret;