mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-25 01:16:14 +08:00
Compare commits
185 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2204e70be | ||
|
|
5e60558424 | ||
|
|
a914bb2a34 | ||
|
|
f632ab7ac5 | ||
|
|
9ca8d6d7d8 | ||
|
|
f4d55929b0 | ||
|
|
fcd13693e4 | ||
|
|
8c24e41c24 | ||
|
|
268cb978e2 | ||
|
|
f0d618aa7a | ||
|
|
0402ddbe3a | ||
|
|
6b82ba8aff | ||
|
|
f56ba698b2 | ||
|
|
3ceab0b1f6 | ||
|
|
79ec436150 | ||
|
|
456a77d958 | ||
|
|
ef13251934 | ||
|
|
d2b162d2e6 | ||
|
|
ed499857b4 | ||
|
|
b041acefe6 | ||
|
|
703af6a36f | ||
|
|
f3b2983537 | ||
|
|
01a918b4d2 | ||
|
|
b9965491d8 | ||
|
|
31cf8010bc | ||
|
|
c126b830dc | ||
|
|
a59b1c8fc8 | ||
|
|
b74d624f5f | ||
|
|
9de92ca46a | ||
|
|
f9a60ca918 | ||
|
|
b05cd1866a | ||
|
|
e9f37bb9ec | ||
|
|
73b60e7f35 | ||
|
|
46041bf79f | ||
|
|
f477802046 | ||
|
|
c6656a08ef | ||
|
|
d902125e23 | ||
|
|
9d5cb5efce | ||
|
|
0d527334cd | ||
|
|
0d080a323a | ||
|
|
26202e7a75 | ||
|
|
7ac3fe0df9 | ||
|
|
4fd8c3bc6f | ||
|
|
d506ab552d | ||
|
|
3a8e80cbba | ||
|
|
b37f66e954 | ||
|
|
7d3cad0ec2 | ||
|
|
5d053bd216 | ||
|
|
72589ec7e0 | ||
|
|
4f8eeb6ae2 | ||
|
|
49566bde72 | ||
|
|
ab3169b8ea | ||
|
|
4675eae821 | ||
|
|
d8d615259a | ||
|
|
9b827f5888 | ||
|
|
e49526aab3 | ||
|
|
cd2b7d5774 | ||
|
|
6a799d2015 | ||
|
|
35f1dc9e3d | ||
|
|
92d30a74f7 | ||
|
|
b3f6c5b223 | ||
|
|
7104151ebd | ||
|
|
2454ddaabe | ||
|
|
590756d1e8 | ||
|
|
3642a8371d | ||
|
|
19f4fb85f0 | ||
|
|
cfa7028946 | ||
|
|
593bbf54db | ||
|
|
784bd91970 | ||
|
|
78b270c60a | ||
|
|
15d86bfc47 | ||
|
|
81f3ea0f5f | ||
|
|
1207e2ebcd | ||
|
|
d6fdf2d843 | ||
|
|
075592750a | ||
|
|
df24eed9b4 | ||
|
|
7d3fec671f | ||
|
|
d46ad89b2e | ||
|
|
55edbbaea0 | ||
|
|
a303445165 | ||
|
|
ba16228de4 | ||
|
|
4ed7ed6920 | ||
|
|
9a31ac4792 | ||
|
|
3421cc61c1 | ||
|
|
6165dbbe3a | ||
|
|
381dd1233b | ||
|
|
44877587a9 | ||
|
|
2e8d07be10 | ||
|
|
227129971b | ||
|
|
e422959b72 | ||
|
|
4266bba080 | ||
|
|
49327b053c | ||
|
|
8ed3ca4015 | ||
|
|
44cf97b06f | ||
|
|
b9af6ca0a2 | ||
|
|
401785e168 | ||
|
|
9ef28bdc83 | ||
|
|
9b481175c4 | ||
|
|
e4447d0b55 | ||
|
|
ba9e54417e | ||
|
|
38f519ed1b | ||
|
|
0b5f41537b | ||
|
|
d5e5ab121e | ||
|
|
e3b200d728 | ||
|
|
ef743be7f3 | ||
|
|
590cad6793 | ||
|
|
891880425a | ||
|
|
cb9d0b0c12 | ||
|
|
b3c088d680 | ||
|
|
f65288d120 | ||
|
|
29d9e74435 | ||
|
|
c289dd100e | ||
|
|
5cdbd915a4 | ||
|
|
78efd7bf10 | ||
|
|
5bec50ae9b | ||
|
|
ad1c93e955 | ||
|
|
1231ca784d | ||
|
|
2bde49c335 | ||
|
|
1b254c32f0 | ||
|
|
237c75fb2b | ||
|
|
7a3e084a4a | ||
|
|
c72f195cba | ||
|
|
dc84684e45 | ||
|
|
3f16ecb328 | ||
|
|
ce9f86f287 | ||
|
|
5e4de74c32 | ||
|
|
d7507263ed | ||
|
|
302d467c59 | ||
|
|
b44fb996e6 | ||
|
|
95e77687a0 | ||
|
|
3166a0a7cf | ||
|
|
4258273614 | ||
|
|
121aa7f72f | ||
|
|
d64669c50b | ||
|
|
0b6642c563 | ||
|
|
34980e252b | ||
|
|
0cc11596c1 | ||
|
|
f6b1bf3c96 | ||
|
|
cf2184002d | ||
|
|
f932c386aa | ||
|
|
6e655d52e3 | ||
|
|
fe2271bba3 | ||
|
|
cd22843cae | ||
|
|
aa520141a0 | ||
|
|
e2935f2068 | ||
|
|
fe3876517f | ||
|
|
c46c54fe7d | ||
|
|
270ce23a1b | ||
|
|
09fc2df086 | ||
|
|
5271768423 | ||
|
|
3917d45ac1 | ||
|
|
bdc867146a | ||
|
|
397f2dadd4 | ||
|
|
394f69b2cd | ||
|
|
35b888aae5 | ||
|
|
7051182f20 | ||
|
|
70405cddba | ||
|
|
7ac39979ce | ||
|
|
6f1b182a6d | ||
|
|
3dcb6abcec | ||
|
|
a1f6cacd33 | ||
|
|
3624ce9c5e | ||
|
|
1759420acc | ||
|
|
252c7ae303 | ||
|
|
9d9cbae102 | ||
|
|
7630a1cc57 | ||
|
|
929e64d8ec | ||
|
|
fdcfc85397 | ||
|
|
a70a2788f3 | ||
|
|
8ed720b5dd | ||
|
|
db06782007 | ||
|
|
eaf033305c | ||
|
|
d2770134a5 | ||
|
|
4b5e5a6cbb | ||
|
|
430ad49cc6 | ||
|
|
9cade4393f | ||
|
|
af2cb2edc4 | ||
|
|
829cdbe4c8 | ||
|
|
435d3d93e7 | ||
|
|
4ee1668f46 | ||
|
|
d0b83ce01d | ||
|
|
d2e198c573 | ||
|
|
378d3e3548 | ||
|
|
8d06a5f76f | ||
|
|
b30ea9dcf5 |
9
.github/pull_request_template.md
vendored
9
.github/pull_request_template.md
vendored
@@ -1,9 +0,0 @@
|
||||
## Qt contribution guidelines
|
||||
|
||||
We welcome contributions to Qt!
|
||||
|
||||
Note that all contributions to the Qt project are exclusively handled through the [Gerrit code review system](https://codereview.qt-project.org).
|
||||
|
||||
Read the
|
||||
[Qt Contribution Guidelines](https://wiki.qt.io/Qt_Contribution_Guidelines) to learn more.
|
||||
|
||||
90
.gitmodules
vendored
90
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
recommends = qtdeclarative qtquick3d
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
@@ -47,7 +47,7 @@
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -55,7 +55,7 @@
|
||||
recommends = qtmultimedia qtshadertools qtwebengine
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -76,21 +76,21 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qtpositioning"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
path = qtpositioning
|
||||
url = ../qtpositioning.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -117,61 +117,61 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||
recommends = qtdeclarative qtshadertools
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
@@ -185,28 +185,28 @@
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
@@ -219,27 +219,27 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
@@ -252,87 +252,81 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtlanguageserver"]
|
||||
depends = qtbase
|
||||
path = qtlanguageserver
|
||||
url = ../qtlanguageserver.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qthttpserver"]
|
||||
depends = qtbase
|
||||
recommends = qtwebsockets
|
||||
path = qthttpserver
|
||||
url = ../qthttpserver.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qtquick3dphysics"]
|
||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||
path = qtquick3dphysics
|
||||
url = ../qtquick3dphysics.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qtquickeffectmaker"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquick3d
|
||||
path = qtquickeffectmaker
|
||||
url = ../qtquickeffectmaker.git
|
||||
branch = 6.6
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtgraphs"]
|
||||
depends = qtbase qtdeclarative qtquick3d
|
||||
path = qtgraphs
|
||||
url = ../qtgraphs.git
|
||||
branch = 6.6
|
||||
status = preview
|
||||
|
||||
@@ -2,15 +2,22 @@
|
||||
# 3.16 is the absolute minimum though.
|
||||
cmake_minimum_required(VERSION 3.16...3.21)
|
||||
|
||||
|
||||
# set QT_SUPERBUILD early, so that qtbase/.cmake.conf can check it
|
||||
set(QT_SUPERBUILD TRUE)
|
||||
|
||||
# Include qtbase's .cmake.conf for access to QT_REPO_MODULE_VERSION
|
||||
set(__qt6_qtbase_src_path "${CMAKE_CURRENT_SOURCE_DIR}/qtbase")
|
||||
include("${__qt6_qtbase_src_path}/.cmake.conf")
|
||||
include("${__qt6_qtbase_src_path}/cmake/QtBaseTopLevelHelpers.cmake")
|
||||
|
||||
qt_internal_top_level_setup_autodetect()
|
||||
# Run platform auto-detection /before/ the first project() call and thus
|
||||
# before the toolchain file is loaded.
|
||||
# Don't run auto-detection when doing standalone tests. In that case, the detection
|
||||
# results are taken from either QtBuildInternals or the qt.toolchain.cmake file.
|
||||
|
||||
if(NOT QT_BUILD_STANDALONE_TESTS)
|
||||
include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake")
|
||||
endif()
|
||||
|
||||
project(Qt
|
||||
VERSION "${QT_REPO_MODULE_VERSION}"
|
||||
@@ -19,15 +26,24 @@ project(Qt
|
||||
LANGUAGES CXX C ASM
|
||||
)
|
||||
|
||||
qt_internal_top_level_setup_after_project()
|
||||
# Required so we can call ctest from the root build directory
|
||||
enable_testing()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
qt_internal_top_level_setup_cmake_module_path()
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake")
|
||||
list(APPEND CMAKE_MODULE_PATH
|
||||
"${__qt6_qtbase_src_path}/cmake/3rdparty/extra-cmake-modules/find-modules")
|
||||
list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake/3rdparty/kwin")
|
||||
endif()
|
||||
|
||||
include(QtTopLevelHelpers)
|
||||
include(ECMOptionalAddSubdirectory)
|
||||
|
||||
qt_internal_top_level_before_build_submodules()
|
||||
# Also make sure the CMake config files do not recreate the already-existing targets
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
set(QT_NO_CREATE_TARGETS TRUE)
|
||||
endif()
|
||||
|
||||
# Get submodule list if not already defined
|
||||
if(NOT QT_BUILD_SUBMODULES)
|
||||
@@ -96,7 +112,18 @@ foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||
message(STATUS "Configuring submodule '${module}'")
|
||||
ecm_optional_add_subdirectory("${module}")
|
||||
|
||||
qt_internal_top_level_after_add_subdirectory()
|
||||
if(module STREQUAL "qtbase")
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
list(APPEND CMAKE_PREFIX_PATH "${QtBase_BINARY_DIR}/${INSTALL_LIBDIR}/cmake")
|
||||
list(APPEND CMAKE_FIND_ROOT_PATH "${QtBase_BINARY_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
qt_internal_top_level_end()
|
||||
if(NOT QT_BUILD_STANDALONE_TESTS)
|
||||
# Display a summary of everything
|
||||
include(QtBuildInformation)
|
||||
include(QtPlatformSupport)
|
||||
qt_print_feature_summary()
|
||||
qt_print_build_instructions()
|
||||
endif()
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
## Qt contribution guidelines
|
||||
|
||||
We welcome contributions to Qt!
|
||||
|
||||
Note that we cannot accept pull requests on GitHub. All contributions to the Qt project are exclusively handled through the [Gerrit code review system](https://codereview.qt-project.org).
|
||||
|
||||
Read the
|
||||
[Qt Contribution Guidelines](https://wiki.qt.io/Qt_Contribution_Guidelines) to learn more.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,8 +9,8 @@ System requirements
|
||||
-------------------
|
||||
|
||||
* C++ compiler supporting the C++17 standard
|
||||
* CMake
|
||||
* Ninja
|
||||
* CMake 3.16 or newer
|
||||
* Ninja 1.8 or newer
|
||||
* Python 3
|
||||
|
||||
For more details, see also https://doc.qt.io/qt-6/build-sources.html
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# This script is to be called (ideally from a git-sync-to alias script):
|
||||
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -P cmake/QtSynchronizeRepo.cmake
|
||||
# Or as follows (ideally from a git-qt-foreach alias script):
|
||||
# cmake -DQT_FOREACH=TRUE "-DARGS=$*" -P cmake/QtSynchronizeRepo.cmake
|
||||
|
||||
cmake_policy(VERSION 3.16)
|
||||
include(cmake/QtTopLevelHelpers.cmake)
|
||||
if(QT_FOREACH)
|
||||
qt_internal_foreach_repo_run(ARGS ${ARGS})
|
||||
else()
|
||||
qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH})
|
||||
endif()
|
||||
|
||||
qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH})
|
||||
|
||||
@@ -421,87 +421,3 @@ function(qt_internal_sync_to module)
|
||||
endforeach()
|
||||
endwhile()
|
||||
endfunction()
|
||||
|
||||
# Runs user specified command for all qt repositories in qt directory.
|
||||
# Similar to git submodule foreach, except without relying on .gitmodules existing.
|
||||
# Useful for worktree checkouts.
|
||||
function(qt_internal_foreach_repo_run)
|
||||
cmake_parse_arguments(PARSE_ARGV 0 arg
|
||||
""
|
||||
""
|
||||
"ARGS"
|
||||
)
|
||||
if(NOT arg_ARGS)
|
||||
message(FATAL_ERROR "No arguments specified to qt_internal_foreach_repo_run")
|
||||
endif()
|
||||
separate_arguments(args NATIVE_COMMAND "${arg_ARGS}")
|
||||
|
||||
# Find the qt repos
|
||||
qt_internal_find_modules(modules)
|
||||
|
||||
# Hack to support color output on unix systems
|
||||
# https://stackoverflow.com/questions/18968979/how-to-make-colorized-message-with-cmake
|
||||
execute_process(COMMAND
|
||||
/usr/bin/tty
|
||||
OUTPUT_VARIABLE tty_name
|
||||
RESULT_VARIABLE tty_exit_code
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
||||
set(color_supported FALSE)
|
||||
set(output_goes_where "")
|
||||
if(NOT tty_exit_CODE AND tty_name)
|
||||
set(color_supported TRUE)
|
||||
set(output_goes_where "OUTPUT_FILE" "${tty_name}")
|
||||
endif()
|
||||
|
||||
# Count successes and failures.
|
||||
set(count_success "0")
|
||||
set(count_failure "0")
|
||||
|
||||
# Show colored error markers.
|
||||
set(color "--normal")
|
||||
if(color_supported)
|
||||
set(color "--red")
|
||||
endif()
|
||||
|
||||
foreach(module IN LISTS modules)
|
||||
message("Entering '${module}'")
|
||||
execute_process(
|
||||
COMMAND ${args}
|
||||
WORKING_DIRECTORY "${module}"
|
||||
${output_goes_where}
|
||||
RESULT_VARIABLE cmd_result
|
||||
)
|
||||
if(cmd_result)
|
||||
math(EXPR count_failure "${count_failure}+1")
|
||||
# cmake_echo_color is undocumented, but lets us output colors and control newlines.
|
||||
execute_process(
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E env CLICOLOR_FORCE=1
|
||||
${CMAKE_COMMAND} -E cmake_echo_color "${color}"
|
||||
"Process execution failed here ^^^^^^^^^^^^^^^^^^^^"
|
||||
)
|
||||
else()
|
||||
math(EXPR count_success "${count_success}+1")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
# Show summary with colors.
|
||||
set(color "--normal")
|
||||
if(count_failure AND color_supported)
|
||||
set(color "--red")
|
||||
endif()
|
||||
|
||||
message("\nSummary\n=======\n")
|
||||
execute_process(
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E cmake_echo_color --normal --no-newline "Failures: "
|
||||
)
|
||||
execute_process(
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E env CLICOLOR_FORCE=1
|
||||
${CMAKE_COMMAND} -E cmake_echo_color "${color}" "${count_failure}"
|
||||
)
|
||||
message("Successes: ${count_success}")
|
||||
endfunction()
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'opensuse-15.5-host-asan'
|
||||
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
||||
Id: 'opensuse-15.4-host-asan'
|
||||
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'UseAddressSanitizer']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
|
||||
@@ -39,8 +39,8 @@ Configurations:
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
-
|
||||
Id: 'opensuse-15.5-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
||||
Id: 'opensuse-15.4-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
@@ -50,8 +50,8 @@ Configurations:
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
-
|
||||
Id: 'sles-15_sp5-static'
|
||||
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
||||
Id: 'sles-15_sp4-static'
|
||||
Template: 'qtci-linux-SLES-15_SP4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
||||
@@ -68,8 +68,9 @@ Configurations:
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DFEATURE_native_grpc=OFF',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-msvc2019'
|
||||
@@ -79,9 +80,10 @@ Configurations:
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DFEATURE_native_grpc=OFF',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2022'
|
||||
@@ -91,9 +93,10 @@ Configurations:
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-msvc2022'
|
||||
@@ -103,9 +106,10 @@ Configurations:
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019-developer-build'
|
||||
@@ -115,7 +119,7 @@ Configurations:
|
||||
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
@@ -134,6 +138,7 @@ Configurations:
|
||||
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
||||
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-msvc2019-developer-build'
|
||||
@@ -143,7 +148,7 @@ Configurations:
|
||||
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
@@ -159,20 +164,21 @@ Configurations:
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'rhel-8.8'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'rhel-8.4'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF'
|
||||
]
|
||||
-
|
||||
Id: 'rhel-9.2'
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Id: 'rhel-9.0'
|
||||
Template: 'qtci-linux-RHEL-9.0-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
@@ -180,27 +186,16 @@ Configurations:
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
# Build on Debian-11.6 and split test on Wayland and offscreen later
|
||||
-
|
||||
Id: 'debian-11.6-arm64'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'InsignificantTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
# Test on Debian-11.6 offscreen
|
||||
-
|
||||
Id: 'debian-11.6-arm64-offscreen-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'InsignificantTests', 'TestOnly']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'QT_QPA_PLATFORM=offscreen'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
|
||||
-
|
||||
Id: 'ios-universal'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
@@ -212,7 +207,7 @@ Configurations:
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-mingw11'
|
||||
@@ -223,9 +218,10 @@ Configurations:
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DFEATURE_native_grpc=OFF -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-llvm'
|
||||
@@ -236,9 +232,10 @@ Configurations:
|
||||
Environment variables: [
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-llvm'
|
||||
@@ -249,9 +246,10 @@ Configurations:
|
||||
Environment variables: [
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-mingw11-developer-build'
|
||||
@@ -262,9 +260,10 @@ Configurations:
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-mingw11-developer-build'
|
||||
@@ -275,31 +274,8 @@ Configurations:
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'focal-arm64-debian-pkg-packaging'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.6_dev',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=focal-arm64-sbuild',
|
||||
'COIN_EXTRA_DEBIAN_REPO=deb http://ports.ubuntu.com/ubuntu-ports/ focal main universe multiverse',
|
||||
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
||||
]
|
||||
-
|
||||
Id: 'focal-amd64-debian-pkg-packaging'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.6_dev',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=focal-amd64-sbuild',
|
||||
'COIN_EXTRA_DEBIAN_REPO=deb http://archive.ubuntu.com/ubuntu/ focal main universe multiverse',
|
||||
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
|
||||
]
|
||||
|
||||
@@ -12,7 +12,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
@@ -29,7 +29,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
@@ -46,7 +46,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
|
||||
@@ -12,7 +12,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.27.7/bin',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.24.2/bin',
|
||||
'QNX_TEST_ENV=LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'sles-15_sp5-minimal-static'
|
||||
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
||||
Id: 'sles-15_sp4-minimal-static'
|
||||
Template: 'qtci-linux-SLES-15_SP4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
||||
@@ -23,7 +23,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'macos-11-minimal-static'
|
||||
Template: 'qtci-macos-11-x86_64-106'
|
||||
Template: 'qtci-macos-11-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -static -no-framework'
|
||||
|
||||
@@ -12,7 +12,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis arm64-v8a',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
@@ -28,38 +28,38 @@ Configurations:
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis armeabi-v7a -no-feature-pkg-config',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
Id: 'android-6-x86-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.4'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DFEATURE_native_grpc=OFF',
|
||||
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
Id: 'android-13-x86_64-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.4'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}} -DFEATURE_native_grpc=OFF',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=@emulator_x86_64_api_33'
|
||||
]
|
||||
|
||||
@@ -2,16 +2,15 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify'
|
||||
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
||||
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.5-developer-build'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'UseConfigure']
|
||||
Platform dependency: 'opensuse-15.4-developer-build'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
"TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread \
|
||||
-DQT_QMAKE_DEVICE_OPTIONS=\"QT_EMSCRIPTEN_ASYNCIFY=1\""
|
||||
]
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_QMAKE_TARGET_MKSPEC=wasm-emscripten -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DFEATURE_thread=ON -DQT_QMAKE_DEVICE_OPTIONS="QT_EMSCRIPTEN_ASYNCIFY=1"',
|
||||
'NON_QTBASE_TARGET_CONFIGURE_ARGS=-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache']
|
||||
-
|
||||
Id: 'webassembly-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
@@ -25,7 +24,7 @@ Configurations:
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFEATURE_native_grpc=OFF',
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-macos-thread'
|
||||
@@ -38,6 +37,6 @@ Configurations:
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFEATURE_native_grpc=OFF',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
|
||||
@@ -24,7 +24,7 @@ Configurations:
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
|
||||
51
coin/platform_configs/installer-framework.yaml
Normal file
51
coin/platform_configs/installer-framework.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86_64'
|
||||
Features: ['Packaging', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -no-icu -static -release -no-sql-sqlite -openssl-linked -static-runtime'
|
||||
Environment variables: [
|
||||
'TARGET_ARCHITECTURE=x86_64',
|
||||
'PATH=%PATH%;%CI_JOM_PATH%;C:\Utils\gnuwin32\bin;',
|
||||
'LLVM_INSTALL_DIR=',
|
||||
'LLVM_INSTALL_DIR_msvc=',
|
||||
'QDOC_USE_STATIC_LIBCLANG=',
|
||||
'INCLUDE={{.Env.ZLIB}};{{.Env.XZ}}\src\liblzma\api;{{.Env.BZIP2}};{{.Env.INCLUDE}}',
|
||||
'LIB={{.Env.ZLIB}};{{.Env.XZ}}\windows\vs2019\ReleaseMT\x64\liblzma{{.Env.BZIP2}};{{.Env.LIB}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_MSVC_STATIC_RT=TRUE',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_MSVC_STATIC_RT=TRUE',
|
||||
]
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -static -confirm-license -nomake examples -nomake tests -accessibility -qt-zlib -qt-libpng -no-cups -no-freetype -no-sql-sqlite'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -static -release -no-sql-sqlite -no-feature-gssapi -qt-zlib -qt-libpng -qt-libjpeg -no-cups -openssl-linked -bundled-xcb-xinput -no-icu -no-libudev -qt-pcre -no-glib -no-egl -no-sm -qt-harfbuzz'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DOPENSSL_USE_STATIC_LIBS=TRUE',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.STATIC_OPENSSL_HOME}} -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_CRYPTO_LIBRARY={{.Env.STATIC_OPENSSL_HOME}}/lib64/libcrypto.a -DOPENSSL_SSL_LIBRARY={{.Env.STATIC_OPENSSL_HOME}}/lib64/libssl.a',
|
||||
]
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions', 'UseConfigure', 'DoNotBuildTests']
|
||||
-
|
||||
Template: 'qtci-macos-11-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -static -confirm-license -nomake examples -nomake tests -accessibility -qt-zlib -qt-libpng -no-cups -no-freetype -no-sql-sqlite QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"'
|
||||
-
|
||||
Id: 'ifw-debian-11.6-arm64'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -static -release -no-sql-sqlite -no-feature-gssapi -qt-zlib -qt-libpng -qt-libjpeg -no-cups -openssl-linked -bundled-xcb-xinput -no-icu -no-libudev -qt-pcre -no-glib -no-egl -no-sm -qt-harfbuzz OPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}'
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: "ios-tests-on-macos"
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
|
||||
@@ -2,15 +2,16 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'android-x86-developer-build-testrun-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.4'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'ANDROID_EMULATOR=@emulator_x86_api_23']
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'rhel_8.8_android_multi'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'rhel_8.4_android_multi'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: [
|
||||
'rhel-8.8',
|
||||
'rhel-8.4',
|
||||
'android-6-x86-on-linux',
|
||||
'android-13-x86_64-on-linux'
|
||||
]
|
||||
@@ -19,7 +19,7 @@ Configurations:
|
||||
'InstallDepsPerPlatformSubdir'
|
||||
]
|
||||
Environment variables: [
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.8',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.4',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-6-x86-on-linux',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-13-x86_64-on-linux',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
|
||||
|
||||
@@ -37,7 +37,7 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-11-x86_64-tests'
|
||||
Template: 'qtci-macos-11-x86_64-106'
|
||||
Template: 'qtci-macos-11-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
@@ -61,7 +61,7 @@ Configurations:
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-12-x86_64-tests'
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
@@ -79,7 +79,7 @@ Configurations:
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-12-arm-on-x86_64-tests'
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
@@ -121,18 +121,36 @@ Configurations:
|
||||
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
|
||||
-
|
||||
Id: 'macos-11-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-11-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-13-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-11-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-11.0-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-13-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-12-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-13-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-12-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-13-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-13-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-13-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-13-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
@@ -1,4 +1,43 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET1'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET2'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET3'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET4'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET5'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET6'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET7'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET8'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET9'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET10'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Include: [meta-boot2qt.yaml]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Include: [meta-boot2qt.yaml]
|
||||
Configurations: []
|
||||
|
||||
@@ -2,13 +2,13 @@ Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
macos.yaml: [
|
||||
"macos-12-x86_64-developer-build"
|
||||
"macos-12-arm64-developer-build"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-13-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Id: 'macos-13-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-12-x86_64-developer-build'
|
||||
Platform dependency: 'macos-12-arm64-developer-build'
|
||||
|
||||
@@ -16,6 +16,6 @@ Configurations:
|
||||
Features: ['DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples -no-pch',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}\qnx-toolchain-aarch64le.cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -G "Ninja"',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}\qnx-toolchain-aarch64le.cmake -DCMAKE_LIBRARY_PATH={{.Env.QNX_710}}\target\qnx7\aarch64le\lib;{{.Env.QNX_710}}\target\qnx7\aarch64le\usr\lib -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -G "Ninja"',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON'
|
||||
]
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Id: 'ubuntu-22.04-axivion'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Axivion', 'DisableTests', 'UseConfigure', 'VMSize8']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
@@ -1,13 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
# QTQAINFRA-5404
|
||||
-
|
||||
Id: 'ubuntu-20.04-c++17'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -c++std c++17 -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
133
coin/platform_configs/nightly_ubuntu_22_04.yaml
Normal file
133
coin/platform_configs/nightly_ubuntu_22_04.yaml
Normal file
@@ -0,0 +1,133 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
# cmake_platforms.yaml
|
||||
Id: 'ubuntu-22.04-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
-
|
||||
Id: 'ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
-
|
||||
# cmake_platforms_qemu.yaml
|
||||
Id: 'qemu-armv7-developer-build-on-ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=ON -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-imx7-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=hard-float boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
]
|
||||
-
|
||||
Id: 'qemu-arm64-developer-build-on-ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
]
|
||||
-
|
||||
Id: 'qemu-mips64-developer-build-on-ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'DisableTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-DQT_BUILD_EXAMPLES=OFF -DFEATURE_developer_build=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON -DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FEATURE_system_harfbuzz=OFF -DQT_QMAKE_TARGET_MKSPEC=devices/linux-generic-g++ -DQT_QMAKE_DEVICE_OPTIONS="CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}};DISTRO_OPTS=boot2qt" -DCMAKE_STAGING_PREFIX=/home/qt/work/install/target -DCMAKE_AUTOGEN_VERBOSE=ON -DFEATURE_forkfd_pidfd=OFF -DWARNINGS_ARE_ERRORS=OFF',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
]
|
||||
-
|
||||
# cmake_platforms_qemu_qnx710.yaml
|
||||
Id: 'qnx-710-x86_64-developer-build-on-ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'VMSize8', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.24.2/bin',
|
||||
'QNX_TEST_ENV=LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
]
|
||||
-
|
||||
Id: 'qnx-710-arm64-on-ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-aarch64le.cmake',
|
||||
]
|
||||
-
|
||||
Id: 'qnx-710-armv7-on-ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-armv7le.cmake',
|
||||
]
|
||||
-
|
||||
# default.yaml
|
||||
Id: 'ubuntu-22.04-license-check'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
-
|
||||
# integrity.yaml
|
||||
Id: 'integrity-arm64-on-ubuntu-22.04-x86_64'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Target os: 'INTEGRITY'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['MinimalStaticTests', 'DoNotRunTests', 'VMSize16', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -device integrity-armv8-SA8155P -no-feature-library -no-feature-printdialog -no-dbus -no-feature-gtk3 -no-feature-glib -no-feature-libudev -qt-harfbuzz -qt-pcre -no-sql-mysql -no-feature-brotli',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE=/home/qt/integrity_toolchain/toolchain.cmake -DCMAKE_C_COMPILER=cxintarm64 -DCMAKE_CXX_COMPILER=cxintarm64 -DBUILD_qtdoc=OFF -DBUILD_qttranslations=OFF -DUNIX=ON --debug-trycompile',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_system_webp=OFF',
|
||||
'INTEGRITY_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/integrity',
|
||||
'INTEGRITY_BSP=platform-sa8155', 'INTEGRITY_BUILD_TARGET=rel',
|
||||
'QC_MULTIMEDIA_INC_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/include/amss/multimedia',
|
||||
'GL_INC_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/include/public',
|
||||
'GL_LIB_DIR=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/base:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/display:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/multimedia/graphics:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/out/rel/libs/platform/:/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/qc_bsp/AMSS/multimedia/graphics/opengl/esx/build/integrity/prebuilt/',
|
||||
'PATH=/home/qt/integrity_toolchain/hlos_dev_boot/apps/ghs_apps_proc/comp:$PATH']
|
||||
@@ -10,7 +10,7 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Template: 'qtci-linux-RHEL-9.0-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
|
||||
@@ -16,19 +16,13 @@ Configurations:
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'x86']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.6-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Template: 'qtci-linux-RHEL-9.0-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Qt5', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
|
||||
@@ -2,14 +2,4 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml
|
||||
]
|
||||
Configurations:
|
||||
# Test on Debian-11.6 Wayland
|
||||
-
|
||||
Id: 'debian-11.6-arm64-wayland-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
Configurations: []
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -8,12 +8,12 @@ Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"opensuse-15.5-developer-build",
|
||||
"sles-15_sp5-static",
|
||||
"opensuse-15.4-developer-build",
|
||||
"sles-15_sp4-static",
|
||||
"windows-10_22h2-msvc2019",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"windows-10_22h2-msvc2019-developer-build",
|
||||
"rhel-8.8",
|
||||
"rhel-8.4",
|
||||
"windows-10_22h2-mingw11",
|
||||
"windows-10_22h2-mingw11-developer-build",
|
||||
"windows-10_22h2-llvm",
|
||||
@@ -28,24 +28,5 @@ Include: [
|
||||
"integrity-arm64"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'Axivion-QEMU_build'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['UseConfigure', 'DoNotRunTests', 'DisableTests', 'Axivion_QSR']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd -qtlibinfix TestInfix',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
]
|
||||
|
||||
Configurations: []
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"opensuse-15.5-developer-build",
|
||||
"sles-15_sp5-static",
|
||||
"opensuse-15.4-developer-build",
|
||||
"sles-15_sp4-static",
|
||||
"windows-10_22h2-msvc2019",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"rhel-8.8",
|
||||
"rhel-8.4",
|
||||
"windows-10_22h2-mingw11",
|
||||
"windows-10_22h2-llvm",
|
||||
"windows-11_22h2-msvc2019"
|
||||
@@ -27,7 +27,8 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-latest-xcode-universal-static-build'
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Target os: 'MacOS_12_Static'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
@@ -36,8 +37,9 @@ Configurations:
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
|
||||
]
|
||||
-
|
||||
Id: 'Linux-RHEL_8_8_Static'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'Linux-RHEL_8_4_Static'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Target os: 'RHEL_8_4_Static'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
||||
@@ -47,6 +49,7 @@ Configurations:
|
||||
-
|
||||
Id: 'Windows-MSVC2019_Static'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Target os: 'Windows_10_Static'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql -plugin-sql-sqlite -plugin-sql-odbc'
|
||||
|
||||
@@ -16,13 +16,3 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
# Test on Debian-11.6 Wayland
|
||||
-
|
||||
Id: 'debian-11.6-arm64-wayland-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
|
||||
@@ -1,35 +1,59 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-8.8',
|
||||
'windows-10_22h2-mingw11',
|
||||
'ubuntu-22.04-documentation',
|
||||
'ubuntu-22.04-documentation-x11-tests'
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-x86_64'
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
'android-arm64-on-macos',
|
||||
'android-armv7-on-windows',
|
||||
'android-6-x86-on-linux',
|
||||
'android-13-x86_64-on-linux'
|
||||
]
|
||||
]
|
||||
Include: [ cmake_platforms_target_android.yaml ]
|
||||
Configurations:
|
||||
-
|
||||
Id: "automotive-android-13-x86_64-on-linux"
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'automotive-ubuntu-22.04-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
||||
-
|
||||
Id: 'windows-10_22h2-mingw11'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'UseConfigure']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples -qt-zlib -qt-freetype -qt-libjpeg'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}'
|
||||
]
|
||||
-
|
||||
Id: 'macos-universal-on-x86_64'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF'
|
||||
]
|
||||
-
|
||||
Id: 'rhel-8.4'
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
-
|
||||
Id: "automotive-android-x86-on-linux"
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.4'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=@automotive_emulator_x86_64_api_31'
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'ANDROID_EMULATOR=@automotive_emulator_x86_api_30'
|
||||
]
|
||||
|
||||
42
coin/platform_configs/tqtc-installer-framework.yaml
Normal file
42
coin/platform_configs/tqtc-installer-framework.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [ installer-framework.yaml ]
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86_64'
|
||||
Features: ['Packaging', 'QtInstaller', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -no-icu -static -release -no-sql-sqlite -openssl-linked -static-runtime'
|
||||
Environment variables: [
|
||||
'TARGET_ARCHITECTURE=x86_64',
|
||||
'PATH=%PATH%;%CI_JOM_PATH%;C:\Utils\gnuwin32\bin;',
|
||||
'LLVM_INSTALL_DIR=',
|
||||
'LLVM_INSTALL_DIR_msvc=',
|
||||
'QDOC_USE_STATIC_LIBCLANG=',
|
||||
'INCLUDE={{.Env.ZLIB}};{{.Env.XZ}}\src\liblzma\api;{{.Env.BZIP2}};{{.Env.INCLUDE}}',
|
||||
'LIB={{.Env.ZLIB}};{{.Env.XZ}}\windows\vs2019\ReleaseMT\x64\liblzma{{.Env.BZIP2}};{{.Env.LIB}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_MSVC_STATIC_RT=TRUE',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_MSVC_STATIC_RT=TRUE',
|
||||
]
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'QtInstaller', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -static -confirm-license -nomake examples -nomake tests -accessibility -qt-zlib -qt-libpng -no-cups -no-freetype -no-sql-sqlite'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'QtInstaller', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -static -release -no-sql-sqlite -no-feature-gssapi -qt-zlib -qt-libpng -qt-libjpeg -no-cups -openssl-linked -bundled-xcb-xinput -no-icu -no-libudev -qt-pcre -no-glib -no-egl -no-sm -qt-harfbuzz'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DOPENSSL_USE_STATIC_LIBS=TRUE',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.STATIC_OPENSSL_HOME}} -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_CRYPTO_LIBRARY={{.Env.STATIC_OPENSSL_HOME}}/lib64/libcrypto.a -DOPENSSL_SSL_LIBRARY={{.Env.STATIC_OPENSSL_HOME}}/lib64/libssl.a',
|
||||
]
|
||||
-
|
||||
Template: 'qtci-macos-11-x86_64-104'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'QtInstaller', 'UseConfigure', 'DoNotBuildTests']
|
||||
Configure arguments: '-opensource -confirm-license -static -confirm-license -nomake examples -nomake tests -accessibility -qt-zlib -qt-libpng -no-cups -no-freetype -no-sql-sqlite QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"'
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [meta-boot2qt.yaml]
|
||||
Configurations: []
|
||||
@@ -1,14 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations:
|
||||
#Ubuntu 20.04
|
||||
-
|
||||
Id: 'ubuntu-20.04'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -2,52 +2,52 @@ Version: 2
|
||||
Module only: true
|
||||
Configurations:
|
||||
- Id: 'webos-emulator-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_EMULATOR=enabled']
|
||||
- Id: 'webos-emulator-qtbase-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtbase']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtdeclarative-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtdeclarative']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtwayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtwayland']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtshadertools-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtshadertools']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtgraphicaleffects-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtgraphicaleffects']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-raspberry-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_RASPBERRY=enabled']
|
||||
- Id: 'webos-ndk-installer-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_NDK_INSTALLER=enabled']
|
||||
- Id: 'webos-ndk-install'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: ['webos-raspberry-build', 'webos-ndk-installer-build']
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET1'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET2'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET3'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET4'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET5'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET6'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET7'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET8'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET9'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'Yocto'
|
||||
Target arch: 'TARGET10'
|
||||
@@ -1,63 +0,0 @@
|
||||
### RED HAT ENTERPRISE LINUX 8.6 ###
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Installation Destination: Automatic partitioning selected
|
||||
Root Passowrd: Set
|
||||
Network & Host..: Connect
|
||||
User Creation
|
||||
Beging Installation
|
||||
|
||||
Reboot
|
||||
|
||||
Licensing: Accept
|
||||
Finish Configuration
|
||||
|
||||
gnome-initial-setup:
|
||||
Language: English (US)
|
||||
Typing:English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
Start Using Red Hat Enterprise Linux
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Details:
|
||||
* Time & Date: Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone Etc/UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
# run as qt user
|
||||
su
|
||||
chmod 755 coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
@@ -1,62 +0,0 @@
|
||||
### RED HAT ENTERPRISE LINUX 8.8 ###
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Installation Destination: Automatic partitioning selected
|
||||
Root Passowrd: Set
|
||||
Network & Host..: Connect
|
||||
User Creation
|
||||
Beging Installation
|
||||
|
||||
Reboot
|
||||
|
||||
Licensing: Accept
|
||||
Finish Configuration
|
||||
|
||||
gnome-initial-setup:
|
||||
Language: English (US)
|
||||
Typing:English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
Start Using Red Hat Enterprise Linux
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Details:
|
||||
* Time & Date: Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone Etc/UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
# run as qt user
|
||||
chmod 755 coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
@@ -1,51 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2023 The Qt Company Ltd.
|
||||
## 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
|
||||
sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
|
||||
[org/gnome/desktop/media-handling]
|
||||
automount=false
|
||||
automount-open=false
|
||||
EOF
|
||||
|
||||
sudo dconf update
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
### RHEL 9.2 ###
|
||||
Hard Disk: 500G
|
||||
Network: CI
|
||||
Video Card: Total Video Memory: 64MB
|
||||
Boot options/Firmware: BIOS
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Installation Destination: Automatic partitioning selected
|
||||
Root Passowrd: Set
|
||||
Network & Host..: Connect
|
||||
Beging Installation
|
||||
|
||||
Reboot
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Lock Screen Notifications: OFF
|
||||
* Applications: Set notification off
|
||||
Applications:
|
||||
* Disable notifications from all applications
|
||||
Privacy:
|
||||
* Blank Screen Delay: Never
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Displays:
|
||||
* Resolution: 1280 x 800
|
||||
Users:
|
||||
* Automatic login on
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
# run as qt user
|
||||
run './coin-setup'
|
||||
|
||||
# Switch to use GNOME Classic user interface
|
||||
# GNOME Classic was selected because there's an issue with Starndard (wayland display server). Autotest start failing because terminal session remains in Activities Overview.
|
||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3854
|
||||
First execute script ./01-disable-automounting.sh (dconf update crash in GNOME Classic)
|
||||
logout -> Select user (without it the drop down menu won't appear) -> switch to 'GNOME Classic' from drop down menu in login screen
|
||||
|
||||
Reboot
|
||||
@@ -1,75 +0,0 @@
|
||||
### SUSE Linux Enterprise Server 15 SP5 ###
|
||||
|
||||
# Register product #
|
||||
Register product at the beginning or later during the
|
||||
installation process. Full version allows registering later.
|
||||
|
||||
# Installation #
|
||||
Language: English (US)
|
||||
Keyboard Layout: English (US)
|
||||
|
||||
Available Extensions and Modules:
|
||||
Basesystem Module
|
||||
Desktop Applications Module
|
||||
Python 3 Module
|
||||
Server Applications Module
|
||||
|
||||
SLES with GNOME
|
||||
|
||||
Region: Etc
|
||||
Time Zone: UTC
|
||||
|
||||
Create user with automatic login
|
||||
|
||||
disable firewall
|
||||
|
||||
Displays: Resolution 1280x800
|
||||
Power: Screen Blank: Never
|
||||
Privacy: Screen lock: Automatic screen lock: disable
|
||||
Privacy: Screen lock: Show notifications on lock screen: disable
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
sudo su -
|
||||
echo 'add_drivers+=" virtio-blk "' >/etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Add these to /etc/polkit-default-privs.local
|
||||
org.freedesktop.udisks2.filesystem-mount yes
|
||||
org.freedesktop.udisks2.filesystem-mount-other-seat yes
|
||||
org.freedesktop.udisks2.filesystem-mount-system yes
|
||||
org.freedesktop.login1.power-off yes
|
||||
org.freedesktop.login1.power-off-ignore-inhibit yes
|
||||
org.freedesktop.login1.power-off-multiple-sessions yes
|
||||
|
||||
# Run this command for changes to take effect
|
||||
sudo bash /sbin/set_polkit_default_privs
|
||||
|
||||
# Set how DHClient creates CID for compatibility with older DHCP servers
|
||||
sudo sed -i 's/DHCLIENT_CREATE_CID=""/DHCLIENT_CREATE_CID="rfc2132"/' /etc/sysconfig/network/dhcp
|
||||
systemctl restart wicked
|
||||
|
||||
# Create /etc/sysconfig/network/ifcfg-eth1 with values:
|
||||
* BOOTPROTO='dhcp'
|
||||
* STARTMODE='auto'
|
||||
sudo ifup eth1
|
||||
|
||||
# If not yet registered - Register product
|
||||
# Add 'Available Extensions and Modules'
|
||||
* Basesystem Module 15 SP5 x86_64
|
||||
* Server Applications Module 15 SP5 x86_64
|
||||
* Python 3 Module 15 SP5 x86_64
|
||||
* Desktop Applications Module 15 SP5 x86_64
|
||||
|
||||
zypper update
|
||||
|
||||
* Download and run coin-setup
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_386/coin-setup
|
||||
# run as qt user
|
||||
chmod 755 ./coin-setup
|
||||
sudo ./coin-setup
|
||||
|
||||
sudo reboot now
|
||||
@@ -1,59 +0,0 @@
|
||||
### Ubuntu 20.04 ###
|
||||
Hard Disk: 1TB
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Desktop image, minimal install
|
||||
|
||||
Language: English (US)
|
||||
Typing: English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
* File History & Rubbish Bin:
|
||||
* File History: Off
|
||||
* Diagnostics:
|
||||
* Send error reports to Canonical: Never
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
* Automatic suspend: Off
|
||||
Appearance:
|
||||
* Auto-hide the dock: Off
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
Details:
|
||||
* Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
Software & Updates:
|
||||
* Updates:
|
||||
* Subscribed to: Security updates only
|
||||
* Automatically check for updates: Never
|
||||
* Notify me of a new Ubuntu version: Never
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
run 'sudo grub2-mkconfig'
|
||||
|
||||
# Install ssh server
|
||||
run 'sudo apt install openssh-server'
|
||||
|
||||
# Disable firewall
|
||||
run 'sudo ufw disable'
|
||||
|
||||
# Fetch and run coin-setup (in Opennebula)
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
### OpenSUSE Leap 15.5 ###
|
||||
## KDE ##
|
||||
## In qtci-linux-openSUSE-15.5-x86_64-52 > Graphics Platform: X11 (System default) ##
|
||||
|
||||
# Installation #
|
||||
Language: English (US)
|
||||
Keyboard Layout: English (US)
|
||||
|
||||
Activate online repositories during installation (yes)
|
||||
Use default selections
|
||||
|
||||
Desktop with KDE Plasma
|
||||
|
||||
Suggested Partitioning - default values
|
||||
|
||||
Time Zone: UTC
|
||||
|
||||
## Configurations ##
|
||||
Before coin-setup add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
Download and run coin-setup binary - http://10.215.100.35/coin/binary/linux_amd64/coin-setup
|
||||
- If IP has changed and Coin name not visible to VM, check from Coin logs which IP works for VMs
|
||||
Workspace Behavior - Screen locking - Lock screen automatically - unselect options
|
||||
Startup and Shutdown - Behavior - Login Screen - Select Automatically log in with session (System default)
|
||||
Notifications
|
||||
Critical notifications - unselect
|
||||
Low priority notifications - unselect
|
||||
Application progress: Show in task manager - unselect
|
||||
Show in notifications - unselect
|
||||
Notification badges: Show in task manager - unselect
|
||||
Display and Monitor - Display Configuration - 1280x800
|
||||
Power Management: Screen Energy Saving - unselect
|
||||
Suspend Session - unselect
|
||||
YaST - Hardware - Sound - Add Dummy soundcard
|
||||
|
||||
Reboot
|
||||
@@ -33,10 +33,10 @@ toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
|
||||
ndkSha1Latest="e27dcb9c8bcaa77b78ff68c3f23abcf6867959eb"
|
||||
ndkSha1Default=$ndkSha1Latest
|
||||
# Android automotive
|
||||
sdkApiLevelAutomotive="android-31"
|
||||
androidAutomotive12Url="$basePath/${sdkApiLevelAutomotive}_automotive.tar.gz"
|
||||
sdkApiLevelAutomovie="android-30"
|
||||
androidAutomotive11Url="$basePath/${sdkApiLevelAutomovie}_automotive.tar.gz"
|
||||
androidAutomotive="android-automotive"
|
||||
androidAutomotive12Sha="0b6498e0c0022c40b8bb2b275f704e6a298c04a3"
|
||||
android11Sha="4a5cd2bea7ce323b724c3ff1faab13d99f9d2be9"
|
||||
|
||||
toolsTargetFile="/tmp/$toolsFile"
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
@@ -118,18 +118,6 @@ echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
||||
./sdkmanager --install "emulator" --sdk_root=$sdkTargetFolder \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
|
||||
echo "Download and unzip Android Emulator version 32.1.15"
|
||||
emulatorFileName="emulator-linux_x64-10696886.zip"
|
||||
emulatorCiUrl="https://ci-files01-hki.ci.qt.io/input/android/$emulatorFileName"
|
||||
emulatorUrl="http://dl.google.com/android/repository/$emulatorFileName"
|
||||
emulatorTargetFile="$sdkTargetFolder/$emulatorFileName"
|
||||
emulatorSha1="b78f4d2c22d6aa5ca83d26ccb68cbf885a273888"
|
||||
DownloadURL "$emulatorCiUrl" "$emulatorUrl" "$emulatorSha1" "$emulatorTargetFile"
|
||||
echo "Unzipping the Android Emulator to '$sdkTargetFolder'"
|
||||
sudo unzip -o -q "$emulatorTargetFile" -d "$sdkTargetFolder"
|
||||
rm "$emulatorTargetFile"
|
||||
|
||||
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" | eval $sdkmanager_no_progress_bar_cmd
|
||||
|
||||
echo "y" | ./sdkmanager --install "system-images;android-33;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
|
||||
@@ -144,12 +132,12 @@ echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_33 -c 2048M -f \
|
||||
-k "system-images;android-33;google_apis;x86_64"
|
||||
|
||||
echo "Install $sdkApiLevelAutomotive $androidAutomotive"
|
||||
DownloadURL "$androidAutomotive12Url" "$androidAutomotive12Url" "$androidAutomotive12Sha" \
|
||||
"/tmp/${sdkApiLevelAutomotive}_automotive.tar.gz"
|
||||
sudo tar -xzf "/tmp/${sdkApiLevelAutomotive}_automotive.tar.gz" -C $sdkTargetFolder/system-images
|
||||
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_31 -c 2048M -f \
|
||||
-k "system-images;${sdkApiLevelAutomotive};${androidAutomotive};x86_64"
|
||||
echo "Install $sdkApiLevelAutomovie $androidAutomotive"
|
||||
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \
|
||||
"/tmp/${sdkApiLevelAutomovie}_automotive.tar.gz"
|
||||
sudo tar -xzf "/tmp/${sdkApiLevelAutomovie}_automotive.tar.gz" -C $sdkTargetFolder/system-images
|
||||
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_api_30 -c 2048M -f \
|
||||
-k "system-images;${sdkApiLevelAutomovie};${androidAutomotive};x86"
|
||||
|
||||
# Purely informative, show the list of avd devices
|
||||
./avdmanager list avd
|
||||
|
||||
@@ -1,44 +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
|
||||
|
||||
# This script installs Axivion Bauhaus Suite tool.
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
# source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
DownloadAndExtract () {
|
||||
url=$1
|
||||
sha=$2
|
||||
file=$3
|
||||
|
||||
DownloadURL "$url" "$url" "$sha" "$file"
|
||||
tar -xzvf $file
|
||||
|
||||
rm -rf $file
|
||||
}
|
||||
|
||||
|
||||
# Axivion Bauhaus Suite
|
||||
sourceFile="http://ci-files01-hki.ci.qt.io/input/axivion/bauhaus-suite-7_6_0-wavefront-2023-03-16-x86_64-gnu_linux.tar.gz"
|
||||
targetFile="bauhaus-suite-7_6_0-wavefront-2023-03-16-x86_64-gnu_linux.tar.gz"
|
||||
sha1="20bfa8872b90ff11394098a833d536229425535e"
|
||||
cd $HOME
|
||||
DownloadAndExtract "$sourceFile" "$sha1" "$targetFile" "$HOME"
|
||||
|
||||
mkdir $HOME/.bauhaus
|
||||
cd "$HOME/.bauhaus"
|
||||
wget http://ci-files01-hki.ci.qt.io/input/axivion/Qt_Evaluation_20231231.key
|
||||
cd $HOME
|
||||
|
||||
#Axivion configuration
|
||||
configurationFile="http://ci-files01-hki.ci.qt.io/input/axivion/axivion_config.tar.gz"
|
||||
configurationTargetFile="axivion_config.tar.gz"
|
||||
configSha1="f3aa53f253fa00c7f3fa64e9fe55aa7f93bc5377"
|
||||
DownloadAndExtract "$configurationFile" "$configSha1" "$configurationTargetFile" "$HOME"
|
||||
|
||||
echo "Axivion Bauhaus Suite = 7.6.0_wavefront-2022-03-16" >> ~/versions.txt
|
||||
@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.27"
|
||||
version="3.27.7"
|
||||
majorminorversion="3.24"
|
||||
version="3.24.2"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-x86_64.tar.gz"
|
||||
SHA1="83ab00c8432a71cfc81e933ee7b3c3e14d50ad6f"
|
||||
SHA1="12627c808674ee5f5bd3a6982176613bbd3ad9db"
|
||||
targetFolder="/opt/cmake-$version"
|
||||
appPrefix="cmake-$version-linux-x86_64"
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ set(CMAKE_C_FLAGS "-bsp $ENV{INTEGRITY_BSP} -os_dir $ENV{INTEGRITY_DIR} -non_sh
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUG "-g -Omaxdebug")
|
||||
set(CMAKE_C_FLAGS_RELEASE "-Ospeed -Olink -Omax -no_uvfd")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --signed_fields --diag_suppress=1,82,228,236,381,611,961,997,1795,1931,1974,3148,1721,1424,193,940,620,111,128,185,826,186,68,830,177,554,550,175,1441,546 -std=c11 --c++17 --thread_local_storage --exceptions --defer_parse_function_templates")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --signed_fields --diag_suppress=1,82,228,236,381,611,961,997,1795,1931,1974,3148 -std=c11 --c++17 --thread_local_storage --exceptions --defer_parse_function_templates")
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -frigor=accurate --signed_fields --no_implicit_include --link_once_templates -non_shared --new_outside_of_constructor --commons -I $ENV{QC_MULTIMEDIA_INC_DIR}")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
|
||||
|
||||
@@ -1,43 +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 -e
|
||||
set -f
|
||||
QT_USER="qt"
|
||||
CONFDIR=".config"
|
||||
KWINRC="kwinrc"
|
||||
KWC5=`which kwriteconfig5`
|
||||
|
||||
if [ -z "$KWC5" ]; then
|
||||
echo "(WW) kwriteconfig5 script not found."
|
||||
echo "---- skipping overview disabling."
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
echo "---- ensuring window overview is disabled in kwin."
|
||||
|
||||
# skip if user qt does not exist
|
||||
echo "---- checking user $QT_USER"
|
||||
if grep -q "^$QT_USER:" /etc/passwd; then
|
||||
echo "(**) found user $QT_USER"
|
||||
else
|
||||
echo "(WW) user $QT_USER not found."
|
||||
echo "---- skipping overview disabling."
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
CONFIGFILE="/home/$QT_USER/$CONFDIR/$KWINRC"
|
||||
|
||||
# Check kwinrc existence
|
||||
echo "---- checking for kwinrc."
|
||||
if [ -f "$CONFIGFILE" ]; then
|
||||
echo "(**) found kwinrc at $CONFIGFILE. Disabling overview."
|
||||
|
||||
$KWC5 --file "$CONFIGFILE" --group Effect-windowview --key BorderActivateAll "9"
|
||||
$KWC5 --file "$CONFIGFILE" --group Plugins --key windowOverview "false"
|
||||
|
||||
else
|
||||
echo "(WW) no kwinrc found at $CONFIGFILE."
|
||||
echo "(WW) exiting."
|
||||
fi
|
||||
@@ -1,26 +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
|
||||
|
||||
# This script install cpdb from sources.
|
||||
# Requires GCC and Perl to be in PATH.
|
||||
# The following dependencies should be pre-installed:
|
||||
# make, autoconf, autopoint, libglib2.0-dev, libdbus-1-dev, libtool
|
||||
set -ex
|
||||
|
||||
repName="cpdb-libs"
|
||||
gitUrl="https://github.com/openprinting/$repName.git"
|
||||
tmpdir="/tmp"
|
||||
repDir="$tmpdir/$repName"
|
||||
prefix="/usr"
|
||||
rm -rf $repDir
|
||||
cd $tmpdir
|
||||
git clone $gitUrl >/dev/null
|
||||
cd $repDir
|
||||
# cpdb-libs v2.0b4 with build bug fixed
|
||||
git checkout ce848f1571a82ec03881fce127ff28bec8da239e > /dev/null
|
||||
./autogen.sh > /dev/null
|
||||
./configure --prefix=$prefix > /dev/null
|
||||
make -j$(nproc) > /dev/null && sudo make install > /dev/null
|
||||
sudo ldconfig
|
||||
rm -rf $repDir
|
||||
@@ -25,7 +25,7 @@ case "$uname_m" in
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
internalUrl="http://ci-files01-hki.intra.qt.io/input/nodejs/$pkgname"
|
||||
internalUrl="http://ci-files01-hki.ci.qt.io/input/nodejs/$pkgname"
|
||||
externalUrl="https://nodejs.org/dist/v$version/$pkgname"
|
||||
|
||||
targetFile="$HOME/$pkgname"
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2022 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 -e
|
||||
|
||||
SSL_VER=$1
|
||||
PACK_TYPE=$2
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
|
||||
|
||||
|
||||
localRepo=http://ci-files01-hki.intra.qt.io/input/docker
|
||||
upstreamRepo=http://install.mimer.com/qt
|
||||
if [ "$SSL_VER" = "openssl-3" ]; then
|
||||
if [ "$PACK_TYPE" = "rpm" ]; then
|
||||
packageFile=mimersqlsrv-11.0.x86_64-openssl3.rpm
|
||||
sha=5f21d440a12cddcc786ddff3a136bef821f1bf64
|
||||
else
|
||||
packageFile=mimersqlsrv_11.0_amd64-openssl3.deb
|
||||
sha=3239b593724c564862d3bbfb70fed16909a93959
|
||||
fi
|
||||
else
|
||||
if [ "$PACK_TYPE" = "rpm" ]; then
|
||||
packageFile=mimersqlsrv-11.0.x86_64-openssl1.rpm
|
||||
sha=34533347424ba540b36d0a6ae2f416b901d8bafb
|
||||
else
|
||||
packageFile=mimersqlsrv_11.0_amd64-openssl1.deb
|
||||
sha=f4ac939a190ef048150b06cecc7a392386b6e132
|
||||
fi
|
||||
fi
|
||||
DownloadURL $localRepo/$packageFile $upstreamRepo/$packageFile $sha /tmp/$packageFile
|
||||
|
||||
if [ "$PACK_TYPE" = "rpm" ]; then
|
||||
sudo rpm -U /tmp/$packageFile
|
||||
else
|
||||
sudo apt-get -y install /tmp/$packageFile
|
||||
fi
|
||||
rm -f /tmp/$packageFile
|
||||
@@ -45,14 +45,6 @@ lib/dll/img_codec_tif.so=lib/dll/img_codec_tif.so
|
||||
# for inotify
|
||||
xbin/fsevmgr=sbin/fsevmgr
|
||||
|
||||
##############################################
|
||||
### MM support
|
||||
##############################################
|
||||
lib/libstrm.so.1=usr/lib/libstrm.so.1
|
||||
lib/libcamapi.so.1=usr/lib/libcamapi.so.1
|
||||
lib/libmmrndclient.so.1=usr/lib/libmmrndclient.so.1
|
||||
lib/libscreen.so.1=usr/lib/libscreen.so.1
|
||||
|
||||
# for fontconfig
|
||||
lib/libfontconfig.so.1=usr/lib/libfontconfig.so.1
|
||||
xbin/fc-cache=bin/fc-cache
|
||||
|
||||
@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.27.7"
|
||||
version="3.27.7"
|
||||
majorminorversion="3.24.2"
|
||||
version="3.24.2"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-$version-macos-universal.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-macos-universal.tar.gz"
|
||||
SHA1="75153b6c7a418bc7120c6217d4698c7d245d00e0"
|
||||
SHA1="19b1473e6ded2d234256b6aac90eb22616c5ab5e"
|
||||
appPrefix="cmake-$version-macos-universal"
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||
|
||||
@@ -8,24 +8,18 @@ set -e
|
||||
|
||||
for dir in "$@"; do
|
||||
echo "Processing files in $dir ..."
|
||||
pushd "$dir" >/dev/null
|
||||
find . -type f -or -type l | while read -r f; do
|
||||
pushd $dir >/dev/null
|
||||
find . -type f | while read f; do
|
||||
dst="${f:1}"
|
||||
dstdir="$(dirname "$dst")"
|
||||
mkdir -p "$dstdir"
|
||||
|
||||
if [[ -L "$f" ]]; then
|
||||
if [[ ! -L "$dst" && ! -d "$dst" && ! -f "$dst" ]]; then
|
||||
echo "Copying symlink $dir/$f to $dst"
|
||||
cp -P -n "$f" "$dst"
|
||||
fi
|
||||
elif [[ ! -f "$dst" ]]; then
|
||||
dstdir=$(dirname $dst)
|
||||
mkdir -p $dstdir
|
||||
if [[ ! -f $dst ]]; then
|
||||
echo "Copying $dir/$f to $dst"
|
||||
cp -c "$f" "$dst"
|
||||
elif lipo -info "$f" >/dev/null 2>&1; then
|
||||
cp -c $f $dst
|
||||
elif lipo -info $f >/dev/null 2>&1; then
|
||||
echo "Lipoing $dir/$f into $dst"
|
||||
lipo -create -output "$dst" "$dst" "$f"
|
||||
elif ! diff "$f" "$dst"; then
|
||||
lipo -create -output $dst $dst $f
|
||||
elif ! diff $f $dst; then
|
||||
echo "Error: File $f in $dir doesn't match destination $dst"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -1,57 +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
|
||||
|
||||
# This script installs Mimer SQL
|
||||
|
||||
# Mimer SQL is needed for Qt to be able to support Mimer SQL
|
||||
|
||||
set -ex
|
||||
os="$1"
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
|
||||
mimerSqlVersion="11.0.7G"
|
||||
if [ "$os" = "macos" ]; then
|
||||
arch=$(uname -m)
|
||||
if [ "$arch" = "x86_64" ]; then
|
||||
mimerSqlPackageName="mimersql-110_x86_64.tgz"
|
||||
SHA1="d748f87b72e7188c527f131db2590f552f18f544"
|
||||
else
|
||||
mimerSqlPackageName="mimersql-110_arm64.tgz"
|
||||
SHA1="f209c97074d096e50e637441073e8aa355c5116e"
|
||||
fi
|
||||
else
|
||||
mimerSqlPackageName="mimersql-110_universal.tgz"
|
||||
SHA1="eab32be623f1cbde7c29cea0f0ca4332b8ca502b"
|
||||
fi
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/$mimerSqlPackageName"
|
||||
AltUrl="https://install.mimer.com/qt/macOS/$mimerSqlPackageName"
|
||||
appPrefix=""
|
||||
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "/tmp/$mimerSqlPackageName"
|
||||
|
||||
echo "Installing $mimerSqlPackageName"
|
||||
if [ -e /tmp/mimersql_${mimerSqlVersion} ]; then
|
||||
rm -r /tmp/mimersql_${mimerSqlVersion}
|
||||
fi
|
||||
mkdir /tmp/mimersql_${mimerSqlVersion}
|
||||
tar -C /tmp/mimersql_${mimerSqlVersion} -zxf /tmp/$mimerSqlPackageName
|
||||
if [ ! -e /usr/local/include ]; then
|
||||
sudo mkdir -p /usr/local/include
|
||||
sudo chmod 777 /usr/local/include
|
||||
fi
|
||||
if [ ! -e /usr/local/lib ]; then
|
||||
sudo mkdir -p /usr/local/lib
|
||||
sudo chmod 777 /usr/local/lib
|
||||
fi
|
||||
sudo cp /tmp/mimersql_${mimerSqlVersion}/include/*.h /usr/local/include/
|
||||
sudo chmod 755 /usr/local/include/mimer*.h
|
||||
sudo cp /tmp/mimersql_${mimerSqlVersion}/lib/libmimerapi.dylib /usr/local/lib/
|
||||
sudo chmod 755 /usr/local/lib/libmimerapi.dylib
|
||||
echo "Removing $mimerSqlPackageName"
|
||||
rm "/tmp/$mimerSqlPackageName"
|
||||
rm -r /tmp/mimersql_${mimerSqlVersion}
|
||||
echo "Mimer SQL = $mimerSqlVersion" >> ~/versions.txt
|
||||
@@ -8,7 +8,7 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# This script will install Nodejs
|
||||
|
||||
version="18.16.0"
|
||||
urlCache="http://ci-files01-hki.intra.qt.io/input/nodejs/node-v$version.pkg"
|
||||
urlCache="http://ci-files01-hki.ci.qt.io/input/nodejs/node-v$version.pkg"
|
||||
urlOffcial="https://nodejs.org/dist/v$version/node-v$version.pkg"
|
||||
sha256="156aa5b9580288fb0b3c6134eb8fac64e50745d78d33eebe9e29eb7ff87b8e1e"
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
set(CMAKE_SYSTEM_NAME QNX)
|
||||
set(CMAKE_SYSTEM_PROCESSOR aarch64le)
|
||||
|
||||
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
@@ -14,7 +13,7 @@ if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_INCLUDE)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
endif()
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET};$ENV{QNX_TARGET}/${CMAKE_SYSTEM_PROCESSOR})
|
||||
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}/target/qnx7/)
|
||||
|
||||
set(_qnx_toolchain_arch gcc_ntoaarch64le)
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
set(CMAKE_SYSTEM_NAME QNX)
|
||||
set(CMALE_SYSTEM_PROCESSOR armv7le)
|
||||
|
||||
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
@@ -14,7 +13,7 @@ if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_INCLUDE)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
endif()
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET};$ENV{QNX_TARGET}/${CMAKE_SYSTEM_PROCESSOR})
|
||||
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}/target/qnx7/)
|
||||
|
||||
set(_qnx_toolchain_arch gcc_ntoarmv7le)
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
set(CMAKE_SYSTEM_NAME QNX)
|
||||
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
||||
|
||||
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
@@ -14,7 +13,7 @@ if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_INCLUDE)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
endif()
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET};$ENV{QNX_TARGET}/${CMAKE_SYSTEM_PROCESSOR})
|
||||
set(CMAKE_FIND_ROOT_PATH $ENV{QNX_TARGET}/target/qnx7/)
|
||||
|
||||
set(_qnx_toolchain_arch gcc_ntox86_64)
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic --disable-vulkan --disable-v4l2-m2m --disable-decoder=truemotion1
|
||||
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic --disable-vulkan --disable-v4l2-m2m
|
||||
|
||||
@@ -107,7 +107,7 @@ set_common_environment () {
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64) PROVISIONING_ARCH=amd64 ;;
|
||||
arm64) PROVISIONING_ARCH=arm64 ;;
|
||||
arm64|aarch64) PROVISIONING_ARCH=arm64 ;;
|
||||
i[3456]86) PROVISIONING_ARCH=x86 ;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
@@ -5,36 +5,15 @@
|
||||
# shellcheck source=./SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
|
||||
version="3.1.37"
|
||||
version="3.1.25"
|
||||
versionNode="v14.18.2"
|
||||
tarBallVersion=$(sed "s/\./\_/g" <<<"$version")
|
||||
if uname -a |grep -q Darwin; then
|
||||
tarBallPackage="emsdk_macos_${tarBallVersion}.tar.gz"
|
||||
sha="fe9900b0f27ada608f25552dbd4a58bf62c6f05b"
|
||||
else
|
||||
tarBallPackage="emsdk_linux_${tarBallVersion}.tar.gz"
|
||||
sha="000bbd5666d8fc1afbf2dce1a7938ef0efeeab3f"
|
||||
fi
|
||||
cacheUrl="https://ci-files01-hki.intra.qt.io/input/emsdk/${tarBallPackage}"
|
||||
target="/tmp/${tarBallPackage}"
|
||||
|
||||
mkdir -p /opt
|
||||
cd /opt
|
||||
echo "URL: $cacheUrl"
|
||||
|
||||
if DownloadURL "$cacheUrl" "" "$sha" "$target"; then
|
||||
sudo tar -xzf "$target" -C /opt/
|
||||
sudo rm -f "$target"
|
||||
else
|
||||
echo "Emsdk isn't cached. Cloning it"
|
||||
sudo git clone https://github.com/emscripten-core/emsdk.git
|
||||
cd emsdk
|
||||
sudo ./emsdk install "$version"
|
||||
sudo ./emsdk activate "$version"
|
||||
fi
|
||||
sudo git clone https://github.com/emscripten-core/emsdk.git
|
||||
cd emsdk
|
||||
sudo ./emsdk install $version
|
||||
sudo ./emsdk activate $version
|
||||
|
||||
# platform-specific toolchain and node binaries. urls obtained from "emsdk install"
|
||||
if uname -a |grep -q Darwin; then
|
||||
|
||||
@@ -11,10 +11,10 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
version="n6.0"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
sha1="78435ec71cc2227017a99c030e858719b8c7c74d"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
target_dir="$HOME"
|
||||
@@ -33,23 +33,18 @@ build_ffmpeg_android() {
|
||||
|
||||
sudo mkdir -p "$target_dir"
|
||||
|
||||
openssl_include="$OPENSSL_ANDROID_HOME_DEFAULT/include"
|
||||
openssl_libs=""
|
||||
if [ "$target_arch" == "x86_64" ]; then
|
||||
target_toolchain_arch="x86_64-linux-android"
|
||||
target_arch=x86_64
|
||||
target_cpu=x86-64
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86_64"
|
||||
target_cpu=x86_64
|
||||
elif [ "$target_arch" == "x86" ]; then
|
||||
target_toolchain_arch="i686-linux-android"
|
||||
target_arch=x86
|
||||
target_cpu=i686
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86"
|
||||
elif [ "$target_arch" == "arm64" ]; then
|
||||
target_toolchain_arch="aarch64-linux-android"
|
||||
target_arch=aarch64
|
||||
target_cpu=armv8-a
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/arm64-v8a"
|
||||
fi
|
||||
|
||||
api_version=24
|
||||
@@ -73,10 +68,9 @@ build_ffmpeg_android() {
|
||||
strip=${toolchain_bin}/llvm-strip
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
ffmpeg_config_options+=" --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
ffmpeg_config_options+=" --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
ffmpeg_config_options+=" --extra-cflags=-I${openssl_include} --extra-ldflags=-L${openssl_libs}"
|
||||
|
||||
local build_dir="$ffmpeg_source_dir/build/$target_arch"
|
||||
sudo mkdir -p "$build_dir"
|
||||
|
||||
@@ -11,9 +11,12 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
# Commit c5039e158d20e85d4d8a2dee3160533d627b839a is the latest one in 6.0 branch.
|
||||
# When using the latest commit we will also get fix for https://fftrac-bg.ffmpeg.org/ticket/10405
|
||||
# Should be changed to official release as soon as possible!
|
||||
version="c5039e158d20e85d4d8a2dee3160533d627b839a"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/$version.tar.gz"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
sha1="4e13a26d3be7ac4d69201a6aa0accd734b24b3c4"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
|
||||
@@ -56,16 +56,7 @@ echo "Configuring and building gRPC"
|
||||
buildDir="$HOME/build-grpc-$version"
|
||||
mkdir -p "$buildDir"
|
||||
cd "$buildDir"
|
||||
cmake $targetDir -G"Ninja Multi-Config" \
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
-DCMAKE_CONFIGURATION_TYPES="Release;Debug;RelWithDebugInfo" \
|
||||
-DCMAKE_INSTALL_PREFIX=$installPrefix \
|
||||
$extraCMakeArgs \
|
||||
$extraOpenSslArg \
|
||||
-DgRPC_BUILD_TESTS=OFF \
|
||||
-DgRPC_PROTOBUF_PROVIDER="package" \
|
||||
-DgRPC_SSL_PROVIDER="package" \
|
||||
-DgRPC_ZLIB_PROVIDER="package"
|
||||
cmake $targetDir -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="Release;Debug;RelWithDebugInfo" -DCMAKE_INSTALL_PREFIX=$installPrefix $extraCMakeArgs $extraOpenSslArg -DgRPC_BUILD_TESTS=OFF -DgRPC_PROTOBUF_PROVIDER="package" -DgRPC_SSL_PROVIDER="package" -DgRPC_ZLIB_PROVIDER="package"
|
||||
ninja all
|
||||
|
||||
sudo env "PATH=$PATH" ninja install
|
||||
|
||||
@@ -47,18 +47,7 @@ fi
|
||||
buildDir="$HOME/build-protobuf-$version"
|
||||
mkdir "$buildDir"
|
||||
cd "$buildDir"
|
||||
cmake $targetDir -G"Ninja Multi-Config" \
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=$installPrefix \
|
||||
$extraCMakeArgs \
|
||||
-Dprotobuf_BUILD_TESTS=OFF \
|
||||
-Dprotobuf_BUILD_EXAMPLES=OFF \
|
||||
-Dprotobuf_BUILD_PROTOC_BINARIES=ON \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-Dprotobuf_WITH_ZLIB=OFF \
|
||||
-DCMAKE_CONFIGURATION_TYPES="Release;Debug;RelWithDebugInfo" \
|
||||
-DCMAKE_CROSS_CONFIGS=all \
|
||||
-DCMAKE_DEFAULT_CONFIGS=all
|
||||
cmake $targetDir -G"Ninja Multi-Config" -DCMAKE_INSTALL_PREFIX=$installPrefix $extraCMakeArgs -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_BUILD_PROTOC_BINARIES=ON -DBUILD_SHARED_LIBS=OFF -Dprotobuf_WITH_ZLIB=OFF -DCMAKE_CONFIGURATION_TYPES="Release;Debug;RelWithDebugInfo" -DCMAKE_CROSS_CONFIGS=all -DCMAKE_DEFAULT_CONFIGS=all
|
||||
ninja all:all
|
||||
sudo env "PATH=$PATH" ninja install:all
|
||||
|
||||
|
||||
@@ -36,6 +36,11 @@ elif [ "$PROVISIONING_OS_ID" = ubuntu ]; then
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
sha1="dd170ec762a7ec8ac84b4b5cac3a422514e5b030"
|
||||
elif [ "$PROVISIONING_OS_ID" = debian ]; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
sha1="c7b1d28ef835192b033f317c96686780d85d8eba"
|
||||
else
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
|
||||
|
||||
@@ -63,7 +63,7 @@ echo "Uncompress $compressedFolder"
|
||||
sudo tar -xzf "$targetFileMount" --directory "$installFolder"
|
||||
|
||||
echo "Unmounting $mountFolder"
|
||||
sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder" || true
|
||||
sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder"
|
||||
|
||||
sudo mv "$installFolder/rta_squish_$qtBranch" "$squishFolder"
|
||||
if uname -a |grep -q Darwin; then
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$majorminorversion = "3.27"
|
||||
$version = "3.27.7"
|
||||
$majorminorversion = "3.24"
|
||||
$version = "3.24.2"
|
||||
|
||||
$zip = Get-DownloadLocation ("cmake-" + $version + "-windows-i386.zip")
|
||||
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-windows-i386.zip"
|
||||
@@ -14,7 +14,7 @@ Write-Host "Removing old cmake"
|
||||
Remove "C:\CMake"
|
||||
|
||||
Download $officialurl $cachedurl $zip
|
||||
Verify-Checksum $zip "b6147215a5f9cd1138b012265229fbf2224d02c6"
|
||||
Verify-Checksum $zip "97e6cdedded7a7522f4f4a64d7545d0454b4fad5"
|
||||
|
||||
Extract-7Zip $zip C:
|
||||
$defaultinstallfolder = "C:\cmake-" + $version + "-windows-i386"
|
||||
|
||||
@@ -5,31 +5,17 @@
|
||||
|
||||
# This script will install emscripten needed by WebAssembly
|
||||
|
||||
$version = "3.1.37"
|
||||
$zipVersion = $version -replace '\.', "_"
|
||||
$temp = "$env:tmp"
|
||||
$cacheUrl = "https://ci-files01-hki.ci.qt.io/input/emsdk/emsdk_windows_${zipVersion}.zip"
|
||||
$sha = "5e5c0f50a940be09b82bf8256434f4510270e208"
|
||||
$version = "3.1.25"
|
||||
|
||||
# Make sure python is in the path
|
||||
Prepend-Path "C:\Python27"
|
||||
|
||||
cd "C:\\Utils"
|
||||
C:\PROGRA~1\Git\bin\git clone https://github.com/emscripten-core/emsdk.git
|
||||
$installLocationEmsdk = "C:\\Utils\\emsdk"
|
||||
try {
|
||||
Write-Host "Fetching from cached location"
|
||||
Download $cacheUrl $cacheUrl ${temp}\${zipVersion}.zip
|
||||
Verify-Checksum ${temp}\${zipVersion}.zip $sha
|
||||
Extract-7Zip ${temp}\${zipVersion}.zip C:\Utils\
|
||||
cd $installLocationEmsdk
|
||||
.\emsdk activate $version
|
||||
} catch {
|
||||
Write-Host "Can't find cached emsdk. Cloning it"
|
||||
C:\PROGRA~1\Git\bin\git clone https://github.com/emscripten-core/emsdk.git
|
||||
cd $installLocationEmsdk
|
||||
.\emsdk install $version
|
||||
.\emsdk activate $version
|
||||
}
|
||||
cd $installLocationEmsdk
|
||||
.\emsdk install $version
|
||||
.\emsdk activate $version
|
||||
|
||||
$versionWinPython = $($Env:EMSDK_PYTHON -split ('python\\') -split ('_64bit'))[1]
|
||||
$versionNode = $($Env:EMSDK_NODE -split ('node\\') -split ('_64bit'))[1]
|
||||
|
||||
@@ -20,20 +20,23 @@ function build-install-grpc {
|
||||
)
|
||||
$installPrefix = "C:\Utils\grpc"
|
||||
$installPath = "${installPrefix}-$Postfix"
|
||||
$envVariableName = "Protobuf_ROOT_$Postfix"
|
||||
$protobufRoot = (Get-Item -Path "Env:$envVariableName").Value
|
||||
Write-Output "Configuring and building gRPC for $CXX"
|
||||
$oldCC = $env:CC
|
||||
$oldCXX = $env:CXX
|
||||
$env:CC = $CC
|
||||
$env:CXX = $CXX
|
||||
$Protobuf_ROOT="C:\Utils\protobuf-$Postfix"
|
||||
if (!(Test-Path $Protobuf_ROOT -ErrorAction SilentlyContinue)) {
|
||||
throw "Protobuf is missing, expected at `"$Protobuf_ROOT`"."
|
||||
}
|
||||
$OPENSSL_ROOT_DIR="C:\openssl"
|
||||
if (!(Test-Path $OPENSSL_ROOT_DIR -ErrorAction SilentlyContinue)) {
|
||||
throw "OpenSSL is missing, expected at `"$OPENSSL_ROOT_DIR`"."
|
||||
}
|
||||
Remove build-grpc
|
||||
mkdir build-grpc
|
||||
Push-Location build-grpc
|
||||
$configureOptions = @(
|
||||
# add postfix for multi-config
|
||||
"-DCMAKE_DEBUG_POSTFIX=d"
|
||||
"-DCMAKE_RELWITHDEBINFO_POSTFIX=rd"
|
||||
# plugins
|
||||
"-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF"
|
||||
"-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF"
|
||||
@@ -45,11 +48,12 @@ function build-install-grpc {
|
||||
"-DgRPC_BUILD_CSHARP_EXT=OFF"
|
||||
# general
|
||||
"-DgRPC_BUILD_TESTS=OFF"
|
||||
"-DgRPC_PROTOBUF_PROVIDER=package"
|
||||
"-DgRPC_SSL_PROVIDER=package"
|
||||
"-DgRPC_PROTOBUF_PROVIDER=`"package`""
|
||||
"-DgRPC_SSL_PROVIDER=`"package`""
|
||||
"-DOPENSSL_ROOT_DIR=`"$OPENSSL_ROOT_DIR`""
|
||||
# protobuf
|
||||
"-DProtobuf_USE_STATIC_LIBS=ON"
|
||||
"-DCMAKE_PREFIX_PATH=$protobufRoot"
|
||||
"-DProtobuf_ROOT=`"$Protobuf_ROOT`""
|
||||
)
|
||||
cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" $extraCMakeArgs $configureOptions
|
||||
$result = $LASTEXITCODE
|
||||
@@ -62,7 +66,7 @@ function build-install-grpc {
|
||||
}
|
||||
$env:CC = $oldCC
|
||||
$env:CXX = $oldCXX
|
||||
Set-EnvironmentVariable "gRPC_ROOT_$Postfix" "$installPath"
|
||||
Set-EnvironmentVariable "gRPC_ROOT_$Postfix" "$InstallPath"
|
||||
Pop-Location
|
||||
Remove build-grpc
|
||||
if ($result -ne 0) {
|
||||
@@ -107,15 +111,44 @@ Verify-Checksum $targetFile $sha1
|
||||
Extract-7Zip $targetFile $basedir
|
||||
Remove $targetFile
|
||||
|
||||
Push-Location $targetDir
|
||||
Push-Location $basedir
|
||||
|
||||
### gRPC supports only MSVC compiler
|
||||
# Create a new top-level CMakeLists.txt file so we can set a modern policy
|
||||
# for find_package calls
|
||||
Write-Output "cmake_minimum_required(VERSION 3.5.1)`nproject(grpc LANGUAGES C CXX)`ncmake_policy(SET CMP0074 NEW)`nadd_subdirectory(grpc-$version)" | Out-File CMakeLists.txt -Encoding utf8
|
||||
|
||||
### MinGW
|
||||
|
||||
# Check if mingw is where we expect it to be and add it to path:
|
||||
$mingwPath = "C:\MINGW1120\mingw64\bin"
|
||||
if (!(Test-Path $mingwPath)) {
|
||||
throw "Cannot find mingw in $mingwPath, something is configured wrong"
|
||||
}
|
||||
|
||||
$oldPath = $env:Path
|
||||
$env:Path = "$mingwPath;$env:Path"
|
||||
build-install-grpc -CC "gcc" -CXX "g++" -BuildType "Release" -Postfix "mingw"
|
||||
$env:Path = $oldPath
|
||||
|
||||
### LLVM MinGW
|
||||
|
||||
# $llvmMingwPath = "C:\llvm-mingw"
|
||||
# if (!(Test-Path $llvmMingwPath)) {
|
||||
# throw "Cannot find llvm-mingw in $llvmMingwPath, something is configured wrong"
|
||||
# }
|
||||
|
||||
$oldPath = $env:Path
|
||||
$env:Path = "$llvmMingwPath\bin;$env:Path"
|
||||
# build-install-grpc -CC "clang" -CXX "clang++" -BuildType "Release" -Postfix "llvm_mingw"
|
||||
$env:Path = $oldPath
|
||||
|
||||
### MSVC
|
||||
|
||||
EnterVSDevShell
|
||||
|
||||
# We pass along an extra argument to stop gRPC linking with the static runtime to match Protobuf config
|
||||
build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "msvc" -ExtraArguments @("-DgRPC_MSVC_STATIC_RUNTIME=OFF")
|
||||
build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc"
|
||||
|
||||
$env:Path = $oldPath
|
||||
Pop-Location
|
||||
Remove $basedir
|
||||
|
||||
|
||||
@@ -26,10 +26,6 @@ Verify-Checksum $dependsPackage $sha1
|
||||
|
||||
Extract-7Zip $dependsPackage $TARGETDIR
|
||||
|
||||
# Copy the content also into the cache location of nuitka
|
||||
# This makes it usable without the need to download it again
|
||||
Copy-Item -Path $TARGETDIR -Destination "$env:LOCALAPPDATA\Nuitka\Nuitka\Cache\downloads\depends\x86_64" -Recurse
|
||||
|
||||
Write-Host "Cleaning $dependsPackage.."
|
||||
Remove "$dependsPackage"
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
# This script will install FFmpeg
|
||||
$msys = "C:\Utils\msys64\usr\bin\bash"
|
||||
|
||||
$version = "n6.1.1"
|
||||
$version = "n6.0"
|
||||
$ffmpeg_name = "ffmpeg-" + $version;
|
||||
$sha1 = "7AECCED8A0366BE407329B4E176167534233DA12"
|
||||
$sha1 = "5DDDE739FF966A7EEE810D65D7290860A52709D7"
|
||||
|
||||
$url_cached = "http://ci-files01-hki.intra.qt.io/input/ffmpeg/" + $version + ".zip"
|
||||
$url_public = "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/" +$version + ".zip"
|
||||
@@ -32,8 +32,7 @@ function InstallFfmpeg {
|
||||
[string]$msystem,
|
||||
[string]$additionalPath,
|
||||
[string]$ffmpegDirEnvVar,
|
||||
[string]$toolchain,
|
||||
[bool]$shared
|
||||
[string]$toolchain
|
||||
)
|
||||
|
||||
Write-Host "Configure and compile ffmpeg for $buildSystem"
|
||||
@@ -48,7 +47,6 @@ function InstallFfmpeg {
|
||||
$cmd += " && mkdir -p build/$buildSystem && cd build/$buildSystem"
|
||||
$cmd += " && ../../configure --prefix=installed $config"
|
||||
if ($toolchain) { $cmd += " --toolchain=$toolchain" }
|
||||
if ($shared) { $cmd += " --enable-shared --disable-static" }
|
||||
$cmd += " && make install -j"
|
||||
|
||||
Write-Host "MSYS cmd:"
|
||||
@@ -68,7 +66,7 @@ function InstallFfmpeg {
|
||||
|
||||
function InstallMingwFfmpeg {
|
||||
$mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW1120", [System.EnvironmentVariableTarget]::Machine)
|
||||
return InstallFfmpeg -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW" -shared $true
|
||||
return InstallFfmpeg -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW"
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +76,7 @@ function InstallMsvcFfmpeg {
|
||||
return $false
|
||||
}
|
||||
|
||||
$result = InstallFfmpeg -buildSystem "msvc" -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar "FFMPEG_DIR_MSVC" -shared $true
|
||||
$result = InstallFfmpeg -buildSystem "msvc" -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar "FFMPEG_DIR_MSVC"
|
||||
|
||||
if ($result) {
|
||||
# As ffmpeg build system creates lib*.a file we have to rename them to *.lib files to be recognized by WIN32
|
||||
@@ -101,7 +99,7 @@ function InstallMsvcFfmpeg {
|
||||
|
||||
|
||||
function InstallLlvmMingwFfmpeg {
|
||||
return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin" -shared $true
|
||||
return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin"
|
||||
}
|
||||
|
||||
function InstallAndroidArmv7 {
|
||||
@@ -124,15 +122,11 @@ function InstallAndroidArmv7 {
|
||||
$ranlib="${toolchain_bin}/llvm-ranlib.exe"
|
||||
$nm="${toolchain_bin}/llvm-nm.exe"
|
||||
$strip="${toolchain_bin}/llvm-strip.exe"
|
||||
$openssl_path = [System.Environment]::GetEnvironmentVariable("OPENSSL_ANDROID_HOME_DEFAULT", [System.EnvironmentVariableTarget]::Machine)
|
||||
$openssl_path = $openssl_path.Replace("\", "/")
|
||||
|
||||
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||
$config += " --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
$config += " --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
$config += " --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
$config += " --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
$config += " --extra-cflags=-I$envOPENSSL_ANDROID_HOME_DEFAULT/include --extra-ldflags=-L$env:OPENSSL_ANDROID_HOME_DEFAULT/armeabi-v7a"
|
||||
$config += " --extra-cflags=-I${openssl_path}/include --extra-ldflags=-L${openssl_path}/armeabi-v7a"
|
||||
|
||||
return InstallFfmpeg -buildSystem "android-arm" -msystem "ANDROID_CLANG" -ffmpegDirEnvVar "FFMPEG_DIR_ANDROID_ARMV7"
|
||||
}
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
|
||||
# This script will installs msys2
|
||||
|
||||
$version = "20240113"
|
||||
$version = "20220319"
|
||||
$prog = "msys2"
|
||||
$arch = "x86_64"
|
||||
$sha1 = "b46c08fd901da0fdba1dc30422a322766d7d03c6"
|
||||
$sha1 = "d3d05090c09c08a47efbffe469142b45231cbc89"
|
||||
$sha1_prebuilt = "d86d45d72228f53f7ae060771bc95b6f54c703c8"
|
||||
$folder = "msys64"
|
||||
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$archive = Get-DownloadLocation "libusb-1.0.26.7z"
|
||||
$archive = Get-DownloadLocation "libusb-1.0.24.7z"
|
||||
|
||||
$libusb_location = "C:\Utils\libusb-1.0"
|
||||
|
||||
Copy-Item \\ci-files01-hki.ci.qt.io\provisioning\libusb-1.0\libusb-1.0.26.7z $archive
|
||||
Verify-Checksum $archive "89b50c7d6085350ed809a12b19131ff4f608b2f2"
|
||||
Copy-Item \\ci-files01-hki.intra.qt.io\provisioning\libusb-1.0\libusb-1.0.24.7z $archive
|
||||
Verify-Checksum $archive "1ACAAD5C8F5190A10958867101A5FEEF1FFA1CD8"
|
||||
|
||||
Extract-7Zip $archive $libusb_location
|
||||
|
||||
# Tell qt-apps/qdb build system where to find libusb
|
||||
Set-EnvironmentVariable "LIBUSB_PATH" $libusb_location
|
||||
|
||||
Write-Output "libusb = libusb-1.0.26" >> ~/versions.txt
|
||||
Write-Output "libusb = libusb-1.0.24" >> ~/versions.txt
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script will install Mimer SQL
|
||||
|
||||
|
||||
$version = "1107b"
|
||||
|
||||
$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\MimerSQLInstaller_x64_" + $version + ".exe"
|
||||
$url_official = "https://install.mimer.com/qt/windows_" + $version + "/MimerSQLInstaller_x64.exe"
|
||||
$mimersqlPackage = "C:\Windows\Temp\MimerSQLInstaller_x64_" + $version + ".exe"
|
||||
$sha1 = "A709A06EA1D897B13FA10DBDD4BE3BD0FEB04B28"
|
||||
$mimer_dir="c:\MimerSQL"
|
||||
|
||||
Download $url_official $url_cache $mimersqlPackage
|
||||
Verify-Checksum $mimersqlPackage $sha1
|
||||
Run-Executable "$mimersqlPackage" "/install InstallFolder=$mimer_dir /passive"
|
||||
|
||||
Set-EnvironmentVariable "MIMERSQL_DEV_ROOT" "$mimer_dir\dev"
|
||||
|
||||
Write-Host "Cleaning $mimersqlPackage.."
|
||||
#Remove "$mimersqlPackage"
|
||||
Remove "$mimer_dir\dev\include\odbcinst.h"
|
||||
Remove "$mimer_dir\dev\include\Sql.h"
|
||||
Remove "$mimer_dir\dev\include\sqlext.h"
|
||||
Remove "$mimer_dir\dev\include\sqltypes.h"
|
||||
Remove "$mimer_dir\dev\include\sqlucode.h"
|
||||
|
||||
Write-Output "Mimer SQL = $version" >> ~\versions.txt
|
||||
@@ -9,21 +9,21 @@
|
||||
$version = "20.7.0"
|
||||
if (Is64BitWinHost) {
|
||||
$arch = "x64"
|
||||
$sha256 = "b3e5cbf8e247c75f9ddd235d49cfe40f25dde65bdd0eec4cefbca2805d80376b"
|
||||
$sha1 = "c540fe3d81e2129eabeb1b923f4434df4b4a66ae"
|
||||
} else {
|
||||
$arch = "x86"
|
||||
$sha256 = "d6a3c63a5ae71374c144a33c418ab96be497b08df0e9f51861a78127db03aeb5"
|
||||
$sha1 = "435ae044169143515926493e3eae368070e6883f"
|
||||
}
|
||||
|
||||
$package = "C:\Windows\temp\nodejs-$version.7z"
|
||||
$package = "C:\Windows\temp\nodejs-$version.zip"
|
||||
$targetFolder = "C:\Utils"
|
||||
$installFolder = "C:\Utils\node-v$version-win-$arch"
|
||||
$externalUrl = "https://nodejs.org/dist/v$version/node-v$version-win-$arch.7z"
|
||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/node-v$version-win-$arch.7z"
|
||||
$externalUrl = "https://nodejs.org/dist/v$version/node-v$version-win-$arch.zip"
|
||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/node-v$version-win-$arch.zip"
|
||||
|
||||
Write-Host "Installing Node.js"
|
||||
Download $externalUrl $internalUrl $package
|
||||
Verify-Checksum $package $sha256 "sha256"
|
||||
Verify-Checksum $package $sha1
|
||||
Extract-7Zip $package $targetFolder
|
||||
Add-Path $installFolder
|
||||
Remove $package
|
||||
|
||||
@@ -28,16 +28,14 @@ function build-install-protobuf {
|
||||
$env:CXX = $CXX
|
||||
mkdir build
|
||||
Push-Location build
|
||||
cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=OFF -DCMAKE_DEBUG_POSTFIX="d" -DCMAKE_RELWITHDEBINFO_POSTFIX="rd" $ExtraArguments
|
||||
cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=OFF $ExtraArguments
|
||||
# ninja install:all # This is broken and does not work
|
||||
foreach ($config in $BuildType.split(";")) {
|
||||
ninja -f "build-$config.ninja" install
|
||||
}
|
||||
$env:CC = $oldCC
|
||||
$env:CXX = $oldCXX
|
||||
Set-EnvironmentVariable "Protobuf_ROOT_$Postfix" "$installPath"
|
||||
# Set environment variable without "Machine" scope to be used by grpc.ps1 script
|
||||
[Environment]::SetEnvironmentVariable("Protobuf_ROOT_$Postfix", "$installPath")
|
||||
Set-EnvironmentVariable "Protobuf_ROOT_$Postfix" "$InstallPath"
|
||||
Pop-Location
|
||||
Remove build
|
||||
}
|
||||
@@ -89,7 +87,7 @@ if (!(Test-Path $mingwPath)) {
|
||||
|
||||
$oldPath = $env:Path
|
||||
$env:Path = "$mingwPath;$env:Path"
|
||||
build-install-protobuf -CC "gcc" -CXX "g++" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "mingw"
|
||||
build-install-protobuf -CC "gcc" -CXX "g++" -BuildType "Release" -Postfix "mingw"
|
||||
$env:Path = $oldPath
|
||||
|
||||
### LLVM MinGW
|
||||
@@ -101,7 +99,7 @@ if (!(Test-Path $llvmMingwPath)) {
|
||||
|
||||
$oldPath = $env:Path
|
||||
$env:Path = "$llvmMingwPath\bin;$env:Path"
|
||||
build-install-protobuf -CC "clang" -CXX "clang++" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "llvm_mingw"
|
||||
build-install-protobuf -CC "clang" -CXX "clang++" -BuildType "Release" -Postfix "llvm_mingw"
|
||||
$env:Path = $oldPath
|
||||
|
||||
### MSVC
|
||||
@@ -109,7 +107,7 @@ $env:Path = $oldPath
|
||||
EnterVSDevShell
|
||||
|
||||
# We pass along an extra argument to stop protobuf linking with the static runtime
|
||||
build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
|
||||
build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
|
||||
|
||||
$env:Path = $oldPath
|
||||
Pop-Location
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2022 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/linux/mimersql.sh" "openssl-1" "rpm"
|
||||
@@ -25,7 +25,8 @@ echo "deb http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /e
|
||||
echo "deb-src http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /etc/apt/sources.list
|
||||
|
||||
# Make sure needed ca-certificates are available
|
||||
installPackages+=(ca-certificates)
|
||||
sudo apt-get install --reinstall ca-certificates
|
||||
|
||||
# Git is not needed by builds themselves, but is nice to have
|
||||
# immediately as one starts debugging
|
||||
installPackages+=(git)
|
||||
@@ -87,7 +88,6 @@ installPackages+=(gir1.2-gst-plugins-bad-1.0)
|
||||
## python3 development package
|
||||
installPackages+=(python3-dev)
|
||||
installPackages+=(python3-pip)
|
||||
installPackages+=(python3-venv)
|
||||
installPackages+=(virtualenv)
|
||||
## Automates interactive applications (Needed by RTA to automate configure testing)
|
||||
installPackages+=(expect)
|
||||
@@ -173,7 +173,6 @@ installPackages+=(net-tools)
|
||||
installPackages+=(bridge-utils)
|
||||
## For debian building debian packages
|
||||
installPackages+=(sbuild)
|
||||
installPackages+=(ubuntu-dev-tools)
|
||||
installPackages+=(apt-cacher-ng)
|
||||
installPackages+=(devscripts)
|
||||
installPackages+=(piuparts)
|
||||
@@ -237,7 +236,8 @@ installPackages+=(pkg-kde-tools)
|
||||
installPackages+=(unixodbc-dev)
|
||||
installPackages+=(zlib1g-dev)
|
||||
installPackages+=(libusb-1.0-0-dev)
|
||||
|
||||
# For IFW
|
||||
installPackages+=(libbz2-dev)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
@@ -247,9 +247,6 @@ waitLoop
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install cmake apt-cacher-ng -t bullseye-backports
|
||||
|
||||
# Disable keyring password prompt
|
||||
keyring --disable
|
||||
|
||||
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
||||
|
||||
#OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
|
||||
0
coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang.sh → coin/provisioning/qtci-linux-Debian-11.6-aarch64/05-libclang.sh
Normal file → Executable file
0
coin/provisioning/qtci-linux-RHEL-8.8-x86_64/05-libclang.sh → coin/provisioning/qtci-linux-Debian-11.6-aarch64/05-libclang.sh
Normal file → Executable file
@@ -1,5 +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
|
||||
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt -q -y install libprotobuf-dev libgrpc-dev libprotoc-dev protobuf-compiler
|
||||
@@ -40,15 +40,12 @@ sudo sbuild-adduser $LOGNAME
|
||||
newgrp sbuild
|
||||
|
||||
# Create chroot
|
||||
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64
|
||||
# For ubuntu 20.04
|
||||
echo "Create chroot for Ubuntu Focal"
|
||||
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates focal /srv/chroot/focal-arm64 http://ports.ubuntu.com/ubuntu-ports/
|
||||
echo "Done creating chroot for Ubuntu Focal"
|
||||
#sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64-sbuild http://127.0.0.1:3142/deb.debian.org/debian
|
||||
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64-sbuild
|
||||
|
||||
# Update chroot
|
||||
sudo sbuild-update -udcar stable
|
||||
sudo sbuild-update -udcar focal
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,31 +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
|
||||
|
||||
# Get required deb files for sbuild to build qt debian packages for Ubuntu focal
|
||||
mkdir -p /home/qt/debian_packages
|
||||
cd /home/qt/debian_packages
|
||||
# Backported cmake 3.24
|
||||
wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/arm64-focal/cmake-3.24-deb.tar.gz
|
||||
tar xzf cmake-3.24-deb.tar.gz
|
||||
# get rest of ready made Ubuntu focal arm debian packages
|
||||
# so that sbuild can find those
|
||||
# QtWebEngine dependencies
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/libuv1/arm64-focal/libuv1_1.43.0.tar.gz
|
||||
tar -xzf libuv1_1.43.0.tar.gz
|
||||
rm -rf libuv1_1.43.0.tar.gz
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/nghttp2/arm64-focal/nghttp2_1.43.0.tar.gz
|
||||
tar -xzf nghttp2_1.43.0.tar.gz
|
||||
rm -rf nghttp2_1.43.0.tar.gz
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/nodejs/arm64-focal/nodejs_12.22.9.tar.gz
|
||||
tar -xzf nodejs_12.22.9.tar.gz
|
||||
rm -rf nodejs_12.22.9.tar.gz
|
||||
# get ICU
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/icu/arm64-focal/libicu-56.1-qt_56.1-1_arm64.deb
|
||||
wget http://ci-files01-hki.ci.qt.io/input/debian/icu/arm64-focal/libicu-56.1-qt-dev_56.1-1_arm64.deb
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
22
coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh
Executable file
22
coin/provisioning/qtci-linux-Debian-11.6-aarch64/93-sbuild-cmake.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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
|
||||
|
||||
# build cmake for the debian packgaes
|
||||
# Create chroot for Ubuntu focal
|
||||
#mk-sbuild --arch=amd64 --name=focal --debootstrap-mirror="http://archive.ubuntu.com/ubuntu/" --distro=ubuntu focal
|
||||
|
||||
mkdir -p /home/qt/debian_packages
|
||||
cd /home/qt/debian_packages
|
||||
wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/amd64-focal/cmake-3.24-deb.tar.gz
|
||||
tar xzf cmake-3.24-deb.tar.gz
|
||||
#git clone git@gitlab.ics.com:qt6_packaging/tqtc/cmake.git
|
||||
#wget https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3.tar.gz -O cmake_3.24.3.orig.tar.gz
|
||||
#dpkg-source -b cmake
|
||||
#sbuild --build-dep-resolver=aptitude -sAd focal -c focal-amd64 cmake_3.24.3-1~bpo1.dsc
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2022 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/linux/mimersql.sh" "openssl-1" "rpm"
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# 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
|
||||
|
||||
set -e
|
||||
|
||||
curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/redhat_ak_all_versions.sh -o "/tmp/redhat_ak.sh" &>/dev/null
|
||||
curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/redhat_ak.sh -o "/tmp/redhat_ak.sh" &>/dev/null
|
||||
sudo chmod 755 /tmp/redhat_ak.sh
|
||||
/tmp/redhat_ak.sh
|
||||
|
||||
|
||||
@@ -26,8 +26,12 @@ installPackages+=(pcre2-devel)
|
||||
installPackages+=(double-conversion-devel)
|
||||
installPackages+=(zstd)
|
||||
# EGL support
|
||||
installPackages+=(mesa-libEGL-devel)
|
||||
installPackages+=(mesa-libGL-devel)
|
||||
# mesa-libraries need to use older version than 22.1.5-2 which cause Xorg to crash
|
||||
installPackages+=(mesa-libEGL-devel-21.3.4-1.el8)
|
||||
installPackages+=(mesa-libGL-devel-21.3.4-1.el8)
|
||||
installPackages+=(mesa-dri-drivers-21.3.4-1.el8.x86_64)
|
||||
installPackages+=(mesa-libgbm-21.3.4-1.el8.x86_64)
|
||||
installPackages+=(mesa-vulkan-drivers-21.3.4-1.el8.x86_64)
|
||||
installPackages+=(libxkbfile-devel)
|
||||
# Xinput2
|
||||
installPackages+=(libXi-devel)
|
||||
@@ -66,14 +70,11 @@ installPackages+=(gperftools-libs)
|
||||
installPackages+=(gperf)
|
||||
installPackages+=(alsa-lib-devel)
|
||||
installPackages+=(pulseaudio-libs-devel)
|
||||
installPackages+=(libdrm-devel)
|
||||
installPackages+=(libva-devel)
|
||||
installPackages+=(libXtst-devel)
|
||||
installPackages+=(libxshmfence-devel)
|
||||
installPackages+=(nspr-devel)
|
||||
installPackages+=(nss-devel)
|
||||
installPackages+=(python3-html5lib)
|
||||
installPackages+=(mesa-libgbm-devel)
|
||||
# For Android builds
|
||||
installPackages+=(java-11-openjdk-devel)
|
||||
# For receiving shasum
|
||||
|
||||
22
coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-static-openssl.sh
Executable file
22
coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-install-static-openssl.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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 is required to allow static linking of ifw
|
||||
os="$1"
|
||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
downloadFile="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-3.0.7-static-only.tar.gz"
|
||||
sha="82376a9e2440a47a83eb861cbf9363b28630a120"
|
||||
DownloadURL "$downloadFile" "$downloadFile" "$sha" "$targetFile"
|
||||
|
||||
cd $HOME
|
||||
tar -xzf "$targetFile"
|
||||
SetEnvVar "STATIC_OPENSSL_HOME" "$HOME/static-openssl"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user