summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Taller <66029857+dtaller@users.noreply.github.com>2020-12-16 01:44:43 -0800
committerGitHub <noreply@github.com>2020-12-16 10:44:43 +0100
commitd505ef8217739bb2615ef36e892372f34783d327 (patch)
tree53ed1975d51ddcd07912e983954e4d6a00769e1a
parentc52d9dc445ef150136427ca0e88c4cf327324be7 (diff)
downloadspack-d505ef8217739bb2615ef36e892372f34783d327.tar.gz
spack-d505ef8217739bb2615ef36e892372f34783d327.tar.bz2
spack-d505ef8217739bb2615ef36e892372f34783d327.tar.xz
spack-d505ef8217739bb2615ef36e892372f34783d327.zip
loop fuser option (#20417)
-rw-r--r--var/spack/repos/builtin/packages/care/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/care/package.py b/var/spack/repos/builtin/packages/care/package.py
index 7c3b6a6391..785e1a09c8 100644
--- a/var/spack/repos/builtin/packages/care/package.py
+++ b/var/spack/repos/builtin/packages/care/package.py
@@ -25,9 +25,8 @@ class Care(CMakePackage, CudaPackage, ROCmPackage):
variant('benchmarks', default=True, description='Build benchmarks.')
variant('examples', default=True, description='Build examples.')
variant('docs', default=False, description='Build documentation')
- # TODO: figure out gtest dependency and then set this default True
- # and remove the +tests conflict below.
variant('tests', default=False, description='Build tests')
+ variant('loop_fuser', default=False, description='Enable loop fusion capability')
depends_on('blt', type='build')
depends_on('blt@0.3.7:', type='build', when='+rocm')
@@ -97,6 +96,9 @@ class Care(CMakePackage, CudaPackage, ROCmPackage):
options.append('-DCARE_ENABLE_IMPLICIT_CONVERSIONS={0}'.format(
'ON' if '+implicit_conversions' in spec else 'OFF'))
+ options.append('-DCARE_ENABLE_LOOP_FUSER={0}'.format(
+ 'ON' if '+loop_fuser' in spec else 'OFF'))
+
options.append('-DCAMP_DIR:PATH='
+ spec['camp'].prefix.share.camp.cmake)
options.append('-DUMPIRE_DIR:PATH='