Skip to content

Commit

Permalink
sync local branch with remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Mar 14, 2024
2 parents 5c06182 + 702a276 commit 38afa6b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
easyconfigs:
- Stacks-2.62-foss-2022a.eb
- ImageMagick-7.1.0-37-GCCcore-11.3.0.eb:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/20086
options:
from-pr: 20086
13 changes: 13 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,18 @@ def parse_hook_gpaw_harcoded_path(ec, eprefix):
raise EasyBuildError("GPAW-specific hook triggered for non-GPAW easyconfig?!")


def parse_hook_imagemagick_add_dependency(ec, eprefix):
"""Add dependency for PCRE/8.45 for ImageMagick/7.1.0-37"""
if ec.name == 'ImageMagick':
if LooseVersion(ec.version) == LooseVersion('7.1.0-37'):
print_msg("Added dependency for PCRE/8.45 to %s/%s", ec.name, ec.version)
ec['dependencies'].append(('PCRE', '8.45'))
else:
print_msg("Not adding dependency for PCRE/8.45 to %s/%s", ec.name, ec.version)
else:
raise EasyBuildError("ImageMagick-specific hook triggered for non-ImageMagick easyconfig?!")


def parse_hook_openblas_relax_lapack_tests_num_errors(ec, eprefix):
"""Relax number of failing numerical LAPACK tests for aarch64/* CPU targets for OpenBLAS < 0.3.23"""
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
Expand Down Expand Up @@ -606,6 +618,7 @@ def inject_gpu_property(ec):
'CGAL': parse_hook_cgal_toolchainopts_precise,
'fontconfig': parse_hook_fontconfig_add_fonts,
'GPAW': parse_hook_gpaw_harcoded_path,
'ImageMagick': parse_hook_imagemagick_add_dependency,
'OpenBLAS': parse_hook_openblas_relax_lapack_tests_num_errors,
'Pillow-SIMD' : parse_hook_Pillow_SIMD_harcoded_paths,
'pybind11': parse_hook_pybind11_replace_catch2,
Expand Down

0 comments on commit 38afa6b

Please sign in to comment.