diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/gmap-gsnap/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/gmap-gsnap/package.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gmap-gsnap/package.py b/var/spack/repos/builtin/packages/gmap-gsnap/package.py index 1d512aed62..3b7773763d 100644 --- a/var/spack/repos/builtin/packages/gmap-gsnap/package.py +++ b/var/spack/repos/builtin/packages/gmap-gsnap/package.py @@ -17,6 +17,9 @@ class GmapGsnap(AutotoolsPackage): maintainers("snehring") version( + "2023-07-20", sha256="19e70eebd9b282d8596721812d071efed188b6d5000627b9948f0486f87fe68f" + ) + version( "2023-06-01", sha256="c7e6f6cf644e6f66f9f5a0811a49da8cc81f095a4bd7b7cef2ab10aa5b314430" ) version( @@ -60,12 +63,18 @@ class GmapGsnap(AutotoolsPackage): depends_on("bzip2") depends_on("perl", type="run") + requires("simd=arm", when="target=aarch64", msg="simd=arm is required when building on arm") + variant( "simd", description="CPU support.", - values=("avx2", "sse42", "avx512", "sse2"), + values=( + conditional("avx2", "sse42", "avx512", "sse2", when="target=x86_64:"), + conditional("arm", when="@2023-02-17: target=aarch64:"), + conditional("avx512", "avx512bw", when="@2023-03-24: target=x86_64:"), + ), multi=True, - default="sse2", + default="avx2", ) def configure(self, spec, prefix): |