Commit 2a1bee4e authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

added +valgrind variant to Argobots

parent 97415790
...@@ -38,7 +38,13 @@ class Argobots(AutotoolsPackage): ...@@ -38,7 +38,13 @@ class Argobots(AutotoolsPackage):
depends_on('autoconf', type=("build")) depends_on('autoconf', type=("build"))
depends_on('automake', type=("build")) depends_on('automake', type=("build"))
depends_on('libtool', type=("build")) depends_on('libtool', type=("build"))
depends_on('valgrind', when='+valgrind')
variant('valgrind', default=False, description="Enable Valgrind")
def configure_args(self): def configure_args(self):
args = ["--enable-perf-opt"] args = ["--enable-perf-opt"]
if (self.spec.variants['valgrind'].value):
args.extend(["--enable-valgrind"])
return args return args
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment