Skip to content

Commit a35d88f

Browse files
committed
add cpu architecture to BLIS configure command at the end
1 parent 6581883 commit a35d88f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

easybuild/easyblocks/b/blis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ def configure_step(self):
7070
else:
7171
self.cfg.update('configopts', f"--enable-threading={self.cfg['threading_implementation']}")
7272

73-
self.cfg.update('configopts', f'CC="$CC" {self.cfg["cpu_architecture"]}')
74-
7573
# arch_name will only be available when archspec is available to easybuild, else arch_name will be unknown
7674
arch_name = get_cpu_arch_name()
7775
if self.version in ('0.9.0', '1.0', '1.1', '2.0') and arch_name == 'a64fx':
7876
# see https://github.com/flame/blis/issues/800
7977
self.cfg.update('configopts', 'CFLAGS="$CFLAGS -DCACHE_SECTOR_SIZE_READONLY"')
8078

79+
self.cfg.update('configopts', f'CC="$CC" {self.cfg["cpu_architecture"]}')
80+
8181
output = super().configure_step()
8282

8383
if self.cfg['cpu_architecture'] == 'auto':

0 commit comments

Comments
 (0)