gromacs: fix SIMD argument for ppc64le (#19435)

fixes #19414
This commit is contained in:
Massimiliano Culpo 2020-10-21 18:33:51 +02:00 committed by GitHub
parent fdf0cde5b9
commit bd178ead14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ def cmake_args(self):
elif target >= llnl.util.cpu.targets['bulldozer']:
# AMD Family 15h
options.append('-DGMX_SIMD=AVX_128_FMA')
elif target >= llnl.util.cpu.targets['power7']:
elif 'vsx' in target:
# IBM Power 7 and beyond
options.append('-DGMX_SIMD=IBM_VSX')
elif target.family == llnl.util.cpu.targets['aarch64']: