summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Dorier <mdorier@anl.gov>2020-01-02 21:29:18 +0000
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-02 15:29:18 -0600
commit8e70fa52df69757c535ea4fd4008c6f7f091bf22 (patch)
treee59732bf801af7d8728bd011015031449ac3766e
parent19c1312eb43c1b2316b638e6b924e5ea7bcdd8c8 (diff)
downloadspack-8e70fa52df69757c535ea4fd4008c6f7f091bf22.tar.gz
spack-8e70fa52df69757c535ea4fd4008c6f7f091bf22.tar.bz2
spack-8e70fa52df69757c535ea4fd4008c6f7f091bf22.tar.xz
spack-8e70fa52df69757c535ea4fd4008c6f7f091bf22.zip
added verbose variant to mercury package (#14355)
-rw-r--r--var/spack/repos/builtin/packages/mercury/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mercury/package.py b/var/spack/repos/builtin/packages/mercury/package.py
index 62097000ce..b09256b7ad 100644
--- a/var/spack/repos/builtin/packages/mercury/package.py
+++ b/var/spack/repos/builtin/packages/mercury/package.py
@@ -39,6 +39,8 @@ class Mercury(CMakePackage):
# Cray-MPICH if libfabric and MPI are used at the same time
variant('udreg', default=False,
description='Enable udreg on supported Cray platforms')
+ variant('verbose', default=True,
+ description='Enable Mercury to print errors on stderr')
depends_on('cmake@2.8.12.2:', type='build')
# depends_on('cci', when='+cci') # TODO: add CCI package
@@ -77,6 +79,7 @@ class Mercury(CMakePackage):
'-DNA_USE_CCI:BOOL=%s' % variant_bool('+cci'),
'-DNA_USE_MPI:BOOL=%s' % variant_bool('+mpi'),
'-DNA_USE_SM:BOOL=%s' % variant_bool('+sm'),
+ '-DMERCURY_ENABLE_VERBOSE_ERROR=%s' % variant_bool('+verbose'),
]
if '@1.0.0:' in spec: