Fix the infiniband build requires.
This commit is contained in:
parent
3e94b266fa
commit
e7b7e927c3
18
papi.spec
18
papi.spec
@ -1,8 +1,14 @@
|
|||||||
%bcond_with bundled_libpfm
|
%bcond_with bundled_libpfm
|
||||||
|
# rdma is not available
|
||||||
|
%ifarch %{arm}
|
||||||
|
%{!?with_rdma: %global with_rdma 0}
|
||||||
|
%else
|
||||||
|
%{!?with_rdma: %global with_rdma 1}
|
||||||
|
%endif
|
||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
Name: papi
|
Name: papi
|
||||||
Version: 5.6.0
|
Version: 5.6.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
Requires: papi-libs = %{version}-%{release}
|
Requires: papi-libs = %{version}-%{release}
|
||||||
@ -22,9 +28,10 @@ BuildRequires: libpfm-static >= 4.6.0-1
|
|||||||
%endif
|
%endif
|
||||||
# Following required for net component
|
# Following required for net component
|
||||||
BuildRequires: net-tools
|
BuildRequires: net-tools
|
||||||
%ifnarch %{arm}
|
%if %{with_rdma}
|
||||||
# Following required for inifiband component
|
# Following required for inifiband component
|
||||||
BuildRequires: libibmad-devel
|
BuildRequires: rdma-core-devel
|
||||||
|
BuildRequires: infiniband-diags-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
#Right now libpfm does not know anything about s390 and will fail
|
#Right now libpfm does not know anything about s390 and will fail
|
||||||
@ -89,7 +96,7 @@ autoconf
|
|||||||
pushd components
|
pushd components
|
||||||
#pushd cuda; ./configure; popd
|
#pushd cuda; ./configure; popd
|
||||||
#pushd host_micpower; ./configure; popd
|
#pushd host_micpower; ./configure; popd
|
||||||
%ifnarch %{arm}
|
%if %{with_rdma}
|
||||||
pushd infiniband_umad; %configure; popd
|
pushd infiniband_umad; %configure; popd
|
||||||
%endif
|
%endif
|
||||||
pushd lmsensors; \
|
pushd lmsensors; \
|
||||||
@ -154,6 +161,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 21 2017 William Cohen <wcohen@redhat.com> - 5.6.0-2
|
||||||
|
- Correct infiniband buildrequires.
|
||||||
|
|
||||||
* Thu Dec 21 2017 William Cohen <wcohen@redhat.com> - 5.6.0-1
|
* Thu Dec 21 2017 William Cohen <wcohen@redhat.com> - 5.6.0-1
|
||||||
- Rebase to papi-5.6.0.
|
- Rebase to papi-5.6.0.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user