From af756c8def84e90c31d61fe12a1e6e3cc9e3023a Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Fri, 31 May 2024 19:07:02 +0000 Subject: [PATCH] Improve sanity checks with commands and lib --- .../easyconfigs/p/PRRTE/PRRTE-3.0.5-GCCcore-13.3.0.eb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/easybuild/easyconfigs/p/PRRTE/PRRTE-3.0.5-GCCcore-13.3.0.eb b/easybuild/easyconfigs/p/PRRTE/PRRTE-3.0.5-GCCcore-13.3.0.eb index 4cfb320464f..2a8688776d8 100644 --- a/easybuild/easyconfigs/p/PRRTE/PRRTE-3.0.5-GCCcore-13.3.0.eb +++ b/easybuild/easyconfigs/p/PRRTE/PRRTE-3.0.5-GCCcore-13.3.0.eb @@ -26,9 +26,13 @@ configopts += ' --with-hwloc=$EBROOTHWLOC --with-pmix=$EBROOTPMIX' buildopts = 'V=1' +local_binaries = ['prte', 'prte_info', 'prterun', 'prun', 'pterm'] + sanity_check_paths = { - 'files': ['bin/prte', 'bin/prte_info', 'bin/prterun', 'bin/prun', 'bin/pterm'], - 'dirs': ['etc', 'include', 'lib', 'share'] + 'files': ['bin/%s' % x for x in local_binaries] + ['lib/libprrte.%s' % SHLIB_EXT], + 'dirs': ['etc', 'include', 'share'] } +sanity_check_commands = ['%s --version' % x for x in local_binaries] + moduleclass = 'lib'