[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.
This commit is contained in:
parent
eefe0b2eec
commit
1bf92c7881
1 changed files with 3 additions and 0 deletions
|
@ -153,6 +153,9 @@ def find_libpath(self, libname, root):
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue