Skip to content

Commit

Permalink
{devel}{GCCcore/13.3.0} Add GOTCHA v1.0.7
Browse files Browse the repository at this point in the history
Signed-off-by: Jan André Reuter <[email protected]>
  • Loading branch information
Thyre committed Sep 13, 2024
1 parent 799d910 commit 9325871
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/g/GOTCHA/GOTCHA-1.0.7-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 9325871

Please sign in to comment.