Blame SPECS/ucx.spec

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