Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/l/libseccomp/libseccomp-2.5.5-gompi-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Author: Stamen Miroslavov <stamen.miroslavov@bsc.es>
# Barcelona Supercomputing Center 2024

easyblock = 'ConfigureMake'

name = 'libseccomp'
version = '2.5.5'

homepage = 'https://github.com/seccomp/libseccomp'
description = """
The libseccomp library provides an easy to use, platform independent, interface to the Linux
Kernel's syscall filtering mechanism. The libseccomp API is designed to abstract away the
underlying BPF based syscall filter language and present a more conventional function-call based
filtering interface that should be familiar to, and easily adopted by, application developers.
"""

toolchain = {'name': 'gompi', 'version': '2023b'}

source_urls = ['https://github.com/seccomp/%(name)s/releases/download/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375']

builddependencies = [
('Autotools', '20220317'),
('Python', '3.11.5'),
]

dependencies = [
('gperf', '3.1'),
('pkgconf', '2.0.3'),
('libtool', '2.4.7'),
('Valgrind', '3.23.0'),
]
Comment on lines +28 to +33
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double-check which of these are runtime dependencies please. pkgconfg for sure should be a build dependency, similarly libtool

Also, Python should probably be a runtime dependency, unless we're not building the python wrappers


sanity_check_paths = {
'files': [],
'dirs': ['bin']
}
Comment on lines +35 to +38
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sanity_check_paths = {
'files': [],
'dirs': ['bin']
}
sanity_check_paths = {
'files': [f'lib/{name}.{x}' for x in ('a', SHLIB_EXT)],
'dirs': ['bin', 'lib/pkgconfig']
}
sanity_check_commands = ["scmp_sys_resolver -h 2>&1| grep -q ''^usage\:\s"]


moduleclass = 'lib'
Loading