Skip to content

Commit

Permalink
Merge pull request #17873 from akesandgren/20230508082337_new_pr_ReFr…
Browse files Browse the repository at this point in the history
…ame420

{devel}[system/system] ReFrame v4.2.0
  • Loading branch information
smoors authored May 23, 2023
2 parents 4cc0bed + 2f66aed commit 75dd363
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions easybuild/easyconfigs/r/ReFrame/ReFrame-4.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
##
# Author: Robert Mijakovic <[email protected]>
##
easyblock = 'PythonBundle'

name = 'ReFrame'
version = '4.2.0'

homepage = 'https://github.com/reframe-hpc/reframe'
description = '''ReFrame is a framework for writing regression tests for HPC systems.'''

toolchain = SYSTEM

allow_system_deps = [('Python', SYS_PYTHON_VERSION)]

req_py_majver = 3
req_py_minver = 6

use_pip = True

exts_list = [
('pip', '21.3.1', {
'use_pip': False,
'checksums': ['fd11ba3d0fdb4c07fbc5ecbba0b1b719809420f25038f8ee3cd913d3faa3033a'],
}),
('wheel', '0.37.1', {
'source_tmpl': 'wheel-%(version)s-py2.py3-none-any.whl',
'checksums': ['4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a'],
}),
('reframe', version, {
'preinstallopts': "export PATH=%(installdir)s/bin:$PATH && "
"./bootstrap.sh +docs +pygelf && cp -r external %(installdir)s && "
"PYTHONPATH=%(builddir)s/reframe/reframe-%(version)s/external:$PYTHONPATH ",
'source_tmpl': 'v%(version)s.tar.gz',
'source_urls': ['https://github.com/reframe-hpc/reframe/archive/'],
'checksums': ['f1d38133023b37d01fdee46b2bf472f8fd36bf410d1c909db043b9f9d7df6122'],
}),
]

postinstallcmds = [
"cp -a hpctestlib tools tutorials %(installdir)s",
"mkdir -p %(installdir)s/share && cp -a share/completions %(installdir)s/share/completions",
r"sed -i 's@/\(python[0-9.]*\)$@/\1 -S@g' %(installdir)s/bin/reframe",
]

sanity_check_paths = {
'files': ['bin/reframe',
'share/completions/reframe.bash',
'share/completions/reframe.fish',
'share/completions/reframe.tcsh'],
'dirs': ['external', 'hpctestlib', 'lib', 'tools', 'tutorials']
}

sanity_check_commands = ['reframe -V']

sanity_pip_check = True

modextrapaths = {
# bootstrap script installs required dependencies to 'external' subdirectory
'PYTHONPATH': 'external',
}

moduleclass = 'devel'

0 comments on commit 75dd363

Please sign in to comment.