Skip to content

Commit 97a004d

Browse files
authored
Merge pull request #75 from boegel/fix_blis_a64fx
also add `-DCACHE_SECTOR_SIZE_READONLY` to `$CFLAGS` when building BLIS 1.0 and 1.1 for A64FX
2 parents f2a06d0 + a9b9738 commit 97a004d

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
@@ -682,12 +682,12 @@ def pre_configure_hook(self, *args, **kwargs):
682682

683683
def pre_configure_hook_BLIS_a64fx(self, *args, **kwargs):
684684
"""
685-
Pre-configure hook for BLIS when building for A64FX:
685+
Pre-configure hook for BLIS when building for A64FX to fix "Illegal instruction" problem
686686
- add -DCACHE_SECTOR_SIZE_READONLY to $CFLAGS for BLIS 0.9.0, cfr. https://github.com/flame/blis/issues/800
687687
"""
688688
if self.name == 'BLIS':
689689
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
690-
if self.version == '0.9.0' and cpu_target == CPU_TARGET_A64FX:
690+
if self.version in ('0.9.0', '1.0', '1.1') and cpu_target == CPU_TARGET_A64FX:
691691
# last argument of BLIS' configure command is configuration target (usually 'auto' for auto-detect),
692692
# specifying of variables should be done before that
693693
config_opts = self.cfg['configopts'].split(' ')

0 commit comments

Comments
 (0)