From f5073149828035bc75099950aeb36556c11f375a Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Fri, 7 Jun 2024 11:54:54 +0200 Subject: [PATCH] set cpu_target --- eb_hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/eb_hooks.py b/eb_hooks.py index edf0344ad6..6460cf2d77 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -316,6 +316,7 @@ def parse_hook_sentencepiece_disable_tcmalloc_aarch64(ec, eprefix): """ Disable using TCMalloc """ + cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR') if ec.name == 'SentencePiece' and ec.version in ['0.2.0'] and cpu_target == CPU_TARGET_AARCH64_GENERIC: # find right setting to change/update print_msg("parse_hook for SentencePiece: '%s'",ec['components'])