mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-26 01:46:20 +08:00
Compare commits
76 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d18cb403c | ||
|
|
3d228cc624 | ||
|
|
d775e67842 | ||
|
|
dd369429fe | ||
|
|
7a1b153e5d | ||
|
|
1774e09bdb | ||
|
|
e298817488 | ||
|
|
be6842fcc6 | ||
|
|
bdaed7e63c | ||
|
|
cd01a52a22 | ||
|
|
9f532fab92 | ||
|
|
8153661781 | ||
|
|
5fd1494a25 | ||
|
|
87684ff299 | ||
|
|
9070e879f8 | ||
|
|
1845ae81d4 | ||
|
|
c1ae2a14ba | ||
|
|
289f105779 | ||
|
|
8652b31f98 | ||
|
|
8e9d4f9e88 | ||
|
|
cb3cb3802a | ||
|
|
7b3e6b03dd | ||
|
|
4e47d97d28 | ||
|
|
3068bcf3e2 | ||
|
|
39a95bbd9a | ||
|
|
fe60ef1781 | ||
|
|
8b143a7605 | ||
|
|
dd41f83ef1 | ||
|
|
9cad1bede1 | ||
|
|
3d77301e1c | ||
|
|
7b616ebe45 | ||
|
|
4c6b800263 | ||
|
|
3994524b70 | ||
|
|
d15dfbd2b4 | ||
|
|
5aec4aa157 | ||
|
|
e8a94de2ea | ||
|
|
3cf6241e47 | ||
|
|
2cc991e88c | ||
|
|
15e437335d | ||
|
|
fb7e442a1e | ||
|
|
ab2ec657cd | ||
|
|
22e56fdf90 | ||
|
|
b2e6211e4b | ||
|
|
e9cd37a1e0 | ||
|
|
bdd49adae9 | ||
|
|
e600f0a85b | ||
|
|
9e7829bf5e | ||
|
|
2b137b3f41 | ||
|
|
83b40b020d | ||
|
|
cceb2909dd | ||
|
|
e18fe73ac6 | ||
|
|
cc2729920f | ||
|
|
6e853cc6fc | ||
|
|
f4f8266821 | ||
|
|
1cdf0b38ae | ||
|
|
0b041deffd | ||
|
|
21c39aa759 | ||
|
|
e112372259 | ||
|
|
2849740c98 | ||
|
|
d499318730 | ||
|
|
9baaa2d166 | ||
|
|
189bf2b956 | ||
|
|
d35962050e | ||
|
|
b237f31399 | ||
|
|
d18c70e904 | ||
|
|
5ccfd0ab22 | ||
|
|
08d194ac9d | ||
|
|
dee952b0dd | ||
|
|
4aa6b8cc47 | ||
|
|
09baa95ad1 | ||
|
|
fcca7f16d0 | ||
|
|
9a6b5caef5 | ||
|
|
2d5dc5af3d | ||
|
|
90e0464453 | ||
|
|
cb765fe3c1 | ||
|
|
5f00935059 |
84
.gitmodules
vendored
84
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
recommends = qtdeclarative qtquick3d
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
@@ -47,7 +47,7 @@
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -55,7 +55,7 @@
|
||||
recommends = qtmultimedia qtshadertools qtwebengine
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -76,21 +76,21 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = preview
|
||||
[submodule "qtpositioning"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
path = qtpositioning
|
||||
url = ../qtpositioning.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -117,61 +117,61 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = deprecated
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
@@ -185,28 +185,28 @@
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
@@ -219,27 +219,27 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase qtmultimedia
|
||||
recommends = qtdeclarative
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
@@ -252,87 +252,87 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtlanguageserver"]
|
||||
depends = qtbase
|
||||
path = qtlanguageserver
|
||||
url = ../qtlanguageserver.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = preview
|
||||
[submodule "qthttpserver"]
|
||||
depends = qtbase
|
||||
recommends = qtwebsockets
|
||||
path = qthttpserver
|
||||
url = ../qthttpserver.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtquick3dphysics"]
|
||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||
path = qtquick3dphysics
|
||||
url = ../qtquick3dphysics.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtquickeffectmaker"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquick3d
|
||||
path = qtquickeffectmaker
|
||||
url = ../qtquickeffectmaker.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
[submodule "qtgraphs"]
|
||||
depends = qtbase qtdeclarative qtquick3d
|
||||
path = qtgraphs
|
||||
url = ../qtgraphs.git
|
||||
branch = 6.8.1
|
||||
branch = 6.8
|
||||
status = addon
|
||||
|
||||
4
.gitreview
Normal file
4
.gitreview
Normal file
@@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=codereview.qt-project.org
|
||||
project=qt/qt5
|
||||
defaultbranch=dev
|
||||
@@ -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)
|
||||
|
||||
```
|
||||
|
||||
136
cmake/3rdparty/cmake/Copyright.txt
vendored
136
cmake/3rdparty/cmake/Copyright.txt
vendored
@@ -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.
|
||||
349
cmake/3rdparty/cmake/QtIRRunCMake.cmake
vendored
349
cmake/3rdparty/cmake/QtIRRunCMake.cmake
vendored
@@ -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})
|
||||
39
cmake/3rdparty/cmake/QtIRTestHelpers.cmake
vendored
39
cmake/3rdparty/cmake/QtIRTestHelpers.cmake
vendored
@@ -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()
|
||||
16
cmake/3rdparty/cmake/qt_attribution.json
vendored
16
cmake/3rdparty/cmake/qt_attribution.json
vendored
@@ -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"
|
||||
}
|
||||
@@ -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}")
|
||||
|
||||
@@ -8,7 +8,6 @@ macro(qt_ir_include_all_helpers)
|
||||
include(QtIROptionsHelpers)
|
||||
include(QtIRParsingHelpers)
|
||||
include(QtIRProcessHelpers)
|
||||
include(QtIRTestHelpers)
|
||||
include(QtTopLevelHelpers)
|
||||
endmacro()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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'
|
||||
@@ -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'
|
||||
@@ -201,22 +201,11 @@ Configurations:
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'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'
|
||||
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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'rhel-9.4'
|
||||
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests']
|
||||
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'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
@@ -237,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'
|
||||
@@ -300,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',
|
||||
]
|
||||
|
||||
@@ -15,7 +15,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-arm64-msvc2022-minimal-static-test'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-53'
|
||||
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'
|
||||
@@ -53,7 +53,7 @@ Configurations:
|
||||
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" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'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'
|
||||
]
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
@@ -48,7 +48,7 @@ Configurations:
|
||||
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||
]
|
||||
-
|
||||
Id: 'android-14-x86_64-on-linux'
|
||||
Id: 'android-15-x86_64-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
@@ -56,22 +56,6 @@ Configurations:
|
||||
Target compiler: 'Clang'
|
||||
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'
|
||||
]
|
||||
-
|
||||
Id: 'android-15-x86_64-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.10'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests']
|
||||
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',
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -10,7 +10,7 @@ Configurations:
|
||||
Platform dependency: [
|
||||
'rhel-8.10',
|
||||
'android-9-x86-on-linux',
|
||||
'android-14-x86_64-on-linux'
|
||||
'android-15-x86_64-on-linux'
|
||||
]
|
||||
Features: [
|
||||
'Sccache',
|
||||
@@ -22,7 +22,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'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'
|
||||
]
|
||||
|
||||
@@ -15,7 +15,7 @@ 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}}',
|
||||
'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'
|
||||
]
|
||||
@@ -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-asserts -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',
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -2,17 +2,13 @@ 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']
|
||||
-
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
@@ -15,7 +15,7 @@ Configurations:
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
@@ -28,7 +28,7 @@ Configurations:
|
||||
Environment variables: []
|
||||
# without tests
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
@@ -36,7 +36,7 @@ Configurations:
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
# oldest Qt version
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
||||
Configure arguments: ''
|
||||
|
||||
@@ -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'
|
||||
@@ -12,14 +12,3 @@ Configurations:
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'rhel-9.4-gcc12'
|
||||
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests', 'InsignificantTests']
|
||||
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-pcre -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'PATH=/opt/rh/gcc-toolset-12/root/usr/bin/:{{.Env.PATH}}',
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
]
|
||||
|
||||
@@ -8,15 +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-msvc2022",
|
||||
"windows-11_23H2-msvc2022-developer-build",
|
||||
"rhel-8.10",
|
||||
"windows-10_22h2-mingw13",
|
||||
"windows-11_23H2-mingw13-developer-build",
|
||||
"windows-11_23H2-llvm",
|
||||
"windows-11_23H2-msvc2022"
|
||||
"windows-11_23H2-msvc2022",
|
||||
"windows-11_22h2-arm64-msvc2022"
|
||||
],
|
||||
cmake_platforms_qemu_qnx710.yaml: [
|
||||
"qnx-710-x86_64-developer-build-on-linux",
|
||||
|
||||
@@ -2,19 +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-msvc2022",
|
||||
"rhel-8.10",
|
||||
"windows-10_22h2-mingw13",
|
||||
"windows-11_23H2-llvm",
|
||||
"windows-11_23H2-msvc2022"
|
||||
"windows-11_23H2-msvc2022",
|
||||
"windows-11_22h2-arm64-msvc2022"
|
||||
],
|
||||
cmake_platforms_qemu_qnx710.yaml: [
|
||||
"qnx-710-x86_64-developer-build-on-linux",
|
||||
@@ -25,9 +27,8 @@ Include: [
|
||||
# Static build configurations for tools
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-latest-xcode-universal-static-build'
|
||||
Template: 'qtci-macos-12-x86_64-107'
|
||||
Target os: 'MacOS_12_Static'
|
||||
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']
|
||||
@@ -38,7 +39,6 @@ Configurations:
|
||||
-
|
||||
Id: 'Linux-RHEL_8_10_Static'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'RHEL_8_10_Static'
|
||||
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,10 +46,31 @@ Configurations:
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'Ubuntu-24.04-arm64_Static'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
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'
|
||||
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-52'
|
||||
Target os: 'Windows_10_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'
|
||||
|
||||
@@ -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']
|
||||
|
||||
@@ -13,7 +13,7 @@ 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:
|
||||
|
||||
@@ -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!
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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,12 +131,12 @@ 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"
|
||||
@@ -162,13 +157,20 @@ echo "Unzipping the Android 9 to $minVersionDestination"
|
||||
sudo unzip -o -q "$minVersionFilePath" -d "$minVersionDestination"
|
||||
rm "$minVersionFilePath"
|
||||
|
||||
echo "y" | ./sdkmanager --install "system-images;android-35;google_apis;x86_64" \
|
||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
||||
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"
|
||||
|
||||
echo "Extract stored Android 14 Beta $android14SystemZipName"
|
||||
DownloadURL "$android14SystemPath" "$android14SystemPath" "$android14SystemZipSha" \
|
||||
"/tmp/$android14SystemZipName"
|
||||
sudo tar -xzf "/tmp/$android14SystemZipName" -C "$sdkTargetFolder/system-images"
|
||||
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"
|
||||
@@ -176,9 +178,6 @@ 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"
|
||||
|
||||
|
||||
10
coin/provisioning/common/linux/axivion/axivion_config.json
Normal file
10
coin/provisioning/common/linux/axivion/axivion_config.json
Normal 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"
|
||||
]
|
||||
}
|
||||
33
coin/provisioning/common/linux/axivion/ci_config_common.json
Normal file
33
coin/provisioning/common/linux/axivion/ci_config_common.json
Normal 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
|
||||
]
|
||||
}
|
||||
32
coin/provisioning/common/linux/axivion/code_annotations.json
Normal file
32
coin/provisioning/common/linux/axivion/code_annotations.json
Normal 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
|
||||
]
|
||||
}
|
||||
786
coin/provisioning/common/linux/axivion/compiler_config.json
Normal file
786
coin/provisioning/common/linux/axivion/compiler_config.json
Normal 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
|
||||
]
|
||||
}
|
||||
|
||||
34
coin/provisioning/common/linux/axivion/post_processing.py
Normal file
34
coin/provisioning/common/linux/axivion/post_processing.py
Normal 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])
|
||||
210
coin/provisioning/common/linux/axivion/rule_config.json
Normal file
210
coin/provisioning/common/linux/axivion/rule_config.json
Normal 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
|
||||
]
|
||||
}
|
||||
13
coin/provisioning/common/linux/axivion/start_analysis.sh
Executable file
13
coin/provisioning/common/linux/axivion/start_analysis.sh
Executable 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 "$@"
|
||||
@@ -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"
|
||||
|
||||
|
||||
25
coin/provisioning/common/macos/install-simulator-runtime.sh
Executable file
25
coin/provisioning/common/macos/install-simulator-runtime.sh
Executable 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
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -10,38 +10,44 @@ 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"
|
||||
|
||||
target_dir="$HOME"
|
||||
ffmpeg_source_dir="$target_dir/$ffmpeg_name"
|
||||
prefix="/usr/local/ios/ffmpeg"
|
||||
dylib_regex="^@rpath/.*\.dylib$"
|
||||
|
||||
if [ ! -d "$ffmpeg_source_dir" ];
|
||||
then
|
||||
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$target_dir"
|
||||
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$target_dir"
|
||||
fi
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
|
||||
build_ffmpeg_ios() {
|
||||
local target_arch=$1
|
||||
|
||||
if [ "$target_arch" == "x86_64" ]; then
|
||||
local target_platform=$1
|
||||
local target_cpu_arch=""
|
||||
if [ "$target_platform" == "arm64-simulator" ]; then
|
||||
target_sdk="iphonesimulator"
|
||||
target_arch="x86_64"
|
||||
minos="-mios-simulator-version-min=14.0"
|
||||
else
|
||||
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_arch="arm64"
|
||||
minos="-miphoneos-version-min=14.0"
|
||||
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
|
||||
|
||||
local build_dir="$ffmpeg_source_dir/build_ios/$target_arch"
|
||||
local build_dir="$ffmpeg_source_dir/build_ios/$target_platform"
|
||||
sudo mkdir -p "$build_dir"
|
||||
pushd "$build_dir"
|
||||
|
||||
@@ -51,25 +57,18 @@ build_ffmpeg_ios() {
|
||||
--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)" \
|
||||
--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-cflags="$minos" \
|
||||
--extra-cxxflags="$minos" \
|
||||
--extra-ldflags="$minos" \
|
||||
--enable-cross-compile \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--install-name-dir='@rpath/Frameworks' \
|
||||
--enable-swscale \
|
||||
--enable-pthreads \
|
||||
--install-name-dir='@rpath' \
|
||||
--disable-audiotoolbox
|
||||
|
||||
sudo make install DESTDIR="$build_dir/installed" -j
|
||||
sudo make install DESTDIR="$build_dir/installed" -j4
|
||||
popd
|
||||
}
|
||||
|
||||
@@ -95,6 +94,7 @@ install_ffmpeg() {
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo "LS"
|
||||
popd >/dev/null
|
||||
done
|
||||
sudo cp -r $1$prefix/include $prefix
|
||||
@@ -109,6 +109,8 @@ build_info_plist() {
|
||||
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\">
|
||||
@@ -144,39 +146,62 @@ build_info_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 ffmpeg_library_path="$ffmpeg_source_dir/build_ios/arm64/installed/usr/local/ios/ffmpeg"
|
||||
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}"
|
||||
|
||||
sudo install_name_tool -id @rpath/Frameworks/${framework_name}.framework/${framework_name} "${framework_complete_path}"
|
||||
sudo vtool -set-build-version ios 16.0 -input ${framework_complete_path} -output ${framework_complete_path}
|
||||
# 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/Frameworks/${found_name}.framework/${found_name} "${framework_complete_path}"
|
||||
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/"
|
||||
#sudo mkdir -p "$prefix/framework/"
|
||||
#sudo cp -r "${ffmpeg_library_path}/framework/${framework_name}.framework" "$prefix/framework/"
|
||||
}
|
||||
|
||||
build_ffmpeg_ios "x86_64"
|
||||
build_ffmpeg_ios "arm64"
|
||||
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
|
||||
create_framework $name "arm64-iphoneos"
|
||||
create_framework $name "x86_64-simulator"
|
||||
done
|
||||
|
||||
install_ffmpeg "$ffmpeg_source_dir/build_ios/x86_64/installed" "$ffmpeg_source_dir/build_ios/arm64/installed"
|
||||
# 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"
|
||||
|
||||
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
||||
|
||||
@@ -17,9 +17,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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -144,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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -4,3 +4,6 @@ Write-Host '*****************************************************'
|
||||
Write-Host '******************** Get-PSDrive ********************'
|
||||
Get-PSDrive
|
||||
Write-Host '*****************************************************'
|
||||
Write-Host '******************** Path Content *******************'
|
||||
$env:Path -split ';'
|
||||
Write-Host '*****************************************************'
|
||||
|
||||
@@ -6,13 +6,36 @@
|
||||
# This script will install Vulkan SDK
|
||||
# Original Download page: https://vulkan.lunarg.com/sdk/home#windows
|
||||
|
||||
$version = "1.2.182.0"
|
||||
$cpu_arch = Get-CpuArchitecture
|
||||
Write-Host "Installing $cpu_arch Vulkan SDK"
|
||||
$version = "1.2.182.0" # TODO: Update to newest 1.3.296.0
|
||||
switch ($cpu_arch) {
|
||||
arm64 {
|
||||
$version = "1.3.296.0"
|
||||
$externalUrl = "https://sdk.lunarg.com/sdk/download/$version/warm/InstallVulkanARM64-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\InstallVulkanARM64-$version.exe"
|
||||
$sha1 = "7d47d8dd10c09d363e6103925c4a032abf7b2c02"
|
||||
$installArgs = "--accept-licenses --default-answer --confirm-command install"
|
||||
Break
|
||||
}
|
||||
x64 {
|
||||
$externalUrl = "https://sdk.lunarg.com/sdk/download/$version/windows/VulkanSDK-$version-Installer.exe"
|
||||
$internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VulkanSDK-$version-Installer.exe"
|
||||
$sha1 = "1b662f338bfbfdd00fb9b0c09113eacb94f68a0e"
|
||||
$installArgs = "/S"
|
||||
Break
|
||||
}
|
||||
default {
|
||||
throw "Unknown architecture $cpu_arch"
|
||||
}
|
||||
}
|
||||
|
||||
$vulkanPackage = "C:\Windows\Temp\vulkan-installer-$version.exe"
|
||||
$sha1 = "1b662f338bfbfdd00fb9b0c09113eacb94f68a0e"
|
||||
Download "https://sdk.lunarg.com/sdk/download/1.2.182.0/windows/VulkanSDK-$version-Installer.exe" "\\ci-files01-hki.ci.qt.io\provisioning\windows\VulkanSDK-$version-Installer.exe" $vulkanPackage
|
||||
|
||||
Download "$externalUrl" "$internalUrl" "$vulkanPackage"
|
||||
Verify-Checksum "$vulkanPackage" "$sha1"
|
||||
|
||||
Run-Executable $vulkanPackage "/S"
|
||||
Run-Executable "$vulkanPackage" "$installArgs"
|
||||
|
||||
Write-Host "Cleaning $vulkanPackage.."
|
||||
Remove "$vulkanPackage"
|
||||
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -113,7 +113,7 @@ installPackages+=(libcurl4-openssl-dev)
|
||||
installPackages+=(libicu-dev)
|
||||
installPackages+=(zlib1g-dev)
|
||||
installPackages+=(zlib1g)
|
||||
installPackages+=(openjdk-11-jdk)
|
||||
installPackages+=(openjdk-17-jdk)
|
||||
installPackages+=(libgtk-3-dev)
|
||||
installPackages+=(ninja-build)
|
||||
installPackages+=(libssl-dev)
|
||||
|
||||
@@ -9,6 +9,8 @@ BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -12,6 +12,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -154,6 +156,8 @@ installPackages+=(zip)
|
||||
installPackages+=(perl-IPC-Cmd)
|
||||
# password management support for Qt Creator
|
||||
installPackages+=(libsecret-devel)
|
||||
# For tst_license.pl with all the machines generating SBOM
|
||||
installPackages+=(perl-JSON)
|
||||
|
||||
sudo yum -y install "${installPackages[@]}"
|
||||
|
||||
@@ -175,6 +179,9 @@ sudo python3.11 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requi
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
sudo /usr/bin/pip3 install dataclasses
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@ BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -11,6 +11,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -140,5 +142,8 @@ sudo pip3 install virtualenv wheel
|
||||
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -8,6 +8,8 @@ BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -11,6 +11,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -152,5 +154,8 @@ sudo python3.8 -m pip install virtualenv wheel
|
||||
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -9,6 +9,8 @@ BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -12,6 +12,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -162,5 +164,8 @@ sudo python3.8 -m pip install virtualenv wheel
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
sudo /usr/bin/pip3 install dataclasses
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -9,6 +9,8 @@ BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -12,6 +12,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -177,6 +179,9 @@ sudo /usr/bin/pip3 install wheel
|
||||
sudo /usr/bin/pip3 install dataclasses
|
||||
# No sbom_requirements.txt, because it requires Python 3.9 for poetry_core -> spdx_tools and we have 3.8
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
||||
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||
# Disable windows key from showing the GNOME Shell Activities overlay
|
||||
gsettings set org.gnome.mutter overlay-key ""
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
|
||||
# Set Wayland enable as false.
|
||||
echo "Setting Wayland enable as false"
|
||||
|
||||
@@ -11,6 +11,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -166,5 +168,8 @@ sudo /usr/bin/pip3 install wheel
|
||||
# Make FindPython3.cmake to find python3
|
||||
sudo ln -s /usr/bin/python3 /usr/local/bin/python3
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -25,6 +25,8 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
||||
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||
# Disable windows key from showing the GNOME Shell Activities overlay
|
||||
gsettings set org.gnome.mutter overlay-key ""
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
|
||||
# Set Wayland enable as false.
|
||||
echo "Setting Wayland enable as false"
|
||||
|
||||
@@ -11,6 +11,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -196,6 +198,9 @@ SetEnvVar "SBOM_PYTHON_APPS_PATH" "/usr/local/bin"
|
||||
# Make FindPython3.cmake to find python3
|
||||
sudo ln -s /usr/bin/python3 /usr/local/bin/python3
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
||||
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||
# Disable windows key from showing the GNOME Shell Activities overlay
|
||||
gsettings set org.gnome.mutter overlay-key ""
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
|
||||
# Set Wayland enable as false.
|
||||
echo "Setting Wayland enable as false"
|
||||
|
||||
@@ -11,6 +11,8 @@ sudo yum -y remove PackageKit gnome-software
|
||||
sudo yum -y update
|
||||
|
||||
installPackages=()
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
@@ -167,6 +169,8 @@ installPackages+=(perl-IPC-Cmd)
|
||||
installPackages+=(libsecret-devel)
|
||||
# For Firebird in RTA
|
||||
installPackages+=(libtommath-devel)
|
||||
# For tst_license.pl with all the machines generating SBOM
|
||||
installPackages+=(perl-JSON)
|
||||
|
||||
sudo yum -y install "${installPackages[@]}"
|
||||
|
||||
@@ -198,6 +202,9 @@ SetEnvVar "SBOM_PYTHON_APPS_PATH" "/usr/local/bin"
|
||||
# Make FindPython3.cmake to find python3
|
||||
sudo ln -s /usr/bin/python3 /usr/local/bin/python3
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
|
||||
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
@@ -99,5 +99,5 @@ sudo zypper -nq install nodejs16
|
||||
# OpenSSL 3
|
||||
sudo zypper -nq install openssl-3
|
||||
|
||||
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
@@ -17,6 +17,8 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
|
||||
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
@@ -107,7 +107,10 @@ sudo zypper -nq install openssl-3
|
||||
# cifs-utils, for mounting smb drive
|
||||
sudo zypper -nq install cifs-utils
|
||||
|
||||
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||
# For tst_license.pl with all the machines generating SBOM
|
||||
sudo zypper -nq install perl-JSON
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
|
||||
# Disable updates
|
||||
echo "Disabling auto-upgrades"
|
||||
sudo sed -i 's/"1"/"0"/g' /etc/apt/apt.conf.d/20auto-upgrades
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -42,8 +42,16 @@ installPackages+=(git)
|
||||
installPackages+=(p7zip-full)
|
||||
|
||||
# Packages needed for RTA and Squish
|
||||
installPackages+=(default-jdk)
|
||||
installPackages+=(openjdk-17-jdk)
|
||||
installPackages+=(gcc)
|
||||
installPackages+=(curl)
|
||||
installPackages+=(libicu-dev)
|
||||
installPackages+=(python3-dev)
|
||||
installPackages+=(python3-pip)
|
||||
installPackages+=(python3-venv)
|
||||
installPackages+=(virtualenv)
|
||||
# For mounting ci-files01 for Squish
|
||||
installPackages+=(nfs-common)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
@@ -55,6 +63,9 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 ins
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -238,6 +238,9 @@ installPackages+=(jq)
|
||||
|
||||
installPackages+=(patchelf)
|
||||
|
||||
# For tst_license.pl with all the machines generating SBOM
|
||||
installPackages+=(libjson-perl)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
sudo apt-get update
|
||||
@@ -258,5 +261,8 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -1,6 +1,39 @@
|
||||
#!/bin/bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
# shellcheck source=../common/linux/axivion-bauhaus-suite.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/axivion-bauhaus-suite.sh"
|
||||
# This script installs Axivion Bauhaus Suite tool.
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
|
||||
DownloadAndExtract () {
|
||||
url=$1
|
||||
sha=$2
|
||||
file=$3
|
||||
|
||||
DownloadURL "$url" "$url" "$sha" "$file"
|
||||
tar -xzvf "$file"
|
||||
|
||||
rm -rf "$file"
|
||||
}
|
||||
|
||||
|
||||
# Axivion Bauhaus Suite
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-7_9_1-x86_64-gnu_linux.tar.gz"
|
||||
targetFile="bauhaus-suite-7_9_1-x86_64-gnu_linux.tar.gz"
|
||||
sha1="43d18d55087ce02009b850553405af55ba4e37e2"
|
||||
cd "$HOME"
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$HOME"
|
||||
|
||||
mkdir "$HOME/.bauhaus"
|
||||
cd "$HOME/.bauhaus"
|
||||
wget http://ci-files01-hki.ci.qt.io/input/axivion/QT_11427439_2025-10-07.key
|
||||
cd "$HOME"
|
||||
|
||||
#Axivion configuration
|
||||
cp -r "${BASH_SOURCE%/*}/../common/linux/axivion/" "$HOME/"
|
||||
|
||||
echo "Axivion Bauhaus Suite = 7.9.1" >> ~/versions.txt
|
||||
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -146,9 +146,7 @@ installPackages+=(libcurl4-openssl-dev)
|
||||
installPackages+=(libicu-dev)
|
||||
installPackages+=(zlib1g-dev)
|
||||
installPackages+=(zlib1g)
|
||||
installPackages+=(openjdk-8-jdk)
|
||||
#Java 11 for Android
|
||||
installPackages+=(openjdk-11-jdk)
|
||||
installPackages+=(openjdk-17-jdk)
|
||||
installPackages+=(libgtk-3-dev)
|
||||
installPackages+=(ninja-build)
|
||||
installPackages+=(libssl-dev)
|
||||
@@ -260,5 +258,8 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -17,6 +17,8 @@ echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
|
||||
@@ -263,5 +263,8 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
@@ -18,6 +18,8 @@ sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlock
|
||||
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -66,7 +66,10 @@ sudo zypper -nq install make
|
||||
# Tools to build Git
|
||||
sudo zypper -nq install autoconf libcurl-devel libexpat-devel
|
||||
|
||||
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||
# Java
|
||||
sudo zypper -nq install java-17-openjdk
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
|
||||
@@ -18,6 +18,8 @@ sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlock
|
||||
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -72,7 +72,10 @@ sudo zypper -nq install openssl-3
|
||||
# Valgrind (Needed for testlib selftests)
|
||||
sudo zypper -nq install valgrind-devel
|
||||
|
||||
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||
# Java
|
||||
sudo zypper -nq install java-17-openjdk
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||
|
||||
@@ -17,6 +17,8 @@ sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlock
|
||||
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
echo "Disable window animations."
|
||||
gsettings set org.gnome.desktop.interface enable-animations false
|
||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
echo "Set DISPLAY"
|
||||
|
||||
@@ -48,9 +48,8 @@ sudo zypper -nq install libxml2-devel libxslt-devel
|
||||
# yasm (for ffmpeg in multimedia)
|
||||
sudo zypper -nq install yasm
|
||||
|
||||
# GStreamer (qtwebkit and qtmultimedia), pulseaudio (qtmultimedia)
|
||||
sudo zypper -nq install gstreamer-devel gstreamer-plugins-base-devel libpulse-devel pipewire-devel \
|
||||
gstreamer-1.20-plugin-openh264 gstreamer-plugins-bad-devel
|
||||
# pulseaudio (qtmultimedia)
|
||||
sudo zypper -nq install libpulse-devel pipewire-devel
|
||||
|
||||
# cups
|
||||
sudo zypper -nq install cups-devel
|
||||
@@ -79,7 +78,13 @@ sudo zypper -nq install valgrind-devel
|
||||
# cifs-utils, for mounting smb drive
|
||||
sudo zypper -nq install cifs-utils
|
||||
|
||||
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||
# Java
|
||||
sudo zypper -nq install java-17-openjdk
|
||||
|
||||
# For tst_license.pl with all the machines generating SBOM
|
||||
sudo zypper -nq install perl-JSON
|
||||
|
||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
||||
echo "GCC = $gccVersion" >> versions.txt
|
||||
|
||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||
|
||||
@@ -22,5 +22,5 @@ appPrefix=""
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||
|
||||
SetEnvVar "POSTGRESQLBINPATH" "/Applications/Postgres.app/Contents/Versions/9.6/bin"
|
||||
SetEnvVar "PostgreSQL_ROOT" "/Applications/Postgres.app/Contents/Versions/9.6"
|
||||
echo "PostgreSQL = $psqlVersion" >> ~/versions.txt
|
||||
|
||||
@@ -20,11 +20,11 @@ toolsVersion="2.1"
|
||||
# toolsFile dertermines tools version
|
||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||
|
||||
ndkVersion="r26b"
|
||||
ndkVersion="r27c"
|
||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||
sdkBuildToolsVersion="34.0.0"
|
||||
sdkBuildToolsVersion="35.0.1"
|
||||
# this is compile sdk version
|
||||
sdkApiLevel="android-34"
|
||||
sdkApiLevel="android-35"
|
||||
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
ndkSourceFile="$basePath/$ndkFile"
|
||||
|
||||
@@ -20,11 +20,11 @@ toolsVersion="2.1"
|
||||
# toolsFile dertermines tools version
|
||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||
|
||||
ndkVersion="r26b"
|
||||
ndkVersion="r27c"
|
||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||
sdkBuildToolsVersion="34.0.0"
|
||||
sdkBuildToolsVersion="35.0.1"
|
||||
# this is compile sdk version
|
||||
sdkApiLevel="android-34"
|
||||
sdkApiLevel="android-35"
|
||||
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
ndkSourceFile="$basePath/$ndkFile"
|
||||
|
||||
@@ -20,11 +20,11 @@ toolsVersion="2.1"
|
||||
# toolsFile dertermines tools version
|
||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||
|
||||
ndkVersion="r26b"
|
||||
ndkVersion="r27c"
|
||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||
sdkBuildToolsVersion="34.0.0"
|
||||
sdkBuildToolsVersion="35.0.1"
|
||||
# this is compile sdk version
|
||||
sdkApiLevel="android-34"
|
||||
sdkApiLevel="android-35"
|
||||
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
ndkSourceFile="$basePath/$ndkFile"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user