mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-30 18:27:11 +08:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bab1fecd55 | ||
|
|
f62c07c716 | ||
|
|
336fc07c80 | ||
|
|
61fab6d730 | ||
|
|
7ea247f6cc | ||
|
|
cfc20bd9de | ||
|
|
fc625d5c8e | ||
|
|
9412ed738b | ||
|
|
adf7c5ab10 | ||
|
|
80fda87743 | ||
|
|
f7c6506ec1 | ||
|
|
8c4c44877c | ||
|
|
78e19dbd34 |
86
.gitmodules
vendored
86
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
depends = qtbase qtshadertools
|
depends = qtbase qtshadertools
|
||||||
recommends = qtdeclarative qtquick3d
|
recommends = qtdeclarative qtquick3d
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt
|
recommends = qtdeclarative qtactiveqt
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
recommends = qtmultimedia qtshadertools qtwebengine
|
recommends = qtmultimedia qtshadertools qtwebengine
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtqa
|
path = qtqa
|
||||||
url = ../qtqa.git
|
url = ../qtqa.git
|
||||||
branch = dev
|
branch = 6.8.3
|
||||||
status = essential
|
status = essential
|
||||||
priority = 50
|
priority = 50
|
||||||
[submodule "qtlocation"]
|
[submodule "qtlocation"]
|
||||||
@@ -76,21 +76,21 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtpositioning"]
|
[submodule "qtpositioning"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtserialport
|
recommends = qtdeclarative qtserialport
|
||||||
path = qtpositioning
|
path = qtpositioning
|
||||||
url = ../qtpositioning.git
|
url = ../qtpositioning.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -117,61 +117,61 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtserialport
|
recommends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebsockets"]
|
[submodule "qtwebsockets"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtwebsockets
|
recommends = qtdeclarative qtwebsockets
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtwebchannel qttools qtpositioning
|
recommends = qtwebchannel qttools qtpositioning
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
priority = 10
|
priority = 10
|
||||||
[submodule "qtcanvas3d"]
|
[submodule "qtcanvas3d"]
|
||||||
@@ -185,28 +185,28 @@
|
|||||||
recommends = qtwebengine
|
recommends = qtwebengine
|
||||||
path = qtwebview
|
path = qtwebview
|
||||||
url = ../qtwebview.git
|
url = ../qtwebview.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtcharts"]
|
[submodule "qtcharts"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtcharts
|
path = qtcharts
|
||||||
url = ../qtcharts.git
|
url = ../qtcharts.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdatavis3d"]
|
[submodule "qtdatavis3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtdatavis3d
|
path = qtdatavis3d
|
||||||
url = ../qtdatavis3d.git
|
url = ../qtdatavis3d.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtvirtualkeyboard"]
|
[submodule "qtvirtualkeyboard"]
|
||||||
depends = qtbase qtdeclarative qtsvg
|
depends = qtbase qtdeclarative qtsvg
|
||||||
recommends = qtmultimedia
|
recommends = qtmultimedia
|
||||||
path = qtvirtualkeyboard
|
path = qtvirtualkeyboard
|
||||||
url = ../qtvirtualkeyboard.git
|
url = ../qtvirtualkeyboard.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgamepad"]
|
[submodule "qtgamepad"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -219,27 +219,27 @@
|
|||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtscxml
|
path = qtscxml
|
||||||
url = ../qtscxml.git
|
url = ../qtscxml.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtspeech"]
|
[submodule "qtspeech"]
|
||||||
depends = qtbase qtmultimedia
|
depends = qtbase qtmultimedia
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtspeech
|
path = qtspeech
|
||||||
url = ../qtspeech.git
|
url = ../qtspeech.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth.git
|
url = ../qtnetworkauth.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtremoteobjects"]
|
[submodule "qtremoteobjects"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtremoteobjects
|
path = qtremoteobjects
|
||||||
url = ../qtremoteobjects.git
|
url = ../qtremoteobjects.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebglplugin"]
|
[submodule "qtwebglplugin"]
|
||||||
depends = qtbase qtwebsockets
|
depends = qtbase qtwebsockets
|
||||||
@@ -252,87 +252,87 @@
|
|||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtlottie
|
path = qtlottie
|
||||||
url = ../qtlottie.git
|
url = ../qtlottie.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquicktimeline"]
|
[submodule "qtquicktimeline"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtquicktimeline
|
path = qtquicktimeline
|
||||||
url = ../qtquicktimeline
|
url = ../qtquicktimeline
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick3d"]
|
[submodule "qtquick3d"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
recommends = qtquicktimeline
|
recommends = qtquicktimeline
|
||||||
path = qtquick3d
|
path = qtquick3d
|
||||||
url = ../qtquick3d.git
|
url = ../qtquick3d.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtshadertools"]
|
[submodule "qtshadertools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtshadertools
|
path = qtshadertools
|
||||||
url = ../qtshadertools.git
|
url = ../qtshadertools.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt5compat"]
|
[submodule "qt5compat"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qt5compat
|
path = qt5compat
|
||||||
url = ../qt5compat.git
|
url = ../qt5compat.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtcoap"]
|
[submodule "qtcoap"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtcoap
|
path = qtcoap
|
||||||
url = ../qtcoap.git
|
url = ../qtcoap.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmqtt"]
|
[submodule "qtmqtt"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtmqtt
|
path = qtmqtt
|
||||||
url = ../qtmqtt.git
|
url = ../qtmqtt.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtopcua"]
|
[submodule "qtopcua"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtopcua
|
path = qtopcua
|
||||||
url = ../qtopcua.git
|
url = ../qtopcua.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtlanguageserver"]
|
[submodule "qtlanguageserver"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtlanguageserver
|
path = qtlanguageserver
|
||||||
url = ../qtlanguageserver.git
|
url = ../qtlanguageserver.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qthttpserver"]
|
[submodule "qthttpserver"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebsockets
|
recommends = qtwebsockets
|
||||||
path = qthttpserver
|
path = qthttpserver
|
||||||
url = ../qthttpserver.git
|
url = ../qthttpserver.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick3dphysics"]
|
[submodule "qtquick3dphysics"]
|
||||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||||
path = qtquick3dphysics
|
path = qtquick3dphysics
|
||||||
url = ../qtquick3dphysics.git
|
url = ../qtquick3dphysics.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgrpc"]
|
[submodule "qtgrpc"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtgrpc
|
path = qtgrpc
|
||||||
url = ../qtgrpc.git
|
url = ../qtgrpc.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickeffectmaker"]
|
[submodule "qtquickeffectmaker"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
recommends = qtquick3d
|
recommends = qtquick3d
|
||||||
path = qtquickeffectmaker
|
path = qtquickeffectmaker
|
||||||
url = ../qtquickeffectmaker.git
|
url = ../qtquickeffectmaker.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgraphs"]
|
[submodule "qtgraphs"]
|
||||||
depends = qtbase qtdeclarative qtquick3d
|
depends = qtbase qtdeclarative qtquick3d
|
||||||
path = qtgraphs
|
path = qtgraphs
|
||||||
url = ../qtgraphs.git
|
url = ../qtgraphs.git
|
||||||
branch = 6.8
|
branch = 6.8.3
|
||||||
status = addon
|
status = addon
|
||||||
|
|||||||
136
cmake/3rdparty/cmake/Copyright.txt
vendored
Normal file
136
cmake/3rdparty/cmake/Copyright.txt
vendored
Normal file
@@ -0,0 +1,136 @@
|
|||||||
|
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
Normal file
349
cmake/3rdparty/cmake/QtIRRunCMake.cmake
vendored
Normal file
@@ -0,0 +1,349 @@
|
|||||||
|
# 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
Normal file
39
cmake/3rdparty/cmake/QtIRTestHelpers.cmake
vendored
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# 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
Normal file
16
cmake/3rdparty/cmake/qt_attribution.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
@@ -8,6 +8,7 @@ macro(qt_ir_include_all_helpers)
|
|||||||
include(QtIROptionsHelpers)
|
include(QtIROptionsHelpers)
|
||||||
include(QtIRParsingHelpers)
|
include(QtIRParsingHelpers)
|
||||||
include(QtIRProcessHelpers)
|
include(QtIRProcessHelpers)
|
||||||
|
include(QtIRTestHelpers)
|
||||||
include(QtTopLevelHelpers)
|
include(QtTopLevelHelpers)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ cmake_minimum_required(VERSION 3.16)
|
|||||||
macro(qt_ir_setup_include_paths)
|
macro(qt_ir_setup_include_paths)
|
||||||
list(APPEND CMAKE_MODULE_PATH
|
list(APPEND CMAKE_MODULE_PATH
|
||||||
"${CMAKE_CURRENT_LIST_DIR}"
|
"${CMAKE_CURRENT_LIST_DIR}"
|
||||||
|
"${CMAKE_CURRENT_LIST_DIR}/3rdparty/cmake"
|
||||||
)
|
)
|
||||||
include(QtIRHelpers)
|
include(QtIRHelpers)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ cmake_minimum_required(VERSION 3.16)
|
|||||||
macro(qt_tl_setup_include_paths)
|
macro(qt_tl_setup_include_paths)
|
||||||
list(APPEND CMAKE_MODULE_PATH
|
list(APPEND CMAKE_MODULE_PATH
|
||||||
"${CMAKE_CURRENT_LIST_DIR}"
|
"${CMAKE_CURRENT_LIST_DIR}"
|
||||||
|
"${CMAKE_CURRENT_LIST_DIR}/3rdparty/cmake"
|
||||||
)
|
)
|
||||||
include(QtTopLevelHelpers)
|
include(QtTopLevelHelpers)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ Configurations:
|
|||||||
Id: 'ubuntu-24.04-x64-x11-tests'
|
Id: 'ubuntu-24.04-x64-x11-tests'
|
||||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'TestOnly']
|
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||||
Platform dependency: 'ubuntu-24.04-x64'
|
Platform dependency: 'ubuntu-24.04-x64'
|
||||||
-
|
-
|
||||||
Id: 'opensuse-15.5-developer-build'
|
Id: 'opensuse-15.5-developer-build'
|
||||||
@@ -120,7 +120,7 @@ Configurations:
|
|||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'sles-15_sp5-static'
|
Id: 'sles-15_sp5-static'
|
||||||
Template: 'qtci-linux-SLES-15_SP5-x86_64-51'
|
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||||
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ Configurations:
|
|||||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'MinimalStaticTests']
|
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'MinimalStaticTests']
|
||||||
Configure arguments: '-static -nomake examples -release -no-framework -no-icu -qt-doubleconversion -no-feature-sql-psql'
|
Configure arguments: '-static -nomake examples -release -no-framework -no-icu -qt-doubleconversion -no-feature-sql-psql'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -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',
|
'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'
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Version: 2
|
|||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Id: 'sles-15_sp5-minimal-static'
|
Id: 'sles-15_sp5-minimal-static'
|
||||||
Template: 'qtci-linux-SLES-15_SP5-x86_64-51'
|
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||||
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Configurations:
|
|||||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_open62541_security=OFF',
|
'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'
|
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ plugins {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.example.gradle_project'
|
namespace 'com.example.gradle_project'
|
||||||
compileSdk 35
|
compileSdk 34
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.example.gradle_project"
|
applicationId "com.example.gradle_project"
|
||||||
minSdk 28
|
minSdk 28
|
||||||
targetSdk 35
|
targetSdk 34
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,13 +24,13 @@ basePath="http://ci-files01-hki.ci.qt.io/input/android"
|
|||||||
|
|
||||||
toolsVersion="2.1"
|
toolsVersion="2.1"
|
||||||
toolsFile="commandlinetools-linux-6609375_latest.zip"
|
toolsFile="commandlinetools-linux-6609375_latest.zip"
|
||||||
ndkVersionLatest="r27c"
|
ndkVersionLatest="r26b"
|
||||||
ndkVersionDefault=$ndkVersionLatest
|
ndkVersionDefault=$ndkVersionLatest
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
sdkApiLevel="android-35"
|
sdkApiLevel="android-35"
|
||||||
|
|
||||||
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
|
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
|
||||||
ndkSha1Latest="090e8083a715fdb1a3e402d0763c388abb03fb4e"
|
ndkSha1Latest="fdf33d9f6c1b3f16e5459d53a82c7d2201edbcc4"
|
||||||
ndkSha1Default=$ndkSha1Latest
|
ndkSha1Default=$ndkSha1Latest
|
||||||
|
|
||||||
# Android Automotive max SDK level image
|
# Android Automotive max SDK level image
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersionLatest="r27c"
|
ndkVersionLatest="r26b"
|
||||||
ndkVersionDefault="$ndkVersionLatest"
|
ndkVersionDefault="$ndkVersionLatest"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -37,5 +37,5 @@ umount "$mountpoint"
|
|||||||
echo "Removing $packageName"
|
echo "Removing $packageName"
|
||||||
rm "/tmp/$packageName"
|
rm "/tmp/$packageName"
|
||||||
|
|
||||||
SetEnvVar "PostgreSQL_ROOT" "/Applications/Postgres.app/Contents/Versions/$psqlVersion"
|
SetEnvVar "POSTGRESQLBINPATH" "/Applications/Postgres.app/Contents/Versions/$psqlVersion/bin"
|
||||||
echo "PostgreSQL = $psqlVersion ($psqlAppVersion)" >> ~/versions.txt
|
echo "PostgreSQL = $psqlVersion ($psqlAppVersion)" >> ~/versions.txt
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ ffmpeg_name="FFmpeg-$version"
|
|||||||
target_dir="$HOME"
|
target_dir="$HOME"
|
||||||
ffmpeg_source_dir="$target_dir/$ffmpeg_name"
|
ffmpeg_source_dir="$target_dir/$ffmpeg_name"
|
||||||
prefix="/usr/local/ios/ffmpeg"
|
prefix="/usr/local/ios/ffmpeg"
|
||||||
|
dylib_regex="^@rpath/.*\.dylib$"
|
||||||
|
|
||||||
if [ ! -d "$ffmpeg_source_dir" ];
|
if [ ! -d "$ffmpeg_source_dir" ];
|
||||||
then
|
then
|
||||||
@@ -29,25 +30,20 @@ ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.t
|
|||||||
|
|
||||||
build_ffmpeg_ios() {
|
build_ffmpeg_ios() {
|
||||||
local target_platform=$1
|
local target_platform=$1
|
||||||
local target_cpu_arch=""
|
|
||||||
if [ "$target_platform" == "arm64-simulator" ]; then
|
if [ "$target_platform" == "arm64-simulator" ]; then
|
||||||
target_sdk="iphonesimulator"
|
target_sdk="iphonesimulator"
|
||||||
target_cpu_arch="arm64"
|
target_platform="arm64"
|
||||||
minos="-mios-simulator-version-min=16.0"
|
minos="-mios-simulator-version-min=16.0"
|
||||||
elif [ "$target_platform" == "x86_64-simulator" ]; then
|
|
||||||
target_sdk="iphonesimulator"
|
|
||||||
target_cpu_arch="x86_64"
|
|
||||||
minos="-mios-simulator-version-min=16.0"
|
|
||||||
elif [ "$target_platform" == "arm64-iphoneos" ]; then
|
|
||||||
target_sdk="iphoneos"
|
|
||||||
target_cpu_arch="arm64"
|
|
||||||
minos="-miphoneos-version-min=16.0"
|
|
||||||
else
|
else
|
||||||
echo "Error when building FFmpeg for iOS. Unknown parameter given for target_platform: '${target_platform}'"
|
target_sdk="iphoneos"
|
||||||
exit 1
|
target_platform="arm64"
|
||||||
|
minos="-miphoneos-version-min=16.0"
|
||||||
|
# TODO: consider non-arm simulator?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local build_dir="$ffmpeg_source_dir/build_ios/$target_platform"
|
# Note: unlike similar install-ffmpeg scripts, not $target_platform,
|
||||||
|
# but $1 (which can be arm64-simulator with arm64 target_platform).
|
||||||
|
local build_dir="$ffmpeg_source_dir/build_ios/$1"
|
||||||
sudo mkdir -p "$build_dir"
|
sudo mkdir -p "$build_dir"
|
||||||
pushd "$build_dir"
|
pushd "$build_dir"
|
||||||
|
|
||||||
@@ -57,15 +53,21 @@ build_ffmpeg_ios() {
|
|||||||
--enable-cross-compile \
|
--enable-cross-compile \
|
||||||
--enable-optimizations \
|
--enable-optimizations \
|
||||||
--prefix=$prefix \
|
--prefix=$prefix \
|
||||||
--arch=$target_cpu_arch \
|
--arch=$target_platform \
|
||||||
--cc="xcrun --sdk ${target_sdk} clang -arch $target_cpu_arch" \
|
--cc="xcrun --sdk ${target_sdk} clang -arch $target_platform" \
|
||||||
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_cpu_arch" \
|
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_platform" \
|
||||||
|
--ar="$(xcrun --sdk ${target_sdk} --find ar)" \
|
||||||
|
--ranlib="$(xcrun --sdk ${target_sdk} --find ranlib)" \
|
||||||
|
--strip="$(xcrun --sdk ${target_sdk} --find strip)" \
|
||||||
|
--nm="$(xcrun --sdk ${target_sdk} --find nm)" \
|
||||||
--target-os=darwin \
|
--target-os=darwin \
|
||||||
--extra-ldflags="$minos" \
|
--extra-ldflags="$minos" \
|
||||||
--enable-cross-compile \
|
--enable-cross-compile \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--install-name-dir='@rpath' \
|
--install-name-dir='@rpath' \
|
||||||
|
--enable-swscale \
|
||||||
|
--enable-pthreads \
|
||||||
--disable-audiotoolbox
|
--disable-audiotoolbox
|
||||||
|
|
||||||
sudo make install DESTDIR="$build_dir/installed" -j4
|
sudo make install DESTDIR="$build_dir/installed" -j4
|
||||||
@@ -109,8 +111,6 @@ build_info_plist() {
|
|||||||
local minimum_os_version="16.0"
|
local minimum_os_version="16.0"
|
||||||
local supported_platforms="iPhoneOS"
|
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\"?>
|
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\">
|
<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
|
||||||
<plist version=\"1.0\">
|
<plist version=\"1.0\">
|
||||||
@@ -177,31 +177,29 @@ create_xcframework() {
|
|||||||
# Create 'traditional' framework from the corresponding dylib,
|
# Create 'traditional' framework from the corresponding dylib,
|
||||||
# also creating
|
# also creating
|
||||||
local framework_name="$1"
|
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 fw1="$ffmpeg_source_dir/build_ios/arm64/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"
|
local fw2="$ffmpeg_source_dir/build_ios/arm64-simulator/installed/usr/local/ios/ffmpeg/framework/${framework_name}.framework"
|
||||||
|
|
||||||
sudo mkdir -p "$prefix/framework/"
|
sudo mkdir -p "$prefix/framework/"
|
||||||
sudo xcodebuild -create-xcframework -framework $fw_a -framework $fw_b -output "${prefix}/framework/${framework_name}.xcframework"
|
sudo xcodebuild -create-xcframework -framework $fw1 -framework $fw2 -output "${prefix}/framework/${framework_name}.xcframework"
|
||||||
}
|
}
|
||||||
|
|
||||||
build_ffmpeg_ios "x86_64-simulator"
|
build_ffmpeg_ios "arm64-simulator"
|
||||||
build_ffmpeg_ios "arm64-iphoneos"
|
build_ffmpeg_ios "arm64"
|
||||||
|
|
||||||
ffmpeg_libs="libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale"
|
ffmpeg_libs="libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale"
|
||||||
|
|
||||||
for name in $ffmpeg_libs; do
|
for name in $ffmpeg_libs; do
|
||||||
create_framework $name "arm64-iphoneos"
|
create_framework $name "arm64"
|
||||||
create_framework $name "x86_64-simulator"
|
create_framework $name "arm64-simulator"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Create corresponding (xc)frameworks containing both arm64 and arm64-simulator frameworks:
|
# Create corresponding (xc)frameworks containing both arm64 and arm64-simulator frameworks:
|
||||||
for name in $ffmpeg_libs; do
|
for name in $ffmpeg_libs; do
|
||||||
create_xcframework $name "arm64-iphoneos" "x86_64-simulator"
|
create_xcframework $name
|
||||||
done
|
done
|
||||||
|
|
||||||
install_ffmpeg "$ffmpeg_source_dir/build_ios/arm64-iphoneos/installed"
|
install_ffmpeg "$ffmpeg_source_dir/build_ios/arm64/installed"
|
||||||
|
|
||||||
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="3.0.7"
|
version="3.0.7"
|
||||||
ndkVersionLatest="r27c"
|
ndkVersionLatest="r26b"
|
||||||
ndkVersionDefault=$ndkVersionLatest
|
ndkVersionDefault=$ndkVersionLatest
|
||||||
prebuiltOpensslNdkShaLatest="733cff853b6ee7738e78b90f46b5f028c8490e1e"
|
prebuiltOpensslNdkShaLatest="ea925d5a5b696916fb3650403a2eb3189c52b5ce"
|
||||||
prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
|
prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
|
||||||
|
|
||||||
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r27c
|
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
|
||||||
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
|
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
|
||||||
exports_file="/tmp/export.sh"
|
exports_file="/tmp/export.sh"
|
||||||
# source previously made environmental variables.
|
# source previously made environmental variables.
|
||||||
@@ -32,7 +32,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ANDROID_NDK_ROOT is required during Configure
|
# ANDROID_NDK_ROOT is required during Configure
|
||||||
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r27c
|
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r26b
|
||||||
|
|
||||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||||
cachedUrl="http://ci-files01-hki.ci.qt.io/input/openssl/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"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="3.0.7"
|
version="3.0.7"
|
||||||
ndkVersionLatest="r27c"
|
ndkVersionLatest="r26b"
|
||||||
ndkVersionDefault=$ndkVersionLatest
|
ndkVersionDefault=$ndkVersionLatest
|
||||||
prebuiltOpensslNdkShaLatest="733cff853b6ee7738e78b90f46b5f028c8490e1e"
|
prebuiltOpensslNdkShaLatest="ea925d5a5b696916fb3650403a2eb3189c52b5ce"
|
||||||
prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
|
prebuiltOpensslNdkShaDefault=$prebuiltOpensslNdkShaLatest
|
||||||
|
|
||||||
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r27c
|
: <<'EOB' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK r26b
|
||||||
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
|
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
|
||||||
exports_file="/tmp/export.sh"
|
exports_file="/tmp/export.sh"
|
||||||
# source previously made environmental variables.
|
# 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
|
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||||
|
|
||||||
$openssl_version = "3.0.7"
|
$openssl_version = "3.0.7"
|
||||||
$ndk_version_latest = "r27c"
|
$ndk_version_latest = "r26b"
|
||||||
$ndk_version_default = "$ndk_version_latest"
|
$ndk_version_default = "$ndk_version_latest"
|
||||||
$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}.tar.gz")
|
$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}.tar.gz")
|
||||||
$openssl_sha1 = "f20736d6aae36bcbfa9aba0d358c71601833bf27"
|
$openssl_sha1 = "f20736d6aae36bcbfa9aba0d358c71601833bf27"
|
||||||
$prebuilt_sha1_ndk_latest = "733cff853b6ee7738e78b90f46b5f028c8490e1e"
|
$prebuilt_sha1_ndk_latest = "ea925d5a5b696916fb3650403a2eb3189c52b5ce"
|
||||||
$prebuilt_sha1_ndk_default = "$prebuilt_sha1_ndk_latest"
|
$prebuilt_sha1_ndk_default = "$prebuilt_sha1_ndk_latest"
|
||||||
$destination_prefix = "C:\Utils\prebuilt-openssl-${openssl_version}-for-android-ndk"
|
$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
|
# ANDROID_NDK_ROOT needs to be in environment variables before running this script
|
||||||
# Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r27c"
|
# Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r26b"
|
||||||
|
|
||||||
$make_install = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"yes | pacman -S make`"")
|
$make_install = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"yes | pacman -S make`"")
|
||||||
CheckExitCode $make_install
|
CheckExitCode $make_install
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
||||||
|
|
||||||
# NDK
|
# NDK
|
||||||
$ndkVersionLatest = "r27c"
|
$ndkVersionLatest = "r26b"
|
||||||
$ndkVersionDefault = $ndkVersionLatest
|
$ndkVersionDefault = $ndkVersionLatest
|
||||||
$ndkChecksumLatest = "ac5f7762764b1f15341094e148ad4f847d050c38"
|
$ndkChecksumLatest = "17453c61a59e848cffb8634f2c7b322417f1732e"
|
||||||
$ndkChecksumDefault = $ndkChecksumLatest
|
$ndkChecksumDefault = $ndkChecksumLatest
|
||||||
$ndkCachedUrlLatest = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-ndk-$ndkVersionLatest-windows.zip"
|
$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"
|
$ndkOfficialUrlLatest = "https://dl.google.com/android/repository/android-ndk-$ndkVersionLatest-windows.zip"
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ function InstallAndroidArmv7 {
|
|||||||
$target_cpu="armv7-a"
|
$target_cpu="armv7-a"
|
||||||
$api_version="24"
|
$api_version="24"
|
||||||
|
|
||||||
$ndkVersionLatest = "r27c"
|
$ndkVersionLatest = "r26b"
|
||||||
$ndkFolderLatest = "/c/Utils/Android/android-ndk-$ndkVersionLatest"
|
$ndkFolderLatest = "/c/Utils/Android/android-ndk-$ndkVersionLatest"
|
||||||
|
|
||||||
$toolchain="${ndkFolderLatest}/toolchains/llvm/prebuilt/windows-x86_64"
|
$toolchain="${ndkFolderLatest}/toolchains/llvm/prebuilt/windows-x86_64"
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ BASEDIR=$(dirname "$0")
|
|||||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||||
source "$BASEDIR/../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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -179,9 +177,6 @@ sudo python3.11 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requi
|
|||||||
sudo /usr/bin/pip3 install wheel
|
sudo /usr/bin/pip3 install wheel
|
||||||
sudo /usr/bin/pip3 install dataclasses
|
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)"
|
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ BASEDIR=$(dirname "$0")
|
|||||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||||
source "$BASEDIR/../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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -142,8 +140,5 @@ sudo pip3 install virtualenv wheel
|
|||||||
|
|
||||||
sudo /usr/bin/pip3 install 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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ BASEDIR=$(dirname "$0")
|
|||||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||||
source "$BASEDIR/../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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -154,8 +152,5 @@ sudo python3.8 -m pip install virtualenv wheel
|
|||||||
|
|
||||||
sudo /usr/bin/pip3 install 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)"
|
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ BASEDIR=$(dirname "$0")
|
|||||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||||
source "$BASEDIR/../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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -164,8 +162,5 @@ sudo python3.8 -m pip install virtualenv wheel
|
|||||||
sudo /usr/bin/pip3 install wheel
|
sudo /usr/bin/pip3 install wheel
|
||||||
sudo /usr/bin/pip3 install dataclasses
|
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)"
|
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ BASEDIR=$(dirname "$0")
|
|||||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||||
source "$BASEDIR/../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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -179,9 +177,6 @@ sudo /usr/bin/pip3 install wheel
|
|||||||
sudo /usr/bin/pip3 install dataclasses
|
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
|
# 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)"
|
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
|||||||
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||||
# Disable windows key from showing the GNOME Shell Activities overlay
|
# Disable windows key from showing the GNOME Shell Activities overlay
|
||||||
gsettings set org.gnome.mutter overlay-key ""
|
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.
|
# Set Wayland enable as false.
|
||||||
echo "Setting Wayland enable as false"
|
echo "Setting Wayland enable as false"
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -168,8 +166,5 @@ sudo /usr/bin/pip3 install wheel
|
|||||||
# Make FindPython3.cmake to find python3
|
# Make FindPython3.cmake to find python3
|
||||||
sudo ln -s /usr/bin/python3 /usr/local/bin/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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
|||||||
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||||
# Disable windows key from showing the GNOME Shell Activities overlay
|
# Disable windows key from showing the GNOME Shell Activities overlay
|
||||||
gsettings set org.gnome.mutter overlay-key ""
|
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.
|
# Set Wayland enable as false.
|
||||||
echo "Setting Wayland enable as false"
|
echo "Setting Wayland enable as false"
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -198,9 +196,6 @@ SetEnvVar "SBOM_PYTHON_APPS_PATH" "/usr/local/bin"
|
|||||||
# Make FindPython3.cmake to find python3
|
# Make FindPython3.cmake to find python3
|
||||||
sudo ln -s /usr/bin/python3 /usr/local/bin/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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
|||||||
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||||
# Disable windows key from showing the GNOME Shell Activities overlay
|
# Disable windows key from showing the GNOME Shell Activities overlay
|
||||||
gsettings set org.gnome.mutter overlay-key ""
|
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.
|
# Set Wayland enable as false.
|
||||||
echo "Setting Wayland enable as false"
|
echo "Setting Wayland enable as false"
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ sudo yum -y remove PackageKit gnome-software
|
|||||||
sudo yum -y update
|
sudo yum -y update
|
||||||
|
|
||||||
installPackages=()
|
installPackages=()
|
||||||
# Make sure needed ca-certificates are available
|
|
||||||
installPackages+=(ca-certificates)
|
|
||||||
installPackages+=(git)
|
installPackages+=(git)
|
||||||
installPackages+=(zlib-devel)
|
installPackages+=(zlib-devel)
|
||||||
installPackages+=(glib2-devel)
|
installPackages+=(glib2-devel)
|
||||||
@@ -202,9 +200,6 @@ SetEnvVar "SBOM_PYTHON_APPS_PATH" "/usr/local/bin"
|
|||||||
# Make FindPython3.cmake to find python3
|
# Make FindPython3.cmake to find python3
|
||||||
sudo ln -s /usr/bin/python3 /usr/local/bin/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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
|||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||||
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
|
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 sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
|
|||||||
@@ -99,5 +99,5 @@ sudo zypper -nq install nodejs16
|
|||||||
# OpenSSL 3
|
# OpenSSL 3
|
||||||
sudo zypper -nq install openssl-3
|
sudo zypper -nq install openssl-3
|
||||||
|
|
||||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||||
echo "GCC = $gccVersion" >> versions.txt
|
echo "GCC = $gccVersion" >> versions.txt
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ gsettings set org.gnome.desktop.session idle-delay 0
|
|||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||||
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
|
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 sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ sudo zypper -nq install cifs-utils
|
|||||||
# For tst_license.pl with all the machines generating SBOM
|
# For tst_license.pl with all the machines generating SBOM
|
||||||
sudo zypper -nq install perl-JSON
|
sudo zypper -nq install perl-JSON
|
||||||
|
|
||||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||||
echo "GCC = $gccVersion" >> versions.txt
|
echo "GCC = $gccVersion" >> versions.txt
|
||||||
|
|
||||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/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
|
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
#Copyright (C) 2023 The Qt Company Ltd
|
#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
|
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/macos/screenresolution.sh
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
|
|
||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -63,9 +63,6 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 ins
|
|||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||||
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
# 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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
2
coin/provisioning/qtci-macos-15-x86_64/90-squish.sh → coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/90-squish.sh
Executable file → Normal file
2
coin/provisioning/qtci-macos-15-x86_64/90-squish.sh → coin/provisioning/qtci-linux-Ubuntu-22.04-aarch64/90-squish.sh
Executable file → Normal file
@@ -1,8 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#Copyright (C) 2023 The Qt Company Ltd
|
#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
|
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
"$BASEDIR/../common/unix/squishInstall.sh"
|
"$BASEDIR/../common/unix/squishInstall.sh"
|
||||||
|
|
||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -261,8 +261,5 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|||||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
||||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|
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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -258,8 +258,5 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|||||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
||||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|
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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ echo "Timeout for blanking the screen (0 = never)"
|
|||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
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"
|
echo "Set grub timeout to 0"
|
||||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo update-grub
|
sudo update-grub
|
||||||
|
|||||||
@@ -263,8 +263,5 @@ source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|||||||
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
# hence the explicit assignment to SBOM_PYTHON_APPS_PATH.
|
||||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|
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)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
echo "System's OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ 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 sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ sudo zypper -nq install autoconf libcurl-devel libexpat-devel
|
|||||||
# Java
|
# Java
|
||||||
sudo zypper -nq install java-17-openjdk
|
sudo zypper -nq install java-17-openjdk
|
||||||
|
|
||||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||||
echo "GCC = $gccVersion" >> versions.txt
|
echo "GCC = $gccVersion" >> versions.txt
|
||||||
|
|
||||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ 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 sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ sudo zypper -nq install valgrind-devel
|
|||||||
# Java
|
# Java
|
||||||
sudo zypper -nq install java-17-openjdk
|
sudo zypper -nq install java-17-openjdk
|
||||||
|
|
||||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||||
echo "GCC = $gccVersion" >> versions.txt
|
echo "GCC = $gccVersion" >> versions.txt
|
||||||
|
|
||||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ 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 sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
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 "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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
echo "Set DISPLAY"
|
echo "Set DISPLAY"
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ sudo zypper -nq install java-17-openjdk
|
|||||||
# For tst_license.pl with all the machines generating SBOM
|
# For tst_license.pl with all the machines generating SBOM
|
||||||
sudo zypper -nq install perl-JSON
|
sudo zypper -nq install perl-JSON
|
||||||
|
|
||||||
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
|
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
|
||||||
echo "GCC = $gccVersion" >> versions.txt
|
echo "GCC = $gccVersion" >> versions.txt
|
||||||
|
|
||||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ appPrefix=""
|
|||||||
|
|
||||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||||
|
|
||||||
SetEnvVar "PostgreSQL_ROOT" "/Applications/Postgres.app/Contents/Versions/9.6"
|
SetEnvVar "POSTGRESQLBINPATH" "/Applications/Postgres.app/Contents/Versions/9.6/bin"
|
||||||
echo "PostgreSQL = $psqlVersion" >> ~/versions.txt
|
echo "PostgreSQL = $psqlVersion" >> ~/versions.txt
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersion="r27c"
|
ndkVersion="r26b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersion="r27c"
|
ndkVersion="r26b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersion="r27c"
|
ndkVersion="r26b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersion="r27c"
|
ndkVersion="r26b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersion="r27c"
|
ndkVersion="r26b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ toolsVersion="2.1"
|
|||||||
# toolsFile dertermines tools version
|
# toolsFile dertermines tools version
|
||||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||||
|
|
||||||
ndkVersion="r27c"
|
ndkVersion="r26b"
|
||||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||||
sdkBuildToolsVersion="35.0.1"
|
sdkBuildToolsVersion="35.0.1"
|
||||||
# this is compile sdk version
|
# this is compile sdk version
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/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
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR"/../common/macos/disable-app-reopen.sh
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/macos/disable_net_lso.sh
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/macos/disable-notifications_and_warnings.sh
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/macos/system_updates.sh"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/macos/increase_limits.sh
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/mount-vcpkg-cache-drive.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2024 The Qt Company Ltd.
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/set_tcc_permissions.sh"
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2020 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
|
|
||||||
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/sha1sum-compatibility.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/sha1sum-compatibility.sh"
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
#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
|
|
||||||
|
|
||||||
# Read .bashrc if exist
|
|
||||||
printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
|
|
||||||
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2021 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
|
|
||||||
|
|
||||||
# This script modified system settings for automated use
|
|
||||||
|
|
||||||
targetFile="$HOME/vncpw.txt"
|
|
||||||
|
|
||||||
# Fetch password
|
|
||||||
curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
|
|
||||||
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
|
|
||||||
|
|
||||||
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
|
|
||||||
NTS_IP=10.212.2.216
|
|
||||||
|
|
||||||
echo "Disable Screensaver"
|
|
||||||
# For current session
|
|
||||||
defaults -currentHost write com.apple.screensaver idleTime 0
|
|
||||||
|
|
||||||
echo "Disable sleep"
|
|
||||||
sudo pmset sleep 0 displaysleep 0
|
|
||||||
|
|
||||||
# For session after a reboot
|
|
||||||
mkdir -p "$HOME/Library/LaunchAgents"
|
|
||||||
sudo tee -a "$HOME/Library/LaunchAgents/no-screensaver.plist" <<EOT
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Label</key>
|
|
||||||
<string>org.qt.io.screensaver_disable</string>
|
|
||||||
<key>ProgramArguments</key>
|
|
||||||
<array>
|
|
||||||
<string>defaults</string>
|
|
||||||
<string>-currentHost</string>
|
|
||||||
<string>write</string>
|
|
||||||
<string>com.apple.screensaver</string>
|
|
||||||
<string>idleTime</string>
|
|
||||||
<string>0</string>
|
|
||||||
</array>
|
|
||||||
<key>RunAtLoad</key>
|
|
||||||
<true/>
|
|
||||||
<key>KeepAlive</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
EOT
|
|
||||||
|
|
||||||
defaults write com.apple.screensaver askForPassword -int 0
|
|
||||||
|
|
||||||
echo "Set keyboard type rates and delays"
|
|
||||||
# normal minimum is 15 (225 ms)
|
|
||||||
defaults write -g InitialKeyRepeat -int 15
|
|
||||||
# normal minimum is 2 (30 ms)
|
|
||||||
defaults write -g KeyRepeat -int 2
|
|
||||||
|
|
||||||
set +x
|
|
||||||
echo "Enable remote desktop sharing"
|
|
||||||
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
|
|
||||||
set -x
|
|
||||||
|
|
||||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
|
||||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
|
||||||
|
|
||||||
sudo systemsetup settimezone GMT
|
|
||||||
sudo systemsetup setusingnetworktime on
|
|
||||||
sudo rm -f "$targetFile"
|
|
||||||
|
|
||||||
# Enable automount for nfs shares
|
|
||||||
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.ci.qt.io/input/mac/arm/auto_master
|
|
||||||
sudo automount -cv
|
|
||||||
|
|
||||||
# Disable multicast advertisements
|
|
||||||
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
|
|
||||||
|
|
||||||
# Enable Use keyboard navigation to move focus between controls
|
|
||||||
defaults write -g AppleKeyboardUIMode -int 2
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
#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
|
|
||||||
|
|
||||||
defaults write com.apple.CrashReporter DialogType server
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
SetEnvVar "SWIFT_BACKTRACE" "enable=yes,output-to=stderr,preset=medium,interactive=false"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/disable_spotlight.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/disable_spotlight.sh"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/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
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR"/../common/macos/disable_update_downloads.sh
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
# Enables the usage of temporary keychains for SSL autotests
|
|
||||||
SetEnvVar "QT_SSL_USE_TEMPORARY_KEYCHAIN" "1"
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2021 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 XZ-Utils
|
|
||||||
|
|
||||||
# XZ-Utils are needed for uncompressing xz-compressed files
|
|
||||||
|
|
||||||
# pkg was self builded.
|
|
||||||
# wget https://downloads.sourceforge.net/project/lzmautils/xz-5.2.5.tar.gz
|
|
||||||
# tar -xzf xz-5.2.5.tar.gz -C /tmp
|
|
||||||
# cd /tmp/xz-5.2.5
|
|
||||||
# ./configure
|
|
||||||
# make
|
|
||||||
# ./configure prefix=/tmp/destination_root
|
|
||||||
# make install
|
|
||||||
# cd /tmp
|
|
||||||
# pkgbuild --root destination_root --identifier io.qt.xz.pkg xz-arm64.pkg
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/InstallPKGFromURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
|
|
||||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
|
|
||||||
# SourceUrl="https://tukaani.org/xz/xz-5.2.5.tar.gz"
|
|
||||||
|
|
||||||
SHA1="1afc327965d4af33399ae28f22c4b8e5a9e98dc2"
|
|
||||||
DestDir="/"
|
|
||||||
|
|
||||||
InstallPKGFromURL "$PrimaryUrl" "$PrimaryUrl" "$SHA1" "$DestDir"
|
|
||||||
|
|
||||||
echo "XZ = 5.2.5" >> ~/versions.txt
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/macos/java_arm.sh"
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# This script installs Xcode
|
|
||||||
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
|
|
||||||
# This can be achieved by fetching Xcode_9.xip from Apple Store.
|
|
||||||
# Uncompress it with 'xar -xf Xcode_9.xip'
|
|
||||||
# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
|
|
||||||
# with which you can run 'python parse_pbzx2.py Content'.
|
|
||||||
# This will give you five files called "Content.part<00..05>.cpio.xz".
|
|
||||||
# Extract those that have the extension .xz with xz.
|
|
||||||
# "cat" together all the content files "cat file1, file2, file3, file4, file5 >file_new"
|
|
||||||
# Compress the new file with xz back to something like Xcode_9.xz
|
|
||||||
# Upload the file to temporary storage for this script to use.
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/install_xcode.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
|
|
||||||
|
|
||||||
InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_16.xip 16
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2024 The Qt Company Ltd.
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/install-commandlinetools.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
|
|
||||||
version="16"
|
|
||||||
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
|
|
||||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
|
||||||
sha1="c6f1a7521d5da50c2bba3d83c0f3ee7df6d87d28"
|
|
||||||
|
|
||||||
InstallCommandLineTools $url $url $sha1 $packageName $version
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
#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
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
INSTALLTYPE="PKG"
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
# Usage "$BASEDIR/../common/macos/homebrew.sh" "$INSTALLTYPE" "$HOMEBREW_VERSION" "$HOMEBREW_HASH"
|
|
||||||
# Specify HOMEBREW_VERSION and HOMEBREW_HASH only if defaults set in homebrew.sh are not suitable for this platform
|
|
||||||
"$BASEDIR/../common/macos/homebrew.sh" "$INSTALLTYPE"
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2021 The Qt Company Ltd.
|
|
||||||
## Copyright (C) 2017 Pelagicore AG
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script installs python3
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
# Try with default
|
|
||||||
/opt/homebrew/bin/brew install pyenv
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/sccache.sh"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/macos/cmake.sh"
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2020 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 MySQL
|
|
||||||
|
|
||||||
# MySQL is needed for Qt to be able to support MySQL
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
|
|
||||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
|
||||||
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
|
||||||
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
|
||||||
appPrefix=""
|
|
||||||
targetDir="/opt/mysql57/"
|
|
||||||
|
|
||||||
sudo mkdir -p "/opt"
|
|
||||||
|
|
||||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix" "$targetDir"
|
|
||||||
|
|
||||||
SetEnvVar "MYSQLBINPATH" "/opt/mysql57/bin"
|
|
||||||
echo "MySQL = 5.7.15" >> ~/versions.txt
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/macos/pip.sh"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/macos/postgresql.sh"
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Copyright (C) 2021 The Qt Company Ltd.
|
|
||||||
# Copyright (C) 2017 Pelagicore AG
|
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
||||||
|
|
||||||
# This script installs python3
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
pyenv install 3.9.7
|
|
||||||
|
|
||||||
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user virtualenv wheel html5lib
|
|
||||||
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user -r ${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt
|
|
||||||
|
|
||||||
SetEnvVar "PYTHON3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
|
|
||||||
SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
|
|
||||||
# Use 3.9 as a default python
|
|
||||||
SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
|
|
||||||
|
|
||||||
echo "python3 = 3.9.7" >> ~/versions.txt
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
brew install freetype
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
brew install jq
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=../common/macos/ninja.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/macos/ninja.sh"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/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
|
|
||||||
# Install libiodbc
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/macos/libiodbc.sh" --with-universal
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/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
|
|
||||||
# Install 7z to be used from command line
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
brew update
|
|
||||||
brew install p7zip
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user