libfabric/fabtests.spec
Nicolas Morey-Chaisemartin deb2507db0 Accepting request 998810 from home:marxin:branches:science:HPC
- Add disable-flatten-attr.patch that drops flatten attribute.
  Note the flatten attribute results in huge compile time hog
  in inliner (same the binary size would be huge).
- Use %make_build and enable LTO (boo#1133235).
- Synchronize used Patches.

- Add disable-flatten-attr.patch that drops flatten attribute.
  Note the flatten attribute results in huge compile time hog
  in inliner (same the binary size would be huge).
- Use %make_build and enable LTO (boo#1133235).
- Synchronize used Patches.

OBS-URL: https://build.opensuse.org/request/show/998810
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=73
2022-08-23 12:14:10 +00:00

70 lines
1.8 KiB
RPMSpec

#
# spec file for package fabtests
#
# 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.abb0b891e97a
Name: fabtests
Version: 1.15.1
Release: 0
Summary: Test suite for libfabric API
License: BSD-2-Clause OR GPL-2.0-only
Group: Development/Tools/Other
URL: http://www.github.com/ofiwg/libfabric
Source: libfabric-%{version}%{git_ver}.tar.bz2
Source1: fabtests-rpmlintrc
Patch0: libfabric-libtool.patch
Patch1: prov-opx-Correctly-disable-OPX-if-unsupported.patch
Patch2: disable-flatten-attr.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libfabric-devel = %{version}
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Fabtests provides a set of examples that uses libfabric, a fabric software library.
%prep
%setup -q -n libfabric-%{version}%{git_ver}
%patch0 -p1
%patch1
%patch2 -p1
%build
cd fabtests
./autogen.sh
%configure %{?_with_libfabric}
%make_build
%install
%make_install -C fabtests
%files
%defattr(-,root,root)
%dir %{_datadir}/fabtests/
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man7/*
%{_datadir}/fabtests/*
%doc AUTHORS README NEWS.md
%license COPYING
%changelog