Skip to content

Commit 13ddf4e

Browse files
committed
Merge branch 'lammps_hook' into test_lammps_hook
2 parents 83d415f + e80b897 commit 13ddf4e

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

eb_hooks.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,12 +1582,10 @@ def pre_test_hook_ignore_failing_tests_LAMMPS_ARM_generic(self, *args, **kwargs)
15821582
See: https://github.com/lammps/lammps/issues/4926
15831583
"""
15841584
if self.name == 'LAMMPS' and self.version in ('22Jul2025',):
1585-
if os.getenv('EESSI_CPU_FAMILY') == 'aarch64':
1586-
mcpu_generic = '-DKokkos_ARCH_ARMV80=yes'
1587-
cflags = os.getenv('CFLAGS')
1588-
if mcpu_generic in cflags:
1589-
self.orig_ignore_test_failure = build_option('ignore_test_failure')
1590-
update_build_option('ignore_test_failure', True)
1585+
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
1586+
if cpu_target == CPU_TARGET_AARCH64_GENERIC:
1587+
self.orig_ignore_test_failure = build_option('ignore_test_failure')
1588+
update_build_option('ignore_test_failure', True)
15911589

15921590

15931591
def post_test_hook(self, *args, **kwargs):

0 commit comments

Comments
 (0)