Dynamically link utilities and tests to papi libraries.

This commit is contained in:
William Cohen 2018-05-17 15:52:28 -04:00
parent 0d368b884a
commit c033ad4d7c
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@
Summary: Performance Application Programming Interface Summary: Performance Application Programming Interface
Name: papi Name: papi
Version: 5.6.0 Version: 5.6.0
Release: 5%{?dist} Release: 6%{?dist}
License: BSD License: BSD
Group: Development/System Group: Development/System
Requires: papi-libs = %{version}-%{release} Requires: papi-libs = %{version}-%{release}
@ -88,7 +88,7 @@ cd src
autoconf autoconf
%configure --with-perf-events \ %configure --with-perf-events \
%{?libpfm_config} \ %{?libpfm_config} \
--with-static-lib=yes --with-shared-lib=yes --with-shlib \ --with-static-lib=yes --with-shared-lib=yes --with-shlib --with-shlib-tools \
--with-components="appio coretemp example infiniband lmsensors lustre micpower mx net rapl stealtime" --with-components="appio coretemp example infiniband lmsensors lustre micpower mx net rapl stealtime"
# implicit enabled components: perf_event perf_event_uncore # implicit enabled components: perf_event perf_event_uncore
#components currently left out because of build configure/build issues #components currently left out because of build configure/build issues
@ -159,6 +159,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so*
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Thu May 17 2018 William Cohen <wcohen@redhat.com> - 5.6.0-6
- Dynamically link utilities and tests to papi libraries.
* Mon Apr 30 2018 William Cohen <wcohen@redhat.com> - 5.6.0-5 * Mon Apr 30 2018 William Cohen <wcohen@redhat.com> - 5.6.0-5
- Include various LDFLAGS/CFLAGS. - Include various LDFLAGS/CFLAGS.