Skip to content

Commit

Permalink
Merge branch '2023.06-software.eessi.io' into modfflow6_zen4
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa authored Aug 7, 2024
2 parents a65eaf4 + e2075ff commit c6c6c6b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
easyconfigs:
- BLAST+-2.14.0-gompi-2022b.eb
- BioPerl-1.7.8-GCCcore-12.2.0.eb:
options:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/21136
from-commit: d8076ebaf8cb915762adebf88d385cc672b350dc
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,14 @@ easyconfigs:
- librosa-0.10.1-foss-2023a.eb
- xarray-2023.9.0-gfbf-2023a.eb
- SciTools-Iris-3.9.0-foss-2023a.eb
- OpenFOAM-v2312-foss-2023a.eb:
options:
# https://github.com/easybuilders/easybuild-easyblocks/pull/3388
include-easyblocks-from-commit: c8256a36e7062bc09f5ce30552a9de9827054c9e
# https://github.com/easybuilders/easybuild-easyconfigs/pull/20841
from-commit: f0e91e6e430ebf902f7788ebb47f0203dee60649
- BioPerl-1.7.8-GCCcore-12.3.0.eb:
options:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/21136
from-commit: d8076ebaf8cb915762adebf88d385cc672b350dc
- grpcio-1.57.0-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ easyconfigs:
# see https://github.com/easybuilders/easybuild-easyconfigs/pull/20942
from-commit: 524da37b903585cea5a9eeb4156d1c8d57636bd8
- librosa-0.10.1-foss-2023a.eb
- R-bundle-Bioconductor-3.18-foss-2023a-R-4.3.2.eb
- MODFLOW-6.4.4-foss-2023a.eb
14 changes: 14 additions & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,19 @@ def parse_hook_fontconfig_add_fonts(ec, eprefix):
raise EasyBuildError("fontconfig-specific hook triggered for non-fontconfig easyconfig?!")


def parse_hook_grpcio_zlib(ec, ecprefix):
"""Adjust preinstallopts to use ZLIB from compat layer."""
if ec.name == 'grpcio' and ec.version in ['1.57.0']:
exts_list = ec['exts_list']
original_preinstallopts = (exts_list[0][2])['preinstallopts']
original_option = "GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True"
new_option = "GRPC_PYTHON_BUILD_SYSTEM_ZLIB=False"
(exts_list[0][2])['preinstallopts'] = original_preinstallopts.replace(original_option, new_option, 1)
print_msg("Modified the easyconfig to use compat ZLIB with GRPC_PYTHON_BUILD_SYSTEM_ZLIB=False")
else:
raise EasyBuildError("grpcio-specific hook triggered for a non-grpcio easyconfig?!")


def parse_hook_openblas_relax_lapack_tests_num_errors(ec, eprefix):
"""Relax number of failing numerical LAPACK tests for aarch64/neoverse_v1 CPU target for OpenBLAS < 0.3.23"""
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
Expand Down Expand Up @@ -743,6 +756,7 @@ def inject_gpu_property(ec):
'casacore': parse_hook_casacore_disable_vectorize,
'CGAL': parse_hook_cgal_toolchainopts_precise,
'fontconfig': parse_hook_fontconfig_add_fonts,
'grpcio': parse_hook_grpcio_zlib,
'LAMMPS': parse_hook_lammps_remove_deps_for_CI_aarch64,
'CP2K': parse_hook_CP2K_remove_deps_for_aarch64,
'OpenBLAS': parse_hook_openblas_relax_lapack_tests_num_errors,
Expand Down

0 comments on commit c6c6c6b

Please sign in to comment.