Blame SPECS/ucx.spec

46df6b
%{!?configure_options: %global configure_options %{nil}}
46df6b
46df6b
Name: ucx
fe6164
Version: 1.5.2
46df6b
Release: 1%{?dist}
46df6b
Summary: UCX is a communication library implementing high-performance messaging
46df6b
Group: System Environment/Libraries
46df6b
46df6b
License: BSD
46df6b
URL: http://www.openucx.org
fe6164
Source: https://github.com/openucx/%{name}/releases/download/v1.5.2/ucx-1.5.2.tar.gz
46df6b
46df6b
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
46df6b
46df6b
# UCX currently supports only the following architectures
46df6b
ExclusiveArch: aarch64 ppc64le x86_64
46df6b
46df6b
BuildRequires: numactl-devel libibverbs-devel
46df6b
BuildRequires: automake autoconf libtool gcc-c++
46df6b
46df6b
%description
fe6164
UCX stands for Unified Communication X. UCX provides an optimized communication
fe6164
layer for Message Passing (MPI), PGAS/OpenSHMEM libraries and RPC/data-centric
fe6164
applications. UCX utilizes high-speed networks, such as RDMA (InfiniBand, RoCE,
fe6164
etc), Cray Gemini or Aries, for inter-node communication. If no such network is
fe6164
available, TCP is used instead. UCX supports efficient transfer of data in
fe6164
either main memory (RAM) or GPU memory (through CUDA and ROCm libraries).
fe6164
In addition, UCX provides efficient intra-node communication, by leveraging the
fe6164
following shared memory mechanisms: posix, sysv, cma, knem, and xpmem.
46df6b
46df6b
%package devel
46df6b
Requires: %{name}%{?_isa} = %{version}-%{release}
46df6b
Summary: Header files required to develop with UCX
46df6b
Group: Development/Libraries
46df6b
46df6b
%package static
46df6b
Requires: %{name}-devel = %{version}-%{release}
46df6b
Summary: Static libraries required to develop with UCX
46df6b
Group: Development/Libraries
46df6b
46df6b
%description devel
46df6b
Provides header files and examples for developing with UCX.
46df6b
46df6b
%description static
46df6b
Provides static libraries required for development with UCX.
46df6b
46df6b
%prep
46df6b
%setup -q
46df6b
46df6b
%build
46df6b
%configure --disable-optimizations \
46df6b
           --disable-logging \
46df6b
           --disable-debug \
46df6b
           --disable-assertions \
46df6b
           --disable-params-check \
46df6b
           %{?configure_options}
46df6b
make %{?_smp_mflags} V=1
46df6b
46df6b
%install
46df6b
make DESTDIR=%{buildroot} install
46df6b
rm -f %{buildroot}%{_libdir}/*.la
46df6b
46df6b
%files
46df6b
%{_libdir}/lib*.so.*
46df6b
%{_bindir}/uc*
46df6b
%{_datadir}/ucx
46df6b
%exclude %{_datadir}/ucx/examples
46df6b
%doc README AUTHORS NEWS
46df6b
%{!?_licensedir:%global license %%doc}
46df6b
%license LICENSE
46df6b
46df6b
%files devel
46df6b
%{_includedir}/uc*
46df6b
%{_libdir}/lib*.so
46df6b
%{_libdir}/pkgconfig/ucx.pc
46df6b
%{_datadir}/ucx/examples
46df6b
46df6b
%files static
46df6b
%{_libdir}/lib*.a
46df6b
46df6b
%post -p /sbin/ldconfig
46df6b
%postun -p /sbin/ldconfig
46df6b
46df6b
%changelog
fe6164
* Tue Jun 04 2019 Yossi Itigin <yosefe@mellanox.com> 1.5.2-1
fe6164
- Bump version to 1.5.2
fe6164
- See NEWS for details
fe6164
* Sat Mar 23 2019 Yossi Itigin <yosefe@mellanox.com> 1.5.1-1
fe6164
- Bump version to 1.5.1
fe6164
- See NEWS for details
fe6164
* Tue Nov 6 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.5.0-1
fe6164
- Bump version to 1.5.0
fe6164
- See NEWS for details
fe6164
* Tue Oct 30 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.4.0-1
fe6164
- See NEWS for details
fe6164
* Mon Aug 20 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.3.1-1
fe6164
- See NEWS for details
46df6b
* Thu Aug 16 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.3.0-1
46df6b
- Explicitly set gcc-c++ as requirements
46df6b
* Wed Mar 7 2018 Andrey Maslennikov <andreyma@mellanox.com> 1.3.0-1
46df6b
- See NEWS for details
46df6b
* Mon Aug 21 2017 Andrey Maslennikov <andreyma@mellanox.com> 1.2.1-1
46df6b
- Spec file now complies with Fedora guidelines
46df6b
* Mon Jul 3 2017 Andrey Maslennikov <andreyma@mellanox.com> 1.2.0-1
46df6b
- Fedora package created