summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2023-01-10 10:09:10 -0600
committerGitHub <noreply@github.com>2023-01-10 17:09:10 +0100
commitd0bd8f74cf0ca6c820732473be5f8591bc9fe88c (patch)
tree3b6750dda2c4867cee3b73d8d9540d0c4c9798c8 /var
parent9d00e7d15d5da43cd098f695f15d0ee4d1aeaedc (diff)
downloadspack-d0bd8f74cf0ca6c820732473be5f8591bc9fe88c.tar.gz
spack-d0bd8f74cf0ca6c820732473be5f8591bc9fe88c.tar.bz2
spack-d0bd8f74cf0ca6c820732473be5f8591bc9fe88c.tar.xz
spack-d0bd8f74cf0ca6c820732473be5f8591bc9fe88c.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/root/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index 262bea2ca1..f2d007c677 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -319,6 +319,10 @@ class Root(CMakePackage):
# 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")
+ # 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
def filter_detected_exes(cls, prefix, exes_in_prefix):
result = []