summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index 5e8b80e626..68ef10c330 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -211,8 +211,8 @@ class Gromacs(CMakePackage):
elif target == 'mic_knl':
# Intel KNL
options.append('-DGMX_SIMD=AVX_512_KNL')
- elif target.vendor == 'GenuineIntel':
- # Other Intel architectures
+ else:
+ # Other architectures
simd_features = [
('sse2', 'SSE2'),
('sse4_1', 'SSE4.1'),
@@ -231,8 +231,8 @@ class Gromacs(CMakePackage):
if feature in target:
options.append('-DGMX_SIMD:STRING={0}'.format(flag))
break
- else:
- # Fall back to this for unknown microarchitectures
+
+ # Fall back
options.append('-DGMX_SIMD:STRING=None')
# Use the 'rtdscp' assembly instruction only on