diff options
author | Paul Gessinger <hello@paulgessinger.com> | 2024-11-02 11:13:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-02 11:13:37 +0100 |
commit | 55918c31d2c1d601be5ad671471a62885c065f09 (patch) | |
tree | 9c094281104955282004929f879a3bf75bf3b047 /var | |
parent | b8461f3d2dc72007c63fb24af5694cee8b5791bc (diff) | |
download | spack-55918c31d2c1d601be5ad671471a62885c065f09.tar.gz spack-55918c31d2c1d601be5ad671471a62885c065f09.tar.bz2 spack-55918c31d2c1d601be5ad671471a62885c065f09.tar.xz spack-55918c31d2c1d601be5ad671471a62885c065f09.zip |
root: require +opengl when +aqua is on (#47349)
According to https://github.com/root-project/root/issues/7160, if
`-Dcocoa=ON` build must also be configured with `-Dopengl=ON`, since
otherwise the build encounters missing includes. This is/was a silent
failure in ROOT CMake, but I believe has been made an explicit failure
some time this year.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/root/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py index 3199056910..106bde9775 100644 --- a/var/spack/repos/builtin/packages/root/package.py +++ b/var/spack/repos/builtin/packages/root/package.py @@ -429,6 +429,8 @@ class Root(CMakePackage): # Incompatible variants if sys.platform == "darwin": conflicts("+opengl", when="~x ~aqua", msg="root+opengl requires X or Aqua") + # https://github.com/root-project/root/issues/7160 + conflicts("+aqua", when="~opengl", msg="+aqua requires OpenGL to be enabled") else: conflicts("+opengl", when="~x", msg="root+opengl requires X") conflicts("+math", when="~gsl", msg="root+math requires GSL") |