Skip to content

Commit

Permalink
adding easyconfigs: ReFrame-4.6.0.eb
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Wolfsheimer committed May 15, 2024
1 parent 87b3b56 commit c083763
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions easybuild/easyconfigs/r/ReFrame/ReFrame-4.6.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#
# Author: Robert Mijakovic <robert.mijakovic@lxp.lu>
#
easyblock = 'PythonBundle'

name = 'ReFrame'
version = '4.6.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 = [
# stick to pip 21.3.1 and wheel 0.37.1, which are compatible with Python 3.6
('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/x86_64:$PYTHONPATH ",
'source_tmpl': 'v%(version)s.tar.gz',
'source_urls': ['https://github.com/reframe-hpc/reframe/archive/'],
'checksums': ['fcd29a419eebcb990b3e9be94b44e4ea59ce0de76f271e38f10cf5a6545ed29d'],
'use_pip': True,
'download_dep_fail': False
}),
]

postinstallcmds = [
"cp -a tools %(installdir)s",
# Adding hpctestlib separately to the external directory so that it can be
# imported and is in the PYTHONPATH
"cp -a hpctestlib %(installdir)s/external",
"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', 'lib', 'tools']
}

sanity_check_commands = ['reframe -V']

sanity_pip_check = True
# sanity_pip_check = False

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

moduleclass = 'devel'

0 comments on commit c083763

Please sign in to comment.