diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-25 15:57:29 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-09-06 16:00:21 -0400 |
commit | 4687860885fc06ba8d911e99408b6a9f4221c64e (patch) | |
tree | e749316e41422afd8a8b25868f6f12dbba209e83 | |
parent | a05a6456d5aa69fdc369b99134227a4958b9832e (diff) | |
download | spack-4687860885fc06ba8d911e99408b6a9f4221c64e.tar.gz spack-4687860885fc06ba8d911e99408b6a9f4221c64e.tar.bz2 spack-4687860885fc06ba8d911e99408b6a9f4221c64e.tar.xz spack-4687860885fc06ba8d911e99408b6a9f4221c64e.zip |
qt: force the 10.9 SDK on macos
The 10.11 SDK fails to configure.
-rw-r--r-- | var/spack/repos/builtin/packages/qt/package.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 8c918e4c0b..78bc4bed9c 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -171,7 +171,10 @@ class Qt(Package): config_args.append('-no-dbus') if sys.platform == 'darwin': - sdkpath = which('xcrun')('--show-sdk-path', output=str) + sdkpath = which('xcrun')('--show-sdk-path', + # XXX(macos): the 10.11 SDK fails to configure. + '--sdk', 'macosx10.9', + output=str) config_args.extend([ '-sdk', sdkpath.strip(), ]) @@ -208,12 +211,8 @@ class Qt(Package): def configure(self): configure('-fast', '-no-webkit', -<<<<<<< HEAD '{0}-gtkstyle'.format('' if '+gtk' in self.spec else '-no'), -||||||| parent of e72b834... qt: setup the sdk and platform arguments -======= '-arch', str(self.spec.architecture.target), ->>>>>>> e72b834... qt: setup the sdk and platform arguments *self.common_config_args) @when('@5.0:5.6') |