diff --git a/easybuild/easyconfigs/g/GOTCHA/GOTCHA-1.0.7-GCCcore-13.3.0.eb b/easybuild/easyconfigs/g/GOTCHA/GOTCHA-1.0.7-GCCcore-13.3.0.eb new file mode 100644 index 000000000000..27dd818bca6e --- /dev/null +++ b/easybuild/easyconfigs/g/GOTCHA/GOTCHA-1.0.7-GCCcore-13.3.0.eb @@ -0,0 +1,40 @@ +easyblock = "CMakeMake" + +name = "GOTCHA" +version = "1.0.7" + +homepage = "https://gotcha.readthedocs.io/en/latest/" +description = """Gotcha is a library that wraps functions. Tools can use gotcha to install hooks into other +libraries, for example putting a wrapper function around libc's malloc. It is similar to LD_PRELOAD, but +operates via a programmable API. This enables easy methods of accomplishing tasks like code instrumentation +or wholesale replacement of mechanisms in programs without disrupting their source code.""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/LLNL/GOTCHA/archive/'] +sources = ['%(version)s.tar.gz'] +checksums = ['1ecc1917a46ba0a63b75f0668b280e447afcb7623ad171caa35c596355d986f7'] + +builddependencies = [ + ('binutils', '2.42'), + ('CMake', '3.29.3') +] + +# parallel build fails when building tests +# due to test dependencies being pulled while +# trying to build with them simultaneously +# See https://github.com/LLNL/GOTCHA/issues/158 +parallel = 1 +configopts = [ + "-DGOTCHA_ENABLE_TESTS=ON" +] + +sanity_check_paths = { + 'files': [('lib/libgotcha.%s' % SHLIB_EXT, 'lib64/libgotcha.%s' % SHLIB_EXT), + 'lib/cmake/gotcha/gotcha-config.cmake', + 'include/gotcha/gotcha.h'], + 'dirs': [] +} + +moduleclass = 'devel'