Qt: Qt fixes for a Cray AMD system. (#26722)
* Qt fixes for a Cray AMD system. * Update to latest changes.
This commit is contained in:
parent
949094544e
commit
2bc97f62fd
1 changed files with 4 additions and 1 deletions
|
@ -235,7 +235,7 @@ class Qt(Package):
|
||||||
'apple-clang': ('clang-libc++', 'clang'),
|
'apple-clang': ('clang-libc++', 'clang'),
|
||||||
'clang': ('clang-libc++', 'clang'),
|
'clang': ('clang-libc++', 'clang'),
|
||||||
'gcc': ('g++',)}
|
'gcc': ('g++',)}
|
||||||
platform_mapping = {'darwin': 'macx'}
|
platform_mapping = {'darwin': ('macx'), 'cray': ('linux')}
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
# URL keeps getting more complicated with every release
|
# URL keeps getting more complicated with every release
|
||||||
|
@ -627,6 +627,9 @@ def configure(self, spec, prefix):
|
||||||
elif version < Version('5.15') and '+gui' in spec:
|
elif version < Version('5.15') and '+gui' in spec:
|
||||||
# Linux-only QT5 dependencies
|
# Linux-only QT5 dependencies
|
||||||
config_args.append('-system-xcb')
|
config_args.append('-system-xcb')
|
||||||
|
if '+opengl' in spec:
|
||||||
|
config_args.append('-I{0}/include'.format(spec['libx11'].prefix))
|
||||||
|
config_args.append('-I{0}/include'.format(spec['xproto'].prefix))
|
||||||
|
|
||||||
if '~webkit' in spec:
|
if '~webkit' in spec:
|
||||||
config_args.extend([
|
config_args.extend([
|
||||||
|
|
Loading…
Reference in a new issue