-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{devel}{GCCcore/13.3.0} Add GOTCHA v1.0.7
Signed-off-by: Jan André Reuter <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
easybuild/easyconfigs/g/GOTCHA/GOTCHA-1.0.7-GCCcore-13.3.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |