Skip to content

Commit

Permalink
set cpu_target
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 7, 2024
1 parent 32df03b commit f507314
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit f507314

Please sign in to comment.