llvm: Remove python bindings when >= v17 (#41160)
Co-authored-by: Tom Scogland <scogland1@llnl.gov>
This commit is contained in:
		| @@ -983,6 +983,9 @@ def post_install(self): | |||||||
|                 ninja() |                 ninja() | ||||||
|                 ninja("install") |                 ninja("install") | ||||||
|         if "+python" in self.spec: |         if "+python" in self.spec: | ||||||
|  |             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) |                 install_tree("llvm/bindings/python", python_platlib) | ||||||
| 
 | 
 | ||||||
|             if "+clang" in self.spec: |             if "+clang" in self.spec: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alec Scott
					Alec Scott