[opensuse-factory] resurrect libpfm (openSUSE:Dropped)
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES). Partly this was driven by wanting to fix the PAPI packaging in SLES, also by a recent sr (that I rejected) to add papi-devel to oprofile (for Factory/ppc64). Oprofile 0.9.8 (for powerpc) requires libpfm. Currently this library is side-effect provided by papi, which contains it's own internal copy of libpfm (which isn't well versioned). I'd also like to follow Fedora and have papi depend on this external version of libpfm rather than it's internal version. I'm not certain it needs to be build-time switchable as it is in Fedora? The old dropped version of libpfm was using group Development/Tools/Debuggers. I'm thinking Development/Libraries/C and C++ (and Development/Libraries/Python for the swig bindings) makes more sense. Code changes are staged here: http://build.opensuse.org/project/show?project=home%3Ajones_tony%3Aoprofile_... Thanks! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 2013-01-03 22:44, Tony Jones wrote:
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES). http://build.opensuse.org/project/show?project=home%3Ajones_tony%3Aoprofile_...
created request id 146944 And you might want to get rid of %define python_sitearch %(python... %define python_prefix %(python... since they should already be defined by way of /etc/rpm/macros.python. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jan 04, 2013 at 09:28:37AM +0100, Jan Engelhardt wrote:
On Thursday 2013-01-03 22:44, Tony Jones wrote:
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES). http://build.opensuse.org/project/show?project=home%3Ajones_tony%3Aoprofile_...
created request id 146944
And you might want to get rid of
%define python_sitearch %(python... %define python_prefix %(python...
since they should already be defined by way of /etc/rpm/macros.python.
Maybe not for older products? That's why we use %{!?python_sitearch: ... in the talloc spec file for example. The project is network:samba:STABLE Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Friday 2013-01-04 09:46, Lars Müller wrote:
On Fri, Jan 04, 2013 at 09:28:37AM +0100, Jan Engelhardt wrote:
On Thursday 2013-01-03 22:44, Tony Jones wrote:
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES). http://build.opensuse.org/project/show?project=home%3Ajones_tony%3Aoprofile_...
created request id 146944
And you might want to get rid of
%define python_sitearch %(python... %define python_prefix %(python...
since they should already be defined by way of /etc/rpm/macros.python.
Maybe not for older products? That's why we use
%{!?python_sitearch: ...
Well, libpfm does not use %{!? and is only built for factory, so there was easy conclusion old products don't matter - also because Tony said that the current libpfm no longer supports a mechanism in SLES. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 01/04/2013 01:36 AM, Jan Engelhardt wrote:
On Friday 2013-01-04 09:46, Lars Müller wrote:
On Fri, Jan 04, 2013 at 09:28:37AM +0100, Jan Engelhardt wrote:
On Thursday 2013-01-03 22:44, Tony Jones wrote:
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES). http://build.opensuse.org/project/show?project=home%3Ajones_tony%3Aoprofile_...
created request id 146944
And you might want to get rid of
%define python_sitearch %(python... %define python_prefix %(python...
since they should already be defined by way of /etc/rpm/macros.python.
Maybe not for older products? That's why we use
%{!?python_sitearch: ...
Well, libpfm does not use %{!? and is only built for factory, so there was easy conclusion old products don't matter - also because Tony said that the current libpfm no longer supports a mechanism in SLES.
Above changes made. Submitted to devel:libraries:c_c++ as sr 147587 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 01/04/2013 12:28 AM, Jan Engelhardt wrote:
On Thursday 2013-01-03 22:44, Tony Jones wrote:
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES). http://build.opensuse.org/project/show?project=home%3Ajones_tony%3Aoprofile_...
created request id 146944
Thanks for the changes. I'll accept them in a bit. I wasn't done tidying things up when I posted. AJ's Lizards blog asks for new package submissions to be discussed on this list. I was aware of the static libs, wasn't sure what to do since the project goal is to have less, not more static. PAPI benefits from a static libpfm as it packages a static libpapi. That said, I'm not really sure why it does as I can't see the benefit of a static libpapi. I was of the opinion this was probably a papi packaging error.
And you might want to get rid of
%define python_sitearch %(python... %define python_prefix %(python...
since they should already be defined by way of /etc/rpm/macros.python.
Will do. Thanks, There is no need (I can see) to support older releases with this. Tony -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Tony Jones (tonyj@suse.de) [20130104 19:42]:
I was aware of the static libs, wasn't sure what to do since the project goal is to have less, not more static. PAPI benefits from a static libpfm as it packages a static libpapi. That said, I'm not really sure why it does as I can't see the benefit of a static libpapi. I was of the opinion this was probably a papi packaging error.
The static version of papi and thus libpfm is needed to get wide spread use in the HPC community which preferes static binaries for performance reasons.
Will do. Thanks, There is no need (I can see) to support older releases with this.
They would only be needed if you want to have mostly identical packages in SLES and openSUSE. Philipp -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 03.01.2013 22:44 schrieb "Tony Jones"
I'd like to resurrect libpfm for openSUSE. Current version is 4.3.0 which supports perf_events only. Old dropped version was 3.52 (and included support for the perfmon2.X which now only exists in SLES).
I think this makes sense. I can help reviewing your SRs. Fedora probably did make the whole thing as a buildconditional only to support older / other distribution configurations. I have no opinion on whether we will need this conditional or not though. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Dirk Müller
-
Jan Engelhardt
-
Lars Müller
-
Philipp Thomas
-
Tony Jones