Compare commits

..

171 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
5d18cb403c Update submodules on '6.8 in qt/qt5'
Change-Id: Ia62dbf79931b6ba6a8c2a13abb5047a62eecfa90
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-17 16:23:20 +00:00
Tero Heikkinen
3d228cc624 Linux: Add GCC versions visible in versions.txt
Currently only SLES and openSUSE has GCC in versions.txt.
Will also make GCC versions visible in Tools and Versions pages.

Task-number: QTQAINFRA-5901
Pick-to: 6.5
Change-Id: I9742c3151e074c503947018a0c7f7c2e0c1077bd
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
(cherry picked from commit 5f627786ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 207ba9b605)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-04-15 06:45:36 +02:00
Axel Spoerl
d775e67842 Linux Provisioning: Turn off window animations
Window animations change the physical geometry in relation to the
geometry known in Qt. Windows may not be found by
QGuiApplication::topLevelAt() as expected.

Turn animations off in Linux provisioning.

Task-number: QTBUG-130811
Pick-to: 6.8.1 6.5
Change-Id: Id0fa13f4dd38b21dd141f4b51308903ccaf40bba
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit d58d59693a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-15 04:45:34 +00:00
Tero Heikkinen
dd369429fe SLES 15 SP5: Update timezone package
Updates:
  - Timezone package from 2023c to 2024a
  - qtci-linux-SLES-15_SP5-x86_64-50 --> 51

Task-number: QTQAINFRA-6901
Change-Id: I8ae65d0f8729e9dcf9147f45b09279fb805027ef
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 8d0f126d85)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 1b6c7cfa17)
2025-04-15 04:45:32 +00:00
Qt Submodule Update Bot
7a1b153e5d Update submodules on '6.8 in qt/qt5'
Change-Id: I08ff733d3e58530674e8f12b9e03597aee813951
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-14 06:03:07 +00:00
Elias Toivola
1774e09bdb RTA: disable auto-upgrades in Ubuntu 22.04 aarch64
Disable auto-upgrades as it may lock and block scripts from running, resulting an error in /var/lib/dpkg/lock-frontend. Also remove 01-disable_auto_suspend.sh as auto suspend is already disabled in tier-1.

Change-Id: Ia4420de72b26c7b4fd851f079fd4686624e5bf02
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
(cherry picked from commit 078bd29e24)
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7437ef45f9)
2025-04-13 08:51:54 +00:00
Elias Toivola
e298817488 RTA: remove Squish from Ubuntu 22.04 aarch64 provisioning
Squish for Qt 6.8 has glibc 2.38 and glibcxx 3.4.32 dependencies, while
Ubuntu 22.04 LTS supports glibc 2.35 and glibcxx 3.4.30.

Change-Id: Ia401daf444fbc3e460477fd1f5397781b902cf9d
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
(cherry picked from commit 6170adb71f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6d5955d1a5)
2025-04-13 08:51:48 +00:00
Qt Submodule Update Bot
be6842fcc6 Update submodules on '6.8 in qt/qt5'
Change-Id: Ib31a3b502d2442da68482238c8cbe387f143471c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-10 06:36:14 +00:00
Simo Fält
bdaed7e63c COIN: Fix Debian rules branch for Debian 12 config
Change-Id: I0fad7926466696a18f25d73ffe6b5b56d228f2e3
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit adf7c5ab10)
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2025-04-08 06:52:57 +02:00
Simo Fält
cd01a52a22 COIN: Add Debian packaging config for Debian 12
Change-Id: Ifaf0db9b9d39c6e66003e34e6c19957b60d0289f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9babd80169)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2035320e57)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-04-07 15:00:59 +02:00
Nils Petter Skålerud
9f532fab92 iOS, FFmpeg: Improve variable naming in FFmpeg provisioning
Currently this script overwrites a local variables and reuses it for
a (slightly) different purpose. This makes the code a bit hard to
follow.

This patch introduces a separate local variable to improve readability.

No functional changes.

Change-Id: Ifa1904482f498d9b380d1ed19ab6b0104afda19b
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit c4315452cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 68b4ef5b4e)
2025-04-05 18:06:00 +00:00
Nils Petter Skålerud
8153661781 iOS, FFmpeg: Replace arm64-simulator build with x86_64
Currently this provisioning script builds for arm64 architecture
when on iOS simulator. Qt ships x86_64 binaries for iOS simulator, and
we should build FFmpeg similarly.

This patch introduces support for x86_64-simulator in the iOS FFmpeg
provisioning script and uses it in place of arm64-simulator.

Task-number: QTQAINFRA-7034
Change-Id: Ie93cffba51924cd1d78651d20dec211817cb0cef
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit aa613ed85d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5df9315b1f)
2025-04-05 18:05:57 +00:00
Timur Pocheptsov
5fd1494a25 install-ffmpeg-ios.sh: remove redundant configure options
While writing a documentation for FFmpeg build on iOS it was found that
many options are redundant. Remove them to simplify the provisioning
script and to reduce the amount of cargo cult code.

Fixes: QTBUG-133502
Change-Id: I26aab49365eaca83bcdbfeb86de0638ac701bb80
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit d7d7c522b6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 999e66fb4a)
2025-04-05 18:05:54 +00:00
Qt Submodule Update Bot
87684ff299 Update submodules on '6.8 in qt/qt5'
Change-Id: I81d218fbd08d9acea8712afd550f31b909487ea9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-02 15:59:46 +00:00
Rami Potinkara
9070e879f8 Provisioning: update Gradle cache to Android SDK 35
This task updated the build.gradle of Gradle cache
to use SDK 35 for compile and target.

Task-number: QTBUG-130285
Task-number: QTBUG-129461
Pick-to: 6.5
Change-Id: I076211baf896e65aae3b616a3d6286258c3d0640
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit ed0dc6ad5a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5393e187d3)
2025-04-02 12:49:00 +00:00
Ville-Pekka Karhu
1845ae81d4 Add missing macOS 15 provisionings
Change-Id: I83878864bd87e54130b5cb098a27de8b455f394f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2025-04-01 16:59:09 +03:00
Tor Arne Vestbø
c1ae2a14ba macOS: Set PostgreSQL_ROOT during provisioning rather than in each config
Decouples provisioning from build configurations.

Change-Id: I53b0983ab8b20c40568c1b5b9a24bfe3c62cf531
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 7f51bdbd8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 77a614d592)
2025-04-01 13:59:09 +00:00
Tim Blechmann
289f105779 provisioning: don't install openh264 and gstreamer for openSUSE 15.5
There don't seem any publicly available binaries for openh264 for
openSUSE 15.5 anymore. Removing gstreamer and openh264 headers will
allow us to build binaries, at the cost of not being able to build the
gstreamer plugin anymore.

Pick-to: dev 6.9
Change-Id: Ief1e9eb3963e98a1e2b076c3a3bfd8bdeec21e3c
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
(cherry picked from commit 336fc07c80)
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-04-01 09:45:29 +00:00
Jukka Jokiniva
8652b31f98 Pin nodejs version to 22
Latest nodejs (23.10.0) fails to install on arm Mac 12.
Brew install doesn't add to path automatically, so set
in the script after install.

Change-Id: Ibad6c362e5633cc656e9e580cfe4bd5ef4e5af2a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 61fab6d730)
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-04-01 09:45:27 +00:00
Qt Submodule Update Bot
8e9d4f9e88 Update submodules on '6.8 in qt/qt5'
Change-Id: I34eac06ff1528ebfde1a799e4f21fc5b0836ccfb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-01 09:45:26 +00:00
Tero Heikkinen
cb3cb3802a RHEL: Add ca-certificate install to fix missing certificate issues
Other linux distros have similar ca-certificate install/update in use.

Issue was noticed in RTA, and if similar happens again, these RHELs
need new provisioning to get up-to-date ca-certificates available.

Task-number: QTQAINFRA-7014
Change-Id: Id0ef369b0d714b40b66117d6e62ddd6a787cae71
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 1144b14584)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 42e0846a18)
2025-04-01 09:45:24 +00:00
Rami Potinkara
7b3e6b03dd Provisioning: Update Android NDK to LTS version r27c
This patch updates Android NDK from LTS r26b to LTS r27c.
The version is 27.2.12479018

Task-number: QTQAINFRA-6479
Task-number: QTQAINFRA-6656
Pick-to: 6.5
Change-Id: Ic791cfd5d5dd2a439f96590b6f6f8ca0ac4fb5ae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
(cherry picked from commit a242bb2e3e)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit fb187295fc)
2025-04-01 11:45:22 +02:00
Liang Qi
4e47d97d28 Reapply "platform_configs: remove InsignificantTests for u2404 x11 non-dev"
This reverts commit 7525c795e7.

Task-number: QTQAINFRA-6898
Task-number: QTQAINFRA-6098
Change-Id: I74f3d4de45c6f4aa99ef397b19906fcef44c2a16
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 7111a62bb1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6f01dea4d8)
2025-03-31 21:38:02 +00:00
Cristian Le
3068bcf3e2 Remove RunCMake helpers from top-level repo
These test helpers are moved to qtbase submodule.

Change-Id: If8aa31fe1d9a93f2667249abd90ae9b8cb81d07a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit e552513c9f)
(cherry picked from commit faf67533c3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-03-31 19:13:13 +00:00
Rami Potinkara
39a95bbd9a Provisioning: bump Android sdkBuildToolsVersion to 35
This patch bumps the sdkBuildToolsVersion used in Coin to 35.

Task-number: QTBUG-129461
Task-number: QTBUG-130283
Pick-to: 6.5
Change-Id: I2e1fbdfd23cb854ec50625ff29331adc61abc32c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 7228be7f72)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-03-05 19:24:17 +02:00
Konsta Alajärvi
fe60ef1781 Provisioning: bump Android sdkApiLevel to 35
This patch bumps the sdkApiLevel used in Coin to 35.

Task-number: QTBUG-129461
Task-number: QTBUG-130283
Pick-to: 6.5
Change-Id: Ia26248982a2807b2d3554d1a7a7394efcf13f834
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 345aae01f5)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-03-05 19:24:05 +02:00
Qt Submodule Update Bot
8b143a7605 Update submodules on '6.8 in qt/qt5'
Change-Id: Icb9c2e52b2880dbd5a88b1f006e9ba8982336ab0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-05 01:43:49 +00:00
Tero Heikkinen
dd41f83ef1 Add Perl JSON module for openSUSE 15.5
Needed with all the machines generating SBOM

(amends 5aec4aa157
where this openSUSE 15.5 was missed)

Task-number: QTQAINFRA-6871
Task-number: QTBUG-131434
Change-Id: I438b60a991703adb18bb533f254fff5e9601e31d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-02-28 07:03:32 +02:00
Paul Wicking
9cad1bede1 Add .gitreview file
`git-review` is a command line tool for interacting with Gerrit.
Some IDEs offer support for this tool, either natively or through
plugins. The tool relies on a configuration file, .gitreview. Adding
this configuration file to our repositories simplifies initial setup
for contributors that use the tool directly or through their IDE of
choice.

The configuration file adds a remote called 'gerrit'. This is the
default for the tool, and also the name set for
codereview.qt-project.org by Qt's `init-repository` script. Thus,
the configuration should work seamlessly alongside other repository
helpers.

Task-number: QTBUG-132604
Change-Id: Iea428aeaa1b4cdbaabd3477aaf061b8960efc887
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
(cherry picked from commit 9b8cb71d6b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit be88fababd)
2025-02-20 17:24:49 +00:00
Eike Ziller
3d77301e1c COIN/QtCreator: Move to Ubuntu 24.04 for ARM
Debian is no longer supported for Qt 6.8.1 and later

Change-Id: Ic9ddac3d95451b900f60be6a90efd5fb32985601
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
(cherry picked from commit 014bdc24ab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 626a22cc74)
2025-02-17 22:35:19 +00:00
Eike Ziller
7b616ebe45 COIN/QtCreator: Update to Windows 11 23H2
That is what we are using for packages too.

Change-Id: I88ab02f577933292c882ec4633d9087b1bf957ea
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 53280b0697)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit db2d504099)
2025-02-14 22:05:35 +00:00
Elias Toivola
4c6b800263 Windows 10: Install Windows SDK 10.0.26100.1742
Change Windows 10 22h2 x86_64 tier-1 template -52 -> -53, where Windows
SDK 10.0.26100.1742 is installed.

Task-number: QTQAINFRA-6862
Task-number: COIN-1206
Change-Id: Ia78f8d3b67c3aa546a4f47ad503f44782722631f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 75578f016a)
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 2c0ce8b3f2)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2025-02-13 11:45:50 +02:00
Jøger Hansegård
3994524b70 Update Windows provisioning to use 7z version 24.09
Task-number: QTQAINFRA-6833
Pick-to: 6.5 5.15
Change-Id: Iebb1a6fe879e3b550479cf109df79199536742e6
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
(cherry picked from commit a1c47252fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3b9008ca75)
2025-02-09 10:29:37 +00:00
Timur Pocheptsov
d15dfbd2b4 Update provisioning script to build FFmpeg for iOS
as xcframeworks so that we can provide both arm64 and arm64-simulator
versions (the former can be used in App Store, the latter when
working with a simulator).

Task-number: QTBUG-132313
Change-Id: Ic683f58dffcef8a06adb4a915c4e3abc4ab219e5
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 1968adc126)
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 27be5c2f98)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-07 16:32:07 +00:00
Tero Heikkinen
5aec4aa157 Add Perl JSON module
Needed with all the machines generating SBOM

Task-number: QTQAINFRA-6871
Task-number: QTBUG-131434
Change-Id: I15a79c005f530c551f9026e2cbfb465ed1211e98
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 6c6faeefd2)
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
2025-02-05 14:56:30 +02:00
Tor Arne Vestbø
e8a94de2ea Use correct path for libiodbc and forward via ODBC_ROOT env var
The hard-coded path paths added to LIBRARY_PATH and CPLUS_INCLUDE_PATH
was not correct on Apple Silicon Macs, where homebrew installs into
/opt/homebrew/.

There's also no point in passing on the library location via compiler
environment variables, when we can use ODBC_ROOT. And we don't need
to pass it on as a CMake define, as a environment variable works just
fine. This decouples the provisioning of libiodbc from the build
configurations.

Change-Id: I40aa3c1852fb0baf3366fa1a9dab85a66eef95e2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 124957a8cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 1bb142175a)
2025-02-03 21:00:50 +00:00
Qt Submodule Update Bot
3cf6241e47 Update submodules on '6.8 in qt/qt5'
Change-Id: I2f180046ea7b3c05d9b10602d9f48f47140a168a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-30 15:06:14 +00:00
Qt Submodule Update Bot
2cc991e88c Update submodules on '6.8 in qt/qt5'
Change-Id: I184b4db540b9c8d148a81313cd84140a3a7b3014
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-29 15:29:01 +00:00
Qt Submodule Update Bot
15e437335d Update submodules on '6.8 in qt/qt5'
Change-Id: I68d7209b6049ebe792a62d7b40c3b868f88b554b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-28 19:23:11 +00:00
Teemu Holappa
fb7e442a1e Update macOS from 12 to 14 in qtsaferenderer.yaml
Change-Id: Ie03a14449e941a71acc58e5de78b980690ce221f
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit 8a98b34cc7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-27 20:15:10 +00:00
Qt Submodule Update Bot
ab2ec657cd Update submodules on '6.8 in qt/qt5'
Change-Id: Ic4b2b60bd57273fb5480d834116f76d226166090
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-27 14:19:44 +00:00
Teemu Holappa
22e56fdf90 Fix QtSafeRenderer MSVC static build
Fixes compile error: Unknown command line option '-plugin-sql-sqlite'

Change-Id: I5b52552492de3efb0aa80e94ecf670539e93b09e
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit 6800c5916f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-27 11:25:57 +00:00
Antti Kokko
b2e6211e4b Add Ubuntu and Windows 11 arm64 targets for QSR 2.2
Targets Ubuntu 24.04 arm64 & Windows 11 22H2 arm64
MSVC 2022 added.

Static and dynamic build targets for tooling repository.

Dynamic build targets for runtime repository.

Task-number: QSR-2686
Change-Id: I8946a4b107ebc7c652f7f1a3a50193fa62d8ed56
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit fd3268e815)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-23 14:14:32 +00:00
Qt Submodule Update Bot
e9cd37a1e0 Update submodules on '6.8 in qt/qt5'
Change-Id: I2b86a4185c5afa2605b7ce2b64d1507cf8119468
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-23 05:27:53 +00:00
Rami Potinkara
bdd49adae9 Android: Android 15 as maximum supported version
This patch
- Replaces Android 14 with Android 15 as a maximum version
- Introduces Android 15 system image to CI cache
- Sets Android 15 as significant

Task-number: QTQAINFRA-6478
Fixes: QTQAINFRA-6653
Pick-to: 6.5
Change-Id: Icb6de43f3e2c2f7f98f3172c83d66bebf9603d24
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 2c85a91e07)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f537715537)
2025-01-21 16:45:29 +02:00
Matti Paaso
e600f0a85b Provisioning: Update Axivion bauhaus suite and license file
Task-number: QTQAINFRA-6880
Pick-to: 6.5
Change-Id: I92a70dcb14bbba0ded889894059f2de849b1f557
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 45491c61fc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3579a0c95c)
2025-01-21 06:48:03 +00:00
Qt Submodule Update Bot
9e7829bf5e Update submodules on '6.8 in qt/qt5'
Change-Id: I228744d899c717f255f168122af6eea1c03d90a3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-18 05:58:43 +00:00
Alexey Edelev
2b137b3f41 Disable top-level configure run for the cross-builds
The 'target' configurations currently trigger the 'host'
configure command line, and are duplication of the existing
rule we have for the host machines. Disable the top-level
configure checks for the 'target' builds completely.

Fixes: QTBUG-132799
Change-Id: Ia06dde53825e882e78a8c6be9e62779aaedcebf4
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 6f0c6b1614)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5b0d2e87d0)
2025-01-17 06:19:07 +00:00
Samuli Piippo
83b40b020d WoA: update template
WoA template got updated in 2151c5510f
and 0f18b0bc2f, but not everywhere.

Change-Id: Ie2ee9e62f9bc10753bd527a2b1a7edc5de46ca60
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 69dfa0449c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b07fbbf935)
2025-01-03 22:02:10 +00:00
Alexandru Croitor
cceb2909dd init-repository: Normalize git urls with more than one '../' segment
The qttools qlitehtml submodule url was recently updated to use a
relative url like '../../playground/qlitehtml.git' instead of an
absolute path to code.qt.io repo.
Same for the nested litehtml submodule.

This broke initialization of the qttools repository, because the
init-repository script only normalized one '../' segment in the
submodule url, instead of all of them, which ended up trying to clone
a non-existent git://code.qt.io/qt/../playground/qlitehtml.git repo.

Apply the url normalization in all the code paths where there might
still be '../' segments in the url.

Change-Id: Iaa8e58104c92858318ad66aefa5a38d63ad7a155
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit ff25d705a3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 22ae1bb5ee)
2025-01-03 10:02:47 +00:00
Matti Paaso
e18fe73ac6 Provisioning: Update Axivion bauhaus suite to 7.8.4
Task-number: QTQAINFRA-6720
Pick-to: 6.5
Change-Id: Idb303652355b8937ea199a3415101d49f27a2e98
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
(cherry picked from commit cf921a5146)
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-01-02 15:45:51 +02:00
Oliver Wolff
cc2729920f README.md: Update minimal versions of Windows compilers
Change-Id: Id743e89d0858fde4678b7ba4e848d780d19771fc
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
(cherry picked from commit 8319245b04)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 51dec3728f)
2025-01-02 13:45:51 +00:00
Alexandru Croitor
6e853cc6fc coin: Switch ios-tests-on-macos to use qtci-macos-14-arm-106
This will use the newer iOS 17 SDK during the build, and allow us to
enforce the minimum SDK version check.

This change also switches to using an arm mac for the build.

Task-number: QTBUG-119490
Change-Id: Ie9ff2b2f4fe40bda2856d4b12a03aaa05f836de4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit f5970f9c62)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6db401beda)
2025-01-02 12:34:19 +00:00
Ville-Pekka Karhu
f4f8266821 Provisioning: Add Simulator Runtime installation to macOS
Task-number: QTQAINFRA-6774
Change-Id: I2461911d20ba2fda7b2c53d38b0e688139501e22
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 1f6f97a141)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit dc1f9e060a)
2024-12-31 07:42:18 +00:00
Tero Heikkinen
1cdf0b38ae Provisioning: Add missing Vulkan library to Windows on ARM
Fixes: QTQAINFRA-6830
Change-Id: Ia074c55ddd20414f0d6b0dbcc674cc8eb82b1cf8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
(cherry picked from commit e179279962)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5e74968c61)
2024-12-30 11:20:25 +00:00
Elias Toivola
0b041deffd Android: update emulator version to 35.2.10
The newest stable version of Android emulator should bring more
stability.

Pick-to: 6.5
Fixes: QTQAINFRA-6805
Change-Id: Id67d3ec888b486e6aae862588928528788583aae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 9078baf0a9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d777fa2926)
2024-12-30 11:20:25 +00:00
Pavel Dubsky
21c39aa759 Update FFmpeg version to n7.1
Task-number: QTBUG-129510
Pick-to: 6.5
Change-Id: I15a801c0c0568b26486e5bb2065a1d0d1d151951
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 154b41a260)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 22b3565849)
2024-12-28 20:57:42 +00:00
Tero Heikkinen
e112372259 Provisioning: Make Windows Path visible at the end of provisioning
There's possibility that some installations might add more into
Path that doesn't get visible during the installation process.

Change makes it easier to detect if there's i.e. JRE installed during
Mimer, which caused Java SE update to 17 fail in qtbase build for
Android, because JRE was the first Java found from Path and it
wasn't the required new JDK 17 version.

This can lead even to test with incorrect version of Java, which can
happen with any other different version installations as well.

Task-number: QTQAINFRA-6392
Task-number: QTQAINFRA-6385
Change-Id: Idce79eb06d73894ae648e0be53ff1f07bb21392d
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 444167f5fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5ae41db586)
2024-12-27 21:09:01 +00:00
Tero Heikkinen
2849740c98 Fix macOS ffmpeg ios parallel compiling to cause resource starvation
Add -j4 to limit how many cores is used to build ffmpeg-ios binaries.
Error in logs: "posix_spawn failed: Resource temporarily unavailable"

Task-number: QTQAINFRA-6803
Change-Id: I3fb56cdbe4cbda8f779852b0a16121916aa5a1d4
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 6569f201c1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b7abace894)
2024-12-27 21:08:59 +00:00
Qt Submodule Update Bot
d499318730 Update submodules on '6.8 in qt/qt5'
Change-Id: I4769f3ff69c41a215ca5bb6b60ef0c076951d3b2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-20 23:42:32 +00:00
Elias Toivola
9baaa2d166 Remove Red Hat 9.2 from CI
RHEL-9.2 targets are replaced by RHEL-9.4 targets in platform
configurations. [CI Platforms]

Task-number: QTQAINFRA-6363
Change-Id: I9287309fe136e9aaae6c0c970cc0859dbfaf8635
(cherry picked from commit 66f09bb69d)
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2024-12-17 11:21:47 +02:00
Elias Toivola
189bf2b956 Make Red Hat 9.4 tests as blocking in CI
'InsignificantTests' are removed from all RHEL-9.4 targets
[CI Platforms]

Task-number: QTQAINFRA-6362
Change-Id: Id034a3f4cfa63e2f8813fad1e25a3bcc2b365851
(cherry picked from commit 490769cdef)
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2024-12-17 11:21:45 +02:00
Qt Submodule Update Bot
d35962050e Update submodules on '6.8 in qt/qt5'
Change-Id: If67ee65967de04d34045f113c3a50d5500e18daf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-13 16:15:43 +00:00
Qt Submodule Update Bot
b237f31399 Update submodules on '6.8 in qt/qt5'
Change-Id: I19ddce8b5e597b5979ed55165e0a3ef9a44eb727
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-04 05:55:03 +00:00
Qt Submodule Update Bot
d18c70e904 Update submodules on '6.8 in qt/qt5'
Change-Id: I26be68cf20dc009cd3a1f138b7505592c8823aab
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-27 16:33:51 +00:00
Elias Toivola
5ccfd0ab22 Ubuntu 22.04 arm64: install NFS packages for Squish
Ubuntu 22 arm64 target is missing packages to mount ci-files01 for Squish.

Task-number: QTQAINFRA-6212
Change-Id: Ia5c38f12f2c6ce8ff19d2d46ce1e46f6e1c627f0
(cherry picked from commit 64bd882464)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-26 17:50:36 +02:00
Elias Toivola
08d194ac9d Install more packages for Ubuntu 22.04 arm64 for RTA
Task-number: QTQAINFRA-6212
Change-Id: I47376ebe1bf3bcded2621ee5a416a98f40343ab8
(cherry picked from commit 46be92729a)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-26 17:50:34 +02:00
Qt Submodule Update Bot
dee952b0dd Update submodules on '6.8 in qt/qt5'
Change-Id: Iab72a77009c14db3cb1f3fe0d9a8d6273ff11974
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-26 07:23:15 +00:00
Qt Submodule Update Bot
4aa6b8cc47 Update submodules on '6.8 in qt/qt5'
Change-Id: I5d7c7e1ac34e8b909edb34fbcf7334c4a75dcb96
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-20 19:12:36 +00:00
Matti Paaso
09baa95ad1 Update Java for Ubuntu-22.04- aarch64
Jenkins needs Java 17

Task-number: QTQAINFRA-6263
Change-Id: I5405a6e76a231f81ab514fcad387fd0b2b877f87
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
(cherry picked from commit 382ea574bb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-20 11:30:43 +00:00
Matti Paaso
fcca7f16d0 Add Java 17 into OpenSuSE 15
RTA Jenkins needs this

Task-number: QTQAINFRA-6263
Pick-to: 6.5
Change-Id: Ied9465f1c5542f77e327e3e515ed2b831e606569
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
(cherry picked from commit dbb4ca8e26)
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2024-11-20 09:57:39 +02:00
Qt Submodule Update Bot
9a6b5caef5 Update submodules on '6.8 in qt/qt5'
Change-Id: I27af4cf5157aee20304527fc74bb6100448196b4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-18 23:16:50 +00:00
Alexandru Croitor
2d5dc5af3d coin: Use new doc tools building instructions for TestDocs configs
The documentation warning configurations marked with the TestDocs
feature will now use the new doc tools building instructions from
qtbase, instead of using the provisioned qdoc tools when checking the
documentation for warnings.

This means that each qtbase integration will build the doc tools
from qttools/dev/HEAD and use those built tools associated with that
qtbase sha1 integration to check documentation in all other
repositories.

The doc tools will be rebuilt whenever a new qtbase integration
starts.
See the qtbase commit 1f646bb978ed94c25f6224e801779c929096c0ae for
more details.

Task-number: QTBUG-128730
Change-Id: I5a981afa9ec2c2b3a5c519b961e566ec5d2cc925
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit d36c17487c)
2024-11-15 16:28:11 +01:00
Tor Arne Vestbø
90e0464453 coin: Build macOS ARM developer-build in debug mode
To get as close as possible to how developers build and run
tests, and to get debug-build test coverage on macOS in CI.

Change-Id: Ice12b7230d56284d352e6a73ac503588b22107bb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 8c74d54deb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-13 00:00:38 +00:00
Matti Paaso
cb765fe3c1 Change Java version to 17 on Linux arm
Jenkins needs Java 17 to run agent on VM

Task-number: QTQAINFRA-6263
Change-Id: Ia2749a4812402df8b11f6388f8e6bc3b995d5e53
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 7a2a226e8a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-12 06:05:15 +00:00
Matti Paaso
5f00935059 Update Java version into 17
Jenkins needs version 17 to get agent running in VM

Task-number: QTQAINFRA-6263
Pick-to: 6.5 6.2
Change-Id: I57daadad6baa2e7e538874769af3fbe0cdd42878
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 5128df0130)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-12 06:05:13 +00:00
Tim Blechmann
ad1e94d511 provisioning: install development files for gstreamer-plugins-bad
Required for gst-play

Change-Id: Id41d4359aa8e573e360c565eea6900b33918743f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 01f6c96002)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-09 07:33:05 +00:00
Tim Blechmann
3dc55bdfb8 provisioning: install gstreamer h264 codec on openSUSE and rhel9
The h264 codec is required to run the gstreamer-based unit tests on CI.

Change-Id: Ic47ee086687230613d56f30d3fd613288e37ce7f
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
(cherry picked from commit 58e0090020)
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
2024-11-08 08:59:05 +08:00
Elias Toivola
4ae967a5f9 Add Red Hat 9.4 with non-blocking tests in CI
RHEL-9.4 will be run in parallel with RHEL-9.2 with insignificant tests
until RHEL-9.4 is confirmed stable, then it will replace RHEL-9.2.
[CI Platforms]

Adapted for 6.8:
* remove install-firebird.sh, which is only in dev
* remove 90-install-oracle.sh, which is only in dev

Task-number: QTQAINFRA-6362
Change-Id: I92c10a15346e7bd0c0190a8d6a6513cf6143d2a8
(cherry picked from commit ee8ee93d91)
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
2024-11-08 08:59:01 +08:00
Qt Submodule Update Bot
d7c80e60f7 Update submodules on '6.8 in qt/qt5'
Change-Id: Ie47093cc87a224e3ca57405c37d003923bcf8b38
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-07 09:29:27 +00:00
Eike Ziller
96c8820cf8 QtCreator: Add configurations for oldest supported Qt version
Change-Id: I2a69d05a157524238ed9ac7e32b84c56e2750a9d
Reviewed-by: David Schulz <david.schulz@qt.io>
(cherry picked from commit f531da9cbb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-06 16:11:54 +00:00
Alexey Edelev
2ce2817b8d Fix the '-submodules' argument to 'BUILD_' argument transformation
Ensure the coma-separated argument is transformed to CMake list
properly.

Amends 7c8bab37bb

Task-number: QTBUG-122954
Fixes: QTBUG-130883
Change-Id: I082ad2c9c964c66feee3a8deff55ae137adafe8b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 9b5e0b581f)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-11-05 16:30:38 +00:00
Jukka Jokiniva
5c3284464f Revert "Temporarily remove Integrity from CI"
This reverts commit 5a0ebc689b.

Reason for revert: GHS compiler license renewed.

Change-Id: Ic53576cc7eca91fe2cf3b4c426505954053b270b
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-11-05 10:04:41 +00:00
Jukka Jokiniva
5a0ebc689b Temporarily remove Integrity from CI
GHS compiler license has expired.

Change-Id: I5f495d24b5693c1841cb292d791188e1f3896d93
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit e306818660)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-05 08:19:05 +00:00
Eike Ziller
82c6c4cbdc QtCreator: Remove unused 'Packaging' feature
We don't use any configurations for packaging, the feature doesn't
trigger anything.

Change-Id: I977566123b491284e029cf1d828c0ce0a36703f2
Reviewed-by: David Schulz <david.schulz@qt.io>
(cherry picked from commit c4d897e380)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-04 15:22:10 +00:00
Alexandru Croitor
9b29286325 coin: Bump ios-universal config macos version to get iOS SDK 17
Task-number: QTBUG-119490
Change-Id: Icaf2ed63daecbc25dc18dd4a7b7733029a02be19
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit b6b6fac86a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-03 04:43:19 +00:00
Artem Dyomin
de62c92b28 Replace static FFmpeg build with shared on rhel8
On RHEL8, openssl1.x.x is default, and openssl3 pc files
are with the suffix "3", so FFmpeg cannot find them.

The patch fixes pc files so that ffmpeg can find them.

Task-number: QTBUG-130257
Change-Id: I5a95daae0a78aadede109535b2823483bfcbc09d
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
(cherry picked from commit 6cd74e132a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-03 04:43:19 +00:00
Simo Fält
cf813eedfd CI: Move ios-universal config to Arm host
Task-number: QTQAINFRA-6378
Change-Id: I7f8147f4c2c8c138d55558cd5a7d8d976d2e2b82
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit ec0228377d)
2024-11-03 04:43:19 +00:00
Nils Petter Skålerud
886eb3a7f7 coin, macOS: Add arm64 support to fix-ffmpeg-dependencies.sh
This file is used by the script common/unix/install-ffmpeg-android.sh.
This script is useful for compiling FFmpeg for Android locally
on macOS. Currently the script assumes the Homebrew installation
of readelf is that of x86. The Homebrews path for readelf is different
under arm64 and this change accounts for this.

Pick-to: 6.5
Change-Id: I7ec1d4173e35fe91bc988492e56dd9a5fcbad072
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 03ffb92263)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-03 04:43:19 +00:00
Alexandru Croitor
7db1e0a053 CMake: Improve qt5.git "QtSynchronizeRepo.cmake" / sync-to script
The QtSynchronizeRepo.cmake script, which is meant to be driven by a
git-sync-to script, has been rewritten to support more use cases, as
well as improve the code readability and error reporting.

The script now supports the following additional use cases:
 - Clone a specified qt/{repo} submodule from code.qt.io into the
   current directory, and initialize (clone) its dependencies

- Initialize a submodule and its dependencies in an existing qt5.git
  super repo. This is similar to what init-repository does, except
  instead of using the qt5.git sha1s, it uses the dependencies.yaml
  of the specified submodule

- Support for git fetch --depth, to allow shallow cloning of the
  specified submodule and its dependencies. This is useful for CI
  where only a specific revision needs to be checked out.

The main incentive for this change is allow cloning qttools/dev/HEAD
and its dependencies in a CI run, but it's useful for daily work as
well. At some point we should check what can be merged together with
the existing init-repository script.

Task-number: QTBUG-128730
Change-Id: Ie6d49d253223cc93b8831ef41d25e0adeac39b8b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 710bc2d90e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-03 04:43:19 +00:00
Tim Blechmann
ff795c101f ubuntu: install pulseaudio 16 with time smoother bugfixes
The GStreamer backend of Qt Multimedia has known issues with pulseaudio,
caused by bugs in the time smoother. We therefore install pulseaudio 16
from a PPA on our ubuntu testers.

Task-number: QTBUG-112014
Task-number: QTBUG-124372
Task-number: QTBUG-126799
Pick-to: 6.5
Change-Id: Ifd18ff4b9904ac0ee022c9158e96ebca8768599f
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
(cherry picked from commit cc17f25cd1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-03 04:43:19 +00:00
Jani Heikkinen
a9dfa0737d Add 'QT_FEATURE_open62541_security=OFF' for macOS packaging build
Fixes: QTBUG-125252
Pick-to: 6.5
Change-Id: Ic6daa4c589dda54294a787261be6884cdbf3dff0
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 0149acd42b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-03 04:43:19 +00:00
Simo Fält
85eb37bf83 Provisioning: Fix once more the SBOM_PYTHON_APPS_PATH in macOS
Change-Id: I733a6b2ea25e4d76c19ef921b7706cd0464c3120
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit e7ef5d8f1b)
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-11-03 06:43:19 +02:00
Jøger Hansegård
92f122511d Add provisioning of FFmpeg for Android and iOS with qtci-macos
This patch adds FFmpeg provisioning for Android and iOS for
qtci-macos-12..15-arm..x86-64 by syncing with qtci-macos-13-x86_64
where this was already done.

Change-Id: I070514cbff12504db7c6fa77111e12d7e500ce30
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 2728b7ac6f)
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
2024-11-03 05:43:19 +01:00
Qt Submodule Update Bot
39b4307edf Update submodules on '6.8 in qt/qt5'
Change-Id: Iff8b22b3c24a590b21ae1fd2bede913203c5b9de
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-02 19:59:59 +00:00
Alexandru Croitor
b87098e90d CMake: Update provisioned CMake to version 3.30.5
Fixes: QTQAINFRA-6484
Change-Id: Iacccb9f43059c78080e338da6680f5c50284c057
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 400776459b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-31 14:42:43 +00:00
Ville-Pekka Karhu
419f19563d Provisioning: Add Docker installation to macOS 13 x64
Task-number: QTQAINFRA-6714
Pick-to: 6.5
Change-Id: I5044ca4fc8f965e31720e7a94820153213afc14d
Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 2f3d052720)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-31 14:42:37 +00:00
Alexandru Croitor
81d2c30cb4 coin: Explicitly specify SBOM_PYTHON_APPS_PATH for all platforms
Instead of relying on the qtbase coin instructions to compute the
SBOM_PYTHON_APPS_PATH path based on the platform, which does not work
reliably, especially when multiple python installations are present,
explicitly specify the path in the provisioning scripts.

Amends 1f2fb6312c

Task-number: QTBUG-122899
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I097fd1c4119a203d82f88c477dbf0fc0f67f19f2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 6f991b55a3)
2024-10-31 15:42:31 +01:00
Jukka Jokiniva
db32c6b6ef Add -force-asserts to developer builds with -release
Fixes: QTQAINFRA-6624
Change-Id: Ia8741e4a92774fee3af78c3292fa47677b36158d
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
(cherry picked from commit c5ab2fe4fa)
2024-10-31 14:42:26 +00:00
Alexandru Croitor
36fe46a392 coin: Explicitly specify Python 3.10 for SBOM processing on Windows
The 'reuse' tool installed into the Python 3.8 environment on Windows
has a broken 'jinja2' package, due to conan being installed
after the sbom tool, which replaces the jinja package. pip reports the
issue but does not actually exit with a non-zero status for some
reason, thus not blocking the initial provisioning.

The jinja2 version installed in the Python 3.10 environment on Windows
is compatible with both conan and reuse.

To work around the issue, explicitly install the sbom tools only for
Python 3.10 on Windows platforms, and specify the path to the Python
interpreter in an environment variable for the build system to use.

Amends 1f2fb6312c

Task-number: QTBUG-122899
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I386da17a1902dd26af332cef3482dbcb2221a1b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit e874a76a48)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-31 15:42:20 +01:00
Nils Petter Skålerud
225eca6109 coin, macOS, FFmpeg: Fix install-ffmpeg-android.sh
Script would previously unconditionally run ln even if target file
sometimes exists in precompiled OpenSSL library.

Change-Id: I90c4ad7c6cbf9207c2c82114936b478a9ba4ae54
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 758ac7896f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-30 05:26:19 +00:00
Nils Petter Skålerud
6b453e2221 coin, macOS, FFmpeg: Fix incorrect popd in install-ffmpeg-android.sh
popd was placed incorrectly and caused the script to be unable to find
the fix_ffmpeg_dependencies.sh file.

Change-Id: I7922a698e90d1b3899ecc7b2240a260ea706707f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 8f47837a59)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-30 05:26:15 +00:00
Tim Blechmann
9de96e816b Provisioning: linux - install virtual video test driver vivid
The vivid kernel module emulates a v4l2 video devices like webcams. We
instantiate two devices via vivid to allow qt multimedia unit tests
requiring multiple cameras to run correctly.

Pick-to: 6.7 6.5
Change-Id: I1b87954e3c8af797f5b09dabf2d4939d8320db06
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
(cherry picked from commit 8ba7d0c382)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-29 03:48:23 +00:00
Qt Submodule Update Bot
1b70600c42 Update submodules on '6.8 in qt/qt5'
Change-Id: I52683b0dccc6ed85114e8d9796341926e470573d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-27 09:59:54 +00:00
Matti Paaso
c1edd84a8a Update java in macOS x64
Android requires java 17 in Qt 6.8 and RTA needs java 17 into VMs
to compile Qt examples.

Task-number: QTQAINFRA-6492
Change-Id: I873c188154c2eae2a9eebddb94279c41ca822576
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
(cherry picked from commit 73cc61c389)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 04:31:26 +00:00
Alexandru Croitor
26c0acf266 coin: Build MSVC as standalone examples in a separate build directory
The MSVC platform was not there when the rest of the platforms where
adjusted to build examples as standalone. Now that it's here, add it.

This is a pre-requisite for building examples as external projects
with MSVC.

Augments d278e682c6

Task-number: QTBUG-90820
Task-number: QTBUG-96232
Change-Id: I4a77d16e0f683f5984beeedb6e6d32707847383b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 2dce30db01)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 04:31:24 +00:00
Elias Toivola
95234b04c0 Fix SSH for RHEL-8.10
Red Hat 8.10 VM template -50 does not have a user set for SSH. This is
fixed in template -51.

Change-Id: I602976a0214f6e0f4661e6b876c0710bc3ea9df9
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 293aeab453)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-21 18:46:41 +00:00
Alexey Edelev
d6402b31f8 Add the missing archiving tool to QNX toolchain files
Pick-to: 6.7
Fixes: QTBUG-128747
Change-Id: Iee9eca2ef8c53e1171b8d88ded6d313a6b096bea
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit f747d2dec7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-21 18:46:31 +00:00
Alexandru Croitor
c6c18d6bf9 coin: Provision ninja 1.12.1 for RHEL 8.10 and 9.2
It is needed to successfully build Qt with CMake 3.30.

Fixes: QTQAINFRA-6484
Change-Id: I70b7d91571f5b20a008947eb0837dd8351965665
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit da3c68ba0c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-21 18:46:26 +00:00
Aku Pietikäinen
6a4aac317b Enable vnc remote management on macOS
Task-number: QTQAINFRA-6668
Pick-to: 6.5
Change-Id: I5af8e460059cdcaad22f637e1c92d9a46950f775
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit cfd06e54fd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-20 07:31:36 +00:00
Tero Heikkinen
9af35703bf Provisioning: Fix ci-files01-hki to use correct URL
Replace ci-files01-hki.intra.qt.io
with    ci-files01-hki.ci.qt.io

Task-number: QTQAINFRA-6663
Pick-to: 6.5 5.15
Change-Id: Ia9a6b1fc5a23b6f1a393d6e4be8be41e2991e876
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit d197f06634)
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-20 07:31:34 +00:00
Qt Submodule Update Bot
c4dbafcc01 Update submodules on '6.8 in qt/qt5'
Change-Id: Ib4f9852317fdddf2def59144aaec81b71783f03a
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
2024-10-19 19:31:49 +03:00
Alexandru Croitor
11dcad85e9 coin: Run license check from qtqa/dev for all of qt5.git/dev
Currently any configuration tagged with the 'LicenseCheck' feature
uses the qtqa/master tst_licenses.pl script for license checking. The
exact instructions that are run are hard-coded in the Coin repository.

This is inflexible, and also confusing because qtqa has a dev and a
master branch, and people forget to cherry-pick changes to the master
branch.

Furthermore always using the qtqa/master branch for all qt5.git
branches is limiting, because no instruction changes can be made to
a specific qt5.git branch.

Using the new instructions added in qtbase commit
  2a0e89981a52633c497f62bad0c7d26c466493cb
we can now tag configurations with the 'LicenseCheckV2' feature.

Integrations will then use the instructions from the active qtbase
SHA1 to run the license check.

Currently the qtbase instructions will always use the qtqa/dev branch
for the license check, for both the dev and 6.8 branches, but in the
near future we will likely want to create versioned branches for
the qtqa repo, just like the rest of our repositories, so that we
can have specific license check instructions for specific branches.

Task-number: QTBUG-124453
Task-number: QTBUG-125211
Task-number: QTBUG-125569
Task-number: QTQAINFRA-3935
Change-Id: Ica024dec44a9581c49cdfb555ba93667f7b34780
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
(cherry picked from commit 0055441fc7)
2024-10-15 13:23:08 +02:00
Eike Ziller
2dd0731d72 COIN: Add libsecret-dev on Linux machines for Qt Creator
Qt Creator uses libsecret for saving passwords.
It is dynamically resolved during runtime, but we need the
development package at build time to enable the feature.

Fixes: QTCREATORBUG-31381
Change-Id: I71077694ff0f4d04b1d85215791dc7f6f6663f64
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit 3369aab7fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-15 06:41:57 +00:00
Axel Spoerl
8e61993566 macOS platform configs: Bump image version to 107
qtci-macos-11-x86_64-107 and qtci-macos-12-x86_64-107 have been created
to add VNC accessibility.

Bump the image version used in CI, in order access debug VMs.

Task-number: QTQAINFRA-5815
Task-number: QTQAINFRA-6626
Pick-to: 6.5
Change-Id: I42c6602f9524b1fbfe47da081a7a15deff001f68
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 03f00931ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-11 15:52:41 +00:00
Konsta Alajärvi
607d8786cb Coin: Android: Add Android 15 in CI
Add Android 15 to CI with InsignificantTests flag.

Task-number: QTBUG-127802
Pick-to: 6.5
Change-Id: I16e787e1633edd15efd2191f7e23ac275d4f90f7
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit b5b95a2fa1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-10 14:21:15 +00:00
Jukka Jokiniva
c56cda562f Change precheck on Windows and macOS to developer build
This patch includes the followup fix that also adds the "non tests"
developer build configuration for macos.

Task-number: COIN-1181
Change-Id: I91b156bf4217aba517d02d9003605b09edb08ec6
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 49b80c57c6)
2024-10-10 07:17:08 +02:00
Qt Submodule Update Bot
f836c2ce76 Update submodules on '6.8 in qt/qt5'
Change-Id: I6b69b37bb7c2c11e24767edc6b93d795b2b17ade
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-10 00:20:09 +00:00
Tero Heikkinen
31a68bde20 Provisioning: Enable QDoc for Windows on ARM
Task-number: QTBUG-129256
Change-Id: Iabf378f4ae00efcce8cd0608969a08f5ce997fa9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 8cde06eae2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-08 23:25:35 +00:00
Tero Heikkinen
7fbb1c2aec Provisioning: Add libclang for Windows on ARM
Libclang is needed for QDoc.

Adding support for WoA (arch=arm64) also introduced a need
to change archVer parameter from Integer to a string.

Task-number: QTBUG-129256
Change-Id: I13f15925a7639c6f926c564146fbbc88f73fff8f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 1fe16f55f0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-08 23:25:29 +00:00
Qt Submodule Update Bot
44717fb041 Update submodules on '6.8 in qt/qt5'
Change-Id: Icc9f7edf569fce0946061731352dced57abe4b44
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-08 19:02:11 +00:00
Qt Submodule Update Bot
97c6f7de38 Update submodules on '6.8 in qt/qt5'
Change-Id: Ibda998b316e3086f845bed1ad0f9d8ab022adbb7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-07 18:00:05 +00:00
Simo Fält
661298dc77 Provisioning: Fix installing certificates
Don't try to re-install, but install and let apt do its magic.

Fixes: QTQAINFRA-6638
Change-Id: I60ccd2717854c6644d1b956362ee3fd535e2d87c
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit f24dacca36)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-07 12:34:05 +00:00
Assam Boudjelthia
d48e42475e Android: replace Android 9 revision 9 to revision 8 as it's more stable
The current revision 9 seems to have issues that are not reproducible
on other environments and even not with other ABIs like x64 or arm64.

Task-number: QTBUG-97650
Change-Id: I6f4827f170ea11b8aae9cc774c075fa043e4df5a
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit e1015f2718)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-05 08:47:33 +00:00
Assam Boudjelthia
f5bfa1122b Android: upadate the sha for Gradle script for provisioning
Use the sha from last update of Gradle and update AGP version
to match qtbase.

Change-Id: Ia235dacfc3206246c4c4330fb185ce1319d45909
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 536555cde6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-05 08:47:29 +00:00
Liang Qi
7b3818271a Revert "platform_configs: remove InsignificantTests for u2404 x11 non-dev"
This reverts commit 0cd87bfd32.

The platform is not stable enough, let's remove it first.

Change-Id: Ia7a378dc1ad867b085528da02e9d7ed70658c1cd
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 7525c795e7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-05 07:19:14 +00:00
Qt Submodule Update Bot
84023b7ee1 Update submodules on '6.8 in qt/qt5'
Change-Id: Iba6adb1dd7d679b0b6f25f9a6f934e5aebab4536
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-04 00:10:11 +00:00
Liang Qi
f6fd6e1b53 Add MSVC C++20 build to dev and '6.8'
- add windows-11_23H2-msvc2022-developer-build

Fixes: QTBUG-127127
Change-Id: I7e21a0d1c32675d904fa873fa13a6fdd08ecf1f6
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit d571f689ab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-03 17:26:53 +00:00
Liang Qi
251029c36b platform_configs: remove InsignificantTests for u2404 x11 non-dev
Change-Id: I62c9e581a32e1994affb83aa7c69f0075f7bc283
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 0cd87bfd32)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-03 19:01:03 +02:00
Simo Fält
e5fa3230ef Provisioning: Install libusb for Ubuntu 24.04 arm and macOS 14 arm
Required by qt-apps/qdb

Task-number: QTQAINFRA-6571
Change-Id: I6bf217af528e4daca548c14abef30ec9e76c2161
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit da55c4c620)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-01 20:40:26 +00:00
Eike Ziller
0d2a4a1064 COIN/QtCreator: Add precheck for Debian ARM
Different compiler than on RHEL (10.2 vs 10.3)

Change-Id: I3d115dfcc085c0d561a42022e61225f1f280493f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
(cherry picked from commit 725cd2faaa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-01 20:40:26 +00:00
Samuli Piippo
1ee0e99036 Update platform configs for QDB and flashing wizard
Create common yaml for building static release packages
for all host platforms, including arm linux and windows.

Task-number: QTBUG-117504
Task-number: QTBUG-117819
Change-Id: I8ee78eb9aa4fa5150141227e3367dee1be10f907
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 21e8dd696b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-01 20:40:26 +00:00
Qt Submodule Update Bot
87adc6ce0f Update submodules on '6.8 in qt/qt5'
Change-Id: I58f3020045614dc4f5331e74192c822203dfc7a9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-01 18:23:58 +00:00
Jani Korteniemi
3cb8fd1f10 Fix Android emulator timeout and restart on COIN
Changed device's start timeout to 3 minutes,
and restarting retries to 3.

Changed emulator boot check loop to check against
real time value instead int value.
Some of the tests caused previous
for-loop to take more than 1 second.

Task-number: COIN-1154
Pick-to: 6.5 5.15
Change-Id: I58066ad8f440b2fdee3c5b64d094b2713007bf19
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 14c7c3061b)
Reviewed-by: Jani Korteniemi <jani.korteniemi@qt.io>
2024-10-01 11:20:57 +00:00
Qt Submodule Update Bot
be8abb4c4c Update submodules on '6.8 in qt/qt5'
Change-Id: I6bbd260477dae8d907be101ff7703e2ecc8f0277
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-30 23:01:39 +00:00
Elias Toivola
80158fdbf3 Add golang and upx to RHEL-8.10 and WoA
Current RHEL 8 version is 8.10 in dev and soon in 6.8 (6.8.1). WoA is also an active platform in dev and 6.8 so let's add Go to it, upx for Windows on Arm has not been implemented yet.

This amends: 337206334e

Change-Id: I8b538e5d68db529e4f396059565856d0af4d8f54
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit b22b144f65)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-30 11:49:23 +00:00
Elias Toivola
133ea8eb46 Fix and define cache links for golang and upx
Windows script to install golang tries to download a .exe file from
cache while the install file is really a .msi file.

Golang and upx are new packages to ci-files so let's define their
directory paths as neatly as possible to prevent more clutter to
ci-files.

This amends: 337206334e

Pick-to: 6.7
Change-Id: If6cfa38304bfec207500fcd7a67e3acba994eb9f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
(cherry picked from commit f6313247cc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-30 11:49:21 +00:00
Elias Toivola
b28fbb4c29 Remove Red Hat 8.8 from CI
RHEL-8.8 targets are replaced by RHEL-8.10 targets in platform
configurations. [CI Platforms]

Task-number: QTQAINFRA-6367
Change-Id: I2dcf70b030d72261ec7bd130058a6062644813d6
(cherry picked from commit d1b2722ad7)
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-09-30 11:49:20 +00:00
Elias Toivola
cf1a53776d Make Red Hat 8.10 tests as blocking in CI
'InsignificantTests' is removed from all RHEL-8.10 targets and
'Packaging' feature is added to packaging RHEL-8.10 targets. [CI
Platforms]

Task-number: QTQAINFRA-6367
Change-Id: I0a83ccf5b75c7f2c7c8de871c267d286cf3a9296
(cherry picked from commit f221e65cf4)
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-09-30 11:49:18 +00:00
Elias Toivola
555085ae8d Provisioning: Add Red Hat 8.10 as non-blocking in CI
RHEL-8.10 will be run in parallel with RHEL-8.8 in CI as non-blocking
until RHEL-8.10 is confirmed stable, then it will replace RHEL-8.8.

Task-number: QTQAINFRA-6367
Change-Id: I4b470754895a72be026e869eb4e4d273eb3801b4
(cherry picked from commit ba9d0e2e4e)
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-09-30 11:49:17 +00:00
Liang Qi
dafff66c2d Provisioning: Install libicu to /usr/local on Ubuntu 24.04 arm64
This amends 86a9bd1bb2 .

Pick-to: 6.8.0
Task-number: QTQAINFRA-6510
Task-number: QTBUG-129422
Change-Id: I7ffa5c23dda20fbe3a32e302adc20d2b8e41f52f
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 10da0ba4a3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-27 19:22:39 +00:00
Tero Heikkinen
ac13495b0c Provisioning: Make Windows on ARM tests as blocking in CI
Tests have been monitored and passing now [CI Platforms]

Task-number: QTQAINFRA-6109
Task-number: QTQAINFRA-6110
Task-number: QTQAINFRA-6396
Change-Id: I321123e08a4a910a9c7effb5d640773adf8a898c
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 6ed781232a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-27 15:50:55 +00:00
Qt Submodule Update Bot
cdaa9b540c Update submodules on '6.8 in qt/qt5'
Change-Id: I23b88c209c595a32f7bc42a38a9cc5a1c4766ade
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-27 01:04:45 +00:00
Tero Heikkinen
05792979af Provisioning: Install nodejs to Ubuntu 24.04 arm64
Fixes: QTQAINFRA-6509
Change-Id: I91bfbb24dadaf74707496ed1167de684b2f9dd61
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 9be8bb7ea6)
2024-09-26 21:33:12 +02:00
Elias Toivola
ae7d959858 Remove Debian arm64 build from platform configs
Config 'debian-11.6-arm64' to build Debian LoA is not needed anymore as
its purpose is now done by Ubuntu arm64 target which is based on Debian.

Task-number: QTQAINFRA-6129
Change-Id: Ife8a61145e200df30a6f78ba7981b4ed8b5fe5c6
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit db4d3efc3c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-25 07:39:20 +00:00
Liang Qi
587e21bf17 add support for ffmpeg on Ubuntu 24.04 arm64
This follows
* 5a79cf9168 adding 90-install-ffmpeg.sh
* 83adc86c53 patchelf and -DQT_DEPLOY_FFMPEG=TRUE

Task-number: QTBUG-126289
Change-Id: I15300c5be750a784490d1e6cce935aeb423609ab
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 522ac7fd76)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-20 18:55:48 +00:00
Toni Saario
40d9225f48 Update azure sign tool to 5.0.0
The signtool is dependent on dotnet version. This must be updated
after the dotnet has been updated.

Task-number: QTQAINFRA-6396
Task-number: QTQAINFRA-6109
Change-Id: I346acf6dfefc8e70e61ea05a569ebb5cfcf04c85
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit e752c81add)
2024-09-18 20:56:46 +00:00
Toni Saario
e1aca35523 Install azure tools on windows on arm
Installs azure sign tool.

Task-number: QTQAINFRA-6396
Task-number: QTQAINFRA-6109
Change-Id: I4748f9fd911582361ff5a416fa8e8b8b0aa48716
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit cb832944b2)
2024-09-18 20:56:39 +00:00
Toni Saario
f4568889f4 Update and install dotnet on windows on arm
Required on arm for installing azuresigntool.

Task-number: QTQAINFRA-6396
Task-number: QTQAINFRA-6109
Change-Id: Ia0b2a4476338d090bc79d6a6bae46d1f09dc8600
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 437e25844a)
2024-09-18 20:56:32 +00:00
Jøger Hansegård
dfaabdea43 Add missing GStreamer libraries to provisioning of Ubuntu 24.04 x86_64
The missing libraries are needed to make unit tests pass in CI. With
this patch, we install the same GStreamer libraries on 24.04 as on
22.04.

This follows 02af86d2aa .

Task-number: QTQAINFRA-6098
Change-Id: I9fcb5abe0eba01e1e248eb0eb5aff11de4986235
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 263624da12)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-18 08:26:20 +00:00
Marcus Tillmanns
687c2c4551 Coin: Add golang & upx to Linux/macOS/Windows
Qt Creator will soon start to rely on go for tools and upx for binary compression.

Right now we can't install upx on macOS which we can live with.
Leaving the script in for later re-enabling once brew has been fixed.

Pick-to: 6.7
Change-Id: I4fdc67e469153e8a0530efd58ff251629dcabdfa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
(cherry picked from commit 337206334e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-18 06:30:19 +00:00
Liang Qi
a1b6183253 platform_configs: try to use lld linker on u24.04 arm64
Task-number: QTBUG-128887
Change-Id: I952f51560d5f01cc6093cd416c6ee49b9de7c922
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 3f48f4f9ef)
2024-09-14 22:35:13 +02:00
Tor Arne Vestbø
9f21a0b9cb Use macOS 14 ARM to run minimal static tests
Our x86_64 capacity is overloaded.

The Mimer SQL plugin is skipped because it has problems in static
builds.

Change-Id: I5f89cb7aa6b373792090ea16b0137de05574b71b
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 0d018fc073)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-14 10:02:33 +00:00
Elias Toivola
deea41c06c WoA: Update Visual Studio to 17.11.2 and disable restore points
This new tier-1 template has an updated MSVC (1941) and other small
optimizations done to Windows 11:
- .NET runtime optimization service is ran so it wont start
  automatically in later VMs.
- Event viewer showed that Windows creates Restore Points during
  provisioning so this is now disabled.
- Widgets are now disabled, so they no longer download weather/news
  data.

Task-number: QTCREATORBUG-31485
Fixes: QTQAINFRA-6518
Change-Id: Ifb60e8a24642e7cff9c8ffef319d6008a6af1fa4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
(cherry picked from commit 2151c5510f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-12 17:41:28 +00:00
Liang Qi
39facc0a95 Ubuntu 24.04 arm64: enable the usage of sccache
Change-Id: If5c615ccadcf1c5e6e2dac5efdff8c65938f5c25
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 0e210958e6)
Reviewed-by: Liang Qi <liang.qi@qt.io>
2024-09-12 17:48:04 +02:00
Liang Qi
df4d7fb42d sccache: Add arm linux support
Change-Id: I630cdc7bbff320c6ca8e17b33f0e9fc05f6a63af
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit cad194524e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-12 15:48:02 +00:00
Fredrik Ålund
f9f017bf5a Update Mimer SQL macOS binaries
The Mimer SQL macOS binaries had a problem fixed in version
11.0.8E. Update provisioning script with new version. Since Mimer SQL
on macOS is now universal binary only, remove the arm64 and x86_64
versions.

Fixes: QTQAINFRA-6559
Change-Id: I7e202ffc945167db79430846571cd7e1bb5158f6
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 90308d841e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-10 11:11:16 +00:00
Qt Submodule Update Bot
852ea47350 Update submodules on '6.8 in qt/qt5'
Change-Id: I3e0a4857cedbf2eecc5685691b0933f7b1639d97
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-10 08:48:15 +00:00
Alexey Edelev
72a4842796 Add the missing provisioning of protobuf on the Ubuntu 24.04 aarch64 machine
Fixes: QTBUG-128285
Change-Id: I2b0cd6098fdbcfb07d5210316d95749557970d07
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-09-09 05:11:03 +00:00
Jani Heikkinen
0da50b7562 Move static test build from msvc2019 to msvc2022
It has been agreed to drop MSVC2019 support from Qt 6.8 -> so let's drop
that last build from dev and 6.8.

See https://lists.qt-project.org/pipermail/development/2024-April/045178.html

Change-Id: Iba32a6372cd0dfff6de2866be8dd08b8e2f14896
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit e13bea5189)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-09 05:10:56 +00:00
Eike Ziller
5b09ad616e COIN/QtCreator: Use MSVC2022
Change-Id: I6b2c14fdcb7e7f536489b840dee02282c4d2be77
Reviewed-by: David Schulz <david.schulz@qt.io>
(cherry picked from commit 2dc7eaf911)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-06 12:31:26 +00:00
Qt Submodule Update Bot
b02cca2418 Update submodules on '6.8 in qt/qt5'
Change-Id: I787e942ab321d647acc932899f930ba96d786115
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-06 09:17:11 +00:00
Tero Heikkinen
15179451a1 Provisioning: Add ICU to Ubuntu 24.04 arm64
Fixes: QTQAINFRA-6510
Change-Id: Ia6aed07afe9b69ca109d95945faa87c1424f557b
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 86a9bd1bb2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-05 20:12:28 +00:00
Alexandru Croitor
cc79b9ec5d CMake: Generate SBOM for more platforms tagged with Packaging
Amends 3017e86d54
Amends 562b56c8d7

Task-number: QTBUG-122899
Task-number: QTBUG-127335
Change-Id: Ibad8957c4bc90d26f9f2f3ffe543ca243f72eb9b
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 2cf7569504)
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-09-05 12:48:31 +02:00
Liang Qi
e7345107cb platform_configs: remove qtbase-linux-arm64-offscreen.yaml
We have u2404 arm64 offscreen tested in qt5 since
420b779335.

Change-Id: Ibbb7d275d4abe4fc73646747939b2361c5317b26
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit dd2f96bcee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-05 12:48:25 +02:00
Liang Qi
7562d37e66 platform_configs: remove a few configs in qtwayland.yaml
Since Dec. 2022, qtwayland.yaml was included in qt5 integration,
which has too many InsignificantTests configs, let's remove some.

Change-Id: I7893578797895704bbb8d3ad05070816e30f4678
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 262a798cdb)
Reviewed-by: Liang Qi <liang.qi@qt.io>
2024-09-05 12:48:21 +02:00
Tero Heikkinen
e4defad5e2 Provisioning: Build FFmpeg for Windows ARM64 in ARM64 host
Install msys2 and FFmpeg for QtMultimedia plugin

Task-number: QTBUG-124399
Pick-to: 6.7
Change-Id: Ied2bc1039d9571611666530850c525c35c170c69
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 88ce036073)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-05 10:48:07 +00:00
Jani Heikkinen
a24acb5375 Restore WoA cross-compile build
Task-number: QTBUG-128554
Change-Id: I53cd170a1f63299dee0d59ddb92f38e30d214043
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-09-04 05:07:56 +00:00
Liang Qi
ccca79aa5e platform_configs: drop 3 tests configs on debian-11 arm64
Change-Id: Ie9981ec2760780779a328370acb81fdb664e71a1
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit a32af8a106)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-30 19:30:11 +00:00
Liang Qi
9bc2004e5c platform_configs: remove InsignificantTests for u2404 arm64 offscreen
Change-Id: I9c92566f59e3e6b651c86c5652b6acf12e2b74eb
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 420b779335)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-30 19:30:09 +00:00
Liang Qi
e171873514 platform_configs: move QtLite to Ubuntu 24.04 arm64
Change-Id: I447116f31f0f555d2ee41ae2f32332da07353c37
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
(cherry picked from commit b153b3860e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-29 18:58:21 +00:00
453 changed files with 6584 additions and 1183 deletions

4
.gitreview Normal file
View File

@@ -0,0 +1,4 @@
[gerrit]
host=codereview.qt-project.org
project=qt/qt5
defaultbranch=dev

View File

@@ -29,7 +29,7 @@ Windows:
1. Open a command prompt.
2. Ensure that the following tools can be found in the path:
* Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 11.2 or later)
* Supported compiler (Visual Studio 2022 or later, or MinGW-builds gcc 13.1 or later)
* Python 3 ([https://www.python.org/downloads/windows/] or from Microsoft Store)
```

View File

@@ -1,136 +0,0 @@
CMake - Cross Platform Makefile Generator
Copyright 2000-2024 Kitware, Inc. and Contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Kitware, Inc. nor the names of Contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------
The following individuals and institutions are among the Contributors:
* Aaron C. Meadows <cmake@shadowguarddev.com>
* Adriaan de Groot <groot@kde.org>
* Aleksey Avdeev <solo@altlinux.ru>
* Alexander Neundorf <neundorf@kde.org>
* Alexander Smorkalov <alexander.smorkalov@itseez.com>
* Alexey Sokolov <sokolov@google.com>
* Alex Merry <alex.merry@kde.org>
* Alex Turbov <i.zaufi@gmail.com>
* Andreas Pakulat <apaku@gmx.de>
* Andreas Schneider <asn@cryptomilk.org>
* André Rigland Brodtkorb <Andre.Brodtkorb@ifi.uio.no>
* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf
* Benjamin Eikel
* Bjoern Ricks <bjoern.ricks@gmail.com>
* Brad Hards <bradh@kde.org>
* Christopher Harvey
* Christoph Grüninger <foss@grueninger.de>
* Clement Creusot <creusot@cs.york.ac.uk>
* Daniel Blezek <blezek@gmail.com>
* Daniel Pfeifer <daniel@pfeifer-mail.de>
* Dawid Wróbel <me@dawidwrobel.com>
* Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
* Eran Ifrah <eran.ifrah@gmail.com>
* Esben Mose Hansen, Ange Optimization ApS
* Geoffrey Viola <geoffrey.viola@asirobots.com>
* Google Inc
* Gregor Jasny
* Helio Chissini de Castro <helio@kde.org>
* Ilya Lavrenov <ilya.lavrenov@itseez.com>
* Insight Software Consortium <insightsoftwareconsortium.org>
* Intel Corporation <www.intel.com>
* Jan Woetzel
* Jordan Williams <jordan@jwillikers.com>
* Julien Schueller
* Kelly Thompson <kgt@lanl.gov>
* Konstantin Podsvirov <konstantin@podsvirov.pro>
* Laurent Montel <montel@kde.org>
* Mario Bensi <mbensi@ipsquad.net>
* Martin Gräßlin <mgraesslin@kde.org>
* Mathieu Malaterre <mathieu.malaterre@gmail.com>
* Matthaeus G. Chajdas
* Matthias Kretz <kretz@kde.org>
* Matthias Maennich <matthias@maennich.net>
* Michael Hirsch, Ph.D. <www.scivision.co>
* Michael Stürmer
* Miguel A. Figueroa-Villanueva
* Mike Durso <rbprogrammer@gmail.com>
* Mike Jackson
* Mike McQuaid <mike@mikemcquaid.com>
* Nicolas Bock <nicolasbock@gmail.com>
* Nicolas Despres <nicolas.despres@gmail.com>
* Nikita Krupen'ko <krnekit@gmail.com>
* NVIDIA Corporation <www.nvidia.com>
* OpenGamma Ltd. <opengamma.com>
* Patrick Stotko <stotko@cs.uni-bonn.de>
* Per Øyvind Karlsen <peroyvind@mandriva.org>
* Peter Collingbourne <peter@pcc.me.uk>
* Petr Gotthard <gotthard@honeywell.com>
* Philip Lowman <philip@yhbt.com>
* Philippe Proulx <pproulx@efficios.com>
* Raffi Enficiaud, Max Planck Society
* Raumfeld <raumfeld.com>
* Roger Leigh <rleigh@codelibre.net>
* Rolf Eike Beer <eike@sf-mail.de>
* Roman Donchenko <roman.donchenko@itseez.com>
* Roman Kharitonov <roman.kharitonov@itseez.com>
* Ruslan Baratov
* Sebastian Holtermann <sebholt@xwmw.org>
* Stephen Kelly <steveire@gmail.com>
* Sylvain Joubert <joubert.sy@gmail.com>
* The Qt Company Ltd.
* Thomas Sondergaard <ts@medical-insight.com>
* Tobias Hunger <tobias.hunger@qt.io>
* Todd Gamblin <tgamblin@llnl.gov>
* Tristan Carel
* University of Dundee
* Vadim Zhukov
* Will Dicharry <wdicharry@stellarscience.com>
See version control history for details of individual contributions.
The above copyright and license notice applies to distributions of
CMake in source and binary form. Third-party software packages supplied
with CMake under compatible licenses provide their own copyright notices
documented in corresponding subdirectories or source files.
------------------------------------------------------------------------------
CMake was initially developed by Kitware with the following sponsorship:
* National Library of Medicine at the National Institutes of Health
as part of the Insight Segmentation and Registration Toolkit (ITK).
* US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
Visualization Initiative.
* National Alliance for Medical Image Computing (NAMIC) is funded by the
National Institutes of Health through the NIH Roadmap for Medical Research,
Grant U54 EB005149.
* Kitware, Inc.

View File

@@ -1,349 +0,0 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#
# Original file location was Tests/RunCMake/RunCMake.cmake
foreach(
arg
IN ITEMS
RunCMake_GENERATOR
RunCMake_SOURCE_DIR
RunCMake_BINARY_DIR
)
if(NOT DEFINED ${arg})
message(FATAL_ERROR "${arg} not given!")
endif()
endforeach()
function(run_cmake test)
if(DEFINED ENV{RunCMake_TEST_FILTER})
set(test_and_variant "${test}${RunCMake_TEST_VARIANT_DESCRIPTION}")
if(NOT test_and_variant MATCHES "$ENV{RunCMake_TEST_FILTER}")
return()
endif()
unset(test_and_variant)
endif()
set(top_src "${RunCMake_SOURCE_DIR}")
set(top_bin "${RunCMake_BINARY_DIR}")
if(EXISTS ${top_src}/${test}-result.txt)
file(READ ${top_src}/${test}-result.txt expect_result)
string(REGEX REPLACE "\n+$" "" expect_result "${expect_result}")
elseif(DEFINED RunCMake_TEST_EXPECT_RESULT)
set(expect_result "${RunCMake_TEST_EXPECT_RESULT}")
else()
set(expect_result 0)
endif()
string(TOLOWER ${CMAKE_HOST_SYSTEM_NAME} platform_name)
#remove all additional bits from cygwin/msys name
if(platform_name MATCHES cygwin)
set(platform_name cygwin)
endif()
if(platform_name MATCHES msys)
set(platform_name msys)
endif()
foreach(o IN ITEMS stdout stderr config)
if(RunCMake-${o}-file AND EXISTS ${top_src}/${RunCMake-${o}-file})
file(READ ${top_src}/${RunCMake-${o}-file} expect_${o})
string(REGEX REPLACE "\n+$" "" expect_${o} "${expect_${o}}")
elseif(EXISTS ${top_src}/${test}-${o}-${platform_name}.txt)
file(READ ${top_src}/${test}-${o}-${platform_name}.txt expect_${o})
string(REGEX REPLACE "\n+$" "" expect_${o} "${expect_${o}}")
elseif(EXISTS ${top_src}/${test}-${o}.txt)
file(READ ${top_src}/${test}-${o}.txt expect_${o})
string(REGEX REPLACE "\n+$" "" expect_${o} "${expect_${o}}")
elseif(DEFINED RunCMake_TEST_EXPECT_${o})
string(REGEX REPLACE "\n+$" "" expect_${o} "${RunCMake_TEST_EXPECT_${o}}")
else()
unset(expect_${o})
endif()
endforeach()
foreach(o IN ITEMS stdout stderr config)
if(DEFINED RunCMake_TEST_NOT_EXPECT_${o})
string(REGEX REPLACE "\n+$" "" not_expect_${o} "${RunCMake_TEST_NOT_EXPECT_${o}}")
endif()
endforeach()
if (NOT expect_stderr)
if (NOT RunCMake_DEFAULT_stderr)
set(RunCMake_DEFAULT_stderr "^$")
endif()
set(expect_stderr ${RunCMake_DEFAULT_stderr})
endif()
if (NOT RunCMake_TEST_SOURCE_DIR)
set(RunCMake_TEST_SOURCE_DIR "${top_src}")
endif()
if(NOT RunCMake_TEST_BINARY_DIR)
set(RunCMake_TEST_BINARY_DIR "${top_bin}/${test}-build")
endif()
if(NOT RunCMake_TEST_NO_CLEAN)
file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}")
endif()
file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}")
if(RunCMake-prep-file AND EXISTS ${top_src}/${RunCMake-prep-file})
include(${top_src}/${RunCMake-prep-file})
else()
include(${top_src}/${test}-prep.cmake OPTIONAL)
endif()
if(RunCMake_TEST_OUTPUT_MERGE)
set(actual_stderr_var actual_stdout)
set(actual_stderr "")
else()
set(actual_stderr_var actual_stderr)
endif()
if(DEFINED RunCMake_TEST_TIMEOUT)
set(maybe_timeout TIMEOUT ${RunCMake_TEST_TIMEOUT})
else()
set(maybe_timeout "")
endif()
if(RunCMake-stdin-file AND EXISTS ${top_src}/${RunCMake-stdin-file})
set(maybe_input_file INPUT_FILE ${top_src}/${RunCMake-stdin-file})
elseif(EXISTS ${top_src}/${test}-stdin.txt)
set(maybe_input_file INPUT_FILE ${top_src}/${test}-stdin.txt)
else()
set(maybe_input_file "")
endif()
if(NOT RunCMake_TEST_COMMAND)
if(NOT DEFINED RunCMake_TEST_OPTIONS)
set(RunCMake_TEST_OPTIONS "")
endif()
if(APPLE)
list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0025=NEW)
endif()
if(RunCMake_TEST_LCC AND NOT RunCMake_TEST_NO_CMP0129)
list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0129=NEW)
endif()
if(RunCMake_MAKE_PROGRAM)
list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_MAKE_PROGRAM=${RunCMake_MAKE_PROGRAM}")
endif()
set(RunCMake_TEST_COMMAND ${CMAKE_COMMAND})
if(NOT RunCMake_TEST_NO_SOURCE_DIR)
list(APPEND RunCMake_TEST_COMMAND "${RunCMake_TEST_SOURCE_DIR}")
endif()
list(APPEND RunCMake_TEST_COMMAND -G "${RunCMake_GENERATOR}")
if(RunCMake_GENERATOR_PLATFORM)
list(APPEND RunCMake_TEST_COMMAND -A "${RunCMake_GENERATOR_PLATFORM}")
endif()
if(RunCMake_GENERATOR_TOOLSET)
list(APPEND RunCMake_TEST_COMMAND -T "${RunCMake_GENERATOR_TOOLSET}")
endif()
if(RunCMake_GENERATOR_INSTANCE)
list(APPEND RunCMake_TEST_COMMAND "-DCMAKE_GENERATOR_INSTANCE=${RunCMake_GENERATOR_INSTANCE}")
endif()
list(APPEND RunCMake_TEST_COMMAND
-DRunCMake_TEST=${test}
--no-warn-unused-cli
)
else()
set(RunCMake_TEST_OPTIONS "")
endif()
if(NOT DEFINED RunCMake_TEST_RAW_ARGS)
set(RunCMake_TEST_RAW_ARGS "")
endif()
if(NOT RunCMake_TEST_COMMAND_WORKING_DIRECTORY)
set(RunCMake_TEST_COMMAND_WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}")
endif()
string(CONCAT _code [[execute_process(
COMMAND ${RunCMake_TEST_COMMAND}
${RunCMake_TEST_OPTIONS}
]] "${RunCMake_TEST_RAW_ARGS}\n" [[
WORKING_DIRECTORY "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}"
OUTPUT_VARIABLE actual_stdout
ERROR_VARIABLE ${actual_stderr_var}
RESULT_VARIABLE actual_result
ENCODING UTF8
${maybe_timeout}
${maybe_input_file}
)]])
if(DEFINED ENV{PWD})
set(old_pwd "$ENV{PWD}")
else()
set(old_pwd)
endif()
# Emulate a shell using this directory.
set(ENV{PWD} "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}")
cmake_language(EVAL CODE "${_code}")
if(DEFINED old_pwd)
set(ENV{PWD} "${old_pwd}")
else()
set(ENV{PWD})
endif()
set(msg "")
if(NOT "${actual_result}" MATCHES "${expect_result}")
string(APPEND msg "Result is [${actual_result}], not [${expect_result}].\n")
endif()
set(config_file "${RunCMake_TEST_COMMAND_WORKING_DIRECTORY}/CMakeFiles/CMakeConfigureLog.yaml")
if(EXISTS "${config_file}")
file(READ "${config_file}" actual_config)
else()
set(actual_config "")
endif()
# Special case: remove ninja no-op line from stderr, but not stdout.
# Test cases that look for it should use RunCMake_TEST_OUTPUT_MERGE.
string(REGEX REPLACE "(^|\r?\n)ninja: no work to do\\.\r?\n" "\\1" actual_stderr "${actual_stderr}")
# Remove incidental content from both stdout and stderr.
string(CONCAT ignore_line_regex
"(^|\n)((==[0-9]+=="
"|BullseyeCoverage"
"|[a-z]+\\([0-9]+\\) malloc:"
"|clang[^:]*: warning: the object size sanitizer has no effect at -O0, but is explicitly enabled:"
"|flang-new: warning: argument unused during compilation: .-flang-experimental-exec."
"|icp?x: remark: Note that use of .-g. without any optimization-level option will turn off most compiler optimizations"
"|ifx: remark #10440: Note that use of a debug option without any optimization-level option will turnoff most compiler optimizations"
"|lld-link: warning: procedure symbol record for .* refers to PDB item index [0-9A-Fa-fx]+ which is not a valid function ID record"
"|Error kstat returned"
"|Hit xcodebuild bug"
"|Recompacting log\\.\\.\\."
"|LICENSE WARNING:"
"|Your license to use PGI[^\n]*expired"
"|Please obtain a new version at"
"|contact PGI Sales at"
"|ic(p?c|l): remark #10441: The Intel\\(R\\) C\\+\\+ Compiler Classic \\(ICC\\) is deprecated"
"|[^\n]*install_name_tool: warning: changes being made to the file will invalidate the code signature in:"
"|[^\n]*(createItemModels|_NSMainThread|Please file a bug at)"
"|[^\n]*xcodebuild[^\n]*DVTAssertions: Warning"
"|[^\n]*xcodebuild[^\n]*DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default"
"|[^\n]*xcodebuild[^\n]*DVTPlugInManager"
"|[^\n]*xcodebuild[^\n]*DVTSDK: Warning: SDK path collision for path"
"|[^\n]*xcodebuild[^\n]*Requested but did not find extension point with identifier"
"|[^\n]*xcodebuild[^\n]*nil host used in call to allows.*HTTPSCertificateForHost"
"|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type"
"|[^\n]*objc[^\n]*: Class [^\n]* One of the two will be used. Which one is undefined."
"|[^\n]*is a member of multiple groups"
"|[^\n]*offset in archive not a multiple of 8"
"|[^\n]*from Time Machine by path"
"|[^\n]*Bullseye Testing Technology"
${RunCMake_TEST_EXTRA_IGNORE_LINE_REGEX}
")[^\n]*\n)+"
)
if(RunCMake_IGNORE_POLICY_VERSION_DEPRECATION)
string(REGEX REPLACE [[
^CMake Deprecation Warning at [^
]*CMakeLists.txt:1 \(cmake_minimum_required\):
Compatibility with CMake < 3\.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a \.\.\.<max> suffix to tell
CMake that the project does not need compatibility with older versions\.
+
]] "" actual_stderr "${actual_stderr}")
endif()
foreach(o IN ITEMS stdout stderr config)
string(REGEX REPLACE "\r\n" "\n" actual_${o} "${actual_${o}}")
string(REGEX REPLACE "${ignore_line_regex}" "\\1" actual_${o} "${actual_${o}}")
string(REGEX REPLACE "\n+$" "" actual_${o} "${actual_${o}}")
if(DEFINED expect_${o})
if(NOT "${actual_${o}}" MATCHES "${expect_${o}}")
string(APPEND msg "${o} does not match that expected.\n")
endif()
endif()
if(DEFINED not_expect_${o})
if("${actual_${o}}" MATCHES "${not_expect_${o}}")
string(APPEND msg "${o} matches that not expected.\n")
endif()
endif()
endforeach()
unset(RunCMake_TEST_FAILED)
if(RunCMake-check-file AND EXISTS ${top_src}/${RunCMake-check-file})
include(${top_src}/${RunCMake-check-file})
else()
include(${top_src}/${test}-check.cmake OPTIONAL)
endif()
if(RunCMake_TEST_FAILED)
set(msg "${RunCMake_TEST_FAILED}\n${msg}")
endif()
if(msg)
string(REPLACE ";" "\" \"" command "\"${RunCMake_TEST_COMMAND}\"")
if(RunCMake_TEST_OPTIONS)
string(REPLACE ";" "\" \"" options "\"${RunCMake_TEST_OPTIONS}\"")
string(APPEND command " ${options}")
endif()
if(RunCMake_TEST_RAW_ARGS)
string(APPEND command " ${RunCMake_TEST_RAW_ARGS}")
endif()
string(APPEND msg "Command was:\n command> ${command}\n")
endif()
if(msg)
foreach(o IN ITEMS stdout stderr config)
if(DEFINED expect_${o})
string(REGEX REPLACE "\n" "\n expect-${o}> " expect_${o} " expect-${o}> ${expect_${o}}")
string(APPEND msg "Expected ${o} to match:\n${expect_${o}}\n")
endif()
if(NOT o STREQUAL "config" OR DEFINED expect_${o})
string(REGEX REPLACE "\n" "\n actual-${o}> " actual_${o} " actual-${o}> ${actual_${o}}")
string(APPEND msg "Actual ${o}:\n${actual_${o}}\n")
endif()
endforeach()
message(SEND_ERROR "${test}${RunCMake_TEST_VARIANT_DESCRIPTION} - FAILED:\n${msg}")
else()
message(STATUS "${test}${RunCMake_TEST_VARIANT_DESCRIPTION} - PASSED")
endif()
endfunction()
function(run_cmake_command test)
set(RunCMake_TEST_COMMAND "${ARGN}")
run_cmake(${test})
endfunction()
function(run_cmake_script test)
set(RunCMake_TEST_COMMAND ${CMAKE_COMMAND} ${ARGN} -P ${RunCMake_SOURCE_DIR}/${test}.cmake)
run_cmake(${test})
endfunction()
function(run_cmake_with_options test)
set(RunCMake_TEST_OPTIONS "${ARGN}")
run_cmake(${test})
endfunction()
function(run_cmake_with_raw_args test args)
set(RunCMake_TEST_RAW_ARGS "${args}")
run_cmake(${test})
endfunction()
function(ensure_files_match expected_file actual_file)
if(NOT EXISTS "${expected_file}")
message(FATAL_ERROR "Expected file does not exist:\n ${expected_file}")
endif()
if(NOT EXISTS "${actual_file}")
message(FATAL_ERROR "Actual file does not exist:\n ${actual_file}")
endif()
file(READ "${expected_file}" expected_file_content)
file(READ "${actual_file}" actual_file_content)
if(NOT "${expected_file_content}" STREQUAL "${actual_file_content}")
message(FATAL_ERROR "Actual file content does not match expected:\n
\n
expected file: ${expected_file}\n
expected content:\n
${expected_file_content}\n
\n
actual file: ${actual_file}\n
actual content:\n
${actual_file_content}\n
")
endif()
endfunction()
# Get the user id on unix if possible.
function(get_unix_uid var)
set("${var}" "" PARENT_SCOPE)
if(UNIX)
set(ID "id")
if(CMAKE_SYSTEM_NAME STREQUAL "SunOS" AND EXISTS "/usr/xpg4/bin/id")
set (ID "/usr/xpg4/bin/id")
endif()
execute_process(COMMAND ${ID} -u $ENV{USER} OUTPUT_VARIABLE uid ERROR_QUIET
RESULT_VARIABLE status OUTPUT_STRIP_TRAILING_WHITESPACE)
if(status EQUAL 0)
set("${var}" "${uid}" PARENT_SCOPE)
endif()
endif()
endfunction()
# Protect RunCMake tests from calling environment.
unset(ENV{MAKEFLAGS})

View File

@@ -1,39 +0,0 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#
# Original file location was Tests/RunCMake/CMakeLists.txt
macro(add_RunCMake_test test)
set(TEST_ARGS ${ARGN})
if ("${ARGV1}" STREQUAL "TEST_DIR")
if ("${ARGV2}" STREQUAL "")
message(FATAL_ERROR "Invalid args")
endif()
set(Test_Dir ${ARGV2})
list(REMOVE_AT TEST_ARGS 0)
list(REMOVE_AT TEST_ARGS 0)
else()
set(Test_Dir ${test})
endif()
if(CMAKE_C_COMPILER_ID STREQUAL "LCC")
list(APPEND TEST_ARGS -DRunCMake_TEST_LCC=1)
endif()
add_test(NAME RunCMake.${test} COMMAND ${CMAKE_CMAKE_COMMAND}
-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR}
-DRunCMake_GENERATOR_IS_MULTI_CONFIG=${_isMultiConfig}
-DRunCMake_GENERATOR=${CMAKE_GENERATOR}
-DRunCMake_GENERATOR_INSTANCE=${CMAKE_GENERATOR_INSTANCE}
-DRunCMake_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
-DRunCMake_GENERATOR_TOOLSET=${CMAKE_GENERATOR_TOOLSET}
-DRunCMake_MAKE_PROGRAM=${CMake_TEST_EXPLICIT_MAKE_PROGRAM}
-DRunCMake_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}/${Test_Dir}
-DRunCMake_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}/${test}
${${test}_ARGS}
${TEST_ARGS}
-P "${CMAKE_CURRENT_SOURCE_DIR}/${Test_Dir}/RunCMakeTest.cmake"
)
set_tests_properties("RunCMake.${test}" PROPERTIES LABELS "CMake;run")
if(${test} MATCHES ^CMP)
set_property(TEST "RunCMake.${test}" APPEND PROPERTY LABELS "policy")
endif()
endmacro()

View File

@@ -1,16 +0,0 @@
{
"Id": "cmake-test-modules",
"Name": "cmake-test-modules",
"QDocModule": "qtcore",
"QtUsage": "Used as part of the build system.",
"QtParts" : [ "tests" ],
"Description": "CMake helpers for running CMake tests.",
"Homepage": "https://cmake.org/",
"Version": "3.29.0",
"License": "BSD 3-Clause \"New\" or \"Revised\" License",
"LicenseId": "BSD-3-Clause",
"LicenseFile": "Copyright.txt",
"Copyright": "Copyright © 2000-2024 Kitware, Inc. and Contributors"
}

View File

@@ -93,9 +93,15 @@ function(qt_ir_run_git_submodule_init submodules working_directory)
qt_ir_setup_commit_template("${working_directory}" "${working_directory}")
endfunction()
# Add gerrit remotes to the repository.
function(qt_ir_add_git_remotes repo_name working_directory)
set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/qt/")
# Add gerrit remotes to the repository located in the working_directory.
# repo_relative_url is the relative URL of the repository.
# Examples:
# - qt5
# - qttools.git
# - ../playground/qlitehtml.git
# - ../qt/qttools-litehtml.git
function(qt_ir_add_git_remotes repo_relative_url working_directory)
set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/")
set(gerrit_repo_url "${gerrit_ssh_base}")
qt_ir_get_option_value(codereview-username username)
@@ -110,7 +116,10 @@ function(qt_ir_add_git_remotes repo_name working_directory)
string(REPLACE "@PORT@" "" gerrit_repo_url "${gerrit_repo_url}")
endif()
string(APPEND gerrit_repo_url "${repo_name}")
set(namespace "qt")
set(repo_relative_url_with_namespace "${namespace}/${repo_relative_url}")
qt_ir_normalize_git_url("${repo_relative_url_with_namespace}" normalized_url)
string(APPEND gerrit_repo_url "${normalized_url}")
qt_ir_execute_process_and_log_and_handle_error(
COMMAND_ARGS git config remote.gerrit.url "${gerrit_repo_url}"
@@ -193,15 +202,21 @@ function(qt_ir_clone_one_submodule submodule_name)
set(submodule_base_git_path "${${prefix}_${submodule_name}_base_git_path}")
set(submodule_url "${submodule_base_git_path}")
qt_ir_has_url_scheme("${submodule_url}" has_url_scheme)
qt_ir_parse_git_url(
URL "${submodule_url}"
OUT_VAR_HAS_URL_SCHEME has_url_scheme
)
if(NOT has_url_scheme AND arg_BASE_URL)
set(submodule_url "${arg_BASE_URL}${submodule_url}")
qt_ir_normalize_git_url("${submodule_url}" submodule_url)
endif()
qt_ir_get_mirror(mirror_url)
set(mirror "")
if(NOT has_url_scheme AND mirror_url AND (should_clone OR arg_FETCH))
set(mirror "${mirror_url}${submodule_base_git_path}")
qt_ir_normalize_git_url("${mirror}" mirror)
endif()
set(mirror_or_original_url "${submodule_url}")

View File

@@ -8,7 +8,6 @@ macro(qt_ir_include_all_helpers)
include(QtIROptionsHelpers)
include(QtIRParsingHelpers)
include(QtIRProcessHelpers)
include(QtIRTestHelpers)
include(QtTopLevelHelpers)
endmacro()
@@ -117,7 +116,7 @@ function(qt_ir_get_args_from_optfile_configure_filtered optfile_path out_var)
if(submodules)
qt_ir_get_top_level_submodules(include_submodules exclude_submodules)
if(NOT include_submodules AND arg_ALREADY_INITIALIZED)
set(include_submodules "${submodules}")
string(REPLACE "," ";" include_submodules "${submodules}")
endif()
# qtrepotools is always implicitly cloned, but it doesn't actually

View File

@@ -40,16 +40,77 @@ function(qt_ir_get_git_config_contents out_var)
set(${out_var} "${git_output}" PARENT_SCOPE)
endfunction()
# Checks whether the given url has a scheme like https:// or is just a
# relative path.
function(qt_ir_has_url_scheme url out_var)
string(REGEX MATCH "^[a-z][a-z0-9+\-.]*://" has_url_scheme "${url}")
# Parses a git repo url to:
# - check if the given url has a scheme like https:// or git:// or is just a
# relative path with no scheme (possibly containing '../' segments)
# - extracts the scheme if it exists
# - extracts the url without the scheme
function(qt_ir_parse_git_url)
set(options "")
set(oneValueArgs
URL
OUT_VAR_HAS_URL_SCHEME
OUT_VAR_SCHEME
OUT_VAR_URL_WITHOUT_SCHEME
)
set(multiValueArgs "")
cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
string(REGEX MATCH "^([a-z][a-z0-9+\-.]*://)(.+)" url_scheme_match "${arg_URL}")
if(url_scheme_match)
set(has_url_scheme TRUE)
set(scheme "${CMAKE_MATCH_1}")
set(url_without_scheme "${CMAKE_MATCH_2}")
else()
set(has_url_scheme FALSE)
set(scheme "")
set(url_without_scheme "${url}")
endif()
if(arg_OUT_VAR_HAS_URL_SCHEME)
set(${arg_OUT_VAR_HAS_URL_SCHEME} "${has_url_scheme}" PARENT_SCOPE)
endif()
if(arg_OUT_VAR_SCHEME)
set(${arg_OUT_VAR_SCHEME} "${scheme}" PARENT_SCOPE)
endif()
if(arg_OUT_VAR_URL_WITHOUT_SCHEME)
set(${arg_OUT_VAR_URL_WITHOUT_SCHEME} "${url_without_scheme}" PARENT_SCOPE)
endif()
endfunction()
# Normalizes a url that contains '../' path segments.
# Removes the '../' segments and the directories that they precede.
# Example:
# git://code.qt.io/qt/../playground/qlitehtml.git
# will be normalized to:
# git://code.qt.io/playground/qlitehtml.git
function(qt_ir_normalize_git_url url out_var)
# The exact perl code was while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
# That got rid of ../ and ../../ in the path, but it broke down
# when more than two '../' segments were present.
#
# In CMake, we instead parse the url to get the non-scheme suffix,
# use get_filename_component(ABSOLUTE) to resolve the url as if it was a relative path
# and then re-add the scheme if it was present.
qt_ir_parse_git_url(
URL "${url}"
OUT_VAR_HAS_URL_SCHEME has_url_scheme
OUT_VAR_SCHEME url_scheme
OUT_VAR_URL_WITHOUT_SCHEME url_without_scheme
)
# Note the empty BASE_DIR is important, otherwise the path is relative to
# ${CMAKE_CURRENT_SOURCE_DIR}.
get_filename_component(normalized_url "${url_without_scheme}" ABSOLUTE BASE_DIR "")
if(has_url_scheme)
set(${out_var} TRUE PARENT_SCOPE)
else()
set(${out_var} FALSE PARENT_SCOPE)
string(PREPEND normalized_url "${url_scheme}")
endif()
set(${out_var} "${normalized_url}" PARENT_SCOPE)
endfunction()
# Parses a key-value line from a .git/config or .gitmodules file
@@ -79,14 +140,22 @@ endmacro()
# url_value
# the url where to clone a repo from
# in perl script it was called $base
# e.g. '../qtbase.git', 'https://code.qt.io/playground/qlitehtml.git'
# Examples:
# - '../qtbase.git'
# - 'https://code.qt.io/playground/qlitehtml.git'
# - '../../playground/qlitehtml.git'
# parent_repo_base_git_path
# the base git path of the parent of the submodule
# it is either a relative dir or a full url
# in the perl script it was called $my_repo_base,
# it was passed as first arg to git_clone_all_submodules,
# it was passed the value of $subbases{$module} when doing recursive submodule cloning
# e.g. 'qt5', 'tqtc-qt5', 'qtdeclarative.git', 'https://code.qt.io/playground/qlitehtml.git'
# Examples:
# - 'qt5'
# - 'tqtc-qt5'
# - 'qtdeclarative.git'
# - 'qttools.git'
# - 'https://code.qt.io/playground/qlitehtml.git'
#
# Outputs
#
@@ -94,21 +163,21 @@ endmacro()
# just the value of ${url_value}
# ${out_var_prefix}_${submodule_name}_base_git_path
# the whole url if it has a scheme, otherwise it's the value of
# ${url_value} relative to ${parent_repo_base_git_path}, so all the ../ are collapsed
# e.g. 'qtdeclarative.git'
# 'https://code.qt.io/playground/qlitehtml.git',
# ${url_value} relative to ${parent_repo_base_git_path}, so some of the '../' segments
# are collapsed depending on how many path segments are available in
# ${parent_repo_base_git_path}.
# Examples:
# - 'qtdeclarative.git'
# - 'https://code.qt.io/playground/qlitehtml.git'
# - '../playground/qlitehtml.git'
macro(qt_ir_parse_git_url_key out_var_prefix submodule_name url_value parent_repo_base_git_path)
qt_ir_has_url_scheme("${url_value}" has_url_scheme)
qt_ir_parse_git_url(
URL "${url_value}"
OUT_VAR_HAS_URL_SCHEME has_url_scheme
)
if(NOT has_url_scheme)
set(base_git_path "${parent_repo_base_git_path}/${url_value}")
# The exact code perl code was while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
# That got rid of ../ and ../../ in the path, but it broke down
# when more than two ../ were present.
# We just use ABSOLUTE to resolve the path and get rid of all ../
# Note the empty BASE_DIR is important, otherwise the path is relative to
# ${CMAKE_CURRENT_SOURCE_DIR}.
get_filename_component(base_git_path "${base_git_path}" ABSOLUTE BASE_DIR "")
qt_ir_normalize_git_url("${base_git_path}" base_git_path)
else()
set(base_git_path "${url_value}")
endif()

View File

@@ -7,7 +7,6 @@ cmake_minimum_required(VERSION 3.16)
macro(qt_ir_setup_include_paths)
list(APPEND CMAKE_MODULE_PATH
"${CMAKE_CURRENT_LIST_DIR}"
"${CMAKE_CURRENT_LIST_DIR}/3rdparty/cmake"
)
include(QtIRHelpers)
endmacro()

View File

@@ -3,13 +3,62 @@
# This script is to be called (ideally from a git-sync-to alias script):
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -P cmake/QtSynchronizeRepo.cmake
# Or as follows (ideally from a git-qt-foreach alias script):
# cmake -DQT_FOREACH=TRUE "-DARGS=$*" -P cmake/QtSynchronizeRepo.cmake
#
# The script can take additional options.
#
# SYNC_REF_SPEC - an alias for SYNC_TO_BRANCH, can be a tag, branch or commit sha1.
#
# REMOTE_NAME - remote name to use for fetching, default is origin.
#
# GIT_DEPTH - corresponds to git's --depth option, will be passed to git clone and git submodule
# update --init operations.
#
# SHOW_PROGRESS - passes --progress to git submodule update operations
#
# VERBOSE - enables more verbose output
#
# The script also takes the following environment variables:
#
# QT_TL_SUBMODULE_UPDATE_FLAGS - additional flags to pass to git submodule update calls.
#
# To run the script in full debug mode use:
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -DSHOW_PROGRESS=1 -DVERBOSE=1
# -P cmake/QtSynchronizeRepo.cmake --log-level=DEBUG --trace-redirect=log.txt --trace-expand
cmake_policy(VERSION 3.16)
include(cmake/QtTopLevelHelpers.cmake)
include("${CMAKE_CURRENT_LIST_DIR}/QtTopLevelHelpers.cmake")
if(QT_FOREACH)
qt_internal_foreach_repo_run(ARGS ${ARGS})
else()
qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH})
set(args "")
if(SYNC_REF_SPEC)
set(ref_spec "${SYNC_REF_SPEC}")
elseif(SYNC_TO_BRANCH)
set(ref_spec "${SYNC_TO_BRANCH}")
endif()
if(REMOTE_NAME)
list(APPEND args REMOTE_NAME "${REMOTE_NAME}")
endif()
if(GIT_DEPTH)
list(APPEND args GIT_DEPTH "${GIT_DEPTH}")
endif()
if(SHOW_PROGRESS)
list(APPEND args SHOW_PROGRESS)
endif()
if(VERBOSE)
list(APPEND args VERBOSE)
endif()
qt_internal_sync_to(${SYNC_TO_MODULE}
SYNC_REF ${ref_spec}
${args}
)
endif()

View File

@@ -7,7 +7,6 @@ cmake_minimum_required(VERSION 3.16)
macro(qt_tl_setup_include_paths)
list(APPEND CMAKE_MODULE_PATH
"${CMAKE_CURRENT_LIST_DIR}"
"${CMAKE_CURRENT_LIST_DIR}/3rdparty/cmake"
)
include(QtTopLevelHelpers)
endmacro()

File diff suppressed because it is too large Load Diff

View File

@@ -47,3 +47,20 @@ instructions:
condition: property
property: features
contains_value: UseConfigure
disable_if:
condition: or
conditions:
- condition: property
property: target.osVersion
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
- condition: and
conditions:
- condition: property
property: target.os
equals_value: Windows
- condition: property
property: target.arch
not_equals_property: host.arch
- condition: property
property: features
not_contains_value: "DebianPackaging"

View File

@@ -12,7 +12,7 @@ Configurations:
Id: 'ubuntu-22.04-documentation'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests', 'DocsGenerationV2']
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE']
-
@@ -30,7 +30,7 @@ Configurations:
Id: 'ubuntu-22.04-documentation-x11-tests'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'TestDocs', 'TestOnly']
Features: ['Sccache', 'TestDocs', 'TestOnly', 'DocsGenerationV2']
Platform dependency: 'ubuntu-22.04-documentation'
-
Id: 'ubuntu-22.04-x11-tests'
@@ -43,29 +43,29 @@ Configurations:
Id: 'ubuntu-24.04-arm64-documentation'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['Documentation', 'UseConfigure', 'DoNotRunTests']
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace -qpa offscreen\;xcb'
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
Configure arguments: '-make examples -developer-build -c++std c++20 -linker lld -qtlibinfix TestInfix -qtnamespace TestNamespace -qpa offscreen\;xcb'
Environment variables: [
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
]
-
Id: 'ubuntu-24.04-arm64'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['Packaging', 'UseConfigure', 'DoNotRunTests']
Features: ['Sccache', 'Packaging', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
]
# Test on Ubuntu 24.04 ARM64 offscreen
-
Id: 'ubuntu-24.04-arm64-offscreen-tests'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['TestOnly', 'InsignificantTests']
Features: ['TestOnly']
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'QT_QPA_OFFSCREEN_NO_GLX=1',
@@ -105,7 +105,7 @@ Configurations:
Id: 'ubuntu-24.04-x64-x11-tests'
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
Features: ['Sccache', 'TestOnly']
Platform dependency: 'ubuntu-24.04-x64'
-
Id: 'opensuse-15.5-developer-build'
@@ -120,7 +120,7 @@ Configurations:
]
-
Id: 'sles-15_sp5-static'
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
Template: 'qtci-linux-SLES-15_SP5-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-nomake examples -static -no-sql-mysql'
@@ -130,7 +130,7 @@ Configurations:
]
-
Id: 'windows-10_22h2-msvc2022'
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
@@ -154,18 +154,46 @@ Configurations:
]
-
Id: 'windows-11_22h2-arm64-msvc2022'
Template: 'qtci-windows-11_22H2-aarch64-53'
Template: 'qtci-windows-11_22H2-aarch64-54'
Compiler: 'MSVC2022'
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'InsignificantTests', 'GenerateSBOM', 'VerifySBOM']
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-psql -no-opengl'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
]
-
Id: 'rhel-8.8'
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Id: 'windows-11_23H2-msvc2022-arm64'
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Target arch: 'arm64'
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Platform dependency: 'windows-11_23H2-msvc2022'
Environment variables: [
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
]
-
Id: 'windows-11_23H2-msvc2022-developer-build'
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
]
-
Id: 'rhel-8.10'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
@@ -174,8 +202,8 @@ Configurations:
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
]
-
Id: 'rhel-9.2'
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
Id: 'rhel-9.4'
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
@@ -183,31 +211,9 @@ Configurations:
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
]
# Build on Debian-11.6 and split test on Wayland and offscreen later
-
Id: 'debian-11.6-arm64'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
]
# Test on Debian-11.6 offscreen
-
Id: 'debian-11.6-arm64-offscreen-tests'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
Features: ['Sccache', 'InsignificantTests', 'TestOnly']
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'QT_QPA_OFFSCREEN_NO_GLX=1',
'QT_QPA_PLATFORM=offscreen'
]
Platform dependency: 'debian-11.6-arm64'
-
Id: 'ios-universal'
Template: 'qtci-macos-13-x86_64-103'
Template: 'qtci-macos-14-arm-106'
Target os: 'IOS_ANY'
Target arch: 'arm64'
Compiler: 'Clang'
@@ -220,7 +226,7 @@ Configurations:
]
-
Id: 'windows-10_22h2-mingw13'
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Compiler: 'Mingw'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
@@ -249,7 +255,7 @@ Configurations:
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'Mingw'
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -separate-debug-info -make examples'
Environment variables: [
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
@@ -283,3 +289,16 @@ Configurations:
'COIN_EXTRA_DEBIAN_REPO=deb http://archive.ubuntu.com/ubuntu/ jammy main universe multiverse',
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
]
-
Id: 'bookworm-gles-arm64-debian-pkg-packaging'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
Environment variables: [
'DEBIAN_RULES_REF=6.8_gles',
'COIN_TARGET_DIST=tqtc-bookworm',
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
'COIN_SBUILD_CHROOT=stable-arm64-sbuild',
'COIN_EXTRA_DEBIAN_REPO=deb http://deb.debian.org/debian/ bookworm main',
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
]

View File

@@ -9,10 +9,10 @@ Configurations:
Platform dependency: 'ubuntu-22.04'
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',
@@ -26,10 +26,10 @@ Configurations:
Platform dependency: 'ubuntu-22.04'
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',
@@ -43,10 +43,10 @@ Configurations:
Platform dependency: 'ubuntu-22.04'
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',

View File

@@ -12,7 +12,7 @@ Configurations:
Environment variables: [
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
'QT_CMAKE_DIR=/opt/cmake-3.27.7/bin',
'QT_CMAKE_DIR=/opt/cmake-3.30.5/bin',
'QNX_TEST_ENV=LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
]

View File

@@ -0,0 +1,72 @@
Version: 2
Configurations:
-
Id: 'windows-11_23H2-msvc2022-minimal-static-test'
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', 'UseConfigure', 'Packaging', 'MinimalStaticTests']
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++20 -no-feature-sql-psql'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
]
-
Id: 'windows-11_22h2-arm64-msvc2022-minimal-static-test'
Template: 'qtci-windows-11_22H2-aarch64-55'
Compiler: 'MSVC2022'
Features: ['UseConfigure', 'InsignificantTests', 'Packaging', 'MinimalStaticTests']
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++17 -no-sql-psql'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
]
-
Id: 'rhel-8.10-minimal-static-test'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'MinimalStaticTests']
Configure arguments: '-static -nomake examples -release -qt-libjpeg -no-icu -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF'
]
-
Id: 'ubuntu-24.04-arm64'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
Configure arguments: '-static -nomake examples -release -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput -no-icu -qt-doubleconversion'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release'
]
-
Id: 'macos-universal-on-x86_64-minimal-static-test'
Template: 'qtci-macos-14-x86_64-105'
Compiler: 'Clang'
Target arch: 'x86_64-arm64'
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-static -nomake examples -release -no-framework -no-icu -qt-doubleconversion -no-feature-sql-psql'
Environment variables: [
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF',
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
]
-
Id: 'macos-14-minimal-static-tests-x86_64'
Template: 'qtci-macos-14-x86_64-105'
Compiler: 'Clang'
Features: ['TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64-minimal-static-test'
-
Id: 'macos-14-minimal-static-tests-arm64'
Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64-minimal-static-test'

View File

@@ -2,7 +2,7 @@ Version: 2
Configurations:
-
Id: 'sles-15_sp5-minimal-static'
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
Template: 'qtci-linux-SLES-15_SP5-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
Configure arguments: '-nomake examples -static -no-sql-mysql'
@@ -10,9 +10,9 @@ Configurations:
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}'
]
-
Id: 'windows-10_22h2-minimal-static'
Template: 'qtci-windows-10_22H2-x86_64-52'
Compiler: 'MSVC2019'
Id: 'windows-11_23H2-minimal-static'
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
Configure arguments: '-release -force-debug-info -static -nomake examples -qt-zlib'
Environment variables: [
@@ -23,7 +23,7 @@ Configurations:
]
-
Id: 'macos-minimal-static'
Template: 'qtci-macos-13-x86_64-103'
Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
Configure arguments: '-nomake examples -release -force-debug-info -static -no-framework'

View File

@@ -17,7 +17,7 @@ Configurations:
]
-
Id: 'android-armv7-on-windows'
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Target os: 'Android_ANY'
Target arch: 'armv7'
Compiler: 'Mingw'
@@ -33,12 +33,12 @@ Configurations:
]
-
Id: 'android-9-x86-on-linux'
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.8'
Platform dependency: 'rhel-8.10'
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
@@ -48,18 +48,19 @@ Configurations:
'ANDROID_EMULATOR=emulator_x86_api_28'
]
-
Id: 'android-14-x86_64-on-linux'
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Id: 'android-15-x86_64-on-linux'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.8'
Platform dependency: 'rhel-8.10'
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
'ANDROID_EMULATOR=emulator_x86_64_api_34'
'ANDROID_EMULATOR=emulator_x86_64_api_35'
]

View File

@@ -14,7 +14,7 @@ Configurations:
]
-
Id: 'webassembly-windows'
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Target os: 'WebAssembly'
Compiler: 'Mingw'
Target compiler: 'Clang'

View File

@@ -4,9 +4,9 @@ Configurations:
Id: 'ubuntu-22.04-license-check'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
Features: ['TestOnly', 'LicenseCheckV2']
-
Id: 'ubuntu-24.04-x64-license-check'
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
Compiler: 'GCC'
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
Features: ['TestOnly', 'LicenseCheckV2']

View File

@@ -1,39 +1,4 @@
Version: 2
Module only: True
Configurations:
-
Template: 'qtci-windows-10-x86_64-52'
Compiler: 'MSVC2019'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
-
Template: 'qtci-windows-10_22H2-x86_64-52'
Compiler: 'MSVC2019'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
-
Template: 'qtci-windows-10-x86_64-52'
Compiler: 'MSVC2019'
Target arch: 'x86'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
-
Template: 'qtci-windows-10_22H2-x86_64-52'
Compiler: 'MSVC2019'
Target arch: 'x86'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
-
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Compiler: 'GCC'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
-
Template: 'qtci-linux-Ubuntu-18.04-x86_64-50'
Compiler: 'GCC'
Features: ['Packaging', 'UseLegacyInstructions']
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
-
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
Include: [cmake_platforms_static_release.yaml]
Configurations: []

View File

@@ -2,7 +2,7 @@ Version: 2
Configurations:
-
Id: "ios-tests-on-macos"
Template: 'qtci-macos-13-x86_64-103'
Template: 'qtci-macos-14-arm-106'
Target os: 'IOS_ANY'
Target arch: 'arm64'
Compiler: 'Clang'

View File

@@ -2,12 +2,12 @@ Version: 2
Configurations:
-
Id: 'android-x86-developer-build-testrun-on-linux'
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.8'
Platform dependency: 'rhel-8.10'
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',

View File

@@ -2,15 +2,15 @@ Version: 2
Configurations:
-
Id: 'android-9-multi-abi'
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'multi'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: [
'rhel-8.8',
'rhel-8.10',
'android-9-x86-on-linux',
'android-14-x86_64-on-linux'
'android-15-x86_64-on-linux'
]
Features: [
'Sccache',
@@ -20,9 +20,9 @@ Configurations:
'InstallDepsPerPlatformSubdir'
]
Environment variables: [
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.8',
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.10',
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-9-x86-on-linux',
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-14-x86_64-on-linux',
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-15-x86_64-on-linux',
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
'ANDROID_EMULATOR=emulator_x86_api_28'
]

View File

@@ -15,8 +15,8 @@ Configurations:
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
Environment variables: [
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_open62541_security=OFF',
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
]
@@ -39,7 +39,7 @@ Configurations:
-
Id: 'macos-12-x86_64-tests'
Template: 'qtci-macos-12-x86_64-106'
Template: 'qtci-macos-12-x86_64-107'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly', 'Packaging']
Platform dependency: 'macos-universal-on-x86_64'
@@ -87,7 +87,7 @@ Configurations:
Platform dependency: 'macos-universal-on-arm64'
-
Id: 'macos-12-arm-on-x86_64-tests'
Template: 'qtci-macos-12-x86_64-106'
Template: 'qtci-macos-12-x86_64-107'
Compiler: 'Clang'
Features: ['Sccache', 'TestOnly']
Platform dependency: 'macos-universal-on-arm64'
@@ -115,7 +115,7 @@ Configurations:
Template: 'qtci-macos-14-x86_64-105'
Compiler: 'Clang'
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
Environment variables: [
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
@@ -126,7 +126,7 @@ Configurations:
Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -framework'
Configure arguments: '-developer-build -nomake examples -debug -framework'
Environment variables: [
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',

View File

@@ -7,7 +7,7 @@ Include: [
Configurations:
-
Id: 'qnx-710-arm64-on-windows'
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Target os: 'QNX_710'
Target arch: 'arm64'
Compiler: 'MSVC2019'

View File

@@ -4,7 +4,7 @@ Configurations:
# cmake_platforms.yaml
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure']
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure', 'DocsGenerationV2']
Configure arguments: '-make examples -developer-build -c++std c++20 -qtlibinfix TestInfix -qtnamespace TestNamespace'
-
Id: 'Ubuntu-22.04-xwayland-host'

View File

@@ -5,11 +5,12 @@ Include: [
"ubuntu-22.04",
"ubuntu-22.04-documentation",
"ubuntu-22.04-documentation-x11-tests",
"windows-11_23H2-msvc2022",
"windows-11_23H2-msvc2022-developer-build",
"ios-universal"
],
macos.yaml: [
"macos-14-x86_64-tests",
"macos-14-arm64-developer-build",
"macos-14-arm64-developer-build-tests",
],
cmake_platforms_target_android.yaml: [
"android-arm64-on-macos"

View File

@@ -1,3 +1,4 @@
Version: 2
Include: [cmake_platforms.yaml]
Module only: True
Include: [cmake_platforms_static_release.yaml]
Configurations: []

View File

@@ -2,7 +2,7 @@ Version: 2
Module only: True
Configurations:
-
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Compiler: 'MSVC2019'
Features: ['DisableTests']
-
@@ -10,7 +10,7 @@ Configurations:
Compiler: 'Clang'
Features: ['DisableTests']
-
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
Compiler: 'GCC'
Features: ['DisableTests']
-

View File

@@ -2,31 +2,59 @@ Version: 2
Module only: True
Configurations:
-
Template: 'qtci-windows-10_22H2-x86_64-52'
Compiler: 'MSVC2019'
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', 'DebugAndRelease']
Configure arguments: ''
Environment variables: []
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
-
Template: 'qtci-windows-10_22H2-x86_64-52'
Compiler: 'MSVC2019'
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
Configure arguments: ''
Environment variables: []
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
-
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
Features: ['Sccache', 'DebugAndRelease']
Configure arguments: ''
Environment variables: []
-
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['Sccache', 'DebugAndRelease']
Configure arguments: ''
Environment variables: []
-
Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
Features: ['Sccache', 'DebugAndRelease']
Configure arguments: ''
Environment variables: []
# without tests
-
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', 'DebugAndRelease', 'DisableTests']
Configure arguments: ''
Environment variables: []
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
# oldest Qt version
-
Template: 'qtci-windows-11_23H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
Configure arguments: ''
Environment variables: []
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
-
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Compiler: 'GCC'
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
Configure arguments: ''
Environment variables: []
-
Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
Configure arguments: ''
Environment variables: []
# license check
-
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
Compiler: 'GCC'

View File

@@ -3,14 +3,4 @@ Include: [
cmake_platforms.yaml,
address_sanitizer_platforms.yaml
]
Configurations:
# Test on Debian-11.6 Wayland
-
Id: 'debian-11.6-arm64-wayland-tests'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
]
Platform dependency: 'debian-11.6-arm64'
Configurations: []

View File

@@ -1,26 +0,0 @@
Version: 2
Configurations:
# Test on Ubuntu 24.04 ARM64 offscreen
-
Id: 'ubuntu-24.04-arm64-offscreen-qtbase-tests'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['TestOnly']
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'QT_QPA_OFFSCREEN_NO_GLX=1',
'QT_QPA_PLATFORM=offscreen'
]
Platform dependency: 'ubuntu-24.04-arm64'
# Test on Debian-11.6 offscreen
-
Id: 'debian-11.6-arm64-offscreen-qtbase-tests'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly']
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'QT_QPA_OFFSCREEN_NO_GLX=1',
'QT_QPA_PLATFORM=offscreen'
]
Platform dependency: 'debian-11.6-arm64'

View File

@@ -1,9 +1,9 @@
Version: 2
Configurations:
# Test gcc-12 on RHEL 9.2
# Test gcc-12 on RHEL 9.4
-
Id: 'rhel-9.2-gcc12'
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
Id: 'rhel-9.4-gcc12'
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-pcre -no-libudev -bundled-xcb-xinput'

View File

@@ -9,7 +9,6 @@ Include: [
wasm_qtbase_tests.yaml,
cmake_platforms_qemu_vxworks_buildtest.yaml,
qtlite.yaml,
qtbase-linux-arm64-offscreen.yaml,
qtbase-new-compiler-testing.yaml
]
Configurations: []

View File

@@ -1,10 +1,10 @@
Version: 2
Configurations:
-
Id: 'debian-11.6-static-qtlite-arm64'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Id: 'ubuntu-24.04-arm64-static-qtlite'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['UseConfigure', 'DoNotRunTests', 'MinimalStaticTests']
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'MinimalStaticTests']
Configure arguments: >
-nomake examples
-release

View File

@@ -8,16 +8,16 @@ Include: [
cmake_platforms.yaml: [
"ubuntu-22.04",
"ubuntu-22.04-documentation",
"ubuntu-24.04-arm64",
"opensuse-15.5-developer-build",
"sles-15_sp5-static",
"windows-10_22h2-msvc2019",
"windows-10_22h2-msvc2022",
"windows-10_22h2-msvc2019-developer-build",
"rhel-8.8",
"rhel-8.10",
"windows-10_22h2-mingw13",
"windows-10_22h2-mingw13-developer-build",
"windows-10_22h2-llvm",
"windows-11_23H2-msvc2019"
"windows-11_23H2-mingw13-developer-build",
"windows-11_23H2-llvm",
"windows-11_23H2-msvc2022",
"windows-11_22h2-arm64-msvc2022"
],
cmake_platforms_qemu_qnx710.yaml: [
"qnx-710-x86_64-developer-build-on-linux",
@@ -46,7 +46,7 @@ Configurations:
'TARGET_CONFIGURE_ARGS=-release -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd -qtlibinfix TestInfix',
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
'QT_QUICK_BACKEND=software',

View File

@@ -2,20 +2,21 @@ Version: 2
Include: [
macos.yaml: [
"macos-universal-on-x86_64",
"macos-12-x86_64-tests",
"macos-12-arm-on-arm64-tests"
"macos-14-x86_64-tests",
"macos-14-arm64-tests"
],
cmake_platforms.yaml: [
"ubuntu-22.04",
"ubuntu-22.04-documentation",
"ubuntu-24.04-arm64",
"opensuse-15.5-developer-build",
"sles-15_sp5-static",
"windows-10_22h2-msvc2019",
"windows-10_22h2-msvc2022",
"rhel-8.8",
"rhel-8.10",
"windows-10_22h2-mingw13",
"windows-10_22h2-llvm",
"windows-11_23H2-msvc2019"
"windows-11_23H2-llvm",
"windows-11_23H2-msvc2022",
"windows-11_22h2-arm64-msvc2022"
],
cmake_platforms_qemu_qnx710.yaml: [
"qnx-710-x86_64-developer-build-on-linux",
@@ -26,8 +27,8 @@ Include: [
# Static build configurations for tools
Configurations:
-
Id: 'macos-latest-xcode-universal-static-build'
Template: 'qtci-macos-12-x86_64-106'
Id: 'macos-latest-x code-universal-static-build'
Template: 'qtci-macos-14-arm-106'
Compiler: 'Clang'
Target arch: 'x86_64-arm64'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
@@ -36,8 +37,8 @@ Configurations:
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
]
-
Id: 'Linux-RHEL_8_8_Static'
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Id: 'Linux-RHEL_8_10_Static'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
@@ -46,11 +47,33 @@ Configurations:
'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
]
-
Id: 'Windows-MSVC2019_Static'
Template: 'qtci-windows-10_22H2-x86_64-52'
Compiler: 'MSVC2019'
Id: 'Ubuntu-24.04-arm64_Static'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql -plugin-sql-sqlite -plugin-sql-odbc'
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
]
-
Id: 'Windows-MSVC2022-arm64_Static'
Template: 'qtci-windows-11_22H2-aarch64-54'
Compiler: 'MSVC2022'
Features: ['Packaging', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-psql -no-opengl'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
]
-
Id: 'Windows-MSVC2022_Static'
Template: 'qtci-windows-10_22H2-x86_64-53'
Compiler: 'MSVC2022'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql'
Environment variables: [
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',

View File

@@ -4,19 +4,6 @@ Include: [
address_sanitizer_platforms.yaml
]
Configurations:
# Test on Ubuntu 22.04 Wayland
-
Id: 'ubuntu-22.04-documentation-wayland-tests'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'TestDocs', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-22.04-documentation'
-
Id: 'ubuntu-22.04-wayland-tests'
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-22.04'
# Test on Ubuntu 24.04 ARM64 Wayland
-
Id: 'ubuntu-24.04-arm64-documentation-wayland-tests'
@@ -24,32 +11,10 @@ Configurations:
Compiler: 'GCC'
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-24.04-arm64-documentation'
-
Id: 'ubuntu-24.04-arm64-wayland-tests'
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
Compiler: 'GCC'
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-24.04-arm64'
# Test on Ubuntu 24.04 x64 Wayland
-
Id: 'ubuntu-24.04-x64-documentation-wayland-tests'
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
Compiler: 'GCC'
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-24.04-x64-documentation'
-
Id: 'ubuntu-24.04-x64-wayland-tests'
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
Compiler: 'GCC'
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
Platform dependency: 'ubuntu-24.04-x64'
# Test on Debian-11.6 Wayland
-
Id: 'debian-11.6-arm64-wayland-tests'
Template: 'qtci-linux-Debian-11.6-aarch64-50'
Compiler: 'GCC'
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
Environment variables: [
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
]
Platform dependency: 'debian-11.6-arm64'

View File

@@ -1,7 +1,7 @@
Version: 2
Configurations:
-
Template: 'qtci-windows-10_22H2-x86_64-52'
Template: 'qtci-windows-10_22H2-x86_64-53'
Compiler: 'Mingw'
Environment variables: ['PATH=C:\MINGW1120_i686\mingw32\bin;$PATH']
Features: ['Packaging', UseLegacyInstructions']

View File

@@ -1,7 +1,7 @@
Version: 2
Include: [
cmake_platforms.yaml: [
'rhel-8.8',
"rhel-8.10",
'windows-10_22h2-mingw13',
'ubuntu-22.04-documentation',
'ubuntu-22.04-documentation-x11-tests'
@@ -13,18 +13,18 @@ Include: [
'android-arm64-on-macos',
'android-armv7-on-windows',
'android-9-x86-on-linux',
'android-14-x86_64-on-linux'
'android-15-x86_64-on-linux'
]
]
Configurations:
-
Id: "automotive-android-14-x86_64-on-linux"
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.8'
Platform dependency: 'rhel-8.10'
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
@@ -35,12 +35,12 @@ Configurations:
]
-
Id: "automotive-android-10-x86_64-on-linux"
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.8'
Platform dependency: 'rhel-8.10'
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',

View File

@@ -3,7 +3,7 @@ Module only: true
Include: [
cmake_platforms.yaml: [
"windows-10_22h2-msvc2019",
"rhel-8.8"
"rhel-8.10"
],
macos.yaml: [
"macos-universal-on-x86_64"

View File

@@ -0,0 +1,62 @@
### RED HAT ENTERPRISE LINUX 8.10 ###
Language: English (United States)
Time & Date: Etc/Coordinated Universal Time
Software Selection: Server with GUI
Installation Destination: Automatic partitioning selected
Root Passowrd: Set
Network & Host..: Connect
User Creation
Beging Installation
Reboot
Licensing: Accept
Finish Configuration
gnome-initial-setup:
Language: English (US)
Typing:English (US)
Privacy: Location Services: OFF
Connect Your Online Accounts: Skip
Start Using Red Hat Enterprise Linux
# Add user to sudoers
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
# Configure Settings
Notifications:
* Notification Popups: OFF
* Lock Screen Notifications: OFF
Privacy:
* Screen Lock: OFF
Power:
* Blank screen: Never
Details:
* Time & Date: Time Zone: UTC
* run "sudo timedatectl set-timezone Etc/UTC"
* Users: Automatic login on
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
sudo grub2-mkconfig -o /etc/grub2.cfg
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
# Add support for virtio driver
su
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
dracut -f
# Do these from Opennebula UI!
# Enable network connection from right upper corner
Devices:
* Displays: Resolution 1280 x 800
# Fetch and run coin-setup
Download http://coin/coin/binary/linux_amd64/coin-setup
# run as qt user
chmod 755 coin-setup
run './coin-setup'
Reboot

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
[org/gnome/desktop/media-handling]
automount=false
automount-open=false
EOF
sudo dconf update

View File

@@ -0,0 +1,54 @@
### RHEL 9.4 ###
Hard Disk: 500G
Network: CI
Video Card: Total Video Memory: 64MB
Boot options/Firmware: BIOS
Language: English (United States)
Keyboard: English (US), Norwegian (Windows), Finnish (Windows)
Time & Date: Etc/Coordinated Universal Time
Software Selection: Server with GUI
Installation Destination: Automatic partitioning selected
Root Passowrd: Set
Network & Host..: Connected
KDUMP enabled: Memory Reservation: automatic
Begin Installation
Reboot
# Configure Settings
Notifications:
* Lock Screen Notifications: OFF
* Applications: Set notification off
* Do Not Disturb: on
Applications:
* Disable notifications from all applications
Privacy:
* Blank Screen Delay: Never
* Screen Lock: OFF
Power:
* Blank screen: Never
Displays:
* Resolution: 1280 x 800
Users:
* Automatic login on
# Add user to sudoers
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
sudo grub2-mkconfig -o /etc/grub2.cfg
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
# Add support for virtio driver
su
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
dracut -f
# Do these from Opennebula UI!
# Enable network connection from right upper corner
This is done when the VM is launched as persistent in OpenNebula.
# Fetch and run coin-setup
Download http://coin/coin/binary/linux_amd64/coin-setup
# run as qt user
run './coin-setup'
# Switch to use GNOME Classic user interface
# GNOME Classic was selected because there's an issue with Starndard (wayland display server). Autotest start failing because terminal session remains in Activities Overview.
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3854
First execute script ./01-disable-automounting.sh (dconf update crash in GNOME Classic)
logout -> Select user (without it the drop down menu won't appear) -> switch to 'GNOME Classic' from drop down menu in login screen
Reboot

View File

@@ -56,6 +56,10 @@ Windows 10 SDK (10.0.22000.0)
Windows 10 SDK (10.0.22621.0)
Windows Universal C Runtime
Windows SDK (10.0.26100.1742) was later downloaded and installed from:
https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
# COIN-1206
# NOTE! Work loads were added during installation!
############################################################

View File

@@ -54,10 +54,16 @@
- After reboot disable windows updates:
- 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'Windows updates' - stop & disable
* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
* Disable Windows Restore Points: Search 'Create a restore point' -> 'System Protection' tab -> Configure C: drive -> Disable & Delete restore points.
* Disable widgets: Right click the task bar -> 'Taskbar settings' -> toggle off anything related to widgets.
* (Restart Windows)
* Google Chrome installed for RTA
* Virus & threat protection settings:
* Check that there's no active antivirus providers
* Run .NET runtime optimization service: open terminal and run:
Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
- It may be needed to rerun after installing Visual Studio. Just run it until it prints:
"All compilation targets are up to date."
* Activate Windows
# Next

View File

@@ -1,6 +1,7 @@
### Visual Studio Professional 2022 Official release ###
Visual Studio Professional 2022 version 17.3.5 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
Visual Studio Professional 2022 was updated to 17.8.2 vith Visual Studio Installer
Visual Studio Professional 2022 was updated to 17.11.2 with Visual Studio Installer
Installed MSVC-2022 Components:

View File

@@ -4,12 +4,12 @@ plugins {
android {
namespace 'com.example.gradle_project'
compileSdk 34
compileSdk 35
defaultConfig {
applicationId "com.example.gradle_project"
minSdk 28
targetSdk 34
targetSdk 35
versionCode 1
versionName "1.0"
}

View File

@@ -1,5 +1,5 @@
[versions]
agp = "8.4.0"
agp = "8.6.0"
core = "1.13.1"
appcompat = "1.6.1"
material = "1.11.0"

View File

@@ -7,8 +7,8 @@
set -e
EMULATOR_MAX_RETRIES=5
ADB_MAX_TIMEOUT=300
EMULATOR_MAX_RETRIES=3
ADB_MAX_TIMEOUT=180
EMULATOR_EXEC="$ANDROID_SDK_ROOT/emulator/emulator"
ADB_EXEC="$ANDROID_SDK_ROOT/platform-tools/adb"
LOGCAT_PATH="$COIN_CTEST_RESULTSDIR/emulator_logcat_%iter.txt"
@@ -85,7 +85,11 @@ do
echo "Waiting a few minutes for the emulator to fully boot..."
emulator_status=down
for _ in $(seq ${ADB_MAX_TIMEOUT})
time_start=${SECONDS}
duration=0
while [ $duration -lt ${ADB_MAX_TIMEOUT} ]
do
sleep 1
@@ -94,6 +98,7 @@ do
emulator_status=up
break
fi
duration=$(( SECONDS - time_start ))
done
# If emulator status is still offline after timeout period,

View File

@@ -24,20 +24,15 @@ basePath="http://ci-files01-hki.ci.qt.io/input/android"
toolsVersion="2.1"
toolsFile="commandlinetools-linux-6609375_latest.zip"
ndkVersionLatest="r26b"
ndkVersionLatest="r27c"
ndkVersionDefault=$ndkVersionLatest
sdkBuildToolsVersion="34.0.0"
sdkApiLevel="android-34"
sdkBuildToolsVersion="35.0.1"
sdkApiLevel="android-35"
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
ndkSha1Latest="fdf33d9f6c1b3f16e5459d53a82c7d2201edbcc4"
ndkSha1Latest="090e8083a715fdb1a3e402d0763c388abb03fb4e"
ndkSha1Default=$ndkSha1Latest
# Android 14 avd zip
android14SystemZipName="android14system_UE1A_230829_036.tar.gz"
android14SystemZipSha="ede80c6901e8fad1895c97a86542b8e072bb1ee5"
android14SystemPath="$basePath/$android14SystemZipName"
# Android Automotive max SDK level image
sdkApiLevelAutomotiveMax="android-34"
androidAutomotiveMaxUrl="$basePath/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
@@ -136,24 +131,46 @@ cd "$sdkTargetFolder/cmdline-tools/tools/bin"
./sdkmanager --install "emulator" --sdk_root="$sdkTargetFolder" \
| eval "$sdkmanager_no_progress_bar_cmd"
echo "Download and unzip Android Emulator version 34.1.19"
emulatorFileName="emulator-linux_x64-11525734.zip"
echo "Download and unzip Android Emulator version 35.2.10"
emulatorFileName="emulator-linux_x64-12414864.zip"
emulatorCiUrl="https://ci-files01-hki.ci.qt.io/input/android/$emulatorFileName"
emulatorUrl="http://dl.google.com/android/repository/$emulatorFileName"
emulatorTargetFile="$sdkTargetFolder/$emulatorFileName"
emulatorSha1="d6cc94109b081c5f6042dcb71a453144f7e62ce7"
emulatorSha1="41dd213d120f727d8c3840347d234b135793ba10"
DownloadURL "$emulatorCiUrl" "$emulatorUrl" "$emulatorSha1" "$emulatorTargetFile"
echo "Unzipping the Android Emulator to '$sdkTargetFolder'"
sudo unzip -o -q "$emulatorTargetFile" -d "$sdkTargetFolder"
rm "$emulatorTargetFile"
echo "y" | ./sdkmanager --install "system-images;android-28;google_apis;x86" \
| eval "$sdkmanager_no_progress_bar_cmd"
echo "Download and unzip Android 9 System Image"
minVersionFileName="x86-28_r08.zip"
minVersionDestination="$sdkTargetFolder/system-images/android-28/google_apis/"
minVersionFilePath="$minVersionDestination/$minVersionFileName"
minVersionCiUrl="$basePath/system-images/google_apis/$minVersionFileName"
minVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$minVersionFileName"
minVersionSha1="41e3b854d7987a3d8b7500631dae1f1d32d3db4e"
echo "Extract stored Android 14 Beta $android14SystemZipName"
DownloadURL "$android14SystemPath" "$android14SystemPath" "$android14SystemZipSha" \
"/tmp/$android14SystemZipName"
sudo tar -xzf "/tmp/$android14SystemZipName" -C "$sdkTargetFolder/system-images"
mkdir -p "$minVersionDestination"
DownloadURL "$minVersionCiUrl" "$minVersionUrl" "$minVersionSha1" "$minVersionFilePath"
echo "Unzipping the Android 9 to $minVersionDestination"
sudo unzip -o -q "$minVersionFilePath" -d "$minVersionDestination"
rm "$minVersionFilePath"
echo "Download and unzip Android 15 System Image"
maxVersionFileName="x86_64-35_r08.zip"
maxVersionDestination="$sdkTargetFolder/system-images/android-35/google_apis/"
maxVersionFilePath="$maxVersionDestination/$maxVersionFileName"
maxVersionCiUrl="$basePath/system-images/google_apis/$maxVersionFileName"
maxVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$maxVersionFileName"
maxVersionSha1="d79169884cabc6680cb29d32c2112ad46c858c1b"
mkdir -p "$maxVersionDestination"
DownloadURL "$maxVersionCiUrl" "$maxVersionUrl" "$maxVersionSha1" "$maxVersionFilePath"
echo "Unzipping the Android 15 to $maxVersionDestination"
sudo unzip -o -q "$maxVersionFilePath" -d "$maxVersionDestination"
rm "$maxVersionFilePath"
echo "Checking the contents of Android SDK again..."
ls -l "$sdkTargetFolder"
@@ -161,8 +178,8 @@ ls -l "$sdkTargetFolder"
echo "no" | ./avdmanager create avd -n emulator_x86_api_28 -c 2048M -f \
-k "system-images;android-28;google_apis;x86"
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_34 -c 2048M -f \
-k "system-images;android-34;google_apis;x86_64"
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_35 -c 2048M -f \
-k "system-images;android-35;google_apis;x86_64"
echo "Install maximum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMax"
DownloadURL "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxSha" \
@@ -193,7 +210,7 @@ cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
cd /tmp/gradle_project
# Get Gradle files from qtbase
qtbaseGradleUrl="https://code.qt.io/cgit/qt/qtbase.git/plain/src/3rdparty/gradle"
commit_sha="f22e9795d9a32fc4e9f4d6f2a70c2f831028342b"
commit_sha="8436455e2740000a817e0b8154e13f47e6abb68c"
curl "$qtbaseGradleUrl/gradle.properties?h=$commit_sha" > gradle.properties
curl "$qtbaseGradleUrl/gradlew?h=$commit_sha" > gradlew
curl "$qtbaseGradleUrl/gradlew.bat?h=$commit_sha" > gradlew.bat

View File

@@ -0,0 +1,10 @@
{
"_Layers": [
"post_processing.py",
"ci_config.json",
"ci_config_common.json",
"compiler_config.json",
"rule_config.json",
"code_annotations.json"
]
}

View File

@@ -0,0 +1,33 @@
{
"Project": {
"Git": {
"_active": true,
"sourceserver_gitdir": "/data/axivion/databases/$(env:TESTED_MODULE_COIN).git",
"sourceserver_remote_url": "ssh://codereview.qt-project.org:29418/qt/$(env:TESTED_MODULE_COIN)"
},
"Project-GlobalOptions": {
"ci_mode": {
"clean_before": false
},
"directory": "../work/qt/$(env:TESTED_MODULE_COIN)",
"ir": "$(env:IRNAME)",
"name": "qt_$(env:PACKAGE)_$(env:MODULE)_dev_$(env:TARGET_OS_COIN)"
}
},
"Results": {
"Dashboard": {
"ci_mode": {
"directory": "/data/axivion/databases"
},
"dashboard_url": "https://axivion-srv.ci.qt.io/axivion/"
}
},
"_Format": "1.0",
"_Version": "7.6.2",
"_VersionNum": [
7,
6,
2,
12725
]
}

View File

@@ -0,0 +1,32 @@
{
"Analysis": {
"CatchMalformedComments": {
"_active": true
},
"EnableDisable": {
"_active": true
},
"NextLine": {
"_active": true
},
"ReportUnclosedRestOfFileComments": {
"_active": true
},
"ReportUnusedComments": {
"_active": true
}
},
"Results": {
"Dashboard": {
"import_suppressed_issues": true
}
},
"_Format": "1.0",
"_Version": "trunk-d23a11ca62e",
"_VersionNum": [
7,
8,
0,
14394
]
}

View File

@@ -0,0 +1,786 @@
{
"Project": {
"GNUToolchain": {
"_active": true,
"advanced": {
"no_macro_invocations_for_system_headers": false
},
"archiver": {
"native_archiver": "/usr/bin/ar"
},
"language_c": {
"emulated_compiler": "GNU",
"emulated_compiler_version": 90300,
"language_version": "C18",
"native_compiler": "/usr/bin/gcc",
"preprocessing": {
"predefined_macros": {
"_LP64": "1",
"_STDC_PREDEF_H": "1",
"__ATOMIC_ACQUIRE": "2",
"__ATOMIC_ACQ_REL": "4",
"__ATOMIC_CONSUME": "1",
"__ATOMIC_HLE_ACQUIRE": "65536",
"__ATOMIC_HLE_RELEASE": "131072",
"__ATOMIC_RELAXED": "0",
"__ATOMIC_RELEASE": "3",
"__ATOMIC_SEQ_CST": "5",
"__BIGGEST_ALIGNMENT__": "16",
"__BYTE_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__CHAR_BIT__": "8",
"__DBL_DECIMAL_DIG__": "17",
"__DBL_DENORM_MIN__": "((double)4.94065645841246544176568792868221372e-324L)",
"__DBL_DIG__": "15",
"__DBL_EPSILON__": "((double)2.22044604925031308084726333618164062e-16L)",
"__DBL_HAS_DENORM__": "1",
"__DBL_HAS_INFINITY__": "1",
"__DBL_HAS_QUIET_NAN__": "1",
"__DBL_MANT_DIG__": "53",
"__DBL_MAX_10_EXP__": "308",
"__DBL_MAX_EXP__": "1024",
"__DBL_MAX__": "((double)1.79769313486231570814527423731704357e+308L)",
"__DBL_MIN_10_EXP__": "(-307)",
"__DBL_MIN_EXP__": "(-1021)",
"__DBL_MIN__": "((double)2.22507385850720138309023271733240406e-308L)",
"__DEC128_EPSILON__": "1E-33DL",
"__DEC128_MANT_DIG__": "34",
"__DEC128_MAX_EXP__": "6145",
"__DEC128_MAX__": "9.999999999999999999999999999999999E6144DL",
"__DEC128_MIN_EXP__": "(-6142)",
"__DEC128_MIN__": "1E-6143DL",
"__DEC128_SUBNORMAL_MIN__": "0.000000000000000000000000000000001E-6143DL",
"__DEC32_EPSILON__": "1E-6DF",
"__DEC32_MANT_DIG__": "7",
"__DEC32_MAX_EXP__": "97",
"__DEC32_MAX__": "9.999999E96DF",
"__DEC32_MIN_EXP__": "(-94)",
"__DEC32_MIN__": "1E-95DF",
"__DEC32_SUBNORMAL_MIN__": "0.000001E-95DF",
"__DEC64_EPSILON__": "1E-15DD",
"__DEC64_MANT_DIG__": "16",
"__DEC64_MAX_EXP__": "385",
"__DEC64_MAX__": "9.999999999999999E384DD",
"__DEC64_MIN_EXP__": "(-382)",
"__DEC64_MIN__": "1E-383DD",
"__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD",
"__DECIMAL_BID_FORMAT__": "1",
"__DECIMAL_DIG__": "21",
"__DEC_EVAL_METHOD__": "2",
"__ELF__": "1",
"__FINITE_MATH_ONLY__": "0",
"__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__FLT128_DECIMAL_DIG__": "36",
"__FLT128_DENORM_MIN__": "6.47517511943802511092443895822764655e-4966F128",
"__FLT128_DIG__": "33",
"__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128",
"__FLT128_HAS_DENORM__": "1",
"__FLT128_HAS_INFINITY__": "1",
"__FLT128_HAS_QUIET_NAN__": "1",
"__FLT128_MANT_DIG__": "113",
"__FLT128_MAX_10_EXP__": "4932",
"__FLT128_MAX_EXP__": "16384",
"__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128",
"__FLT128_MIN_10_EXP__": "(-4931)",
"__FLT128_MIN_EXP__": "(-16381)",
"__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128",
"__FLT32X_DECIMAL_DIG__": "17",
"__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x",
"__FLT32X_DIG__": "15",
"__FLT32X_EPSILON__": "2.22044604925031308084726333618164062e-16F32x",
"__FLT32X_HAS_DENORM__": "1",
"__FLT32X_HAS_INFINITY__": "1",
"__FLT32X_HAS_QUIET_NAN__": "1",
"__FLT32X_MANT_DIG__": "53",
"__FLT32X_MAX_10_EXP__": "308",
"__FLT32X_MAX_EXP__": "1024",
"__FLT32X_MAX__": "1.79769313486231570814527423731704357e+308F32x",
"__FLT32X_MIN_10_EXP__": "(-307)",
"__FLT32X_MIN_EXP__": "(-1021)",
"__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x",
"__FLT32_DECIMAL_DIG__": "9",
"__FLT32_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F32",
"__FLT32_DIG__": "6",
"__FLT32_EPSILON__": "1.19209289550781250000000000000000000e-7F32",
"__FLT32_HAS_DENORM__": "1",
"__FLT32_HAS_INFINITY__": "1",
"__FLT32_HAS_QUIET_NAN__": "1",
"__FLT32_MANT_DIG__": "24",
"__FLT32_MAX_10_EXP__": "38",
"__FLT32_MAX_EXP__": "128",
"__FLT32_MAX__": "3.40282346638528859811704183484516925e+38F32",
"__FLT32_MIN_10_EXP__": "(-37)",
"__FLT32_MIN_EXP__": "(-125)",
"__FLT32_MIN__": "1.17549435082228750796873653722224568e-38F32",
"__FLT64X_DECIMAL_DIG__": "21",
"__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x",
"__FLT64X_DIG__": "18",
"__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x",
"__FLT64X_HAS_DENORM__": "1",
"__FLT64X_HAS_INFINITY__": "1",
"__FLT64X_HAS_QUIET_NAN__": "1",
"__FLT64X_MANT_DIG__": "64",
"__FLT64X_MAX_10_EXP__": "4932",
"__FLT64X_MAX_EXP__": "16384",
"__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
"__FLT64X_MIN_10_EXP__": "(-4931)",
"__FLT64X_MIN_EXP__": "(-16381)",
"__FLT64X_MIN__": "3.36210314311209350626267781732175260e-4932F64x",
"__FLT64_DECIMAL_DIG__": "17",
"__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64",
"__FLT64_DIG__": "15",
"__FLT64_EPSILON__": "2.22044604925031308084726333618164062e-16F64",
"__FLT64_HAS_DENORM__": "1",
"__FLT64_HAS_INFINITY__": "1",
"__FLT64_HAS_QUIET_NAN__": "1",
"__FLT64_MANT_DIG__": "53",
"__FLT64_MAX_10_EXP__": "308",
"__FLT64_MAX_EXP__": "1024",
"__FLT64_MAX__": "1.79769313486231570814527423731704357e+308F64",
"__FLT64_MIN_10_EXP__": "(-307)",
"__FLT64_MIN_EXP__": "(-1021)",
"__FLT64_MIN__": "2.22507385850720138309023271733240406e-308F64",
"__FLT_DECIMAL_DIG__": "9",
"__FLT_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F",
"__FLT_DIG__": "6",
"__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F",
"__FLT_EVAL_METHOD_TS_18661_3__": "0",
"__FLT_EVAL_METHOD__": "0",
"__FLT_HAS_DENORM__": "1",
"__FLT_HAS_INFINITY__": "1",
"__FLT_HAS_QUIET_NAN__": "1",
"__FLT_MANT_DIG__": "24",
"__FLT_MAX_10_EXP__": "38",
"__FLT_MAX_EXP__": "128",
"__FLT_MAX__": "3.40282346638528859811704183484516925e+38F",
"__FLT_MIN_10_EXP__": "(-37)",
"__FLT_MIN_EXP__": "(-125)",
"__FLT_MIN__": "1.17549435082228750796873653722224568e-38F",
"__FLT_RADIX__": "2",
"__FXSR__": "1",
"__GCC_ASM_FLAG_OUTPUTS__": "1",
"__GCC_ATOMIC_BOOL_LOCK_FREE": "2",
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2",
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2",
"__GCC_ATOMIC_CHAR_LOCK_FREE": "2",
"__GCC_ATOMIC_INT_LOCK_FREE": "2",
"__GCC_ATOMIC_LLONG_LOCK_FREE": "2",
"__GCC_ATOMIC_LONG_LOCK_FREE": "2",
"__GCC_ATOMIC_POINTER_LOCK_FREE": "2",
"__GCC_ATOMIC_SHORT_LOCK_FREE": "2",
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL": "1",
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2",
"__GCC_HAVE_DWARF2_CFI_ASM": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8": "1",
"__GCC_IEC_559": "2",
"__GCC_IEC_559_COMPLEX": "2",
"__GXX_ABI_VERSION": "1013",
"__HAVE_SPECULATION_SAFE_VALUE": "1",
"__INT16_C(c)": "c",
"__INT16_MAX__": "0x7fff",
"__INT16_TYPE__": "short int",
"__INT32_C(c)": "c",
"__INT32_MAX__": "0x7fffffff",
"__INT32_TYPE__": "int",
"__INT64_C(c)": "c ## L",
"__INT64_MAX__": "0x7fffffffffffffffL",
"__INT64_TYPE__": "long int",
"__INT8_C(c)": "c",
"__INT8_MAX__": "0x7f",
"__INT8_TYPE__": "signed char",
"__INTMAX_C(c)": "c ## L",
"__INTMAX_MAX__": "0x7fffffffffffffffL",
"__INTMAX_TYPE__": "long int",
"__INTMAX_WIDTH__": "64",
"__INTPTR_MAX__": "0x7fffffffffffffffL",
"__INTPTR_TYPE__": "long int",
"__INTPTR_WIDTH__": "64",
"__INT_FAST16_MAX__": "0x7fffffffffffffffL",
"__INT_FAST16_TYPE__": "long int",
"__INT_FAST16_WIDTH__": "64",
"__INT_FAST32_MAX__": "0x7fffffffffffffffL",
"__INT_FAST32_TYPE__": "long int",
"__INT_FAST32_WIDTH__": "64",
"__INT_FAST64_MAX__": "0x7fffffffffffffffL",
"__INT_FAST64_TYPE__": "long int",
"__INT_FAST64_WIDTH__": "64",
"__INT_FAST8_MAX__": "0x7f",
"__INT_FAST8_TYPE__": "signed char",
"__INT_FAST8_WIDTH__": "8",
"__INT_LEAST16_MAX__": "0x7fff",
"__INT_LEAST16_TYPE__": "short int",
"__INT_LEAST16_WIDTH__": "16",
"__INT_LEAST32_MAX__": "0x7fffffff",
"__INT_LEAST32_TYPE__": "int",
"__INT_LEAST32_WIDTH__": "32",
"__INT_LEAST64_MAX__": "0x7fffffffffffffffL",
"__INT_LEAST64_TYPE__": "long int",
"__INT_LEAST64_WIDTH__": "64",
"__INT_LEAST8_MAX__": "0x7f",
"__INT_LEAST8_TYPE__": "signed char",
"__INT_LEAST8_WIDTH__": "8",
"__INT_MAX__": "0x7fffffff",
"__INT_WIDTH__": "32",
"__LDBL_DECIMAL_DIG__": "21",
"__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L",
"__LDBL_DIG__": "18",
"__LDBL_EPSILON__": "1.08420217248550443400745280086994171e-19L",
"__LDBL_HAS_DENORM__": "1",
"__LDBL_HAS_INFINITY__": "1",
"__LDBL_HAS_QUIET_NAN__": "1",
"__LDBL_MANT_DIG__": "64",
"__LDBL_MAX_10_EXP__": "4932",
"__LDBL_MAX_EXP__": "16384",
"__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L",
"__LDBL_MIN_10_EXP__": "(-4931)",
"__LDBL_MIN_EXP__": "(-16381)",
"__LDBL_MIN__": "3.36210314311209350626267781732175260e-4932L",
"__LONG_LONG_MAX__": "0x7fffffffffffffffLL",
"__LONG_LONG_WIDTH__": "64",
"__LONG_MAX__": "0x7fffffffffffffffL",
"__LONG_WIDTH__": "64",
"__LP64__": "1",
"__MMX__": "1",
"__NO_INLINE__": "1",
"__ORDER_BIG_ENDIAN__": "4321",
"__ORDER_LITTLE_ENDIAN__": "1234",
"__ORDER_PDP_ENDIAN__": "3412",
"__PRAGMA_REDEFINE_EXTNAME": "1",
"__PTRDIFF_MAX__": "0x7fffffffffffffffL",
"__PTRDIFF_TYPE__": "long int",
"__PTRDIFF_WIDTH__": "64",
"__REGISTER_PREFIX__": "",
"__SCHAR_MAX__": "0x7f",
"__SCHAR_WIDTH__": "8",
"__SEG_FS": "1",
"__SEG_GS": "1",
"__SHRT_MAX__": "0x7fff",
"__SHRT_WIDTH__": "16",
"__SIG_ATOMIC_MAX__": "0x7fffffff",
"__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)",
"__SIG_ATOMIC_TYPE__": "int",
"__SIG_ATOMIC_WIDTH__": "32",
"__SIZEOF_DOUBLE__": "8",
"__SIZEOF_FLOAT128__": "16",
"__SIZEOF_FLOAT80__": "16",
"__SIZEOF_FLOAT__": "4",
"__SIZEOF_INT128__": "16",
"__SIZEOF_INT__": "4",
"__SIZEOF_LONG_DOUBLE__": "16",
"__SIZEOF_LONG_LONG__": "8",
"__SIZEOF_LONG__": "8",
"__SIZEOF_POINTER__": "8",
"__SIZEOF_PTRDIFF_T__": "8",
"__SIZEOF_SHORT__": "2",
"__SIZEOF_SIZE_T__": "8",
"__SIZEOF_WCHAR_T__": "4",
"__SIZEOF_WINT_T__": "4",
"__SIZE_MAX__": "0xffffffffffffffffUL",
"__SIZE_TYPE__": "long unsigned int",
"__SIZE_WIDTH__": "64",
"__SSE2_MATH__": "1",
"__SSE2__": "1",
"__SSE_MATH__": "1",
"__SSE__": "1",
"__STDC_HOSTED__": "1",
"__STDC_IEC_559_COMPLEX__": "1",
"__STDC_IEC_559__": "1",
"__STDC_ISO_10646__": "201706L",
"__STDC_UTF_16__": "1",
"__STDC_UTF_32__": "1",
"__UINT16_C(c)": "c",
"__UINT16_MAX__": "0xffff",
"__UINT16_TYPE__": "short unsigned int",
"__UINT32_C(c)": "c ## U",
"__UINT32_MAX__": "0xffffffffU",
"__UINT32_TYPE__": "unsigned int",
"__UINT64_C(c)": "c ## UL",
"__UINT64_MAX__": "0xffffffffffffffffUL",
"__UINT64_TYPE__": "long unsigned int",
"__UINT8_C(c)": "c",
"__UINT8_MAX__": "0xff",
"__UINT8_TYPE__": "unsigned char",
"__UINTMAX_C(c)": "c ## UL",
"__UINTMAX_MAX__": "0xffffffffffffffffUL",
"__UINTMAX_TYPE__": "long unsigned int",
"__UINTPTR_MAX__": "0xffffffffffffffffUL",
"__UINTPTR_TYPE__": "long unsigned int",
"__UINT_FAST16_MAX__": "0xffffffffffffffffUL",
"__UINT_FAST16_TYPE__": "long unsigned int",
"__UINT_FAST32_MAX__": "0xffffffffffffffffUL",
"__UINT_FAST32_TYPE__": "long unsigned int",
"__UINT_FAST64_MAX__": "0xffffffffffffffffUL",
"__UINT_FAST64_TYPE__": "long unsigned int",
"__UINT_FAST8_MAX__": "0xff",
"__UINT_FAST8_TYPE__": "unsigned char",
"__UINT_LEAST16_MAX__": "0xffff",
"__UINT_LEAST16_TYPE__": "short unsigned int",
"__UINT_LEAST32_MAX__": "0xffffffffU",
"__UINT_LEAST32_TYPE__": "unsigned int",
"__UINT_LEAST64_MAX__": "0xffffffffffffffffUL",
"__UINT_LEAST64_TYPE__": "long unsigned int",
"__UINT_LEAST8_MAX__": "0xff",
"__UINT_LEAST8_TYPE__": "unsigned char",
"__USER_LABEL_PREFIX__": "",
"__WCHAR_MAX__": "0x7fffffff",
"__WCHAR_MIN__": "(-__WCHAR_MAX__ - 1)",
"__WCHAR_TYPE__": "int",
"__WCHAR_WIDTH__": "32",
"__WINT_MAX__": "0xffffffffU",
"__WINT_MIN__": "0U",
"__WINT_TYPE__": "unsigned int",
"__WINT_WIDTH__": "32",
"__amd64": "1",
"__amd64__": "1",
"__code_model_small__": "1",
"__gnu_linux__": "1",
"__k8": "1",
"__k8__": "1",
"__linux": "1",
"__linux__": "1",
"__unix": "1",
"__unix__": "1",
"__x86_64": "1",
"__x86_64__": "1",
"linux": "1",
"unix": "1"
},
"sys_include_envvar": null,
"sys_include_path": [
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include",
"/usr/local/include",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include"
]
}
},
"language_c.command.#": "/usr/bin/gcc",
"language_c.info.#": "Using built-in specs.\nCOLLECT_GCC=/usr/bin/gcc\nCOLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper\nTarget: x86_64-pc-linux-gnu\nConfigured with: /tmp/gcc-9.3.0/configure --disable-bootstrap --enable-languages=c,c++,lto --prefix=/usr/local --program-suffix=-9.3\nThread model: posix\ngcc version 9.3.0 (GCC) \n",
"language_cxx": {
"emulated_compiler": "GNU",
"emulated_compiler_version": 90300,
"language_version": "Cpp14",
"native_compiler": "/usr/bin/g++",
"preprocessing": {
"predefined_macros": {
"_GNU_SOURCE": "1",
"_LP64": "1",
"_STDC_PREDEF_H": "1",
"__ATOMIC_ACQUIRE": "2",
"__ATOMIC_ACQ_REL": "4",
"__ATOMIC_CONSUME": "1",
"__ATOMIC_HLE_ACQUIRE": "65536",
"__ATOMIC_HLE_RELEASE": "131072",
"__ATOMIC_RELAXED": "0",
"__ATOMIC_RELEASE": "3",
"__ATOMIC_SEQ_CST": "5",
"__BIGGEST_ALIGNMENT__": "16",
"__BYTE_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__CHAR_BIT__": "8",
"__DBL_DECIMAL_DIG__": "17",
"__DBL_DENORM_MIN__": "double(4.94065645841246544176568792868221372e-324L)",
"__DBL_DIG__": "15",
"__DBL_EPSILON__": "double(2.22044604925031308084726333618164062e-16L)",
"__DBL_HAS_DENORM__": "1",
"__DBL_HAS_INFINITY__": "1",
"__DBL_HAS_QUIET_NAN__": "1",
"__DBL_MANT_DIG__": "53",
"__DBL_MAX_10_EXP__": "308",
"__DBL_MAX_EXP__": "1024",
"__DBL_MAX__": "double(1.79769313486231570814527423731704357e+308L)",
"__DBL_MIN_10_EXP__": "(-307)",
"__DBL_MIN_EXP__": "(-1021)",
"__DBL_MIN__": "double(2.22507385850720138309023271733240406e-308L)",
"__DEC128_EPSILON__": "1E-33DL",
"__DEC128_MANT_DIG__": "34",
"__DEC128_MAX_EXP__": "6145",
"__DEC128_MAX__": "9.999999999999999999999999999999999E6144DL",
"__DEC128_MIN_EXP__": "(-6142)",
"__DEC128_MIN__": "1E-6143DL",
"__DEC128_SUBNORMAL_MIN__": "0.000000000000000000000000000000001E-6143DL",
"__DEC32_EPSILON__": "1E-6DF",
"__DEC32_MANT_DIG__": "7",
"__DEC32_MAX_EXP__": "97",
"__DEC32_MAX__": "9.999999E96DF",
"__DEC32_MIN_EXP__": "(-94)",
"__DEC32_MIN__": "1E-95DF",
"__DEC32_SUBNORMAL_MIN__": "0.000001E-95DF",
"__DEC64_EPSILON__": "1E-15DD",
"__DEC64_MANT_DIG__": "16",
"__DEC64_MAX_EXP__": "385",
"__DEC64_MAX__": "9.999999999999999E384DD",
"__DEC64_MIN_EXP__": "(-382)",
"__DEC64_MIN__": "1E-383DD",
"__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD",
"__DECIMAL_BID_FORMAT__": "1",
"__DECIMAL_DIG__": "21",
"__DEC_EVAL_METHOD__": "2",
"__DEPRECATED": "1",
"__ELF__": "1",
"__FINITE_MATH_ONLY__": "0",
"__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__",
"__FLT128_DECIMAL_DIG__": "36",
"__FLT128_DENORM_MIN__": "6.47517511943802511092443895822764655e-4966F128",
"__FLT128_DIG__": "33",
"__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128",
"__FLT128_HAS_DENORM__": "1",
"__FLT128_HAS_INFINITY__": "1",
"__FLT128_HAS_QUIET_NAN__": "1",
"__FLT128_MANT_DIG__": "113",
"__FLT128_MAX_10_EXP__": "4932",
"__FLT128_MAX_EXP__": "16384",
"__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128",
"__FLT128_MIN_10_EXP__": "(-4931)",
"__FLT128_MIN_EXP__": "(-16381)",
"__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128",
"__FLT32X_DECIMAL_DIG__": "17",
"__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x",
"__FLT32X_DIG__": "15",
"__FLT32X_EPSILON__": "2.22044604925031308084726333618164062e-16F32x",
"__FLT32X_HAS_DENORM__": "1",
"__FLT32X_HAS_INFINITY__": "1",
"__FLT32X_HAS_QUIET_NAN__": "1",
"__FLT32X_MANT_DIG__": "53",
"__FLT32X_MAX_10_EXP__": "308",
"__FLT32X_MAX_EXP__": "1024",
"__FLT32X_MAX__": "1.79769313486231570814527423731704357e+308F32x",
"__FLT32X_MIN_10_EXP__": "(-307)",
"__FLT32X_MIN_EXP__": "(-1021)",
"__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x",
"__FLT32_DECIMAL_DIG__": "9",
"__FLT32_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F32",
"__FLT32_DIG__": "6",
"__FLT32_EPSILON__": "1.19209289550781250000000000000000000e-7F32",
"__FLT32_HAS_DENORM__": "1",
"__FLT32_HAS_INFINITY__": "1",
"__FLT32_HAS_QUIET_NAN__": "1",
"__FLT32_MANT_DIG__": "24",
"__FLT32_MAX_10_EXP__": "38",
"__FLT32_MAX_EXP__": "128",
"__FLT32_MAX__": "3.40282346638528859811704183484516925e+38F32",
"__FLT32_MIN_10_EXP__": "(-37)",
"__FLT32_MIN_EXP__": "(-125)",
"__FLT32_MIN__": "1.17549435082228750796873653722224568e-38F32",
"__FLT64X_DECIMAL_DIG__": "21",
"__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x",
"__FLT64X_DIG__": "18",
"__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x",
"__FLT64X_HAS_DENORM__": "1",
"__FLT64X_HAS_INFINITY__": "1",
"__FLT64X_HAS_QUIET_NAN__": "1",
"__FLT64X_MANT_DIG__": "64",
"__FLT64X_MAX_10_EXP__": "4932",
"__FLT64X_MAX_EXP__": "16384",
"__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
"__FLT64X_MIN_10_EXP__": "(-4931)",
"__FLT64X_MIN_EXP__": "(-16381)",
"__FLT64X_MIN__": "3.36210314311209350626267781732175260e-4932F64x",
"__FLT64_DECIMAL_DIG__": "17",
"__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64",
"__FLT64_DIG__": "15",
"__FLT64_EPSILON__": "2.22044604925031308084726333618164062e-16F64",
"__FLT64_HAS_DENORM__": "1",
"__FLT64_HAS_INFINITY__": "1",
"__FLT64_HAS_QUIET_NAN__": "1",
"__FLT64_MANT_DIG__": "53",
"__FLT64_MAX_10_EXP__": "308",
"__FLT64_MAX_EXP__": "1024",
"__FLT64_MAX__": "1.79769313486231570814527423731704357e+308F64",
"__FLT64_MIN_10_EXP__": "(-307)",
"__FLT64_MIN_EXP__": "(-1021)",
"__FLT64_MIN__": "2.22507385850720138309023271733240406e-308F64",
"__FLT_DECIMAL_DIG__": "9",
"__FLT_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F",
"__FLT_DIG__": "6",
"__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F",
"__FLT_EVAL_METHOD_TS_18661_3__": "0",
"__FLT_EVAL_METHOD__": "0",
"__FLT_HAS_DENORM__": "1",
"__FLT_HAS_INFINITY__": "1",
"__FLT_HAS_QUIET_NAN__": "1",
"__FLT_MANT_DIG__": "24",
"__FLT_MAX_10_EXP__": "38",
"__FLT_MAX_EXP__": "128",
"__FLT_MAX__": "3.40282346638528859811704183484516925e+38F",
"__FLT_MIN_10_EXP__": "(-37)",
"__FLT_MIN_EXP__": "(-125)",
"__FLT_MIN__": "1.17549435082228750796873653722224568e-38F",
"__FLT_RADIX__": "2",
"__FXSR__": "1",
"__GCC_ASM_FLAG_OUTPUTS__": "1",
"__GCC_ATOMIC_BOOL_LOCK_FREE": "2",
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2",
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2",
"__GCC_ATOMIC_CHAR_LOCK_FREE": "2",
"__GCC_ATOMIC_INT_LOCK_FREE": "2",
"__GCC_ATOMIC_LLONG_LOCK_FREE": "2",
"__GCC_ATOMIC_LONG_LOCK_FREE": "2",
"__GCC_ATOMIC_POINTER_LOCK_FREE": "2",
"__GCC_ATOMIC_SHORT_LOCK_FREE": "2",
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL": "1",
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2",
"__GCC_HAVE_DWARF2_CFI_ASM": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4": "1",
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8": "1",
"__GCC_IEC_559": "2",
"__GCC_IEC_559_COMPLEX": "2",
"__GLIBCXX_BITSIZE_INT_N_0": "128",
"__GLIBCXX_TYPE_INT_N_0": "__int128",
"__GXX_ABI_VERSION": "1013",
"__GXX_WEAK__": "1",
"__HAVE_SPECULATION_SAFE_VALUE": "1",
"__INT16_C(c)": "c",
"__INT16_MAX__": "0x7fff",
"__INT16_TYPE__": "short int",
"__INT32_C(c)": "c",
"__INT32_MAX__": "0x7fffffff",
"__INT32_TYPE__": "int",
"__INT64_C(c)": "c ## L",
"__INT64_MAX__": "0x7fffffffffffffffL",
"__INT64_TYPE__": "long int",
"__INT8_C(c)": "c",
"__INT8_MAX__": "0x7f",
"__INT8_TYPE__": "signed char",
"__INTMAX_C(c)": "c ## L",
"__INTMAX_MAX__": "0x7fffffffffffffffL",
"__INTMAX_TYPE__": "long int",
"__INTMAX_WIDTH__": "64",
"__INTPTR_MAX__": "0x7fffffffffffffffL",
"__INTPTR_TYPE__": "long int",
"__INTPTR_WIDTH__": "64",
"__INT_FAST16_MAX__": "0x7fffffffffffffffL",
"__INT_FAST16_TYPE__": "long int",
"__INT_FAST16_WIDTH__": "64",
"__INT_FAST32_MAX__": "0x7fffffffffffffffL",
"__INT_FAST32_TYPE__": "long int",
"__INT_FAST32_WIDTH__": "64",
"__INT_FAST64_MAX__": "0x7fffffffffffffffL",
"__INT_FAST64_TYPE__": "long int",
"__INT_FAST64_WIDTH__": "64",
"__INT_FAST8_MAX__": "0x7f",
"__INT_FAST8_TYPE__": "signed char",
"__INT_FAST8_WIDTH__": "8",
"__INT_LEAST16_MAX__": "0x7fff",
"__INT_LEAST16_TYPE__": "short int",
"__INT_LEAST16_WIDTH__": "16",
"__INT_LEAST32_MAX__": "0x7fffffff",
"__INT_LEAST32_TYPE__": "int",
"__INT_LEAST32_WIDTH__": "32",
"__INT_LEAST64_MAX__": "0x7fffffffffffffffL",
"__INT_LEAST64_TYPE__": "long int",
"__INT_LEAST64_WIDTH__": "64",
"__INT_LEAST8_MAX__": "0x7f",
"__INT_LEAST8_TYPE__": "signed char",
"__INT_LEAST8_WIDTH__": "8",
"__INT_MAX__": "0x7fffffff",
"__INT_WIDTH__": "32",
"__LDBL_DECIMAL_DIG__": "21",
"__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L",
"__LDBL_DIG__": "18",
"__LDBL_EPSILON__": "1.08420217248550443400745280086994171e-19L",
"__LDBL_HAS_DENORM__": "1",
"__LDBL_HAS_INFINITY__": "1",
"__LDBL_HAS_QUIET_NAN__": "1",
"__LDBL_MANT_DIG__": "64",
"__LDBL_MAX_10_EXP__": "4932",
"__LDBL_MAX_EXP__": "16384",
"__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L",
"__LDBL_MIN_10_EXP__": "(-4931)",
"__LDBL_MIN_EXP__": "(-16381)",
"__LDBL_MIN__": "3.36210314311209350626267781732175260e-4932L",
"__LONG_LONG_MAX__": "0x7fffffffffffffffLL",
"__LONG_LONG_WIDTH__": "64",
"__LONG_MAX__": "0x7fffffffffffffffL",
"__LONG_WIDTH__": "64",
"__LP64__": "1",
"__MMX__": "1",
"__NO_INLINE__": "1",
"__ORDER_BIG_ENDIAN__": "4321",
"__ORDER_LITTLE_ENDIAN__": "1234",
"__ORDER_PDP_ENDIAN__": "3412",
"__PRAGMA_REDEFINE_EXTNAME": "1",
"__PTRDIFF_MAX__": "0x7fffffffffffffffL",
"__PTRDIFF_TYPE__": "long int",
"__PTRDIFF_WIDTH__": "64",
"__REGISTER_PREFIX__": "",
"__SCHAR_MAX__": "0x7f",
"__SCHAR_WIDTH__": "8",
"__SEG_FS": "1",
"__SEG_GS": "1",
"__SHRT_MAX__": "0x7fff",
"__SHRT_WIDTH__": "16",
"__SIG_ATOMIC_MAX__": "0x7fffffff",
"__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)",
"__SIG_ATOMIC_TYPE__": "int",
"__SIG_ATOMIC_WIDTH__": "32",
"__SIZEOF_DOUBLE__": "8",
"__SIZEOF_FLOAT128__": "16",
"__SIZEOF_FLOAT80__": "16",
"__SIZEOF_FLOAT__": "4",
"__SIZEOF_INT128__": "16",
"__SIZEOF_INT__": "4",
"__SIZEOF_LONG_DOUBLE__": "16",
"__SIZEOF_LONG_LONG__": "8",
"__SIZEOF_LONG__": "8",
"__SIZEOF_POINTER__": "8",
"__SIZEOF_PTRDIFF_T__": "8",
"__SIZEOF_SHORT__": "2",
"__SIZEOF_SIZE_T__": "8",
"__SIZEOF_WCHAR_T__": "4",
"__SIZEOF_WINT_T__": "4",
"__SIZE_MAX__": "0xffffffffffffffffUL",
"__SIZE_TYPE__": "long unsigned int",
"__SIZE_WIDTH__": "64",
"__SSE2_MATH__": "1",
"__SSE2__": "1",
"__SSE_MATH__": "1",
"__SSE__": "1",
"__STDC_HOSTED__": "1",
"__STDC_IEC_559_COMPLEX__": "1",
"__STDC_IEC_559__": "1",
"__STDC_ISO_10646__": "201706L",
"__STDC_UTF_16__": "1",
"__STDC_UTF_32__": "1",
"__UINT16_C(c)": "c",
"__UINT16_MAX__": "0xffff",
"__UINT16_TYPE__": "short unsigned int",
"__UINT32_C(c)": "c ## U",
"__UINT32_MAX__": "0xffffffffU",
"__UINT32_TYPE__": "unsigned int",
"__UINT64_C(c)": "c ## UL",
"__UINT64_MAX__": "0xffffffffffffffffUL",
"__UINT64_TYPE__": "long unsigned int",
"__UINT8_C(c)": "c",
"__UINT8_MAX__": "0xff",
"__UINT8_TYPE__": "unsigned char",
"__UINTMAX_C(c)": "c ## UL",
"__UINTMAX_MAX__": "0xffffffffffffffffUL",
"__UINTMAX_TYPE__": "long unsigned int",
"__UINTPTR_MAX__": "0xffffffffffffffffUL",
"__UINTPTR_TYPE__": "long unsigned int",
"__UINT_FAST16_MAX__": "0xffffffffffffffffUL",
"__UINT_FAST16_TYPE__": "long unsigned int",
"__UINT_FAST32_MAX__": "0xffffffffffffffffUL",
"__UINT_FAST32_TYPE__": "long unsigned int",
"__UINT_FAST64_MAX__": "0xffffffffffffffffUL",
"__UINT_FAST64_TYPE__": "long unsigned int",
"__UINT_FAST8_MAX__": "0xff",
"__UINT_FAST8_TYPE__": "unsigned char",
"__UINT_LEAST16_MAX__": "0xffff",
"__UINT_LEAST16_TYPE__": "short unsigned int",
"__UINT_LEAST32_MAX__": "0xffffffffU",
"__UINT_LEAST32_TYPE__": "unsigned int",
"__UINT_LEAST64_MAX__": "0xffffffffffffffffUL",
"__UINT_LEAST64_TYPE__": "long unsigned int",
"__UINT_LEAST8_MAX__": "0xff",
"__UINT_LEAST8_TYPE__": "unsigned char",
"__USER_LABEL_PREFIX__": "",
"__WCHAR_MAX__": "0x7fffffff",
"__WCHAR_MIN__": "(-__WCHAR_MAX__ - 1)",
"__WCHAR_TYPE__": "int",
"__WCHAR_WIDTH__": "32",
"__WINT_MAX__": "0xffffffffU",
"__WINT_MIN__": "0U",
"__WINT_TYPE__": "unsigned int",
"__WINT_WIDTH__": "32",
"__amd64": "1",
"__amd64__": "1",
"__code_model_small__": "1",
"__gnu_linux__": "1",
"__k8": "1",
"__k8__": "1",
"__linux": "1",
"__linux__": "1",
"__unix": "1",
"__unix__": "1",
"__x86_64": "1",
"__x86_64__": "1",
"linux": "1",
"unix": "1"
},
"sys_include_envvar": null,
"sys_include_path": [
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0/x86_64-pc-linux-gnu",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0/backward",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include",
"/usr/local/include",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed",
"/usr/include/x86_64-linux-gnu",
"/usr/include"
]
}
},
"language_cxx.command.#": "/usr/bin/g++",
"language_cxx.info.#": "Using built-in specs.\nCOLLECT_GCC=/usr/bin/g++\nCOLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper\nTarget: x86_64-pc-linux-gnu\nConfigured with: /tmp/gcc-9.3.0/configure --disable-bootstrap --enable-languages=c,c++,lto --prefix=/usr/local --program-suffix=-9.3\nThread model: posix\ngcc version 9.3.0 (GCC) \n",
"linker": {
"library_path": [
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64/",
"/lib/x86_64-linux-gnu/",
"/lib/../lib64/",
"/usr/lib/x86_64-linux-gnu/",
"/usr/lib/../lib64/",
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../",
"/lib/",
"/usr/lib/"
]
},
"types": {
"char16_t_type": "unsigned short",
"char32_t_type": "unsigned int",
"char_bits": 8,
"double_type": {
"alignof": 8,
"sizeof": 8
},
"float_type": {
"alignof": 4,
"sizeof": 4
},
"int_type": {
"alignof": 4,
"sizeof": 4
},
"long_double_type": {
"alignof": 16,
"sizeof": 16
},
"long_long_type": {
"alignof": 8,
"sizeof": 8
},
"long_type": {
"alignof": 8,
"sizeof": 8
},
"pointer_type": {
"alignof": 8,
"sizeof": 8
},
"ptrdiff_t_type": "signed long",
"short_type": {
"alignof": 2,
"sizeof": 2
},
"size_t_type": "unsigned long",
"wchar_t_type": "signed int",
"wint_t_type": "unsigned int"
}
}
},
"_Format": "1.0",
"_Version": "7.5.0",
"_VersionNum": [
7,
5,
0,
11376
]
}

View File

@@ -0,0 +1,34 @@
#Copyright (C) 2024 The Qt Company Ltd
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
import re
import axivion.config
from axivion.analysis.post_processing import FilterAction
from bauhaus import ir
analysis = axivion.config.get_analysis()
qt_inline_pattern = re.compile(r"QT_.*_INLINE(_IMPL)?_SINCE\(\d+,\d+\)")
def exclude_inlined_by_qt_inline_macro(sv, ir_graph):
node = ir_graph.get_node(ir.Physical, sv.primary_sloc.pir_node_number)
# we have to check on the token stream as the macro might expand to nothing
# -> only the invocation is in the IR, but not in the AST of the routine decl / def
preceeding_string = ""
token = node.Token
while True:
try:
token_value = re.sub('^#\\s+', '#', token.Value)
if token_value in {';', '{', '}', '#define'}:
break
preceeding_string = token.Value + preceeding_string
token = token.prev()
except StopIteration:
break
if re.match(qt_inline_pattern, preceeding_string):
return FilterAction.exclude
return FilterAction.normal
analysis['Qt-Generic-NoFunctionDefinitionInHeader'].post_processing.add_filter(exclude_inlined_by_qt_inline_macro, inputs=[ir.Graph])

View File

@@ -0,0 +1,210 @@
{
"Analysis": {
"CloneDetection": {
"_active": true,
"excludes": [
"$(splitpath:EXCLUDE_FILES)"
]
},
"Frameworks-QtSupport": {
"_active": true,
"exclude_qt_generated_files": true,
"qtdir": "/home/qt/work/install"
},
"Qt-AutoUnexpectedQStringbuilder": {
"_active": true
},
"Qt-BaseClassEvent": {
"_active": true
},
"Qt-ChildEventQObjectCast": {
"_active": true
},
"Qt-Connect3argLambda": {
"_active": true
},
"Qt-ConnectByName": {
"_active": true
},
"Qt-ConnectNonSignal": {
"_active": true
},
"Qt-ConstSignalOrSlot": {
"_active": true
},
"Qt-CtorMissingParentArgument": {
"_active": true
},
"Qt-DetachingTemporary": {
"_active": true
},
"Qt-FullyQualifiedMocTypes": {
"_active": true
},
"Qt-FunctionArgsByValueRef": {
"_active": true
},
"Qt-Generic-DuplicateIncludeGuard": {
"_active": true
},
"Qt-Generic-FormatSpecifier": {
"_active": true
},
"Qt-Generic-InitializeAllFieldsInConstructor": {
"_active": true
},
"Qt-Generic-MissingBaseCopy": {
"_active": true
},
"Qt-Generic-MissingIncludeGuard": {
"_active": true
},
"Qt-Generic-NoAbsoluteInclude": {
"_active": true
},
"Qt-Generic-NoFunctionDefinitionInHeader": {
"_active": true
},
"Qt-Generic-NoIrregularInclude": {
"_active": true
},
"Qt-Generic-NoMixOfClassStruct": {
"_active": true
},
"Qt-Generic-NoOverloadedOperators": {
"_active": true
},
"Qt-Generic-NoReferenceToLocalVariable": {
"_active": true
},
"Qt-Generic-QNetworkReplyDeleteLater": {
"_active": true
},
"Qt-Generic-ThrowByValueCatchByReference": {
"_active": true
},
"Qt-Generic-TypedefCheck": {
"_active": true
},
"Qt-Generic-WrongIncludeCasing": {
"_active": true
},
"Qt-GlobalConstCharPointer": {
"_active": true
},
"Qt-IncorrectEmit": {
"_active": true
},
"Qt-InstallEventFilter": {
"_active": true
},
"Qt-LambdaInConnect": {
"_active": true
},
"Qt-LambdaUniqueConnection": {
"_active": true
},
"Qt-LowercaseQmlTypeName": {
"_active": true
},
"Qt-MissingQObjectMacro": {
"_active": true
},
"Qt-MutableContainerKey": {
"_active": true
},
"Qt-NonPodGlobalStatic": {
"_active": true
},
"Qt-OldStyleConnect": {
"_active": true
},
"Qt-OverloadedSignal": {
"_active": true
},
"Qt-OverriddenSignal": {
"_active": true
},
"Qt-PostEvent": {
"_active": true
},
"Qt-QDateTimeUTC": {
"_active": true
},
"Qt-QEnums": {
"_active": true
},
"Qt-QLatin1StringNonAscii": {
"_active": true
},
"Qt-QMapWithPointerKey": {
"_active": true
},
"Qt-QPropertyWithoutNotify": {
"_active": true
},
"Qt-QStringArg": {
"_active": true
},
"Qt-QStringComparisonToImplicitChar": {
"_active": true
},
"Qt-QhashNamespace": {
"_active": true
},
"Qt-QtMacros": {
"_active": true
},
"Qt-RangeLoopDetach": {
"_active": false
},
"Qt-RangeLoopReference": {
"_active": true
},
"Qt-ReturningDataFromTemporary": {
"_active": true
},
"Qt-RuleOfThree": {
"_active": true
},
"Qt-RuleOfTwoSoft": {
"_active": true
},
"Qt-SkippedBaseMethod": {
"_active": true
},
"Qt-StrictIterators": {
"_active": true
},
"Qt-TemporaryIterator": {
"_active": true
},
"Qt-UnusedNonTrivialVariable": {
"_active": true
},
"Qt-VirtualSignal": {
"_active": true
},
"Qt-WritingToTemporary": {
"_active": true
},
"Qt-WrongQEventCast": {
"_active": true
},
"Qt-WrongQGlobalStatic": {
"_active": true
},
"Stylechecks": {
"excludes": [
"$(splitpath:EXCLUDE_FILES)"
]
}
},
"_Format": "1.0",
"_VersionNum": [
7,
8,
0,
15004
]
}

View File

@@ -0,0 +1,13 @@
#!/bin/bash
#Copyright (C) 2024 The Qt Company Ltd
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
$HOME/bauhaus-suite/setup.sh --non-interactive
export PATH=/home/qt/bauhaus-suite/bin:$PATH
export BAUHAUS_CONFIG=$(cd $(dirname $(readlink -f $0)) && pwd)
export AXIVION_VERSION_NAME=$(git rev-parse HEAD)
export EXCLUDE_FILES="build/*:src/3rdparty/*"
export MODULE=$TESTED_MODULE_COIN
export PACKAGE="Add-ons"
export IRNAME=build/$TESTED_MODULE_COIN.ir
axivion_ci "$@"

View File

@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
majorminorversion="3.27"
version="3.27.7"
majorminorversion="3.30"
version="3.30.5"
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-x86_64.tar.gz"
SHA1="83ab00c8432a71cfc81e933ee7b3c3e14d50ad6f"
SHA1="61b339cac5f110d5ed2934f66a26c2e991945e01"
targetFolder="/opt/cmake-$version"
appPrefix="cmake-$version-linux-x86_64"

View File

@@ -0,0 +1,42 @@
#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# This script will install go 1.22.4
version="1.22.4"
uname_m="$(uname -m)"
case "$uname_m" in
x86_64|amd64)
sha256="ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d"
pkgname="go$version.linux-amd64.tar.gz"
dirname="go$version.linux-amd64"
;;
arm64|aarch64)
sha256="a8e177c354d2e4a1b61020aca3562e27ea3e8f8247eca3170e3fa1e0c2f9e771"
pkgname="go$version.linux-arm64.tar.gz"
dirname="go$version.linux-arm64"
;;
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
esac
internalUrl="http://ci-files01-hki.ci.qt.io/input/go/linux/$pkgname"
externalUrl="https://go.dev/dl/$pkgname"
targetFile="$HOME/$pkgname"
DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
echo "Installing Go"
tar -xzf "$targetFile" -C "$HOME"
rm "$targetFile"
installPrefix="/opt/$dirname"
sudo mv "$HOME/go" "$installPrefix"
SetEnvVar "PATH" "$installPrefix/bin:\$PATH"
echo "Go = $version" >> ~/versions.txt

View File

@@ -0,0 +1,42 @@
#!/usr/bin/env bash
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# This script will install ninja
version="1.12.1"
uname_m="$(uname -m)"
case "$uname_m" in
x86_64|amd64)
sha256="6f98805688d19672bd699fbbfa2c2cf0fc054ac3df1f0e6a47664d963d530255"
pkgname="ninja-$version-linux-x64.zip"
dirname="ninja-$version-linux-x64"
;;
arm64|aarch64)
sha256="5c25c6570b0155e95fce5918cb95f1ad9870df5768653afe128db822301a05a1"
pkgname="ninja-$version-linux-arm64.zip"
dirname="ninja-$version-linux-arm64"
;;
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
esac
internalUrl="http://ci-files01-hki.ci.qt.io/input/ninja/$pkgname"
externalUrl="https://github.com/ninja-build/ninja/releases/download/v$version/$pkgname"
targetFile="$HOME/$pkgname"
DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
echo "Installing ninja ${version}"
sudo unzip -o -q ${targetFile} -d "${HOME}/${dirname}"
rm "$targetFile"
installPrefix="/opt/$dirname"
sudo mv "$HOME/$dirname" "$installPrefix"
SetEnvVar "PATH" "$installPrefix:\$PATH"
echo "ninja = $version" >> ~/versions.txt

View File

@@ -0,0 +1,42 @@
#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# This script will install UPX 4.2.4
version="4.2.4"
uname_m="$(uname -m)"
case "$uname_m" in
x86_64|amd64)
sha256="75cab4e57ab72fb4585ee45ff36388d280c7afd72aa03e8d4b9c3cbddb474193"
pkgname="upx-$version-amd64_linux.tar.xz"
dirname="upx-$version-amd64_linux"
;;
arm64|aarch64)
sha256="6bfeae6714e34a82e63245289888719c41fd6af29f749a44ae3d3d166ba6a1c9"
pkgname="upx-$version-arm64_linux.tar.xz"
dirname="upx-$version-arm64_linux"
;;
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
esac
internalUrl="http://ci-files01-hki.ci.qt.io/input/upx/linux/$pkgname"
externalUrl="https://github.com/upx/upx/releases/download/v$version/$pkgname"
targetFile="$HOME/$pkgname"
DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
echo "Installing UPX"
tar -xJf "$targetFile" -C "$HOME"
rm "$targetFile"
installPrefix="/opt/$dirname"
sudo mv "$HOME/$dirname" "$installPrefix"
SetEnvVar "PATH" "$installPrefix:\$PATH"
echo "UPX = $version" >> ~/versions.txt

View File

@@ -0,0 +1,56 @@
#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
set -ex
systemd_folder=/etc/systemd/system
systemd_file=vivid.service
script_folder=/home/qt/bin
script_file=vivid.sh
# Ensure that script folder exists
if [ ! -d ${script_folder} ]; then
sudo mkdir ${script_folder}
sudo chmod 750 ${script_folder}
fi
# Create script to install virtual video test driver module
sudo tee "${script_folder}/${script_file}" <<"EOF"
# load vivid
sudo modprobe vivid n_devs=2 # create two video devices
# Check result
if lsmod | grep -q vivid
then
echo "(**) Virtual video test driver vivid installed.";
else
echo "(EE) Failed to load vivid driver.";
exit 1;
fi
EOF
# set permissions
sudo chmod 750 "${script_folder}/${script_file}"
# Create service file
sudo tee "${systemd_folder}/${systemd_file}" <<"EOF"
# /etc/systemd/system/vivid.service
#
[Unit]
Description=Install virtual video test driver (vivid)
[Service]
Type=oneshot
ExecStart=/bin/sh -c "/home/qt/bin/vivid.sh"
[Install]
WantedBy=multi-user.target
EOF
# Start service and output result, just for logging
sudo systemctl start vivid.service
# enable service
sudo systemctl enable vivid.service

View File

@@ -6,7 +6,14 @@ set -ex
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
targetArch=x86_64-unknown-linux-musl
targetVersion=0.2.14
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
if [[ $(uname -m) == 'aarch64' ]]; then
targetArch=aarch64-unknown-linux-musl
sha1=0f9b57c423d77f7aa89bb642864ac7689d84d6a0
else
targetArch=x86_64-unknown-linux-musl
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
fi
installSccache "$targetArch" "$targetVersion" "$sha1"

View File

@@ -20,11 +20,11 @@ toolsVersion="2.1"
# toolsFile dertermines tools version
toolsFile="commandlinetools-mac-6609375_latest.zip"
ndkVersionLatest="r26b"
ndkVersionLatest="r27c"
ndkVersionDefault="$ndkVersionLatest"
sdkBuildToolsVersion="34.0.0"
sdkBuildToolsVersion="35.0.1"
# this is compile sdk version
sdkApiLevel="android-34"
sdkApiLevel="android-35"
toolsSourceFile="$basePath/$toolsFile"

View File

@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
majorminorversion="3.27.7"
version="3.27.7"
majorminorversion="3.30.5"
version="3.30.5"
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-macos-universal.tar.gz"
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-macos-universal.tar.gz"
SHA1="75153b6c7a418bc7120c6217d4698c7d245d00e0"
SHA1="c81c2f7482a901c4a32a81034920c23c22233a0f"
appPrefix="cmake-$version-macos-universal"
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
# This script enables remote management vnc
set -ex
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
set -ex
function InstallSimulatorRuntime {
url=$1
url_alt=$2
expectedSha1=$3
packageName=$4
version=$5
DownloadURL "$url" "$url_alt" "$expectedSha1" "/tmp/$packageName"
echo "Installing"
# macOS 14 / Xcode 15 has a different install command
if [[ $OSTYPE == "darwin23" ]]; then
xcrun simctl runtime add "/tmp/$packageName"
else
xcodebuild -importPlatform "/tmp/$packageName"
fi
echo "Simulator Runtime = $version" >> ~/versions.txt
}

View File

@@ -1,17 +1,20 @@
#!/usr/bin/env bash
# Copyright (C) 2021 The Qt Company Ltd.
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs JDK
set -ex
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
echo "Installing Java Development Kit"
version=11.0.12
targetFile=jdk-${version}_osx-x64_bin.dmg
version=17.0.12
targetFile=jdk-${version}_macos-x64_bin.dmg
expectedHash="6fba2fbe5d181bd2ef7fd79e0335278c13f611cb"
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
# url_alt=https://www.oracle.com/java/technologies/downloads/#java11-linux
# url_alt=https://www.oracle.com/java/technologies/downloads/#jdk17-mac
echo "Mounting $targetFile"
sudo mkdir -p /Volumes/files
@@ -19,6 +22,8 @@ sudo mount -o locallocks "$url" /Volumes/files
sudo cp "/Volumes/files/$targetFile" /tmp
sudo umount /Volumes/files
cd /tmp
VerifyHash "$targetFile" "$expectedHash"
sudo hdiutil attach "/tmp/$targetFile"
echo Installing JDK

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2021 The Qt Company Ltd.
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs JDK
@@ -8,10 +8,10 @@ set -ex
echo "Installing Java Development Kit"
targetFile=zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.dmg
targetFile=zulu17.54.21-ca-jdk17.0.13-macosx_aarch64.dmg
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
# url_alt=https://cdn.azul.com/zulu/bin/zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.dmg
# url_alt=https://cdn.azul.com/zulu/bin/zulu17.54.21-ca-jdk17.0.13-macosx_aarch64.dmg
echo "Mounting $targetFile"
sudo mkdir -p /Volumes/files
@@ -22,12 +22,12 @@ sudo umount /Volumes/files
sudo hdiutil attach "/tmp/$targetFile"
echo Installing JDK
cd /Volumes/Zulu\ OpenJDK\ 15.29+15 && sudo installer -pkg Double-Click\ to\ Install\ Zulu\ 15.pkg -target /
cd /Volumes/Azul\ Zulu\ JDK\ 17.54+21 && sudo installer -pkg Double-Click\ to\ Install\ Azul\ Zulu\ JDK\ 17.pkg -target /
echo "Unmounting $targetFile"
sudo hdiutil unmount /Volumes/Zulu\ OpenJDK\ 15.29+15 -force
sudo hdiutil unmount /Volumes/Azul\ Zulu\ JDK\ 17.54+21 -force
echo "Disable auto update"
sudo defaults write /Library/Preferences/com.oracle.java.Java-Updater JavaAutoUpdateEnabled -bool false
echo "JDK Version = 15.0.2" >> ~/versions.txt
echo "JDK Version = 17.0.13" >> ~/versions.txt

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2018 The Qt Company Ltd.
# Copyright (C) 2025 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Install libiodbc
@@ -11,12 +11,9 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
brew install --formula "${BASH_SOURCE%/*}/libiodbc.rb" "$@"
# CPLUS_INCLUDE_PATH is set so clang and configure can find libiodbc
read -r -a arr <<< "$(brew list --versions libiodbc)"
version=${arr[1]}
SetEnvVar "CPLUS_INCLUDE_PATH" "/usr/local/Cellar/libiodbc/$version/include${CPLUS_INCLUDE_PATH:+:}${CPLUS_INCLUDE_PATH}"
SetEnvVar "LIBRARY_PATH" "/usr/local/Cellar/libiodbc/$version/lib${LIBRARY_PATH:+:}${LIBRARY_PATH}"
SetEnvVar "ODBC_ROOT" "$(brew --prefix libiodbc)"
echo "libiodbc = $version" >> ~/versions.txt

View File

@@ -12,20 +12,11 @@ os="$1"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
mimerSqlVersion="11.0.7G"
if [ "$os" = "macos" ]; then
arch=$(uname -m)
if [ "$arch" = "x86_64" ]; then
mimerSqlPackageName="mimersql-110_x86_64.tgz"
SHA1="d748f87b72e7188c527f131db2590f552f18f544"
else
mimerSqlPackageName="mimersql-110_arm64.tgz"
SHA1="f209c97074d096e50e637441073e8aa355c5116e"
fi
else
mimerSqlPackageName="mimersql-110_universal.tgz"
SHA1="eab32be623f1cbde7c29cea0f0ca4332b8ca502b"
fi
mimerSqlVersion="11.0.8E"
mimerSqlPackageName="mimersql-1108E_universal.tgz"
SHA1="8077db02be2b54147eb4a48ce4a7a2ff1159fb4d"
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/$mimerSqlPackageName"
AltUrl="https://install.mimer.com/qt/macOS/$mimerSqlPackageName"

View File

@@ -37,5 +37,5 @@ umount "$mountpoint"
echo "Removing $packageName"
rm "/tmp/$packageName"
SetEnvVar "POSTGRESQLBINPATH" "/Applications/Postgres.app/Contents/Versions/$psqlVersion/bin"
SetEnvVar "PostgreSQL_ROOT" "/Applications/Postgres.app/Contents/Versions/$psqlVersion"
echo "PostgreSQL = $psqlVersion ($psqlAppVersion)" >> ~/versions.txt

View File

@@ -30,6 +30,7 @@ echo "Configure pip"
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
# Install Python certificates. Required at least for emsdk installation
open /Applications/Python\ 3.9/Install\ Certificates.command

View File

@@ -24,5 +24,6 @@ set(CMAKE_CXX_COMPILER q++)
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntoaarch64-strip)
set(CMAKE_AR $ENV{QNX_HOST}/usr/bin/ntoaarch64-ar)
set(CMAKE_SYSROOT $ENV{QNX_TARGET})

View File

@@ -24,5 +24,6 @@ set(CMAKE_CXX_COMPILER q++)
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntoarmv7-strip)
set(CMAKE_AR $ENV{QNX_HOST}/usr/bin/ntoarmv7-ar)
set(CMAKE_SYSROOT $ENV{QNX_TARGET})

View File

@@ -24,5 +24,6 @@ set(CMAKE_CXX_COMPILER q++)
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntox86_64-strip)
set(CMAKE_AR $ENV{QNX_HOST}/usr/bin/ntox86_64-ar)
set(CMAKE_SYSROOT $ENV{QNX_TARGET})

View File

@@ -8,10 +8,10 @@ lib_dir="$1/lib"
additional_suffix="${2:-}"
set_rpath="${3:-yes}"
if uname -a |grep -q "Darwin"; then
readelf() {
/usr/local/opt/binutils/bin/readelf "$@"
}
if [ "$(uname -s)" = "Darwin" ]; then
# Under Homebrew, binutils package is not symlinked into PATH.
# This lets us use readelf provided by Homebrew.
readelf() { "$(brew --prefix binutils)/bin/readelf" "$@"; }
fi
ffmpeg_libs=("avcodec" "avdevice" "avfilter" "avformat" "avutil" "swresample" "swscale")

View File

@@ -11,9 +11,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="n7.0.2"
version="n7.1"
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
sha1="f008a93710a7577e3f85a90f4b632cc615164712"
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
ffmpeg_name="FFmpeg-$version"
@@ -57,8 +57,8 @@ build_ffmpeg_android() {
libs_prefix="_arm64-v8a"
fi
ln -s "${openssl_libs}/libcrypto_3.so" "${openssl_libs}/libcrypto.so"
ln -s "${openssl_libs}/libssl_3.so" "${openssl_libs}/libssl.so"
ln -Ffs "${openssl_libs}/libcrypto_3.so" "${openssl_libs}/libcrypto.so"
ln -Ffs "${openssl_libs}/libssl_3.so" "${openssl_libs}/libssl.so"
api_version=24
@@ -95,6 +95,8 @@ build_ffmpeg_android() {
sudo make install -j4
popd
rm -f "${openssl_libs}/libcrypto.so"
rm -f "${openssl_libs}/libssl.so"
@@ -102,8 +104,6 @@ build_ffmpeg_android() {
fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
sudo "${fix_dependencies}" "${target_dir}" "${libs_prefix}" "no"
fi
popd
}
if [ "$os" == "android-x86" ]; then

View File

@@ -10,9 +10,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="n7.0.2"
version="n7.1"
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
sha1="f008a93710a7577e3f85a90f4b632cc615164712"
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
ffmpeg_name="FFmpeg-$version"
@@ -28,48 +28,48 @@ fi
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
build_ffmpeg_ios() {
local target_arch=$1
local target_platform=$1
local target_cpu_arch=""
if [ "$target_platform" == "arm64-simulator" ]; then
target_sdk="iphonesimulator"
target_cpu_arch="arm64"
minos="-mios-simulator-version-min=16.0"
elif [ "$target_platform" == "x86_64-simulator" ]; then
target_sdk="iphonesimulator"
target_cpu_arch="x86_64"
minos="-mios-simulator-version-min=16.0"
elif [ "$target_platform" == "arm64-iphoneos" ]; then
target_sdk="iphoneos"
target_cpu_arch="arm64"
minos="-miphoneos-version-min=16.0"
else
echo "Error when building FFmpeg for iOS. Unknown parameter given for target_platform: '${target_platform}'"
exit 1
fi
if [ "$target_arch" == "x86_64" ]; then
target_sdk="iphonesimulator"
target_arch="x86_64"
minos="-mios-simulator-version-min=13.0"
else
target_sdk="iphoneos"
target_arch="arm64"
minos="-miphoneos-version-min=13.0"
fi
local build_dir="$ffmpeg_source_dir/build_ios/$target_platform"
sudo mkdir -p "$build_dir"
pushd "$build_dir"
local build_dir="$ffmpeg_source_dir/build_ios/$target_arch"
sudo mkdir -p "$build_dir"
pushd "$build_dir"
# shellcheck disable=SC2086
sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options \
# shellcheck disable=SC2086
sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options \
--sysroot="$(xcrun --sdk "$target_sdk" --show-sdk-path)" \
--enable-cross-compile \
--enable-optimizations \
--prefix=$prefix \
--arch=$target_arch \
--cc="xcrun --sdk ${target_sdk} clang -arch $target_arch" \
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_arch" \
--ar="$(xcrun --sdk ${target_sdk} --find ar)" \
--ranlib="$(xcrun --sdk ${target_sdk} --find ranlib)" \
--strip="$(xcrun --sdk ${target_sdk} --find strip)" \
--nm="$(xcrun --sdk ${target_sdk} --find nm)" \
--target-os=darwin \
--extra-cflags="$minos" \
--extra-cxxflags="$minos" \
--enable-cross-compile \
--enable-shared \
--disable-static \
--install-name-dir='@rpath/Frameworks' \
--enable-swscale \
--enable-pthreads \
--disable-audiotoolbox
--enable-cross-compile \
--enable-optimizations \
--prefix=$prefix \
--arch=$target_cpu_arch \
--cc="xcrun --sdk ${target_sdk} clang -arch $target_cpu_arch" \
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_cpu_arch" \
--target-os=darwin \
--extra-ldflags="$minos" \
--enable-cross-compile \
--enable-shared \
--disable-static \
--install-name-dir='@rpath' \
--disable-audiotoolbox
sudo make install DESTDIR="$build_dir/installed" -j
popd
sudo make install DESTDIR="$build_dir/installed" -j4
popd
}
install_ffmpeg() {
@@ -98,11 +98,110 @@ install_ffmpeg() {
popd >/dev/null
done
sudo cp -r $1$prefix/include $prefix
echo "LS done."
}
build_ffmpeg_ios "x86_64"
build_ffmpeg_ios "arm64"
build_info_plist() {
local file_path="$1"
local framework_name="$2"
local framework_id="$3"
local minimum_version_key="MinimumOSVersion"
local minimum_os_version="16.0"
local supported_platforms="iPhoneOS"
# TODO: This should be filled out with the actual version of FFmpeg that we are
# deploying.
info_plist="<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
<plist version=\"1.0\">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${framework_name}</string>
<key>CFBundleIdentifier</key>
<string>${framework_id}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${framework_name}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>7.0.2</string>
<key>CFBundleVersion</key>
<string>7.0.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>${minimum_version_key}</key>
<string>${minimum_os_version}</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>${supported_platforms}</string>
</array>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>"
echo $info_plist | sudo tee ${file_path} 1>/dev/null
}
create_framework() {
# Create a 'traditional' framework from the corresponding dylib.
local framework_name="$1"
local platform="$2" # For now it's either arm64 or arm64-simulator, see below.
local ffmpeg_library_path="$ffmpeg_source_dir/build_ios/${platform}/installed/usr/local/ios/ffmpeg"
local framework_complete_path="${ffmpeg_library_path}/framework/${framework_name}.framework/${framework_name}"
sudo mkdir -p "${ffmpeg_library_path}/framework/${framework_name}.framework"
sudo cp "${ffmpeg_library_path}/lib/${framework_name}.dylib" "${ffmpeg_library_path}/framework/${framework_name}.framework/${framework_name}"
# Fix LC_ID_DYLIB (to be libavcodec.framework/libavcodec instead of @rpath/libavcodec.xx.yy.dylib
sudo install_name_tool -id @rpath/${framework_name}.framework/${framework_name} "${framework_complete_path}"
build_info_plist "${ffmpeg_library_path}/framework/${framework_name}.framework/Info.plist" "${framework_name}" "io.qt.ffmpegkit."${framework_name}
# Fix all FFmpeg-related LC_LOAD_DYLIB, similar to how we fixed LC_ID_DYLIB above:
otool -L "$framework_complete_path" | awk '/\t/ {print $1}' | egrep "$dylib_regex" | while read -r dependency_path; do
found_name=$(tmp=${dependency_path/*\/}; echo ${tmp/\.*})
if [ "$found_name" != "$framework_name" ]
then
sudo install_name_tool -change "$dependency_path" @rpath/${found_name}.framework/${found_name} "${framework_complete_path}"
fi
done
#sudo mkdir -p "$prefix/framework/"
#sudo cp -r "${ffmpeg_library_path}/framework/${framework_name}.framework" "$prefix/framework/"
}
create_xcframework() {
# Create 'traditional' framework from the corresponding dylib,
# also creating
local framework_name="$1"
local target_platform_a="$2"
local target_platform_b="$3"
local fw_a="$ffmpeg_source_dir/build_ios/${target_platform_a}/installed/usr/local/ios/ffmpeg/framework/${framework_name}.framework"
local fw_b="$ffmpeg_source_dir/build_ios/${target_platform_b}/installed/usr/local/ios/ffmpeg/framework/${framework_name}.framework"
sudo mkdir -p "$prefix/framework/"
sudo xcodebuild -create-xcframework -framework $fw_a -framework $fw_b -output "${prefix}/framework/${framework_name}.xcframework"
}
build_ffmpeg_ios "x86_64-simulator"
build_ffmpeg_ios "arm64-iphoneos"
ffmpeg_libs="libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale"
for name in $ffmpeg_libs; do
create_framework $name "arm64-iphoneos"
create_framework $name "x86_64-simulator"
done
# Create corresponding (xc)frameworks containing both arm64 and arm64-simulator frameworks:
for name in $ffmpeg_libs; do
create_xcframework $name "arm64-iphoneos" "x86_64-simulator"
done
install_ffmpeg "$ffmpeg_source_dir/build_ios/arm64-iphoneos/installed"
install_ffmpeg "$ffmpeg_source_dir/build_ios/x86_64/installed" "$ffmpeg_source_dir/build_ios/arm64/installed"
SetEnvVar "FFMPEG_DIR_IOS" $prefix

View File

@@ -5,15 +5,21 @@
# This script will build and install FFmpeg static libs
set -ex
os="$1"
build_type="$2"
if [ ! -n "$build_type" ] && [ "$build_type" != "static" ] && [ "$build_type" != "shared" ]; then
>&2 echo "Invalid build_type: $build_type. The shared build type will be used."
build_type="shared"
fi
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="n7.0.2"
version="n7.1"
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
sha1="f008a93710a7577e3f85a90f4b632cc615164712"
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
ffmpeg_name="FFmpeg-$version"
@@ -27,6 +33,9 @@ then
fi
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
if [ "$build_type" != "static" ]; then
ffmpeg_config_options+=" --enable-shared --disable-static"
fi
install_ff_nvcodec_headers() {
nv_codec_version="11.1" # use 11.1 to ensure compatibility with 470 nvidia drivers; might be upated to 12.0
@@ -46,6 +55,35 @@ install_ff_nvcodec_headers() {
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
}
fix_openssl3_pc_files() {
# On RHEL 8, openssl3 pc files are libopenssl3.pc, libssl3.pc, libcrypto3.pc,
# and FFmpeg cannot find them. Instead, it finds FFmpeg 1.x.x if it's installed.
# The function fixes the files with copying them to a custom directory
local openssl3_pcfiledir=$(pkg-config --variable=pcfiledir openssl3)
if [ ! -n "$openssl3_pcfiledir" ]; then
return
fi
local pcfiles=("libssl" "libcrypto" "openssl")
for pcfile in ${pcfiles[@]}; do
if [ ! -f "$openssl3_pcfiledir/${pcfile}3.pc" ]; then
echo "pkgconfig has found openssl3 but the file $openssl3_pcfiledir/${pcfile}3.pc does't exist"
return
fi
done
local new_pkgconfig_dir="$ffmpeg_source_dir/openssl3_pkgconfig"
mkdir -p $new_pkgconfig_dir
for pcfile in ${pcfiles[@]}; do
sed -E '/^Requires(\.private)?:/s/ (libssl|libcrypto)3/ \1/g;' "$openssl3_pcfiledir/${pcfile}3.pc" > "$new_pkgconfig_dir/${pcfile}.pc"
done
export PKG_CONFIG_PATH="$new_pkgconfig_dir:$PKG_CONFIG_PATH"
}
build_ffmpeg() {
local arch="$1"
local prefix="$2"
@@ -71,15 +109,11 @@ build_ffmpeg() {
}
if [ "$os" == "linux" ]; then
build_type="$2"
install_ff_nvcodec_headers
ffmpeg_config_options+=" --enable-openssl"
if [ "$build_type" != "static" ]; then
ffmpeg_config_options+=" --enable-shared --disable-static"
fi
fix_openssl3_pc_files
echo "pkg-config openssl version: $(pkg-config --modversion openssl)"
build_ffmpeg
@@ -94,8 +128,6 @@ if [ "$os" == "linux" ]; then
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
ffmpeg_config_options+=" --enable-shared --disable-static"
brew install yasm
export MACOSX_DEPLOYMENT_TARGET=12
fix_relative_dependencies="${BASH_SOURCE%/*}/../macos/fix_relative_dependencies.sh"

View File

@@ -6,7 +6,7 @@
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
patchelf_version="0.17.2"
url_cached="https://ci-files01-hki.intra.qt.io/input/android/patchelf/$patchelf_version.tar.gz"
url_cached="https://ci-files01-hki.ci.qt.io/input/android/patchelf/$patchelf_version.tar.gz"
url_public="https://github.com/NixOS/patchelf/archive/refs/tags/$patchelf_version.tar.gz"
sha1="ddd46a2e2a16a308245c008721d877455b23bba8"

View File

@@ -12,12 +12,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="3.0.7"
ndkVersionLatest="r26b"
ndkVersionLatest="r27c"
ndkVersionDefault=$ndkVersionLatest
prebuiltOpensslNdkShaLatest="ea925d5a5b696916fb3650403a2eb3189c52b5ce"
prebuiltOpensslNdkShaLatest="733cff853b6ee7738e78b90f46b5f028c8490e1e"
prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r27c
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
exports_file="/tmp/export.sh"
# source previously made environmental variables.
@@ -32,7 +32,7 @@ else
fi
# ANDROID_NDK_ROOT is required during Configure
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r26b
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r27c
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
cachedUrl="http://ci-files01-hki.ci.qt.io/input/openssl/openssl-$version.tar.gz"

View File

@@ -12,12 +12,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="3.0.7"
ndkVersionLatest="r26b"
ndkVersionLatest="r27c"
ndkVersionDefault=$ndkVersionLatest
prebuiltOpensslNdkShaLatest="ea925d5a5b696916fb3650403a2eb3189c52b5ce"
prebuiltOpensslNdkShaLatest="733cff853b6ee7738e78b90f46b5f028c8490e1e"
prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r26b
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r27c
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
exports_file="/tmp/export.sh"
# source previously made environmental variables.

View File

@@ -19,6 +19,7 @@ function installSccache {
sudo mkdir -p /usr/local/sccache
sudo tar -C /usr/local/sccache -x -z --totals --strip-components=1 --file="$targetFile"
sudo chmod +x /usr/local/sccache/sccache
# add sccache __before__ the real compiler
SetEnvVar "PATH" "/usr/local/sccache:\$PATH"
@@ -32,4 +33,7 @@ function installSccache {
chmod 755 "$HOME/sccache_wrapper/sccache"
SetEnvVar "PATH" "$HOME/sccache_wrapper:\$PATH"
# Prevents some random network I/O errors from failing compilation
# Does not seem to affect much though
SetEnvVar "SCCACHE_IGNORE_SERVER_IO_ERROR" "1"
}

View File

@@ -16,11 +16,11 @@ if (Is64BitWinHost) {
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
$openssl_version = "3.0.7"
$ndk_version_latest = "r26b"
$ndk_version_latest = "r27c"
$ndk_version_default = "$ndk_version_latest"
$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}.tar.gz")
$openssl_sha1 = "f20736d6aae36bcbfa9aba0d358c71601833bf27"
$prebuilt_sha1_ndk_latest = "ea925d5a5b696916fb3650403a2eb3189c52b5ce"
$prebuilt_sha1_ndk_latest = "733cff853b6ee7738e78b90f46b5f028c8490e1e"
$prebuilt_sha1_ndk_default = "$prebuilt_sha1_ndk_latest"
$destination_prefix = "C:\Utils\prebuilt-openssl-${openssl_version}-for-android-ndk"
@@ -70,7 +70,7 @@ function Install($1, $2) {
}
# ANDROID_NDK_ROOT needs to be in environment variables before running this script
# Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r26b"
# Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r27c"
$make_install = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"yes | pacman -S make`"")
CheckExitCode $make_install

View File

@@ -10,9 +10,9 @@
# That's why we need to use Andoid-21 API version in Qt 5.9.
# NDK
$ndkVersionLatest = "r26b"
$ndkVersionLatest = "r27c"
$ndkVersionDefault = $ndkVersionLatest
$ndkChecksumLatest = "17453c61a59e848cffb8634f2c7b322417f1732e"
$ndkChecksumLatest = "ac5f7762764b1f15341094e148ad4f847d050c38"
$ndkChecksumDefault = $ndkChecksumLatest
$ndkCachedUrlLatest = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-ndk-$ndkVersionLatest-windows.zip"
$ndkOfficialUrlLatest = "https://dl.google.com/android/repository/android-ndk-$ndkVersionLatest-windows.zip"
@@ -24,8 +24,8 @@ $ndkZip = "C:\Windows\Temp\android_ndk.zip"
$toolsVersion = "2.1"
$toolsFile = "commandlinetools-win-6609375_latest.zip"
$sdkApi = "ANDROID_API_VERSION"
$sdkApiLevel = "android-34"
$sdkBuildToolsVersion = "34.0.0"
$sdkApiLevel = "android-35"
$sdkBuildToolsVersion = "35.0.1"
$toolsCachedUrl= "\\ci-files01-hki.ci.qt.io\provisioning\android\$toolsFile"
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
$toolsChecksum = "e2e19c2ff584efa87ef0cfdd1987f92881323208"

View File

@@ -3,22 +3,22 @@
. "$PSScriptRoot\helpers.ps1"
$majorminorversion = "3.27"
$version = "3.27.7"
$majorminorversion = "3.30"
$version = "3.30.5"
$cpu_arch = Get-CpuArchitecture
Write-Host "Installing CMake for architecture $cpu_arch"
switch ($cpu_arch) {
arm64 {
$arch = "arm64"
$sha1 = "52ee08671dcb478c5ec6e862f41717f65047c598"
$majorminorversion = "3.29"
$version = "3.29.2"
$sha1 = "408977a174476407bd660604f110a26ba41a6efd"
$majorminorversion = "3.30"
$version = "3.30.5"
Break
}
x64 {
$arch = "i386"
$sha1 = "b6147215a5f9cd1138b012265229fbf2224d02c6"
$sha1 = "d0636735c2d13a4443662605cd80c708f265eacc"
}
default {
throw "Unknown architecture $cpu_arch"

View File

@@ -5,6 +5,6 @@
# This script will install Azure singtool using Dotnet SDK
$dotnet = "C:\Program Files\dotnet\dotnet.exe"
$version = "2.0.17"
$version = "5.0.0"
Run-Executable "$dotnet" "tool install --global AzureSignTool --version $version"

View File

@@ -4,15 +4,30 @@
# This script will install Dotnet SDK which is required for Azure installation
$version = "2.1"
if (Is64BitWinHost) {
$urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-2.1.809-win-x64.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/c980b6fb-e570-4c73-b344-e4dae6573777/f844ac1a4c6ea5de7227a701786126fd/dotnet-sdk-2.1.809-win-x64.exe"
$sha1 = "343e80c2ab558a30696dbe03ad2288bf435d5cd8"
} else {
$urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-2.1.809-win-x86.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/cf86a2f3-f6b2-4959-8e41-cf84b0d2f294/a61e834f56abe2dc2e12599e1a60c10b/dotnet-sdk-2.1.809-win-x86.exe"
$sha1 = "b38a4e1392f17aed110508a1687f1c65b9d86161"
$version = "8.0.300"
$cpu_arch = Get-CpuArchitecture
switch ($cpu_arch) {
arm64 {
$sha1 = "3e68f606b205beeb0a557dad5b01e31d4d833459"
$urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-$version-win-arm64.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/e195e4f5-00ee-4df3-8736-199aacf00b2a/1663c4f5dc168d390aa4507f09200423/dotnet-sdk-$version-win-arm64.exe"
Break
}
x64 {
$urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-$version-win-x64.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/90486d8a-fb5a-41be-bfe4-ad292c06153f/6673965085e00f5b305bbaa0b931cc96/dotnet-sdk-$version-win-x64.exe"
$sha1 = "527321c1eeea964a7c50f6a24473f37400514cd1"
Break
}
x86 {
$urlCache = "http://ci-files01-hki.ci.qt.io/input/windows/dotnet-sdk-$version-win-x86.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/9736c2dc-c21d-4df6-8cb7-9365ed5461a9/4c360dc61c7cb6d26b48d2718341c68e/dotnet-sdk-$version-win-x86.exe"
$sha1 = "f8857b5e06de5c33aee2fb2242f7781f1a65c4ef"
Break
}
default {
throw "Unknown architecture $cpu_arch"
}
}
$installer = "C:\Windows\Temp\dotnet-sdk-$version.exe"

View File

@@ -6,9 +6,9 @@
# This script will install FFmpeg
$msys = "C:\Utils\msys64\usr\bin\bash"
$version="n7.0.2"
$version="n7.1"
$url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
$sha1="e017c72dd84a9bac1519eaa33c203b82dd850bc0"
$sha1="f008a93710a7577e3f85a90f4b632cc615164712"
$url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
$ffmpeg_name="FFmpeg-$version"
@@ -85,6 +85,7 @@ function InstallMingwFfmpeg {
function InstallMsvcFfmpeg {
Param (
[string]$hostArch,
[bool]$isArm64
)
@@ -98,10 +99,13 @@ function InstallMsvcFfmpeg {
$arch = "arm64"
$buildSystem += "-arm64"
$ffmpegDirEnvVar += "_ARM64"
$config += " --enable-cross-compile --arch=arm64 --disable-asm"
$config += " --arch=arm64 --disable-asm"
if ($hostArch -eq "amd64") {
$config += " --enable-cross-compile"
}
}
$result = EnterVSDevShell -Arch $arch
$result = EnterVSDevShell -HostArch $hostArch -Arch $arch
if (-Not $result) {
return $false
}
@@ -112,7 +116,7 @@ function InstallMsvcFfmpeg {
# As ffmpeg build system creates lib*.a file we have to rename them to *.lib files to be recognized by WIN32
Write-Host "Rename libraries lib*.a -> *.lib"
try {
$msvcDir = [System.Environment]::GetEnvironmentVariable("FFMPEG_DIR_MSVC", [System.EnvironmentVariableTarget]::Machine)
$msvcDir = [System.Environment]::GetEnvironmentVariable($ffmpegDirEnvVar, [System.EnvironmentVariableTarget]::Machine)
Get-ChildItem "$msvcDir\lib\lib*.a" | ForEach-Object {
$NewName = $_.Name -replace 'lib(\w+).a$', '$1.lib'
$Destination = Join-Path -Path $_.Directory.FullName -ChildPath $NewName
@@ -140,7 +144,7 @@ function InstallAndroidArmv7 {
$target_cpu="armv7-a"
$api_version="24"
$ndkVersionLatest = "r26b"
$ndkVersionLatest = "r27c"
$ndkFolderLatest = "/c/Utils/Android/android-ndk-$ndkVersionLatest"
$toolchain="${ndkFolderLatest}/toolchains/llvm/prebuilt/windows-x86_64"
@@ -184,7 +188,7 @@ function InstallAndroidArmv7 {
Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath $msys -ArgumentList ("-lc", "`"pacman -Sy --noconfirm libtool`"")
$patchelf_sha1 = "DDD46A2E2A16A308245C008721D877455B23BBA8"
$patchelf_sources = "https://ci-files01-hki.intra.qt.io/input/android/patchelf/0.17.2.tar.gz"
$patchelf_sources = "https://ci-files01-hki.ci.qt.io/input/android/patchelf/0.17.2.tar.gz"
$patchelf_download_location = "C:\Windows\Temp\0.17.2.tar.gz"
Invoke-WebRequest -UseBasicParsing $patchelf_sources -OutFile $patchelf_download_location
@@ -201,17 +205,45 @@ function InstallAndroidArmv7 {
return $result
}
$mingwRes = InstallMingwFfmpeg
$llvmMingwRes = InstallLlvmMingwFfmpeg
$androidArmV7Res = InstallAndroidArmv7
$msvcRes = InstallMsvcFfmpeg -isArm64 $false
$msvcArm64Res = InstallMsvcFfmpeg -isArm64 $true
function InstallFfmpegsAMD64 {
$hostArch = "amd64"
$mingwRes = InstallMingwFfmpeg
$llvmMingwRes = InstallLlvmMingwFfmpeg
$androidArmV7Res = InstallAndroidArmv7
$msvcRes = InstallMsvcFfmpeg -hostArch $hostArch -isArm64 $false
$msvcArm64Res = InstallMsvcFfmpeg -hostArch $hostArch -isArm64 $true
Write-Host "Ffmpeg installation results:"
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
Write-Host "Ffmpeg installation results:"
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
exit $(if ($mingwRes -and $msvcRes -and $msvcArm64Res -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
exit $(if ($mingwRes -and $msvcRes -and $msvcArm64Res -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
}
function InstallFfmpegsARM64 {
$hostArch = "arm64"
$msvcArm64Res = InstallMsvcFfmpeg -hostArch $hostArch -isArm64 $true
Write-Host "Ffmpeg installation results:"
Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
exit $(if ($msvcArm64Res) { 0 } else { 1 })
}
$cpu_arch = Get-CpuArchitecture
switch ($cpu_arch) {
arm64 {
InstallFfmpegsARM64
Break
}
x64 {
InstallFfmpegsAMD64
Break
}
default {
throw "Unknown architecture $cpu_arch"
}
}

View File

@@ -0,0 +1,39 @@
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
$version = "1.22.4"
$cpu_arch = Get-CpuArchitecture
switch ($cpu_arch) {
x64 {
$arch = "amd64"
$sha256 = "3c21105d7b584759b6e266383b777caf6e87142d304a10b539dbc66ab482bb5f"
break
}
x86 {
$arch = "386"
$sha256 = "5c6446e2ea80bc6a971d2b34446f16e6517e638b0ff8d3ea229228d1931790b0"
break
}
arm64 {
$arch = "arm64"
$sha256 = "553cc6c460f4e3eb4fad5b897c0bb22cd8bbeb20929f0e3eeb939420320292ce"
break
}
default {
throw "Unknown architecture $cpu_arch"
}
}
$goPackage = "C:\Windows\Temp\Go-" + $version + $arch + ".msi"
$url_cache = "https://ci-files01-hki.ci.qt.io/input/go/windows/go" + $version + ".windows-" + $arch + ".msi"
$url_official = "https://go.dev/dl/go" + $version + ".windows-" + $arch + ".msi"
Write-Host "Fetching Go $version..."
Download $url_official $url_cache $goPackage
Verify-Checksum $goPackage $sha256 sha256
Write-Host "Installing Go $version..."
Run-Executable "msiexec" "/quiet /i $goPackage"
Write-Output "Go = $version" >> ~\versions.txt

View File

@@ -5,24 +5,24 @@
# This script installs 7-Zip
$version = "23.01"
$nonDottedVersion = "2301"
$version = "24.09"
$nonDottedVersion = "2409"
$cpu_arch = Get-CpuArchitecture
switch ($cpu_arch) {
arm64 {
$arch = "-arm64"
$sha1 = "be65c2ea6119c04945c66b13413892f2bb03d9a7"
$sha1 = "2f5aaa22a4a591b01a1b06c17565233f0cd70429"
Break
}
x64 {
$arch = "-x64"
$sha1 = "7DF28D340D7084647921CC25A8C2068BB192BDBB"
$sha1 = "28b53835fe92c3fa6e0c422fc3b17c6bc1cb27e0"
Break
}
x86 {
$arch = ""
$sha1 = "D5D00E6EA8B8E68CE7A704FD478DC950E543C25C"
$sha1 = "2135a90a9f6c3202c32a87b1c5cf805ce294a497"
Break
}
default {

View File

@@ -0,0 +1,41 @@
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
$majorminorversion = "4.2"
$version = "4.2.4"
$cpu_arch = Get-CpuArchitecture
Write-Host "Installing UPX for architecture $cpu_arch"
switch ($cpu_arch) {
x64 {
$arch = "win64"
$sha1 = "204ae110a84d0046b242222f97b19cf3f5594f4b"
}
default {
throw "Unknown architecture $cpu_arch"
}
}
$filename = "upx-" + $version + "-" + $arch
$filename_zip = $filename + ".zip"
$zip = Get-DownloadLocation ($filename_zip)
$officialurl = "https://github.com/upx/upx/releases/download/v" + $version + "/" + $filename_zip
$cachedurl = "https://ci-files01-hki.ci.qt.io/input/upx/windows/" + $filename_zip
Write-Host "Removing old UPX"
Remove "C:\UPX"
Download $officialurl $cachedurl $zip
Verify-Checksum $zip $sha1
Extract-7Zip $zip C:
$defaultinstallfolder = "C:\" + $filename
Rename-Item $defaultinstallfolder C:\UPX
Add-Path "C:\UPX"
Write-Output "UPX = $version" >> ~\versions.txt

View File

@@ -1,5 +1,5 @@
param(
[Int32]$archVer=32,
[string]$archVer="32",
[string]$toolchain="vs2019",
[bool]$setDefault=$true
)
@@ -36,8 +36,21 @@ function install() {
$toolchainSuffix = ""
if ( $toolchain -eq "vs2022" ) {
if ( $archVer -eq "64" ) {
$sha1 = "7e51f0eabdfe8eea17aaf1dce7b2ffe1ea064f66"
}
elseif ( $archVer -eq "arm64" ) {
$sha1 = "986d4d0f253de505ef499345238c101dac1ca3a6"
}
else {
$sha1 = ""
}
$toolchainSuffix = "msvc"
}
if ( $toolchain -eq "vs2019" ) {
if ( $archVer -eq 64 ) {
if ( $archVer -eq "64" ) {
$sha1 = "8e0862386caef7e4537599ef980eeb6ebee8767f"
}
else {
@@ -47,7 +60,7 @@ if ( $toolchain -eq "vs2019" ) {
}
if ( $toolchain -eq "mingw" ) {
if ( $archVer -eq 64 ) {
if ( $archVer -eq "64" ) {
$sha1 = "a23cbb0822cf2eb8d1cecf26e8614ef37a7611e3"
}
else {
@@ -58,7 +71,7 @@ if ( $toolchain -eq "mingw" ) {
if ( $toolchain -eq "llvm-mingw" ) {
if ( $archVer -eq 64 ) {
if ( $archVer -eq "64" ) {
$sha1 = "9c34f99eb575b42c2befe27829c08e6d3f01ae58"
}
else {

View File

@@ -78,10 +78,17 @@ Run-Executable "$install_path\python.exe" "-m pip config --user set global.index
Run-Executable "$install_path\python.exe" "-m pip config --user set global.extra-index-url https://pypi.org/simple/"
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel html5lib"
# Check if python version is higher than 3.8.
# Check if python version is higher than 3.10.
# ntia-conformance-checker requires at least 3.8
if ([version]::Parse($version) -gt [version]::Parse("3.8")) {
# reuse requires at least 3.9, to avoid conflict with installed conan jinja package,
# at least until we use virtual envs.
# The lowest version available on all windows platforms that we currently run on that satisfies
# these requirements is 3.10.
if ([version]::Parse($version) -gt [version]::Parse("3.10")) {
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install -r $PSScriptRoot\..\shared\sbom_requirements.txt"
# Set the environment variable for the build system to know which python path to use for SBOM
# processing.
Set-EnvironmentVariable "SBOM_PYTHON_APPS_PATH" "$install_path\Scripts"
}
# Install PyPDF2 for QSR documentation

View File

@@ -4,3 +4,6 @@ Write-Host '*****************************************************'
Write-Host '******************** Get-PSDrive ********************'
Get-PSDrive
Write-Host '*****************************************************'
Write-Host '******************** Path Content *******************'
$env:Path -split ';'
Write-Host '*****************************************************'

Some files were not shown because too many files have changed in this diff Show More