Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{devel}[GCCcore/10.2.0] Qt5 v5.14.2 #11555

Merged
merged 9 commits into from
Nov 29, 2020
67 changes: 67 additions & 0 deletions easybuild/easyconfigs/q/Qt5/Qt5-5.15.1-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
easyblock = 'EB_Qt'

name = 'Qt5'
version = '5.15.1'

homepage = 'https://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
# disabling use of -ftree-vectorize is required to avoid compilation failures on some systems (e.g. Intel Skylake X)
toolchainopts = {'vectorize': False}

source_urls = [
'https://download.qt.io/official_releases/qt/%(version_major_minor)s/%(version)s/single/',
'https://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/single/'
]
sources = ['qt-everywhere-src-%(version)s.tar.xz']
patches = [
'Qt5-5.13.1_fix-avx2.patch',
'Qt5-5.13.1_fix-qmake-libdir.patch',
'Qt5-5.14.1_fix-OF-Gentoo.patch',
]
checksums = [
'44da876057e21e1be42de31facd99be7d5f9f07893e1ea762359bcee0ef64ee9', # qt-everywhere-src-5.15.1.tar.xz
'6f46005f056bf9e6ff3e5d012a874d18ee03b33e685941f2979c970be91a9dbc', # Qt5-5.13.1_fix-avx2.patch
'511ca9c0599ceb1989f73d8ceea9199c041512d3a26ee8c5fd870ead2c10cb63', # Qt5-5.13.1_fix-qmake-libdir.patch
'0b9defb7ce75314d85bebe07e143db7f7de316fec64c17cbd13f7eec5d2d1afa', # Qt5-5.14.1_fix-OF-Gentoo.patch
]

builddependencies = [
('binutils', '2.35'),
('pkg-config', '0.29.2'),
# deps for QtWebEngine
('Bison', '3.7.1'),
('flex', '2.6.4'),
('gperf', '3.1'),
('Ninja', '1.10.1'),
('Python', '3.8.6'),
('re2c', '2.0.3')
]

dependencies = [
('double-conversion', '3.1.5'),
('GLib', '2.66.1'),
('PCRE2', '10.35'),
('libpng', '1.6.37'),
# deps for QtWebEngine
('X11', '20201008'),
('fontconfig', '2.13.92'),
('DBus', '1.13.18'),
('libevent', '2.1.12'),
('libGLU', '9.0.1'),
('libjpeg-turbo', '2.0.5'),
('NSS', '3.57'),
('snappy', '1.1.8'),
('JasPer', '2.0.14'),
('bzip2', '1.0.8'),
]

# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
# qtwayland fails to build on (some) Centos 7 systems
configopts = '-skip qtgamepad -skip qtwayland'

# make sure QtWebEngine component is being built & installed
check_qtwebengine = True

moduleclass = 'devel'