diff options
author | Bill Williams <wwilliam47@gmail.com> | 2024-04-17 18:32:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 09:32:47 -0700 |
commit | 1bf92c7881b7d3b189ee6c77f87b49f16a2b5440 (patch) | |
tree | bd35cac9ab531d4f08c48cd8d81da0d6f673304a /var | |
parent | eefe0b2eec00094ed004ba069dcb10f0871f42bd (diff) | |
download | spack-1bf92c7881b7d3b189ee6c77f87b49f16a2b5440.tar.gz spack-1bf92c7881b7d3b189ee6c77f87b49f16a2b5440.tar.bz2 spack-1bf92c7881b7d3b189ee6c77f87b49f16a2b5440.tar.xz spack-1bf92c7881b7d3b189ee6c77f87b49f16a2b5440.zip |
[Score-P] Make local with-or-without not use "yes" (#43701)
Score-P does not accept "--with-foo=yes", but only "--with-foo" or "--with-foo=some-valid-specific-choice-or-path". This keeps Spack from generating config flags that will cause Score-P to barf.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/scorep/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py index fd0f6f842d..8753ecafd3 100644 --- a/var/spack/repos/builtin/packages/scorep/package.py +++ b/var/spack/repos/builtin/packages/scorep/package.py @@ -153,6 +153,9 @@ class Scorep(AutotoolsPackage): return None return libs.directories[0] + def with_or_without(self, arg): + return super.with_or_without(arg).remove_suffix("=yes") + def configure_args(self): spec = self.spec |