summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Dorier <mdorier@anl.gov>2021-04-23 22:47:42 +0100
committerGitHub <noreply@github.com>2021-04-23 14:47:42 -0700
commit769e549cd91583d462d686e0a19b6469e593c40e (patch)
tree5e593cac212d2982628b2f3aa136fd737a41f190
parent5809ee6d26a987d9d688a27d330277e6cb2ae5f6 (diff)
downloadspack-769e549cd91583d462d686e0a19b6469e593c40e.tar.gz
spack-769e549cd91583d462d686e0a19b6469e593c40e.tar.bz2
spack-769e549cd91583d462d686e0a19b6469e593c40e.tar.xz
spack-769e549cd91583d462d686e0a19b6469e593c40e.zip
argobots: changed 'no' into 'none' for variant (#23171)
-rw-r--r--var/spack/repos/builtin/packages/argobots/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/argobots/package.py b/var/spack/repos/builtin/packages/argobots/package.py
index 310300dbee..5d0af27b3f 100644
--- a/var/spack/repos/builtin/packages/argobots/package.py
+++ b/var/spack/repos/builtin/packages/argobots/package.py
@@ -29,8 +29,8 @@ class Argobots(AutotoolsPackage):
variant("valgrind", default=False, description="Enable Valgrind")
variant("debug", default=False, description="Compiled with debugging symbols")
variant("stackunwind", default=False, description="Enable function stack unwinding")
- variant("stackguard", default="no", description="Enable stack guard",
- values=('no', 'canary-32', 'mprotect', 'mprotect-strict'), multi=False)
+ variant("stackguard", default="none", description="Enable stack guard",
+ values=('none', 'canary-32', 'mprotect', 'mprotect-strict'), multi=False)
variant("tool", default=False, description="Enable ABT_tool interface")
variant("affinity", default=False, description="Enable affinity setting")
@@ -61,7 +61,7 @@ class Argobots(AutotoolsPackage):
args.append('--with-libunwind={0}'.format(self.spec['libunwind'].prefix))
stackguard = self.spec.variants['stackguard'].value
- if stackguard != 'no':
+ if stackguard != 'none':
args.append('--enable-stack-overflow-check={0}'.format(stackguard))
if '+tool' in self.spec: