Skip to content

Commit

Permalink
Merge pull request easybuilders#20829 from boegel/20240614200829_new_…
Browse files Browse the repository at this point in the history
…pr_pybind112120

{lib}[GCC/13.3.0] pybind11 v2.12.0, Catch2 v2.13.10
  • Loading branch information
branfosj authored Jun 15, 2024
2 parents c158afa + 044cb6c commit 2cb88b1
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
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'

0 comments on commit 2cb88b1

Please sign in to comment.