From 5201d2615eff0a7ff948b5783a0d859eb53a9423 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Thu, 26 Sep 2019 12:15:17 -0700 Subject: [PATCH] qt4: fix 'arch' string due to microarchitecture change (#12957) qt4 fails to build because it's expecting something like 'x86_64' rather than 'broadwell'. --- var/spack/repos/builtin/packages/qt/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index c67b6a76af..fc55570eb3 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -427,7 +427,7 @@ def configure(self, spec, prefix): '-{0}gtkstyle'.format('' if '+gtk' in spec else 'no-'), '-{0}webkit'.format('' if '+webkit' in spec else 'no-'), '-{0}phonon'.format('' if '+phonon' in spec else 'no-'), - '-arch', str(spec.architecture.target), + '-arch', str(spec.target.family), ]) # Disable phonon backend until gstreamer is setup as dependency