Skip to content

Commit

Permalink
adding easyconfigs: pypmt-1.2.0-gfbf-2023a.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamic committed Dec 11, 2023
1 parent 1ffb092 commit edee9b3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/p/pypmt/pypmt-1.2.0-gfbf-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
easyblock = 'CMakeMake'

name = 'pypmt'
version = '1.2.0'

homepage = 'https://git.astron.nl/RD/pmt'
description = """PMT is a high-level software library capable of
collecting power consumption measurements on various hardware."""

toolchain = {'name': 'gfbf', 'version': '2023a'}
builddependencies = [('CMake', '3.26.3')]

dependencies = [
('Python', '3.11.3'),
('SciPy-bundle', '2023.07'),
]

source_urls = ['https://git.astron.nl/RD/pmt/-/archive/%(version)s']
sources = ['pmt-%(version)s.tar.gz']
checksums = ['98faf305c60cc4d39d3b8ada1dcb7c87c49bf6f01a3cd2800b413d21d5df1a38']

configopts = '-DBUILD_PYTHON_PMT=1'

sanity_check_paths = {
'files': ["bin/Rapl-test"],
'dirs': [
"lib",
"lib/python",
"include"],
}
sanity_check_commands = [('python', "-c 'import pmt'")]

modextrapaths = {
'PYTHONPATH': ['lib/python']
}

moduleclass = 'lib'

0 comments on commit edee9b3

Please sign in to comment.