trilinos: fix @13.2: +python (#39370)
This commit is contained in:
parent
b8bfaf65bf
commit
2ae8bbce9e
@ -941,7 +941,7 @@ def filter_python(self):
|
||||
# https://github.com/trilinos/Trilinos/issues/866
|
||||
# A workaround is to remove PyTrilinos from the COMPONENTS_LIST
|
||||
# and to remove -lpytrilonos from Makefile.export.Trilinos
|
||||
if "+python" in self.spec:
|
||||
if self.spec.satisfies("@:13.0.1 +python"):
|
||||
filter_file(
|
||||
r"(SET\(COMPONENTS_LIST.*)(PyTrilinos;)(.*)",
|
||||
(r"\1\3"),
|
||||
|
Loading…
Reference in New Issue
Block a user