Skip to content

Commit 6ac12f6

Browse files
committed
also add -DCACHE_SECTOR_SIZE_READONLY to $CFLAGS when building BLIS 1.0 and 1.1 for A64FX
1 parent aa99eae commit 6ac12f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eb_hooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,12 +672,12 @@ def pre_configure_hook(self, *args, **kwargs):
672672

673673
def pre_configure_hook_BLIS_a64fx(self, *args, **kwargs):
674674
"""
675-
Pre-configure hook for BLIS when building for A64FX:
675+
Pre-configure hook for BLIS when building for A64FX to fix "Illegal instruction" problem
676676
- add -DCACHE_SECTOR_SIZE_READONLY to $CFLAGS for BLIS 0.9.0, cfr. https://github.com/flame/blis/issues/800
677677
"""
678678
if self.name == 'BLIS':
679679
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
680-
if self.version == '0.9.0' and cpu_target == CPU_TARGET_A64FX:
680+
if self.version in ('0.9.0', '1.0', '1.1') and cpu_target == CPU_TARGET_A64FX:
681681
# last argument of BLIS' configure command is configuration target (usually 'auto' for auto-detect),
682682
# specifying of variables should be done before that
683683
config_opts = self.cfg['configopts'].split(' ')

0 commit comments

Comments
 (0)