CppUnit/1.15.1-cpeAMD-26.03 (CppUnit-1.15.1-cpeAMD-26.03.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider CppUnit/1.15.1-cpeAMD-26.03.
EasyConfig:
easyblock = 'ConfigureMake'
local_CppUnit_version = '1.15.1' # https://dev-www.libreoffice.org/src/
name = 'CppUnit'
version = local_CppUnit_version
homepage = 'https://freedesktop.org/wiki/Software/cppunit/'
whatis = [
'Description: CppUnit is the C++ port of the famous JUnit framework for unit testing.'
]
description = """
CppUnit is the C++ port of the famous JUnit framework for unit testing.
"""
toolchain = {'name': 'cpeAMD', 'version': '26.03'}
toolchain_opts = {'extra_cxxflags': '-Qunused-arguments'}
source_urls = ['https://dev-www.libreoffice.org/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7']
build_deps = [
('buildtools', '%(toolchain_version)s', '', True),
('craype-network-none', EXTERNAL_MODULE),
('craype-accel-none', EXTERNAL_MODULE),
]
pre_configure_opts = 'module unload cray-libsci cray-mpich xpmem && '
pre_build_opts = pre_configure_opts
sanity_check_paths = {
'files': ['lib/libcppunit.a', 'lib/libcppunit.%s' % SHLIB_EXT,
'lib/pkgconfig/cppunit.pc', 'bin/DllPlugInTester'],
'dirs': ['bin', 'include/cppunit', 'share'],
}
sanity_check_cmds = [
# Check if pkg-config can read the cppunit.pc file
'pkg-config --validate cppunit',
f'pkg-config --exact-version={version} cppunit'
]
env_mod_category = 'tools'