[papi] Rebase to papi-4.2.0.
William Eden Cohen
wcohen at fedoraproject.org
Thu Oct 27 13:59:52 UTC 2011
commit 4efed0a44b93bcee08ab5ed885fb09facd1a206e
Author: William Cohen <wcohen at redhat.com>
Date: Thu Oct 27 09:57:26 2011 -0400
Rebase to papi-4.2.0.
.gitignore | 1 +
papi.spec | 28 ++++++++++++++++++++++++----
sources | 2 +-
3 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 237d079..3e9dd73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ papi-4.1.0.tar.gz
/papi-4.1.1.tar.gz
/papi-4.1.2.1.tar.gz
/papi-4.1.3.tar.gz
+/papi-4.2.0.tar.gz
diff --git a/papi.spec b/papi.spec
index da69897..49952d5 100644
--- a/papi.spec
+++ b/papi.spec
@@ -1,7 +1,7 @@
Summary: Performance Application Programming Interface
Name: papi
-Version: 4.1.3
-Release: 3%{?dist}
+Version: 4.2.0
+Release: 1%{?dist}
License: BSD
Group: Development/System
URL: http://icl.cs.utk.edu/papi/
@@ -11,6 +11,10 @@ BuildRequires: ncurses-devel
BuildRequires: gcc-gfortran
BuildRequires: kernel-headers >= 2.6.32
BuildRequires: chrpath
+# Following required for net component
+BuildRequires: net-tools
+# Following required for inifiband component
+BuildRequires: libibmad-devel
#Right now libpfm does not know anything about s390 and will fail
ExcludeArch: s390 s390x
@@ -40,7 +44,20 @@ the PAPI userspace libraries and interfaces.
%build
cd src
-%configure --with-static-lib=no --with-shared-lib=yes --with-shlib
+%configure --with-libpfm4 \
+--with-static-lib=yes --with-shared-lib=yes --with-shlib \
+--with-components="acpi coretemp example net"
+#components currently left out because of build configure/build issues
+#--with-components="cuda infiniband lmsensors lustre mx"
+
+pushd components
+#pushd cuda; ./configure; popd
+pushd infiniband; ./configure; popd
+#pushd lmsensors; ./configure; popd
+#pushd mx; ./configure ; popd
+pushd net; ./configure; popd
+popd
+
#DBG workaround to make sure libpfm just uses the normal CFLAGS
DBG="" make
@@ -70,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
-%{_includedir}/perfmon
+%{_includedir}/perfmon/*.h
%{_libdir}/*.so
%doc %{_mandir}/man3/*
%doc %{_mandir}/man1/*
@@ -80,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%changelog
+* Thu Oct 27 2011 William Cohen <wcohen at redhat.com> - 4.2.0-1
+- Rebase to papi-4.2.0.
+
* Fri Aug 12 2011 William Cohen <wcohen at redhat.com> - 4.1.3-3
- Provide papi-static.
diff --git a/sources b/sources
index 68079cf..cf4db81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14975be670ba7234470569807b84ada9 papi-4.1.3.tar.gz
+ca5f85fd2474c11bc847a6c784ca2668 papi-4.2.0.tar.gz
More information about the scm-commits
mailing list