Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{lib}[GCC/13.3.0] pybind11 v2.12.0, Catch2 v2.13.10 #20829

Merged
Merged
Show file tree
Hide file tree
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
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/c/Catch2/Catch2-2.13.10-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'CMakeMake'

name = 'Catch2'
version = '2.13.10'

homepage = 'https://github.com/catchorg/Catch2'
description = """A modern, C++-native, header-only,
test framework for unit-tests, TDD and BDD
- using C++11, C++14, C++17 and later
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/catchorg/Catch2/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943']

builddependencies = [
('binutils', '2.42'), # to make CMake compiler health check pass on old systems
('CMake', '3.29.3'),
]

separate_build_dir = True

sanity_check_paths = {
'files': ['include/catch2/catch.hpp'],
'dirs': ['lib/cmake'],
}

moduleclass = 'lib'
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/p/pybind11/pybind11-2.12.0-GCC-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name = 'pybind11'
version = '2.12.0'

homepage = 'https://pybind11.readthedocs.io'
description = """pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa,
mainly to create Python bindings of existing C++ code."""

toolchain = {'name': 'GCC', 'version': '13.3.0'}

source_urls = ['https://github.com/pybind/pybind11/archive/']
sources = ['v%(version)s.tar.gz']
patches = [
'pybind11-2.10.3_require-catch.patch',
]
checksums = [
{'v2.12.0.tar.gz': 'bf8f242abd1abcd375d516a7067490fb71abd79519a282d22b6e4d19282185a7'},
{'pybind11-2.10.3_require-catch.patch': '4a27ba3ef1d5c535d120d6178a6e876ae678e4899a07500aab37908357b0b60b'},
]

builddependencies = [
('CMake', '3.29.3'),
# Test dependencies
('Eigen', '3.4.0'),
('Catch2', '2.13.10'),
('Python-bundle-PyPI', '2024.06'), # to provide pytest
]

dependencies = [
('Boost', '1.85.0'),
('Python', '3.12.3'),
]

moduleclass = 'lib'
Loading