forked from pool/libfabric
- Update to 1.16.0 (jsc#PED-351, jsc#PED-190) - Core - Added HMEM IPC cache - Use exact string comparison checks for network interfaces - Restructuring of poll/epoll abstraction - Add ability to disable locks completely in debug builds - Serialize access to modifying the logging calls - Minor fixes to fi_tostr text formatting - Add hmem interface checks to memory registration - EFA - Added support of Synapse AI memory. - Improved error message - Net - Temporarily forked, optimized version of tcp provider - Focused on improved performance and scalability over tcp sockets - Fork ensures tcp provider stability while net provider is developed - Shares the tcp provider protocol and base implementation for msg endpoints - Integrates direct support for rdm endpoints, using a derivative from rxm - Implements own protocol for rdm endpoints, separate from rxm;tcp - OPX - Added initial support for SDMA - General performance enhancements - Performance improvements to reliability protocol - Improved deferred work pending complete - Added support for OPX_AV=runtime - Support iov memory registration ops - Added DAOS RPC support - Atomic ops enhancements - Improved documentation - Debug build enhancements - Fixed compiler warnings - Reduced time to compile prov/opx code - General bug fixes - Fixed PSN wrapping scaling - Added intranode fence - Addressed bugs discovered by coverity scan - PSM2 - Fix sending CQ data in some instances of fi_tsendmsg - PSM3 - Updated to match Intel Ethernet Fabric Suite (IEFS) 11.3 release - RxM - Update to read multiple completions at once from msg provider - Move RxM AV implementation to util code to share with net provider - Minor code cleanups - SHM - Implement and use ipc_cache - Add log messages for debugging and error tracking - Fix check for FI_MR_HMEM mr_mode - Move shm signal handlers initialization to EP - Added log messages for errors detected - TCP - Fix incorrect signaling of the CQ - Increase max number of poll events to retrieve - Acquire ep lock prior to flushing socket in shutdown - Verify ep state prior to progressing socket data - Read cm error data when receiving connreq response - Log error on connect failure - Fix assertion failure in CQ progress function - Util - Fix text in log of UFFD ioctl failure - Introduce cuda ipc monitor - Fix CQ memory leak handling overflow - Fix MR mode bit check for ver 1.5 and greater - Add max_array_size to track/check array overflow - Always progress transfers when reading from a CQ - Handle NULL address insertion - Try IPv4 before IPv6 addresses when starting name server - Fix IP util av default address length - Fix util IP getinfo path to read hints->addr_format - Fix debug print mismatch - Fix return code when memory allocation fails. - Fix build sign warning in ofi_bufpool_region_alloc - Minor code cleanups - Print warning if an addr is inserted into an AV again - Verbs - Fix support of FI_SOCKADDR_IB when requested by the application - Ensure all posted receives are flushed to the application - Update ofi_mr_cache_search API for hmem IPC support - Reduce logging verbosity for "no active ports" - Fix incorrect length used in memory registration - Various minor bug fixes for test failures - Fix a memory leak getting IB address - Implement verbs provider on Windows over NetworkDirect API - Set and check address format correctly - Only close qp if it was initialized - Portable detection of loopback device - Fabtests - multi_ep: Separate EP resources and fix MR registration - multi_recv: Fix possible crash and check for valid buffer - unexpected_msg: Fix printf compiler warning - dgram_pingpong.c: Use out-of-band sync - multinode: Make multinode tests platform agnostic, fix formatting - ubertest: Fix string comparison to include length, fix writedata completion check - av_test: add support for -e <ep_type> - New tests: - dmabuf-rdma: Component level test for dma-buf RDMA - sock_test: Component level performance test of poll, epoll, and select - rdm_stress: Multi-threaded, multi-process stress test for RDM endpoints - sighandler_test: Regression test for signal handler restoration - Drop patches fixed upstream: - prov-opx-Correctly-disable-OPX-if-unsupported.patch - disable-flatten-attr.patch OBS-URL: https://build.opensuse.org/request/show/1007631 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=75
142 lines
3.8 KiB
RPMSpec
142 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package libfabric
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
#
|
|
%define git_ver .0.fcf62e5b494b
|
|
|
|
Name: libfabric
|
|
Version: 1.16.0
|
|
Release: 0
|
|
Summary: User-space RDMA Fabric Interfaces
|
|
License: BSD-2-Clause OR GPL-2.0-only
|
|
Group: Development/Libraries/C and C++
|
|
Source: %{name}-%{version}%{git_ver}.tar.bz2
|
|
Source1: baselibs.conf
|
|
Patch0: libfabric-libtool.patch
|
|
URL: http://www.github.com/ofiwg/libfabric
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libibverbs-devel
|
|
BuildRequires: libnl3-devel
|
|
%ifarch x86_64
|
|
BuildRequires: libnuma-devel
|
|
BuildRequires: libpsm2-devel
|
|
%endif
|
|
%ifarch x86_64 %{ix86}
|
|
BuildRequires: infinipath-psm-devel
|
|
%endif
|
|
BuildRequires: fdupes
|
|
BuildRequires: librdmacm-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
%define lib_major 1
|
|
|
|
%description
|
|
libfabric provides a user-space API to access high-performance fabric
|
|
services, such as RDMA. This package only contains the fi_info binary.
|
|
|
|
%package -n libfabric%{lib_major}
|
|
Summary: User-space RDMA fabric interfaces
|
|
Group: System/Libraries
|
|
|
|
%description -n libfabric%{lib_major}
|
|
libfabric provides a user-space API to access high-performance fabric
|
|
services, such as RDMA. This package contains the runtime library.
|
|
|
|
%package devel
|
|
Summary: Development files for the libfabric library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libfabric%{lib_major} = %{version}
|
|
|
|
%description devel
|
|
libfabric provides a user-space API to access high-performance fabric
|
|
services, such as RDMA. This package contains the development files.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}%{git_ver}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
rm -f config/libtool.m4
|
|
autoreconf -fi
|
|
# defaults: with-dlopen and without-valgrind can be over-rode:
|
|
%configure %{?_without_dlopen} %{?_with_valgrind} \
|
|
--enable-sockets --enable-verbs --enable-usnic \
|
|
%ifarch x86_64 %{ix86}
|
|
--enable-psm \
|
|
%endif
|
|
%ifarch x86_64
|
|
--enable-psm2 \
|
|
--enable-psm3 \
|
|
%endif
|
|
--disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# remove unpackaged files from the buildroot
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
%fdupes %{buildroot}/%{_prefix}
|
|
|
|
%post -n libfabric%{lib_major} -p /sbin/ldconfig
|
|
%postun -n libfabric%{lib_major} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
%doc NEWS.md
|
|
%license COPYING
|
|
|
|
%files -n libfabric%{lib_major}
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/%{name}.so.%{lib_major}*
|
|
%doc AUTHORS README
|
|
%license COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/%{name}.so
|
|
%dir %{_includedir}/rdma
|
|
%{_includedir}/rdma/fabric.h
|
|
%{_includedir}/rdma/fi_atomic.h
|
|
%{_includedir}/rdma/fi_cm.h
|
|
%{_includedir}/rdma/fi_collective.h
|
|
%{_includedir}/rdma/fi_domain.h
|
|
%{_includedir}/rdma/fi_endpoint.h
|
|
%{_includedir}/rdma/fi_eq.h
|
|
%{_includedir}/rdma/fi_errno.h
|
|
%{_includedir}/rdma/fi_ext.h
|
|
%{_includedir}/rdma/fi_rma.h
|
|
%{_includedir}/rdma/fi_tagged.h
|
|
%{_includedir}/rdma/fi_trigger.h
|
|
%dir %{_includedir}/rdma/providers
|
|
%{_includedir}/rdma/providers/fi_log.h
|
|
%{_includedir}/rdma/providers/fi_prov.h
|
|
%{_includedir}/rdma/fi_ext_usnic.h
|
|
%ifarch x86_64
|
|
%{_includedir}/rdma/fi_ext_psm2.h
|
|
%endif
|
|
%{_mandir}/man3/*
|
|
%{_mandir}/man7/*
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%changelog
|