Skip to content

Commit

Permalink
adding easyconfigs: PAPI-7.1.0-GCCcore-12.3.0.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
satishk committed Mar 11, 2024
1 parent 13180fe commit ff37f12
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/p/PAPI/PAPI-7.1.0-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
##
# Author: Robert Mijakovic <[email protected]>
##

easyblock = 'ConfigureMake'

name = 'PAPI'
version = '7.1.0'

homepage = 'https://icl.cs.utk.edu/projects/papi/'

description = """
PAPI provides the tool designer and application engineer with a consistent
interface and methodology for use of the performance counter hardware found
in most major microprocessors. PAPI enables software engineers to see, in near
real time, the relation between software performance and processor events.
In addition Component PAPI provides access to a collection of components
that expose performance measurement opportunites across the hardware and
software stack.
"""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

source_urls = ['https://icl.utk.edu/projects/papi/downloads']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['5818afb6dba3ece57f51e65897db5062f8e3464e6ed294b654ebf34c3991bc4f']

builddependencies = [
('binutils', '2.40'),
]

start_dir = 'src'

configopts = "--with-components=rapl " # for energy measurements

# There is also "fulltest" that is a superset of "test" but hangs on some processors
# indefinitely with a defunct `make` process. So use only "test".
runtest = 'test'

sanity_check_paths = {
'files': ["bin/papi_%s" % x
for x in ["avail", "clockres", "command_line", "component_avail",
"cost", "decode", "error_codes", "event_chooser",
"mem_info", "multiplex_cost", "native_avail",
"version", "xml_event_info"]],
'dirs': [],
}

moduleclass = 'perf'

0 comments on commit ff37f12

Please sign in to comment.