llvm: Remove python bindings when >= v17 (#41160)
Co-authored-by: Tom Scogland <scogland1@llnl.gov>
This commit is contained in:
parent
73858df14d
commit
868a3c43e4
@ -983,7 +983,10 @@ def post_install(self):
|
||||
ninja()
|
||||
ninja("install")
|
||||
if "+python" in self.spec:
|
||||
install_tree("llvm/bindings/python", python_platlib)
|
||||
if spec.version < Version("17.0.0"):
|
||||
# llvm bindings were removed in v17:
|
||||
# https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html#changes-to-the-python-bindings
|
||||
install_tree("llvm/bindings/python", python_platlib)
|
||||
|
||||
if "+clang" in self.spec:
|
||||
install_tree("clang/bindings/python", python_platlib)
|
||||
|
Loading…
Reference in New Issue
Block a user