diff options
author | Pieter Ghysels <pghysels@lbl.gov> | 2021-02-08 10:27:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 18:27:41 +0000 |
commit | b37c601a01a3b140f2a54c5ff679a011aad7eb66 (patch) | |
tree | b0bd2c67ba287210169ae80ed1fca87ecd97c897 /var | |
parent | 512c8a1f1aa21e8896f863f4a2fe3c6a6d17da32 (diff) | |
download | spack-b37c601a01a3b140f2a54c5ff679a011aad7eb66.tar.gz spack-b37c601a01a3b140f2a54c5ff679a011aad7eb66.tar.bz2 spack-b37c601a01a3b140f2a54c5ff679a011aad7eb66.tar.xz spack-b37c601a01a3b140f2a54c5ff679a011aad7eb66.zip |
Strumpack slate variant (#21542)
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/strumpack/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/strumpack/package.py b/var/spack/repos/builtin/packages/strumpack/package.py index 339e9a2a71..27d6aca09d 100644 --- a/var/spack/repos/builtin/packages/strumpack/package.py +++ b/var/spack/repos/builtin/packages/strumpack/package.py @@ -53,8 +53,8 @@ class Strumpack(CMakePackage, CudaPackage, ROCmPackage): description='Build developer test routines') variant('build_tests', default=False, description='Build test routines') - - # TODO: add a slate variant + variant('slate', default=True, + description="Build with SLATE support") depends_on('cmake@3.11:', type='build') depends_on('mpi', when='+mpi') @@ -71,6 +71,8 @@ class Strumpack(CMakePackage, CudaPackage, ROCmPackage): depends_on('zfp', when='+zfp') depends_on('hipblas', when='+rocm') depends_on('rocsolver', when='+rocm') + depends_on('slate', when='+slate') + depends_on('slate+cuda', when='+cuda+slate') conflicts('+parmetis', when='~mpi') conflicts('+butterflypack', when='~mpi') @@ -79,6 +81,8 @@ class Strumpack(CMakePackage, CudaPackage, ROCmPackage): conflicts('+cuda', when='@:3.9.999') conflicts('+rocm', when='@:5.0.999') conflicts('+rocm', when='+cuda') + conflicts('+slate', when='@:5.1.1') + conflicts('+slate', when='~mpi') patch('intel-19-compile.patch', when='@3.1.1') |