Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e3e63e6c5d | |||
| 0126fd1c5d | |||
| d26a633f41 | |||
| 9a5d4c4920 | |||
| 7beeb412d4 | |||
| 06e3a36f3b | |||
| afea9f298b |
@@ -1,4 +0,0 @@
|
|||||||
<multibuild>
|
|
||||||
<package>standard</package>
|
|
||||||
<package>hpc</package>
|
|
||||||
</multibuild>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:950d0e997e9e908f58c103efd54983e905b6cffa75ef52ed8fdd1ab441977bb6
|
|
||||||
size 34744320
|
|
||||||
BIN
papi-7.2.0.tar.gz
LFS
Normal file
BIN
papi-7.2.0.tar.gz
LFS
Normal file
Binary file not shown.
219
papi.changes
219
papi.changes
@@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 7 17:42:58 UTC 2025 - Tony Jones <tonyj@suse.com>
|
||||||
|
|
||||||
|
- Update from beta to full release version 7.2.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 21 18:56:16 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Remove BuildRoot directive
|
||||||
|
- Remove python3.patch and replaced with build time sed
|
||||||
|
- Initial support for RISC-V architecture
|
||||||
|
|
||||||
|
- Update to version 7.2.0b2:
|
||||||
|
* This release introduces improvements to the rocp_sdk component,
|
||||||
|
which supports AMD GPUs/APUs through the ROCprofiler-SDK
|
||||||
|
interface, currently still under development and testing.
|
||||||
|
* The release also includes general improvements to the PAPI
|
||||||
|
code, enhancing both design and functionality, as well as
|
||||||
|
various bug fixes.
|
||||||
|
|
||||||
|
- Update to version 7.2.0b1:
|
||||||
|
* Basic support for the RISC-V architecture (no events yet)
|
||||||
|
* This release introduces a new component, rocp_sdk, which
|
||||||
|
supports AMD GPUs/APUs through the ROCprofiler-SDK interface,
|
||||||
|
currently still under development and testing.
|
||||||
|
* The release also includes general improvements to the PAPI
|
||||||
|
code, enhancing both design and functionality, as well as
|
||||||
|
various bug fixes.
|
||||||
|
* Full changelog at
|
||||||
|
https://github.com/icl-utk-edu/papi/releases/tag/papi-7-2-0b1-t
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 24 13:16:43 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
|
||||||
|
|
||||||
|
- Disable and remove support for gnu-hpc build flavours (bsc#1239982)
|
||||||
|
- Redownload papi-7.1.0.tar.gz as it was not actually gzipped
|
||||||
|
and triggered and OBS error when running download_files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 23 18:52:36 UTC 2024 - Tony Jones <tonyj@suse.com>
|
Tue Jan 23 18:52:36 UTC 2024 - Tony Jones <tonyj@suse.com>
|
||||||
|
|
||||||
@@ -23,15 +61,15 @@ Tue Jan 17 18:19:14 UTC 2023 - Tony Jones <tonyj@suse.com>
|
|||||||
- See https://icl.utk.edu/papi/news/news.html?id=384 for more detail on the following major
|
- See https://icl.utk.edu/papi/news/news.html?id=384 for more detail on the following major
|
||||||
changes in this release.
|
changes in this release.
|
||||||
|
|
||||||
* A new "intel_gpu" component with monitoring capabilities support for Intel GPUs (including
|
* A new "intel_gpu" component with monitoring capabilities support for Intel GPUs (including
|
||||||
GPU hardware events and memory performance metrics.
|
GPU hardware events and memory performance metrics.
|
||||||
|
|
||||||
* A new "sysdetect" component for detecting a machine's architectural details.
|
* A new "sysdetect" component for detecting a machine's architectural details.
|
||||||
|
|
||||||
* A major redesign of the "rocm" component for advanced monitoring features for the latest AMD
|
* A major redesign of the "rocm" component for advanced monitoring features for the latest AMD
|
||||||
GPUs.
|
GPUs.
|
||||||
|
|
||||||
* Support for NVIDIA compute capability 7.0 and greater.
|
* Support for NVIDIA compute capability 7.0 and greater.
|
||||||
|
|
||||||
* A significant redesign of the "sde" component into two separate entities
|
* A significant redesign of the "sde" component into two separate entities
|
||||||
|
|
||||||
@@ -60,46 +98,46 @@ Wed Mar 4 18:55:04 UTC 2020 - Tony Jones <tonyj@suse.com>
|
|||||||
- Update to PAPI v6.0
|
- Update to PAPI v6.0
|
||||||
- Major Changes:
|
- Major Changes:
|
||||||
* Added the rocm component to support performance counters on AMD GPUs.
|
* Added the rocm component to support performance counters on AMD GPUs.
|
||||||
* Added the rocm_smi component; SMI is System Management Interface to
|
* Added the rocm_smi component; SMI is System Management Interface to
|
||||||
monitor power usage on AMD GPUs, which is also writeable by the user,
|
monitor power usage on AMD GPUs, which is also writeable by the user,
|
||||||
e.g. to reduce power consumption on non-critical operations.
|
e.g. to reduce power consumption on non-critical operations.
|
||||||
* Added 'io' component to expose I/O statistics exported by the Linux
|
* Added 'io' component to expose I/O statistics exported by the Linux
|
||||||
kernel (/proc/self/io).
|
kernel (/proc/self/io).
|
||||||
* Added 'SDE' component, Software Defined Events, which allows HPC software
|
* Added 'SDE' component, Software Defined Events, which allows HPC software
|
||||||
layers to expose internal performance-critical behavior via Software
|
layers to expose internal performance-critical behavior via Software
|
||||||
Defined Events (SDEs) through the PAPI interface.
|
Defined Events (SDEs) through the PAPI interface.
|
||||||
* Added 'SDE API' to register performance-critical events that originate
|
* Added 'SDE API' to register performance-critical events that originate
|
||||||
from HPC software layers, and which are recognized as 'PAPI counters'
|
from HPC software layers, and which are recognized as 'PAPI counters'
|
||||||
and, thus, can be monitored with the standard PAPI interface.
|
and, thus, can be monitored with the standard PAPI interface.
|
||||||
* Added powercap_ppc component to support monitoring and capping of power
|
* Added powercap_ppc component to support monitoring and capping of power
|
||||||
usage on IBM PowerPC architectures (Power9 and later) using the powercap
|
usage on IBM PowerPC architectures (Power9 and later) using the powercap
|
||||||
interface exposed through the Linux kernel.
|
interface exposed through the Linux kernel.
|
||||||
* Added 'sensors_ppc' component to support monitoring of system metrics on
|
* Added 'sensors_ppc' component to support monitoring of system metrics on
|
||||||
IBM PowerPC architectures (Power9 and later) using the opal/exports sysfs
|
IBM PowerPC architectures (Power9 and later) using the opal/exports sysfs
|
||||||
interface.
|
interface.
|
||||||
* Retired infiniband_umad component, it is superseded by infiniband.
|
* Retired infiniband_umad component, it is superseded by infiniband.
|
||||||
* Revived PAPI's 'high-level API' to make it more intuitive and effective
|
* Revived PAPI's 'high-level API' to make it more intuitive and effective
|
||||||
for novice users and quick event reporting.
|
for novice users and quick event reporting.
|
||||||
* Added 'counter_analysis_toolkit' sub-directory (CAT): A tool to assist
|
* Added 'counter_analysis_toolkit' sub-directory (CAT): A tool to assist
|
||||||
with native performance counter disambiguation through micro-benchmarks,
|
with native performance counter disambiguation through micro-benchmarks,
|
||||||
which are used to probe different important aspects of modern CPUs, to
|
which are used to probe different important aspects of modern CPUs, to
|
||||||
aid the classification of native performance events.
|
aid the classification of native performance events.
|
||||||
* Other Changes include:
|
* Other Changes include:
|
||||||
* Standardized our environment variables and implemented a simplified,
|
* Standardized our environment variables and implemented a simplified,
|
||||||
unified approach for specifying libraries necessary for components, with
|
unified approach for specifying libraries necessary for components, with
|
||||||
overrides possible for special circumstances. Eliminated component level
|
overrides possible for special circumstances. Eliminated component level
|
||||||
'configure' requirements.
|
'configure' requirements.
|
||||||
* Corrected TLS issues (Thread Local Storage) and race conditions.
|
* Corrected TLS issues (Thread Local Storage) and race conditions.
|
||||||
* Several bug fixes, documentation fixes and enhancements, improvements to
|
* Several bug fixes, documentation fixes and enhancements, improvements to
|
||||||
README files for user instruction and code comments.
|
README files for user instruction and code comments.
|
||||||
|
|
||||||
- Other Changes:
|
- Other Changes:
|
||||||
* Standardized our environment variables and implemented a simplified,
|
* Standardized our environment variables and implemented a simplified,
|
||||||
unified approach for specifying libraries necessary for components, with
|
unified approach for specifying libraries necessary for components, with
|
||||||
overrides possible for special circumstances. Eliminated component level
|
overrides possible for special circumstances. Eliminated component level
|
||||||
'configure' requirements.
|
'configure' requirements.
|
||||||
* Corrected TLS issues (Thread Local Storage) and race conditions.
|
* Corrected TLS issues (Thread Local Storage) and race conditions.
|
||||||
* Several bug fixes, documentation fixes and enhancements, improvements to
|
* Several bug fixes, documentation fixes and enhancements, improvements to
|
||||||
README files for user instruction and code comments.
|
README files for user instruction and code comments.
|
||||||
|
|
||||||
- Drop patch: papi-fix-ldflags.patch (upstream)
|
- Drop patch: papi-fix-ldflags.patch (upstream)
|
||||||
@@ -113,13 +151,13 @@ Thu Nov 28 17:06:04 UTC 2019 - Egbert Eich <eich@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 10 13:46:44 UTC 2019 - Tony Jones <tonyj@suse.com>
|
Thu Oct 10 13:46:44 UTC 2019 - Tony Jones <tonyj@suse.com>
|
||||||
|
|
||||||
- Delete patch: papi-codecleanup.patch
|
- Delete patch: papi-codecleanup.patch
|
||||||
Patch has been present since first checkin but there is no indication
|
Patch has been present since first checkin but there is no indication
|
||||||
as to it's purpose, no bug reference and it is not needed for successful
|
as to it's purpose, no bug reference and it is not needed for successful
|
||||||
test run.
|
test run.
|
||||||
|
|
||||||
- Refresh patch: papi-fix-ldflags.patch
|
- Refresh patch: papi-fix-ldflags.patch
|
||||||
Add proper patch description. Contents pushed upstream.
|
Add proper patch description. Contents pushed upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 24 17:28:18 UTC 2019 - Martin Liška <mliska@suse.cz>
|
Wed Apr 24 17:28:18 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
@@ -132,20 +170,20 @@ Thu Apr 4 15:44:09 UTC 2019 - Christian Vögl <christian.voegl@suse.com>
|
|||||||
- Update to 5.7.0 (jsc#SLE-8562)
|
- Update to 5.7.0 (jsc#SLE-8562)
|
||||||
Major Changes:
|
Major Changes:
|
||||||
* Validation tests: A substantial effort to add validation tests to PAPI
|
* Validation tests: A substantial effort to add validation tests to PAPI
|
||||||
to check and detect problems in the definition of PAPI preset events.
|
to check and detect problems in the definition of PAPI preset events.
|
||||||
* Event testing: Thorough cleanup of code in the C and Fortran testing to
|
* Event testing: Thorough cleanup of code in the C and Fortran testing to
|
||||||
add processor support, cleanup output and make the testing behavior
|
add processor support, cleanup output and make the testing behavior
|
||||||
consistent.
|
consistent.
|
||||||
* CUDA component: Updated and rewritten to support CUPTI Metric API
|
* CUDA component: Updated and rewritten to support CUPTI Metric API
|
||||||
(combinations of basic events). This component now supports NVLink
|
(combinations of basic events). This component now supports NVLink
|
||||||
information through the Metric API. Updated testing for the component.
|
information through the Metric API. Updated testing for the component.
|
||||||
* NVML component: Updated to support power management limits and improved
|
* NVML component: Updated to support power management limits and improved
|
||||||
event names. Minor other bug fixes.
|
event names. Minor other bug fixes.
|
||||||
* RAPL component: Added support for: Intel Atom models Goldmont / Gemini_Lake
|
* RAPL component: Added support for: Intel Atom models Goldmont / Gemini_Lake
|
||||||
/ Denverton, Skylake-X / Kabylake
|
/ Denverton, Skylake-X / Kabylake
|
||||||
* PAPI preset events: Many updates to the PAPI preset event mappings;
|
* PAPI preset events: Many updates to the PAPI preset event mappings;
|
||||||
Skylake X support, initial AMD fam17h, fix AMD fam16h, added
|
Skylake X support, initial AMD fam17h, fix AMD fam16h, added
|
||||||
more Power8 events, initial Power9 events.
|
more Power8 events, initial Power9 events.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 18 17:07:43 UTC 2019 - Egbert Eich <eich@suse.com>
|
Mon Feb 18 17:07:43 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||||
@@ -283,7 +321,7 @@ Thu Sep 15 07:47:31 CEST 2016 - pth@suse.de
|
|||||||
sampling interface (e.g. Maxwell).
|
sampling interface (e.g. Maxwell).
|
||||||
* ARM Cortex A53 support: Event definitions added.
|
* ARM Cortex A53 support: Event definitions added.
|
||||||
|
|
||||||
New Component:
|
New Component:
|
||||||
* Powercap component: PAPI now supports the Linux Power Capping
|
* Powercap component: PAPI now supports the Linux Power Capping
|
||||||
Framework which exposes power capping devices and power measurement
|
Framework which exposes power capping devices and power measurement
|
||||||
to user space via a sysfs virtual file system interface.
|
to user space via a sysfs virtual file system interface.
|
||||||
@@ -320,7 +358,7 @@ Thu Sep 15 07:47:31 CEST 2016 - pth@suse.de
|
|||||||
* Clean build rules for CUDA sampling subcomponent.
|
* Clean build rules for CUDA sampling subcomponent.
|
||||||
* Correct IBM Power7 and Power8 computation of PAPI_L1_DCA.
|
* Correct IBM Power7 and Power8 computation of PAPI_L1_DCA.
|
||||||
* Eliminate the sole use of ftests_skip subroutine.
|
* Eliminate the sole use of ftests_skip subroutine.
|
||||||
* Correct the event string names for tenth.c.
|
* Correct the event string names for tenth.c.
|
||||||
* Have Fortran test support code report errors more clearly.
|
* Have Fortran test support code report errors more clearly.
|
||||||
* Cleanup output from libmsr component.
|
* Cleanup output from libmsr component.
|
||||||
* PAPI internal functions were marked as static to avoid exposing them
|
* PAPI internal functions were marked as static to avoid exposing them
|
||||||
@@ -338,7 +376,7 @@ Wed Mar 4 18:45:26 UTC 2015 - mpluskal@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 4 16:28:20 UTC 2015 - mgorse@suse.com
|
Wed Mar 4 16:28:20 UTC 2015 - mgorse@suse.com
|
||||||
|
|
||||||
- fix typo in excludearch statement
|
- fix typo in excludearch statement
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 4 13:38:58 UTC 2015 - mpluskal@suse.com
|
Wed Mar 4 13:38:58 UTC 2015 - mpluskal@suse.com
|
||||||
@@ -350,16 +388,16 @@ Wed Mar 4 13:38:58 UTC 2015 - mpluskal@suse.com
|
|||||||
* Added ARM 1176 CPU (original Raspberry Pi)
|
* Added ARM 1176 CPU (original Raspberry Pi)
|
||||||
* Enhance PAPI preset events to allow user defined events.
|
* Enhance PAPI preset events to allow user defined events.
|
||||||
* User defined events are set up via a user event definition file.
|
* User defined events are set up via a user event definition file.
|
||||||
* New test demonstrating attaching an eventset to a single CPU
|
* New test demonstrating attaching an eventset to a single CPU
|
||||||
rather than a thread.
|
rather than a thread.
|
||||||
* Use the term "event qualifiers" instead of "event masks" to
|
* Use the term "event qualifiers" instead of "event masks" to
|
||||||
clarify understanding.
|
clarify understanding.
|
||||||
* Added pkg-config support to PAPI.
|
* Added pkg-config support to PAPI.
|
||||||
* Fixed lustre segfault bug in lustre component.
|
* Fixed lustre segfault bug in lustre component.
|
||||||
* Fixed compilation in the absence of a Fortran compiler.
|
* Fixed compilation in the absence of a Fortran compiler.
|
||||||
* Fixed bug in krental_pthreads ctest to join threads properly
|
* Fixed bug in krental_pthreads ctest to join threads properly
|
||||||
on exit.
|
on exit.
|
||||||
* Fixed bug in perf_events where event masks were not getting
|
* Fixed bug in perf_events where event masks were not getting
|
||||||
cleared properly.
|
cleared properly.
|
||||||
* Fixed memory leak bug in perf_events.
|
* Fixed memory leak bug in perf_events.
|
||||||
|
|
||||||
@@ -377,12 +415,12 @@ Tue Nov 18 07:31:28 CET 2014 - pth@suse.de
|
|||||||
|
|
||||||
Enhancements:
|
Enhancements:
|
||||||
------------
|
------------
|
||||||
* Added list of supported PMU names (core/uncore components)
|
* Added list of supported PMU names (core/uncore components)
|
||||||
* Support for extended event masks (core/uncore components)
|
* Support for extended event masks (core/uncore components)
|
||||||
* Extension of the RAPL energy measurements on Intel via msr-safe
|
* Extension of the RAPL energy measurements on Intel via msr-safe
|
||||||
* Updated IBM POWER7, POWER8 presets
|
* Updated IBM POWER7, POWER8 presets
|
||||||
* 'papi_native_avail --validate' supports events that require
|
* 'papi_native_avail --validate' supports events that require
|
||||||
multiple masks to be valid
|
multiple masks to be valid
|
||||||
|
|
||||||
Bug Fixes:
|
Bug Fixes:
|
||||||
----------
|
----------
|
||||||
@@ -409,14 +447,14 @@ Mon Oct 20 18:07:45 CEST 2014 - pth@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 3 16:29:06 UTC 2014 - alinm.elena@gmail.com
|
Fri Oct 3 16:29:06 UTC 2014 - alinm.elena@gmail.com
|
||||||
|
|
||||||
- Update to version 5.3.2
|
- Update to version 5.3.2
|
||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
- NVML component updates;
|
- NVML component updates;
|
||||||
- Addressed appio memory leaks;
|
- Addressed appio memory leaks;
|
||||||
- Support for Haswell-EP added to RAPL component;
|
- Support for Haswell-EP added to RAPL component;
|
||||||
- The perf_event_uncore component event enumeration works now;
|
- The perf_event_uncore component event enumeration works now;
|
||||||
- All components now have appropriate domain and granularities.
|
- All components now have appropriate domain and granularities.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 4 19:35:13 UTC 2013 - tonyj@suse.com
|
Wed Dec 4 19:35:13 UTC 2013 - tonyj@suse.com
|
||||||
@@ -425,8 +463,8 @@ Wed Dec 4 19:35:13 UTC 2013 - tonyj@suse.com
|
|||||||
- Update to version 5.3.0
|
- Update to version 5.3.0
|
||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
- Enhancements for Intel MIC (Xeon Phi) architectures, including support
|
- Enhancements for Intel MIC (Xeon Phi) architectures, including support
|
||||||
for offload code in addition to the previously released support for native
|
for offload code in addition to the previously released support for native
|
||||||
code.
|
code.
|
||||||
|
|
||||||
- Add support for Ivy Bridge Floating Point events.
|
- Add support for Ivy Bridge Floating Point events.
|
||||||
@@ -492,7 +530,7 @@ Tue Jun 11 11:47:16 CEST 2013 - pth@suse.de
|
|||||||
|
|
||||||
Bug Fixes:
|
Bug Fixes:
|
||||||
----------
|
----------
|
||||||
* Various build system fixes.
|
* Various build system fixes.
|
||||||
* NVML component fix.
|
* NVML component fix.
|
||||||
* Work around a sampling bug on Power Linux
|
* Work around a sampling bug on Power Linux
|
||||||
|
|
||||||
@@ -504,7 +542,7 @@ Tue Jun 11 11:47:16 CEST 2013 - pth@suse.de
|
|||||||
|
|
||||||
New Components:
|
New Components:
|
||||||
---------------
|
---------------
|
||||||
* MIC Power component.
|
* MIC Power component.
|
||||||
|
|
||||||
5.1.1:
|
5.1.1:
|
||||||
New Platform:
|
New Platform:
|
||||||
@@ -529,7 +567,7 @@ Tue Jun 11 11:47:16 CEST 2013 - pth@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 8 01:52:04 UTC 2013 - tonyj@suse.com
|
Tue Jan 8 01:52:04 UTC 2013 - tonyj@suse.com
|
||||||
|
|
||||||
- Switch to external libpfm.
|
- Switch to external libpfm.
|
||||||
Discussion: http://lists.opensuse.org/opensuse-factory/2013-01/msg00010.html
|
Discussion: http://lists.opensuse.org/opensuse-factory/2013-01/msg00010.html
|
||||||
- Drop papi-no_test_for_pfm_msg_t_type.patch (added in 4.0.0 commit)
|
- Drop papi-no_test_for_pfm_msg_t_type.patch (added in 4.0.0 commit)
|
||||||
- Drop i586-libpfm4-compile-fix.diff (since we are using external libpfm it is
|
- Drop i586-libpfm4-compile-fix.diff (since we are using external libpfm it is
|
||||||
@@ -538,20 +576,20 @@ Tue Jan 8 01:52:04 UTC 2013 - tonyj@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 28 20:18:48 UTC 2012 - dvaleev@suse.com
|
Fri Dec 28 20:18:48 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
- don't run ldconfig during build. As it breaks perfmon headers
|
- don't run ldconfig during build. As it breaks perfmon headers
|
||||||
installation
|
installation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 28 14:49:11 UTC 2012 - dmueller@suse.com
|
Fri Dec 28 14:49:11 UTC 2012 - dmueller@suse.com
|
||||||
|
|
||||||
- update to 5.0.1 (fixes build for ARM):
|
- update to 5.0.1 (fixes build for ARM):
|
||||||
* This is a major release of PAPI. Parts of both the internal
|
* This is a major release of PAPI. Parts of both the internal
|
||||||
component and external low-level interfaces have changed. This
|
component and external low-level interfaces have changed. This
|
||||||
will break your 4.4 compliant components and links to shared
|
will break your 4.4 compliant components and links to shared
|
||||||
libraries.
|
libraries.
|
||||||
|
|
||||||
A full detailed description of the changes to PAPI 5.0 can be found here:
|
A full detailed description of the changes to PAPI 5.0 can be found here:
|
||||||
http://web.eecs.utk.edu/~vweaver1/papers/papi/papi_v5_changes.pdf
|
http://web.eecs.utk.edu/~vweaver1/papers/papi/papi_v5_changes.pdf
|
||||||
|
|
||||||
- Removed papi-glibc-siginfo.patch, papi-list_components.patch,
|
- Removed papi-glibc-siginfo.patch, papi-list_components.patch,
|
||||||
papi-use_as_help_string.patch: Already upstream or not needed
|
papi-use_as_help_string.patch: Already upstream or not needed
|
||||||
@@ -569,7 +607,7 @@ Sun Oct 28 08:54:58 UTC 2012 - coolo@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 27 11:45:28 UTC 2012 - idonmez@suse.com
|
Thu Sep 27 11:45:28 UTC 2012 - idonmez@suse.com
|
||||||
|
|
||||||
- Update baselibs.conf for libpfm4
|
- Update baselibs.conf for libpfm4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 3 17:19:13 CEST 2012 - pth@suse.de
|
Mon Sep 3 17:19:13 CEST 2012 - pth@suse.de
|
||||||
@@ -598,13 +636,13 @@ Mon Apr 23 14:21:06 CEST 2012 - pth@suse.de
|
|||||||
|
|
||||||
Bug Fixes:
|
Bug Fixes:
|
||||||
----------
|
----------
|
||||||
* Fix buffer overrun in lmsensors component
|
* Fix buffer overrun in lmsensors component
|
||||||
* libpfm4: Update to current git libpfm4 snapshot
|
* libpfm4: Update to current git libpfm4 snapshot
|
||||||
* Fix broken Pentium 4 Prescott support we were missing the netburst_p
|
* Fix broken Pentium 4 Prescott support we were missing the netburst_p
|
||||||
declaration in papi_events.csv
|
declaration in papi_events.csv
|
||||||
* Fix various locking issues in the threaded code.
|
* Fix various locking issues in the threaded code.
|
||||||
* Fix multiplexing of large eventsets on perf_events systems.
|
* Fix multiplexing of large eventsets on perf_events systems.
|
||||||
This presented when using more than 31 multiplexed events on perf_event
|
This presented when using more than 31 multiplexed events on perf_event
|
||||||
|
|
||||||
- Add a devel-static package that contains the static libraries.
|
- Add a devel-static package that contains the static libraries.
|
||||||
- For other changes since 4.2.1 see RELEASENOTES.txt in the packages
|
- For other changes since 4.2.1 see RELEASENOTES.txt in the packages
|
||||||
@@ -658,16 +696,16 @@ Wed Feb 22 16:21:25 CET 2012 - pth@suse.de
|
|||||||
PAPI ERROR return gracefully. Previously there was no way to
|
PAPI ERROR return gracefully. Previously there was no way to
|
||||||
indicate initialization failure besides just setting
|
indicate initialization failure besides just setting
|
||||||
num_native_events to 0.
|
num_native_events to 0.
|
||||||
|
|
||||||
New Platforms:
|
New Platforms:
|
||||||
-------------
|
-------------
|
||||||
* Support for AMD Family 11.
|
* Support for AMD Family 11.
|
||||||
* Support for AMD Family 12.
|
* Support for AMD Family 12.
|
||||||
|
|
||||||
Deprecated Platforms:
|
Deprecated Platforms:
|
||||||
---------------------
|
---------------------
|
||||||
* remove obsolete ACPI component
|
* remove obsolete ACPI component
|
||||||
|
|
||||||
New / Improved Components:
|
New / Improved Components:
|
||||||
---------------
|
---------------
|
||||||
* PAPI CUDA component updated for CUDA / CUPTI 4.1.
|
* PAPI CUDA component updated for CUDA / CUPTI 4.1.
|
||||||
@@ -710,11 +748,11 @@ Fri Apr 15 15:12:37 CEST 2011 - pth@suse.de
|
|||||||
Sat Jan 29 18:16:17 UTC 2011 - alexandre@exatati.com.br
|
Sat Jan 29 18:16:17 UTC 2011 - alexandre@exatati.com.br
|
||||||
|
|
||||||
- Update to 4.1.2.1:
|
- Update to 4.1.2.1:
|
||||||
* fixed a long-standing subtle bug identified by Richard Strong that caused
|
* fixed a long-standing subtle bug identified by Richard Strong that caused
|
||||||
segfaults when multiplexing
|
segfaults when multiplexing
|
||||||
* fixed several bugs that were causing test failures on POWER6/AIX
|
* fixed several bugs that were causing test failures on POWER6/AIX
|
||||||
* properly detect Pentium M in configure
|
* properly detect Pentium M in configure
|
||||||
* fixed a problem with perf_events not properly handling overflows; first
|
* fixed a problem with perf_events not properly handling overflows; first
|
||||||
identified by Mark Krentel
|
identified by Mark Krentel
|
||||||
* fixed a problem where perfctr was silently adding uncountable events
|
* fixed a problem where perfctr was silently adding uncountable events
|
||||||
* fixed a lock bug identified by Martin Schindewolf
|
* fixed a lock bug identified by Martin Schindewolf
|
||||||
@@ -723,11 +761,11 @@ Sat Jan 29 18:16:17 UTC 2011 - alexandre@exatati.com.br
|
|||||||
* a plethora of code cleanups submitted by Robert Richter
|
* a plethora of code cleanups submitted by Robert Richter
|
||||||
* addressed compatibility issues in run_tests.sh to make it posix comliant
|
* addressed compatibility issues in run_tests.sh to make it posix comliant
|
||||||
* refreshed PAPI_Matlab support
|
* refreshed PAPI_Matlab support
|
||||||
* reimplemented SUBDBG print capabilities to address an issue first
|
* reimplemented SUBDBG print capabilities to address an issue first
|
||||||
identified by Maynard Johnson
|
identified by Maynard Johnson
|
||||||
* refreshed preset event definitions for Nehalem, including implementations
|
* refreshed preset event definitions for Nehalem, including implementations
|
||||||
for PAPI_HW_INT; submitted by Michel Brown
|
for PAPI_HW_INT; submitted by Michel Brown
|
||||||
* added 3 new error codes: PAPI_EATTR, PAPI_ECOUNT, and PAPI_ECOMBO.
|
* added 3 new error codes: PAPI_EATTR, PAPI_ECOUNT, and PAPI_ECOMBO.
|
||||||
These provide more detail on why an event add fails
|
These provide more detail on why an event add fails
|
||||||
* implement cpuid leaf4 mtrics required by Intel Westmere
|
* implement cpuid leaf4 mtrics required by Intel Westmere
|
||||||
* Intel Westmere on perfctr and perf_events
|
* Intel Westmere on perfctr and perf_events
|
||||||
@@ -741,23 +779,23 @@ Tue Jun 22 19:02:33 UTC 2010 - alexandre@exatati.com.br
|
|||||||
- configure was mis-identifying some Pentium 4 processors
|
- configure was mis-identifying some Pentium 4 processors
|
||||||
- the ctests/shlib test now tests against the shared math library, libm.so,
|
- the ctests/shlib test now tests against the shared math library, libm.so,
|
||||||
instead of libpapi.so, which works more predictably with library renaming.
|
instead of libpapi.so, which works more predictably with library renaming.
|
||||||
- multiplexing was silently returning without setting multiplex TRUE in
|
- multiplexing was silently returning without setting multiplex TRUE in
|
||||||
cases where no event had been assigned to an eventset. An event must be
|
cases where no event had been assigned to an eventset. An event must be
|
||||||
added to an eventset or PAPI_assign_eventset_component() must be called
|
added to an eventset or PAPI_assign_eventset_component() must be called
|
||||||
before multiplexing can be enabled. This silent error has been removed.
|
before multiplexing can be enabled. This silent error has been removed.
|
||||||
- the perfmon and perf_events counter interfaces were not properly handling
|
- the perfmon and perf_events counter interfaces were not properly handling
|
||||||
event unit masks. This has been fixed.
|
event unit masks. This has been fixed.
|
||||||
- PAPI_name_to_code() was not exiting properly in certain circumstances,
|
- PAPI_name_to_code() was not exiting properly in certain circumstances,
|
||||||
failing on events where there should have been a match. This is corrected.
|
failing on events where there should have been a match. This is corrected.
|
||||||
- a serious but insidious bug in the overflow logic was corrected. This bug
|
- a serious but insidious bug in the overflow logic was corrected. This bug
|
||||||
would only show up when PAPI_overflow was called between calls to
|
would only show up when PAPI_overflow was called between calls to
|
||||||
PAPI_add_event. Overflow would only be set for the last call of
|
PAPI_add_event. Overflow would only be set for the last call of
|
||||||
PAPI_overflow. This has been corrected.
|
PAPI_overflow. This has been corrected.
|
||||||
- IBM Blue Gene P systems were corrupting stack frames and crashing when the
|
- IBM Blue Gene P systems were corrupting stack frames and crashing when the
|
||||||
papi_get_event_info call was executed. This has been fixed.
|
papi_get_event_info call was executed. This has been fixed.
|
||||||
- The PAPI cycles event was not working for IBM Blue Gene P. This is fixed.
|
- The PAPI cycles event was not working for IBM Blue Gene P. This is fixed.
|
||||||
papi_native_avail was exiting improperly when using the -e option.
|
papi_native_avail was exiting improperly when using the -e option.
|
||||||
This caused problems with batch execution systems (like Blue Gene P).
|
This caused problems with batch execution systems (like Blue Gene P).
|
||||||
This has been fixed.
|
This has been fixed.
|
||||||
- a significant number of memory leaks have been purged.
|
- a significant number of memory leaks have been purged.
|
||||||
- compiler warning flags have been tightened and a range of warnings have
|
- compiler warning flags have been tightened and a range of warnings have
|
||||||
@@ -811,7 +849,7 @@ Tue Mar 23 15:10:21 CET 2010 - pth@suse.de
|
|||||||
- updated cache tables for Intel Nehalem i7 processors
|
- updated cache tables for Intel Nehalem i7 processors
|
||||||
- configure provides better autodetection of 2.6.31 or 2.6.32 kernels and
|
- configure provides better autodetection of 2.6.31 or 2.6.32 kernels and
|
||||||
perf_counter interface (in most cases)
|
perf_counter interface (in most cases)
|
||||||
- configure provides better detection and autoselection of perfctr or perfmon
|
- configure provides better detection and autoselection of perfctr or perfmon
|
||||||
drivers for linux
|
drivers for linux
|
||||||
- configure and sources have been modified to support perf_counter on
|
- configure and sources have been modified to support perf_counter on
|
||||||
kernel 2.6.31 and perf_event on kernel 2.6.32
|
kernel 2.6.31 and perf_event on kernel 2.6.32
|
||||||
@@ -830,7 +868,7 @@ Tue Mar 23 15:10:21 CET 2010 - pth@suse.de
|
|||||||
* the ctests/shlib test now tests against the shared math library,
|
* the ctests/shlib test now tests against the shared math library,
|
||||||
libm.so, instead of libpapi.so
|
libm.so, instead of libpapi.so
|
||||||
* the PAPI_set_multiplex() call was silently returning without setting
|
* the PAPI_set_multiplex() call was silently returning without setting
|
||||||
multiplex TRUE in cases where no event had been assigned to an eventset.
|
multiplex TRUE in cases where no event had been assigned to an eventset.
|
||||||
This silent error has been removed.
|
This silent error has been removed.
|
||||||
* the perfmon and perf_events counter interfaces were not properly
|
* the perfmon and perf_events counter interfaces were not properly
|
||||||
handling event unit masks. This has been fixed.
|
handling event unit masks. This has been fixed.
|
||||||
@@ -853,7 +891,7 @@ Tue Mar 2 15:45:53 CET 2010 - rw@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 16 00:27:29 CET 2010 - ro@suse.de
|
Tue Feb 16 00:27:29 CET 2010 - ro@suse.de
|
||||||
|
|
||||||
- fix filelist for ia64 again, perfmon file is back
|
- fix filelist for ia64 again, perfmon file is back
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 2 14:45:58 CET 2010 - pth@suse.de
|
Tue Feb 2 14:45:58 CET 2010 - pth@suse.de
|
||||||
@@ -864,23 +902,23 @@ Tue Feb 2 14:45:58 CET 2010 - pth@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 21 13:18:11 CET 2010 - sf@suse.de
|
Thu Jan 21 13:18:11 CET 2010 - sf@suse.de
|
||||||
|
|
||||||
- add baselibs.conf including libpapi and papi-devel (bnc #565236)
|
- add baselibs.conf including libpapi and papi-devel (bnc #565236)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 21 11:50:50 CET 2010 - ro@suse.de
|
Thu Jan 21 11:50:50 CET 2010 - ro@suse.de
|
||||||
|
|
||||||
- fix typo in last change
|
- fix typo in last change
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 14:20:26 CET 2010 - sf@suse.de
|
Wed Jan 13 14:20:26 CET 2010 - sf@suse.de
|
||||||
|
|
||||||
- fix filelist for ia64 (remove /usr/share/papi), as the only
|
- fix filelist for ia64 (remove /usr/share/papi), as the only
|
||||||
file there does not exist on ia64
|
file there does not exist on ia64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 18 15:13:30 CET 2009 - ro@suse.de
|
Fri Dec 18 15:13:30 CET 2009 - ro@suse.de
|
||||||
|
|
||||||
- fix filelist for ia64
|
- fix filelist for ia64
|
||||||
- remove "," from excludearch
|
- remove "," from excludearch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@@ -897,7 +935,7 @@ Tue Dec 8 17:57:16 CET 2009 - pth@suse.de
|
|||||||
* updated cache tables for Intel Nehalem i7 processors
|
* updated cache tables for Intel Nehalem i7 processors
|
||||||
* configure provides better autodetection of 2.6.31 or 2.6.32 kernels and
|
* configure provides better autodetection of 2.6.31 or 2.6.32 kernels and
|
||||||
perf_counter interface (in most cases)
|
perf_counter interface (in most cases)
|
||||||
* configure provides better detection and autoselection of perfctr or perfmon
|
* configure provides better detection and autoselection of perfctr or perfmon
|
||||||
drivers for linux
|
drivers for linux
|
||||||
* configure and sources have been modified to support perf_counter on
|
* configure and sources have been modified to support perf_counter on
|
||||||
kernel 2.6.31 and perf_event on kernel 2.6.32
|
kernel 2.6.31 and perf_event on kernel 2.6.32
|
||||||
@@ -909,6 +947,3 @@ Fri Nov 20 14:36:26 CET 2009 - pth@suse.de
|
|||||||
- Initial package for SLES (fate#307192)
|
- Initial package for SLES (fate#307192)
|
||||||
- Include perf_counter.h from kernel because kernel-headers
|
- Include perf_counter.h from kernel because kernel-headers
|
||||||
doesn't include the file.
|
doesn't include the file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
232
papi.spec
232
papi.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package papi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,63 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
Name: papi
|
||||||
|
Version: 7.2.0
|
||||||
%define pname papi
|
|
||||||
%define ver 7.1.0
|
|
||||||
%define _ver 7_1_0
|
|
||||||
|
|
||||||
%if "%flavor" == ""
|
|
||||||
ExclusiveArch: do_not_build
|
|
||||||
%define package_name %pname
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Magic for OBS Staging. Only build the flavors required by
|
|
||||||
# other packages in the ring.
|
|
||||||
%if %{with ringdisabled}
|
|
||||||
%if "%flavor" != "standard"
|
|
||||||
ExclusiveArch: do_not_build
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%flavor" == "standard"
|
|
||||||
%{bcond_with hpc}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%flavor" == "hpc"
|
|
||||||
%{bcond_without hpc}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{without hpc}
|
|
||||||
%define package_name %{pname}
|
|
||||||
%define libname() lib%{pname}%{?with_mpi:-%{mpi_family}}
|
|
||||||
%define p_bindir %_bindir
|
|
||||||
%define p_libdir %_libdir
|
|
||||||
%define p_datadir %_datadir
|
|
||||||
%define p_includedir %_includedir
|
|
||||||
%define p_mandir %_mandir
|
|
||||||
%else
|
|
||||||
%{hpc_init %{?ext:-e %{ext}}}
|
|
||||||
|
|
||||||
%define libname() lib%{pname}%{expand:%%{hpc_package_name_tail %{**}}}
|
|
||||||
%define package_name %{hpc_package_name %_ver}
|
|
||||||
%define p_bindir %hpc_bindir
|
|
||||||
%define p_libdir %hpc_libdir
|
|
||||||
%define p_datadir %hpc_datadir
|
|
||||||
%define p_includedir %hpc_includedir
|
|
||||||
%define p_mandir %hpc_mandir
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: %{package_name}
|
|
||||||
Version: %ver
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Performance Application Programming Interface
|
Summary: Performance Application Programming Interface
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://icl.cs.utk.edu/papi/index.html
|
URL: http://icl.cs.utk.edu/papi/index.html
|
||||||
Source: http://icl.cs.utk.edu/projects/papi/downloads/%{pname}-%{version}.tar.gz
|
Source: http://icl.cs.utk.edu/projects/papi/downloads/%{name}-%{version}.tar.gz
|
||||||
Source1: %{pname}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
Patch1: python3.patch
|
|
||||||
|
|
||||||
BuildRequires: autoconf >= 2.61
|
BuildRequires: autoconf >= 2.61
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@@ -84,12 +36,6 @@ BuildRequires: libsensors4-devel
|
|||||||
BuildRequires: linux-kernel-headers
|
BuildRequires: linux-kernel-headers
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
%if %{with hpc}
|
|
||||||
BuildRequires: lua-lmod
|
|
||||||
BuildRequires: suse-hpc
|
|
||||||
Requires: lua-lmod
|
|
||||||
%endif
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#PAPI doesn't support the s390 architecture
|
#PAPI doesn't support the s390 architecture
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
%ifarch %ix86 x86_64 ia64
|
%ifarch %ix86 x86_64 ia64
|
||||||
@@ -107,9 +53,6 @@ BuildRequires: gcc-fortran-32bit
|
|||||||
BuildRequires: glibc-devel-32bit
|
BuildRequires: glibc-devel-32bit
|
||||||
%endif
|
%endif
|
||||||
#BuildRequires: libibmad-devel
|
#BuildRequires: libibmad-devel
|
||||||
%if %{with hpc}
|
|
||||||
Requires: %{libname %_ver} = %version
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@@ -119,13 +62,11 @@ hardware found in most major microprocessors. PAPI enables software
|
|||||||
engineers to see, in near real time, the relation between software
|
engineers to see, in near real time, the relation between software
|
||||||
performance and processor events.
|
performance and processor events.
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package -L}}
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Software Development Kit for PAPI
|
Summary: Software Development Kit for PAPI
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libname %_ver} = %version
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
Requires: lib%{name} = %version
|
||||||
Requires: linux-kernel-headers
|
Requires: linux-kernel-headers
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@@ -133,8 +74,6 @@ This package includes the C header files that specify the PAPI userspace
|
|||||||
libraries and interfaces. This is required for rebuilding any program
|
libraries and interfaces. This is required for rebuilding any program
|
||||||
that uses PAPI.
|
that uses PAPI.
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package -a devel}}
|
|
||||||
|
|
||||||
%package devel-static
|
%package devel-static
|
||||||
Summary: Static PAPI libraries
|
Summary: Static PAPI libraries
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@@ -144,28 +83,23 @@ Requires: linux-kernel-headers
|
|||||||
%description devel-static
|
%description devel-static
|
||||||
This package includes the static PAPI libraries.
|
This package includes the static PAPI libraries.
|
||||||
|
|
||||||
%package -n %{libname %_ver}
|
%package -n lib%{name}
|
||||||
Summary: PAPI runtime library
|
Summary: PAPI runtime library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{libname %_ver}
|
%description -n lib%{name}
|
||||||
This package contains the PAPI runtime library.
|
This package contains the PAPI runtime library.
|
||||||
|
|
||||||
%{?with_hpc:%{hpc_master_package -l -L}}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pname}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
# Create baselibs.conf dynamically (non-HPC build only).
|
# Create baselibs.conf dynamically
|
||||||
%if %{without hpc}
|
|
||||||
cat > %{_sourcedir}/baselibs.conf <<EOF
|
cat > %{_sourcedir}/baselibs.conf <<EOF
|
||||||
%{libname %_ver}
|
%{libname %_ver}
|
||||||
%{name}-devel
|
%{name}-devel
|
||||||
requires -%{name}-<targettype>
|
requires -%{name}-<targettype>
|
||||||
requires "%{libname %_ver}-<targettype> = <version>"
|
requires "%{libname %_ver}-<targettype> = <version>"
|
||||||
EOF
|
EOF
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
@@ -174,128 +108,74 @@ mv configure.in configure.ac
|
|||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export CFLAGS="%{optflags} -Wno-unused-parameter"
|
export CFLAGS="%{optflags} -Wno-unused-parameter"
|
||||||
|
|
||||||
%if %{without hpc}
|
|
||||||
%configure \
|
%configure \
|
||||||
%else
|
|
||||||
%hpc_configure \
|
|
||||||
%endif
|
|
||||||
--with-perf-events --with-pthread-mutexes \
|
--with-perf-events --with-pthread-mutexes \
|
||||||
--with-shared-lib=yes --with-shlib \
|
--with-shared-lib=yes --with-shlib \
|
||||||
--with-pfm-incdir=%{_includedir} --with-pfm-libdir=%{_libdir}
|
--with-pfm-incdir=%{_includedir} --with-pfm-libdir=%{_libdir}
|
||||||
|
|
||||||
make DOCDIR=%{_defaultdocdir}/%{pname} %{?_smp_mflags}
|
make DOCDIR=%{_defaultdocdir}/%{name} %{?_smp_mflags}
|
||||||
|
|
||||||
|
# Remove env usage from shebangs on every *.py file
|
||||||
|
find . -name "*.py" -exec sed -i 's"#!/usr/bin/env python3"#!/usr/bin/python3"g' {} +
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# for some reason this isn't being created by install before cp of
|
# for some reason this isn't being created by install before cp of
|
||||||
# papi_hl_output_writer.py occurs, which results in %{p_bindir} as regular file
|
# papi_hl_output_writer.py occurs, which results in %{_bindir} as regular file
|
||||||
mkdir -p %{buildroot}/%{p_bindir}
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
cd src
|
cd src
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} DOCDIR=%{_defaultdocdir}/%{pname} LDCONFIG=/bin/true
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} DOCDIR=%{_defaultdocdir}/%{name} LDCONFIG=/bin/true
|
||||||
ls -lR %{buildroot}
|
ls -lR %{buildroot}
|
||||||
chrpath --delete %{buildroot}%{p_libdir}/*.so*
|
chrpath --delete %{buildroot}%{_libdir}/*.so*
|
||||||
%if %{with hpc}
|
|
||||||
%{hpc_compress_man 3}
|
|
||||||
%hpc_write_modules_files
|
|
||||||
#%%Module1.0#####################################################################
|
|
||||||
|
|
||||||
proc ModulesHelp { } {
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
puts stderr " "
|
%postun -n lib%{name}
|
||||||
puts stderr "This module loads the %{pname} library"
|
|
||||||
puts stderr "toolchain."
|
|
||||||
puts stderr "\nVersion %{version}\n"
|
|
||||||
|
|
||||||
}
|
|
||||||
module-whatis "Name: %{pname}"
|
|
||||||
module-whatis "Version: %{version}"
|
|
||||||
module-whatis "Category: runtime library"
|
|
||||||
module-whatis "Description: %{SUMMARY:0}"
|
|
||||||
module-whatis "URL %{url}"
|
|
||||||
|
|
||||||
set version %{version}
|
|
||||||
|
|
||||||
prepend-path PATH %{hpc_bindir}
|
|
||||||
prepend-path MANPATH %{hpc_mandir}
|
|
||||||
prepend-path LD_LIBRARY_PATH %{hpc_libdir}
|
|
||||||
|
|
||||||
setenv %{hpc_upcase %pname}_DIR %{hpc_prefix}
|
|
||||||
setenv %{hpc_upcase %pname}_BIN %{hpc_bindir}
|
|
||||||
setenv %{hpc_upcase %pname}_LIB %{hpc_libdir}
|
|
||||||
|
|
||||||
if {[file isdirectory %{hpc_includedir}]} {
|
|
||||||
prepend-path LIBRARY_PATH %{hpc_libdir}
|
|
||||||
prepend-path CPATH %{hpc_includedir}
|
|
||||||
prepend-path C_INCLUDE_PATH %{hpc_includedir}
|
|
||||||
prepend-path CPLUS_INCLUDE_PATH %{hpc_includedir}
|
|
||||||
prepend-path INCLUDE %{hpc_includedir}
|
|
||||||
%hpc_modulefile_add_pkgconfig_path
|
|
||||||
|
|
||||||
setenv %{hpc_upcase %pname}_INC %{hpc_includedir}
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%post -n %{libname %_ver} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n %{libname %_ver}
|
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%{?with_hpc:%{hpc_module_delete_if_default}}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE.txt
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if %{with hpc}
|
%{_bindir}/papi_clockres
|
||||||
%hpc_dirs
|
%{_bindir}/papi_command_line
|
||||||
%dir %hpc_datadir
|
%{_bindir}/papi_cost
|
||||||
%dir %hpc_bindir
|
%{_bindir}/papi_decode
|
||||||
%hpc_modules_files
|
%{_bindir}/papi_event_chooser
|
||||||
%endif
|
%{_bindir}/papi_mem_info
|
||||||
%{p_bindir}/papi_clockres
|
%{_bindir}/papi_native_avail
|
||||||
%{p_bindir}/papi_command_line
|
%{_bindir}/papi_version
|
||||||
%{p_bindir}/papi_cost
|
%{_bindir}/papi_xml_event_info
|
||||||
%{p_bindir}/papi_decode
|
%{_bindir}/papi_component_avail
|
||||||
%{p_bindir}/papi_event_chooser
|
%{_bindir}/papi_error_codes
|
||||||
%{p_bindir}/papi_mem_info
|
%{_bindir}/papi_multiplex_cost
|
||||||
%{p_bindir}/papi_native_avail
|
%{_bindir}/papi_hardware_avail
|
||||||
%{p_bindir}/papi_version
|
%{_bindir}/papi_hl_output_writer.py
|
||||||
%{p_bindir}/papi_xml_event_info
|
%{_datadir}/%{name}
|
||||||
%{p_bindir}/papi_component_avail
|
%{_bindir}/papi_avail
|
||||||
%{p_bindir}/papi_error_codes
|
%doc ChangeLog*.txt README.md RELEASENOTES.txt
|
||||||
%{p_bindir}/papi_multiplex_cost
|
|
||||||
%{p_bindir}/papi_hardware_avail
|
|
||||||
%{p_bindir}/papi_hl_output_writer.py
|
|
||||||
%{p_datadir}/%{pname}
|
|
||||||
%{p_bindir}/papi_avail
|
|
||||||
%doc ChangeLog*.txt LICENSE.txt README.md RELEASENOTES.txt
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if %{with hpc}
|
%{_includedir}/f77papi.h
|
||||||
%dir %hpc_mandir
|
%{_includedir}/f90papi.h
|
||||||
%dir %hpc_mandir/man1
|
%{_includedir}/fpapi.h
|
||||||
%dir %hpc_mandir/man3
|
%{_includedir}/papi.h
|
||||||
%dir %hpc_includedir
|
%{_includedir}/papiStdEventDefs.h
|
||||||
%dir %hpc_pkgconfigdir
|
%{_includedir}/papi_components_config_event_defs.h
|
||||||
%endif
|
%{_includedir}/sde_lib.h
|
||||||
%{p_includedir}/f77papi.h
|
%{_includedir}/sde_lib.hpp
|
||||||
%{p_includedir}/f90papi.h
|
%doc %{_mandir}/man3/*.gz
|
||||||
%{p_includedir}/fpapi.h
|
%doc %{_mandir}/man1/*
|
||||||
%{p_includedir}/papi.h
|
%{_libdir}/libpapi.so
|
||||||
%{p_includedir}/papiStdEventDefs.h
|
%{_libdir}/libsde.so
|
||||||
%{p_includedir}/sde_lib.h
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{p_includedir}/sde_lib.hpp
|
|
||||||
%doc %{p_mandir}/man3/*.gz
|
|
||||||
%doc %{p_mandir}/man1/*
|
|
||||||
%{p_libdir}/libpapi.so
|
|
||||||
%{p_libdir}/libsde.so
|
|
||||||
%{p_libdir}/pkgconfig/*.pc
|
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{p_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%files -n %{libname %_ver}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{p_libdir}/libpapi.so.*
|
%{_libdir}/libpapi.so.*
|
||||||
%{p_libdir}/libsde.so.*
|
%{_libdir}/libsde.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
--- papi-6.0.0.1/src/high-level/scripts/papi_hl_output_writer.py.orig 2022-03-04 13:11:39.915443000 -0800
|
|
||||||
+++ papi-6.0.0.1/src/high-level/scripts/papi_hl_output_writer.py 2022-03-04 13:09:46.986474000 -0800
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/usr/bin/python
|
|
||||||
+#!/usr/bin/python3
|
|
||||||
from __future__ import division
|
|
||||||
from collections import OrderedDict
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user