Fix gromacs installation with SVE. Issue 44062 (#44183)

* Fix gromacs installation with SVE. Issue 44062

* [@spackbot] updating style on behalf of paolotricerri

* Remove `neoverse_n2` target

We have removed the neoverse_n2 target as its detection is more involved
compared to neoverse_v*.
This commit is contained in:
Paolo 2024-05-15 14:22:47 +01:00 committed by GitHub
parent 1b5d786cf5
commit 6c65977e0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,7 +163,7 @@ class Gromacs(CMakePackage, CudaPackage):
"sve",
default=True,
description="Enable SVE on aarch64 if available",
when="target=neoverse_v1",
when="target=neoverse_v1:,neoverse_v2:",
)
variant(
"sve", default=True, description="Enable SVE on aarch64 if available", when="target=a64fx"