ucx/ucx.spec

96 lines
2.6 KiB
RPMSpec
Raw Normal View History

2018-01-15 09:24:20 +00:00
%{!?configure_options: %global configure_options %{nil}}
Name: ucx
2018-11-01 12:19:16 +00:00
Version: 1.4.0
Release: 2%{?dist}
2018-08-23 11:36:10 +00:00
Summary: UCX is a communication library implementing high-performance messaging
2018-01-15 09:24:20 +00:00
License: BSD
URL: http://www.openucx.org
Source: https://github.com/openucx/%{name}/releases/download/v%{version}/ucx-%{version}.tar.gz
2018-01-15 09:24:20 +00:00
# UCX currently supports only the following architectures
ExclusiveArch: aarch64 ppc64le x86_64
BuildRequires: numactl-devel libibverbs-devel
2018-08-23 11:36:10 +00:00
BuildRequires: automake autoconf libtool gcc-c++
2018-01-15 09:24:20 +00:00
%description
UCX stands for Unified Communication X. It requires either RDMA-capable device
(InfiniBand, RoCE, etc), Cray Gemini or Aries, for inter-node communication.
Future versions will support also TCP for inter-node, to lift that hardware
dependency.
In addition, the library can be used for intra-node communication by leveraging
2018-08-23 11:36:10 +00:00
the following shared memory mechanisms: posix. sysv, cma, knem, xpmem.
2018-01-15 09:24:20 +00:00
%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Header files required to develop with UCX
%package static
Requires: %{name}-devel = %{version}-%{release}
Summary: Static libraries required to develop with UCX
%description devel
Provides header files and examples for developing with UCX.
%description static
Provides static libraries required for development with UCX.
%prep
%setup -q
%build
%configure --disable-optimizations \
--disable-logging \
--disable-debug \
--disable-assertions \
--disable-params-check \
%{?configure_options}
2018-08-23 11:36:10 +00:00
make %{?_smp_mflags} V=1
2018-01-15 09:24:20 +00:00
%install
2018-08-23 11:36:10 +00:00
make DESTDIR=%{buildroot} install
2018-01-15 09:24:20 +00:00
rm -f %{buildroot}%{_libdir}/*.la
%files
%{_libdir}/lib*.so.*
%{_bindir}/uc*
2018-08-23 11:36:10 +00:00
%{_datadir}/ucx
%exclude %{_datadir}/ucx/examples
%doc README AUTHORS NEWS
2018-01-15 09:24:20 +00:00
%license LICENSE
%files devel
%{_includedir}/uc*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/ucx.pc
2018-08-23 11:36:10 +00:00
%{_datadir}/ucx/examples
2018-01-15 09:24:20 +00:00
%files static
%{_libdir}/lib*.a
%ldconfig_scriptlets
2018-01-15 09:24:20 +00:00
%changelog
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Nov 1 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.4.0-1
- Update to 1.4.0
* Mon Aug 20 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.3.1-1
- See NEWS for details
2018-08-23 11:36:10 +00:00
* Thu Aug 16 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.3.0-1
- Explicitly set gcc-c++ as requirements
2018-08-23 11:36:10 +00:00
* Wed Mar 7 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.3.0-1
- See NEWS for details
2018-01-15 09:24:20 +00:00
* Mon Aug 21 2017 Andrey Maslennikov <andreyma@mellanox.com> 1.2.1-1
- Spec file now complies with Fedora guidelines
2018-01-15 09:24:20 +00:00
* Mon Jul 3 2017 Andrey Maslennikov <andreyma@mellanox.com> 1.2.0-1
- Fedora package created