diff options
author | snehring <snehring@users.noreply.github.com> | 2018-09-28 12:41:41 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-09-28 10:41:41 -0700 |
commit | 3c713661b8956cc7b32ec0a63aeb4ed4939b5946 (patch) | |
tree | 8101dab23191dd158669a72771da8089cae9d257 | |
parent | f641a72a8b537a7ce4bf526402f25ddf85e51448 (diff) | |
download | spack-3c713661b8956cc7b32ec0a63aeb4ed4939b5946.tar.gz spack-3c713661b8956cc7b32ec0a63aeb4ed4939b5946.tar.bz2 spack-3c713661b8956cc7b32ec0a63aeb4ed4939b5946.tar.xz spack-3c713661b8956cc7b32ec0a63aeb4ed4939b5946.zip |
gmap-gsnap: set default value for simd variant (#9366)
Also add zlib/bzip2 dependencies.
-rw-r--r-- | var/spack/repos/builtin/packages/gmap-gsnap/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gmap-gsnap/package.py b/var/spack/repos/builtin/packages/gmap-gsnap/package.py index 36af8e1f4d..7268111652 100644 --- a/var/spack/repos/builtin/packages/gmap-gsnap/package.py +++ b/var/spack/repos/builtin/packages/gmap-gsnap/package.py @@ -38,11 +38,15 @@ class GmapGsnap(AutotoolsPackage): version('2017-06-16', 'fcc91b8bdd4bf12ae3124de0c00db0c0') version('2014-12-28', '1ab07819c9e5b5b8970716165ccaa7da') + depends_on('zlib') + depends_on('bzip2') + variant( 'simd', description='CPU support.', values=('avx2', 'sse42', 'avx512', 'sse2'), - multi=True + multi=True, + default='sse2' ) def configure(self, spec, prefix): |