From 1bf92c7881b7d3b189ee6c77f87b49f16a2b5440 Mon Sep 17 00:00:00 2001 From: Bill Williams Date: Wed, 17 Apr 2024 18:32:47 +0200 Subject: [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. --- var/spack/repos/builtin/packages/scorep/package.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'var') 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 -- cgit v1.2.3-70-g09d2