Skip to content

Commit e5f5cd2

Browse files
author
Caspar van Leeuwen
committed
Remove the prepare_hooks that were specific to zen4, as they were replaced by generic hooks
1 parent 2d2cdff commit e5f5cd2

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

eb_hooks.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -777,25 +777,6 @@ def post_easyblock_hook_copy_easybuild_subdir(self, *args, **kwargs):
777777
copy_dir(app_easybuild_dir, app_reprod_dir)
778778

779779

780-
# Modules for dependencies are loaded in the prepare step. Thus, that's where we need this variable to be set
781-
# so that the modules can be succesfully loaded without printing the error (so that we can create a module
782-
# _with_ the warning for the current software being installed)
783-
# def pre_prepare_hook_ignore_zen4_gcccore1220_error(self, *args, **kwargs):
784-
# """Set environment variable to ignore the LmodError from parse_hook_zen4_module_only during build phase"""
785-
# if is_gcccore_1220_based(ecname=self.name, ecversion=self.version, tcname=self.toolchain.name,
786-
# tcversion=self.toolchain.version):
787-
# os.environ[EESSI_IGNORE_ZEN4_GCC1220_ENVVAR] = "1"
788-
#
789-
#
790-
# def post_prepare_hook_ignore_zen4_gcccore1220_error(self, *args, **kwargs):
791-
# """Unset environment variable to ignore the LmodError from parse_hook_zen4_module_only during build phase"""
792-
# if is_gcccore_1220_based(ecname=self.name, ecversion=self.version, tcname=self.toolchain.name,
793-
# tcversion=self.toolchain.version):
794-
# del os.environ[EESSI_IGNORE_ZEN4_GCC1220_ENVVAR]
795-
796-
797-
# TODO: create pre and post prepare hook to set/unset EESSI_IGNORE_CUDA126_CC1X0_ENVVAR
798-
799780
def pre_prepare_hook_highway_handle_test_compilation_issues(self, *args, **kwargs):
800781
"""
801782
Solve issues with compiling or running the tests on both

0 commit comments

Comments
 (0)