Catch2-2.13.9.eb 961 B

1234567891011121314151617181920212223242526272829303132
  1. easyblock = 'CMakeMake'
  2. name = 'Catch2'
  3. version = '2.13.9'
  4. homepage = 'https://github.com/catchorg/Catch2'
  5. description = """A modern, C++-native, header-only,
  6. test framework for unit-tests, TDD and BDD
  7. - using C++11, C++14, C++17 and later
  8. """
  9. toolchain = SYSTEM
  10. source_urls = ['https://github.com/catchorg/Catch2/archive/']
  11. sources = ['v%(version)s.tar.gz']
  12. checksums = ['06dbc7620e3b96c2b69d57bf337028bf245a211b3cddb843835bfe258f427a52']
  13. # using CMake built with GCCcore to avoid relying on the system compiler to build it
  14. builddependencies = [
  15. ('GCCcore', '12.2.0'), # required to a access CMake when using hierarchical module naming scheme
  16. ('binutils', '2.39', '', ('GCCcore', '12.2.0')), # to make CMake compiler health check pass on old systems
  17. ('CMake', '3.24.3', '', ('GCCcore', '12.2.0')),
  18. ]
  19. separate_build_dir = True
  20. sanity_check_paths = {
  21. 'files': [],
  22. 'dirs': ['include/catch2', 'lib64/cmake'],
  23. }
  24. moduleclass = 'lib'