Fix assumption of linux platform in py-tensorflow (#49425)
post_configure_fixes assumed py-tensorflow depends on patchelf, but that dependency is platform dependent.
This commit is contained in:
parent
f89a2ada4c
commit
28341ef0a9
@ -828,7 +828,7 @@ def configure(self, spec, prefix):
|
|||||||
def post_configure_fixes(self):
|
def post_configure_fixes(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|
||||||
if spec.satisfies("@2.17:"):
|
if spec.satisfies("@2.17:") and ("patchelf" in spec):
|
||||||
filter_file(
|
filter_file(
|
||||||
"patchelf",
|
"patchelf",
|
||||||
spec["patchelf"].prefix.bin.patchelf,
|
spec["patchelf"].prefix.bin.patchelf,
|
||||||
|
Loading…
Reference in New Issue
Block a user