root: conflicts +ipo (#34842)

ROOT does not build successfully with `+ipo`, with symptoms as in https://github.com/root-project/root/issues/10777, and discussed most recently in https://github.com/root-project/root/issues/11135. As indicated there, LTO is not a supported build configuration. As of 6.26.10 there is no estimate for a fix since upstream is still broken.
This commit is contained in:
Wouter Deconinck 2023-01-10 10:09:10 -06:00 committed by GitHub
parent 9d00e7d15d
commit d0bd8f74cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,6 +319,10 @@ class Root(CMakePackage):
# ROOT <6.14 is incompatible with Python >=3.7, which is the minimum supported by spack # ROOT <6.14 is incompatible with Python >=3.7, which is the minimum supported by spack
conflicts("+python", when="@:6.13", msg="Spack wants python >=3.7, too new for ROOT <6.14") conflicts("+python", when="@:6.13", msg="Spack wants python >=3.7, too new for ROOT <6.14")
# ROOT does not support LTO builds
# See https://github.com/root-project/root/issues/11135
conflicts("+ipo", msg="LTO is not a supported configuration for building ROOT")
@classmethod @classmethod
def filter_detected_exes(cls, prefix, exes_in_prefix): def filter_detected_exes(cls, prefix, exes_in_prefix):
result = [] result = []