summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav Bhatele <bhatele@gmail.com>2018-10-31 11:50:37 -0700
committerChristoph Junghans <christoph.junghans@gmail.com>2018-10-31 12:50:37 -0600
commit939ce40032e339cc7311a370c3bbef1e68f7733b (patch)
treec3ff605ef4e9fbbe1ea60d338dc6e3f28292bef8
parent383cda2c9094cb39c02d497ca4c966faea6f2d30 (diff)
downloadspack-939ce40032e339cc7311a370c3bbef1e68f7733b.tar.gz
spack-939ce40032e339cc7311a370c3bbef1e68f7733b.tar.bz2
spack-939ce40032e339cc7311a370c3bbef1e68f7733b.tar.xz
spack-939ce40032e339cc7311a370c3bbef1e68f7733b.zip
ecp-proxy-apps: disable building CANDLE Benchmarks by default (#9691)
add as a variant
-rw-r--r--var/spack/repos/builtin/packages/ecp-proxy-apps/package.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py b/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
index 62b618db3d..bd2117cd99 100644
--- a/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
+++ b/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
@@ -25,6 +25,9 @@ class EcpProxyApps(Package):
version('1.1', '15825c318acd3726fd8e72803b1c1090')
version('1.0', '8b3f00f05e6cde88d8d913da4293ee62')
+ variant('candle', default=False,
+ description='Also build CANDLE Benchmarks')
+
# Added with release 2.0
depends_on('ember@1.0.0', when='@2.0:')
depends_on('miniqmc@0.4.0', when='@2.0:')
@@ -33,7 +36,7 @@ class EcpProxyApps(Package):
depends_on('thornado-mini@1.0', when='@2.0:')
depends_on('amg@1.1', when='@2.0:')
- depends_on('candle-benchmarks@0.1', when='@2.0:')
+ depends_on('candle-benchmarks@0.1', when='+candle @2.0:')
depends_on('laghos@1.1', when='@2.0:')
depends_on('macsio@1.1', when='@2.0:')
depends_on('miniamr@1.4.1', when='@2.0:')
@@ -48,7 +51,7 @@ class EcpProxyApps(Package):
# Dependencies for versions 1.0:1.1
depends_on('amg@1.0', when='@1.0:1.1')
- depends_on('candle-benchmarks@0.0', when='@1.0:1.1')
+ depends_on('candle-benchmarks@0.0', when='+candle @1.0:1.1')
depends_on('laghos@1.0', when='@1.0:1.1')
depends_on('macsio@1.0', when='@1.0:1.1')
depends_on('miniamr@1.4.0', when='@1.0:1.1')