summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMartin Aumüller <aumuell@reserv.at>2023-08-01 00:36:16 +0200
committerGitHub <noreply@github.com>2023-07-31 18:36:16 -0400
commit9343b9524f7468a4e968f1d937f245889f585e05 (patch)
tree53b7618a5769ef65f7454a8caca4d452c4d1585e /var
parentbb0cec1530736f5a1f468eb07b6bb0a9cb3a9e76 (diff)
downloadspack-9343b9524f7468a4e968f1d937f245889f585e05.tar.gz
spack-9343b9524f7468a4e968f1d937f245889f585e05.tar.bz2
spack-9343b9524f7468a4e968f1d937f245889f585e05.tar.xz
spack-9343b9524f7468a4e968f1d937f245889f585e05.zip
qt-base: add conflict for 6.5+ with GCC < 9 (#39158)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/qt-base/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qt-base/package.py b/var/spack/repos/builtin/packages/qt-base/package.py
index 3204f728e1..949d934144 100644
--- a/var/spack/repos/builtin/packages/qt-base/package.py
+++ b/var/spack/repos/builtin/packages/qt-base/package.py
@@ -154,6 +154,9 @@ class QtBase(QtPackage):
# Qt6 requires newer compilers: see https://github.com/spack/spack/issues/34418
conflicts("%gcc@:7")
+ # The oldest compiler for Qt 6.5 is GCC 9: https://doc.qt.io/qt-6.5/supported-platforms.html
+ with when("@6.5:"):
+ conflicts("%gcc@:8")
# ensure that Qt links against GSS framework on macOS: https://bugreports.qt.io/browse/QTBUG-114537
with when("@6.3.2:6.5.1"):