From 7ee1b3bf760307573be48e9a99793a5473199c97 Mon Sep 17 00:00:00 2001 From: satishk Date: Thu, 14 Nov 2024 10:55:28 +0100 Subject: [PATCH] adding easyconfigs: Valgrind-3.24.0-gompi-2024a.eb --- .../v/Valgrind/Valgrind-3.24.0-gompi-2024a.eb | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 easybuild/easyconfigs/v/Valgrind/Valgrind-3.24.0-gompi-2024a.eb diff --git a/easybuild/easyconfigs/v/Valgrind/Valgrind-3.24.0-gompi-2024a.eb b/easybuild/easyconfigs/v/Valgrind/Valgrind-3.24.0-gompi-2024a.eb new file mode 100644 index 00000000000..2c2922383b6 --- /dev/null +++ b/easybuild/easyconfigs/v/Valgrind/Valgrind-3.24.0-gompi-2024a.eb @@ -0,0 +1,46 @@ +easyblock = 'ConfigureMake' + +name = 'Valgrind' +version = '3.24.0' + +homepage = 'https://valgrind.org' +description = "Valgrind: Debugging and profiling tools" + +toolchain = {'name': 'gompi', 'version': '2024a'} +toolchainopts = {'optarch': True} + +source_urls = [ + 'https://sourceware.org/pub/valgrind/', + 'https://www.mirrorservice.org/sites/sourceware.org/pub/valgrind/', +] +sources = [SOURCELOWER_TAR_BZ2] +checksums = ['71aee202bdef1ae73898ccf7e9c315134fa7db6c246063afc503aef702ec03bd'] + +dependencies = [ + ('Perl', '5.38.2'), + ('Python', '3.12.3'), +] + +configopts = ' --with-mpicc="$MPICC"' + +local_binaries = [ + 'callgrind_annotate', 'callgrind_control', 'cg_annotate', 'cg_diff', + 'cg_merge', 'ms_print', 'valgrind', 'valgrind-listener', 'vgdb' +] +local_archs = ('amd64', 'arm64', 'ppc64le') + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in local_binaries] + + [['lib/valgrind/libmpiwrap-%s-linux.%s' % (a, SHLIB_EXT) for a in local_archs]], + 'dirs': [] +} + +sanity_check_commands = [ + 'callgrind_annotate --version 2>&1 | grep "%(version)s"', + 'cg_annotate --help', + 'ms_print --version 2>&1 | grep "%(version)s"', + 'valgrind --help', + 'vgdb --help', +] + +moduleclass = 'debugger'