mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-29 19:35:37 +08:00
Compare commits
229 Commits
6.4
...
v6.5.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
63d72293b7 | ||
|
|
21be8b0c05 | ||
|
|
5091ac1c2c | ||
|
|
d522c16201 | ||
|
|
4588f198cd | ||
|
|
3641e6c8a0 | ||
|
|
c32a843766 | ||
|
|
6652583be2 | ||
|
|
7143bb3079 | ||
|
|
37c0cf82ae | ||
|
|
fb34091c45 | ||
|
|
6567b8a7c4 | ||
|
|
6943f28b17 | ||
|
|
661636f3e8 | ||
|
|
76a44df841 | ||
|
|
bb89b5ca77 | ||
|
|
fae885e9c1 | ||
|
|
0a49fc9d7d | ||
|
|
817a6d07f8 | ||
|
|
5ef8294f3f | ||
|
|
d4cc1708ba | ||
|
|
27dd0c29fe | ||
|
|
0b88c1e2f0 | ||
|
|
2b8f50a2d1 | ||
|
|
ab0b005a57 | ||
|
|
2034c71953 | ||
|
|
1c09ad4cf8 | ||
|
|
a66995e175 | ||
|
|
9e4e6a565a | ||
|
|
e9b3497c8e | ||
|
|
3d05c67749 | ||
|
|
b3b41c2ef7 | ||
|
|
487c92a3d0 | ||
|
|
31c4ad1686 | ||
|
|
f1f5b612ff | ||
|
|
8f6cdc23be | ||
|
|
2a7c08f591 | ||
|
|
7db5511fe6 | ||
|
|
2586e0f3bd | ||
|
|
bc4797a7e8 | ||
|
|
37f4d821b8 | ||
|
|
a523008ed4 | ||
|
|
4ad2ac317c | ||
|
|
bc5662c050 | ||
|
|
12f0f9e0e5 | ||
|
|
20c8f11006 | ||
|
|
b7ea626a07 | ||
|
|
4a6f43ed8d | ||
|
|
9c21dd75d2 | ||
|
|
f5db93cd6d | ||
|
|
f84d1d36a9 | ||
|
|
ed0e882396 | ||
|
|
1a91aa20ac | ||
|
|
15782e70b4 | ||
|
|
047ac67b06 | ||
|
|
2fb9e7d576 | ||
|
|
a4db1a62b8 | ||
|
|
bc689f30ac | ||
|
|
c383d0fc91 | ||
|
|
c90e16bceb | ||
|
|
71336b7a68 | ||
|
|
032a0e18bf | ||
|
|
d3460c1f23 | ||
|
|
a427b5203b | ||
|
|
a99e917f88 | ||
|
|
64a715e8be | ||
|
|
d3857df3b2 | ||
|
|
da78e8832d | ||
|
|
cfef190a9d | ||
|
|
936ede45de | ||
|
|
8e21501ac7 | ||
|
|
917f0fddd9 | ||
|
|
3ffc302ca2 | ||
|
|
cc3feebb49 | ||
|
|
53cb7139be | ||
|
|
eee152ca70 | ||
|
|
9255466d9f | ||
|
|
5398865f8a | ||
|
|
52d2df3a61 | ||
|
|
d45c78212a | ||
|
|
ef2b744c24 | ||
|
|
eee7fde8a8 | ||
|
|
905a2a9571 | ||
|
|
3e380e35b0 | ||
|
|
74fc1bcaec | ||
|
|
9e9f3e513b | ||
|
|
9c1349047e | ||
|
|
f8feb285c2 | ||
|
|
b5bd0f1871 | ||
|
|
0c92132388 | ||
|
|
5e24ed72b0 | ||
|
|
984cecfce1 | ||
|
|
825736dd7a | ||
|
|
db68763094 | ||
|
|
11585aca97 | ||
|
|
c1a1e65cdc | ||
|
|
7e7c23669c | ||
|
|
8899244b8c | ||
|
|
b51d7ca210 | ||
|
|
bf1c196e41 | ||
|
|
8a72b1de99 | ||
|
|
911505cd37 | ||
|
|
de8a8879bd | ||
|
|
7dcf1c8a4b | ||
|
|
982b8ddb3d | ||
|
|
15c3907d68 | ||
|
|
06e1b81a7d | ||
|
|
d5381608ba | ||
|
|
0770d0db8f | ||
|
|
505eb9e3a8 | ||
|
|
1661a1c50c | ||
|
|
1a499546a3 | ||
|
|
134c07923c | ||
|
|
ad84c5cb8a | ||
|
|
b09cac4448 | ||
|
|
08ba3ff882 | ||
|
|
2056362e26 | ||
|
|
c58560db14 | ||
|
|
3954a2d69d | ||
|
|
6754cb362a | ||
|
|
e679091f50 | ||
|
|
8cc7a5f450 | ||
|
|
ffd7bc3bd7 | ||
|
|
3a0ea2804d | ||
|
|
d3867057b9 | ||
|
|
97f8d33586 | ||
|
|
a5b9ca03e1 | ||
|
|
41f0e6d7b0 | ||
|
|
d4602891f2 | ||
|
|
c310e97097 | ||
|
|
73234745bb | ||
|
|
5af40232de | ||
|
|
337a90e6dc | ||
|
|
f794796984 | ||
|
|
0507008ff6 | ||
|
|
aab85286b7 | ||
|
|
e8495fc86e | ||
|
|
a992ba9205 | ||
|
|
c0ecadc049 | ||
|
|
860bd111e2 | ||
|
|
2935818781 | ||
|
|
51c663d171 | ||
|
|
e1d4acf4b0 | ||
|
|
b830beb222 | ||
|
|
aa9095d4cd | ||
|
|
b794125ee9 | ||
|
|
aa6a82d990 | ||
|
|
a0a56986e5 | ||
|
|
39efd3c35f | ||
|
|
032dfe48fa | ||
|
|
2f3432fe0d | ||
|
|
72ac097082 | ||
|
|
171a3e85f7 | ||
|
|
d29223e03f | ||
|
|
dcc3d699fb | ||
|
|
d5afa47ad1 | ||
|
|
4ec187cd4c | ||
|
|
49e7ee7913 | ||
|
|
9aa0ec5040 | ||
|
|
60cb5adc2e | ||
|
|
1d4f821520 | ||
|
|
76ca35c6e7 | ||
|
|
58ebc95561 | ||
|
|
16b504254e | ||
|
|
65f50d4d22 | ||
|
|
f8551472dc | ||
|
|
8412bddcf8 | ||
|
|
37fed2c22e | ||
|
|
8a2aed58ff | ||
|
|
e9b5cfc634 | ||
|
|
96be84d703 | ||
|
|
6a4dab1134 | ||
|
|
895475d6f2 | ||
|
|
e487623c0d | ||
|
|
857ae6e1e1 | ||
|
|
6e95fb2f93 | ||
|
|
64cf9a03b7 | ||
|
|
a273e9f11c | ||
|
|
6b2298dacf | ||
|
|
9246ebe17f | ||
|
|
2566bbfe71 | ||
|
|
6ec880ea47 | ||
|
|
7c9601115d | ||
|
|
615091a6a8 | ||
|
|
5e9653ef97 | ||
|
|
d65844f4a2 | ||
|
|
98bcf11bf8 | ||
|
|
bcada10a9e | ||
|
|
ce76bcd8e2 | ||
|
|
aa0c9d4943 | ||
|
|
4810eb2f61 | ||
|
|
07f418d415 | ||
|
|
e0c0aaade4 | ||
|
|
6d6eccab34 | ||
|
|
99731bc155 | ||
|
|
fe9efd3594 | ||
|
|
7ff98181a8 | ||
|
|
43a461de46 |
94
.gitmodules
vendored
94
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
recommends = qtdeclarative qtquick3d
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
@@ -47,7 +47,7 @@
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -55,7 +55,7 @@
|
||||
recommends = qtmultimedia
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -76,21 +76,21 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = dev
|
||||
status = ignore
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qtpositioning"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
path = qtpositioning
|
||||
url = ../qtpositioning.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -117,61 +117,61 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
@@ -185,28 +185,28 @@
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
@@ -219,27 +219,27 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
@@ -252,68 +252,80 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = addon
|
||||
[submodule "qtlanguageserver"]
|
||||
depends = qtbase
|
||||
path = qtlanguageserver
|
||||
url = ../qtlanguageserver.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qthttpserver"]
|
||||
depends = qtbase
|
||||
recommends = qtwebsockets
|
||||
path = qthttpserver
|
||||
url = ../qthttpserver.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qtquick3dphysics"]
|
||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||
path = qtquick3dphysics
|
||||
url = ../qtquick3dphysics.git
|
||||
branch = 6.4
|
||||
branch = 6.5
|
||||
status = preview
|
||||
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = 6.5
|
||||
status = preview
|
||||
[submodule "qtquickeffectmaker"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquick3d
|
||||
path = qtquickeffectmaker
|
||||
url = ../qtquickeffectmaker.git
|
||||
branch = 6.5
|
||||
status = addon
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# The real minimum version will be checked by the qtbase project.
|
||||
# 3.16 is the absolute minimum though.
|
||||
cmake_minimum_required(VERSION 3.16...3.20)
|
||||
cmake_minimum_required(VERSION 3.16...3.21)
|
||||
|
||||
|
||||
# set QT_SUPERBUILD early, so that qtbase/.cmake.conf can check it
|
||||
@@ -34,7 +34,7 @@ if (NOT QT_BUILD_STANDALONE_TESTS)
|
||||
list(APPEND CMAKE_MODULE_PATH "${__qt6_qtbase_src_path}/cmake/3rdparty/kwin")
|
||||
endif()
|
||||
|
||||
include("QtTopLevelHelpers")
|
||||
include(QtTopLevelHelpers)
|
||||
include(ECMOptionalAddSubdirectory)
|
||||
|
||||
# Also make sure the CMake config files do not recreate the already-existing targets
|
||||
@@ -57,7 +57,7 @@ qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULE
|
||||
foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||
# Check for unmet dependencies
|
||||
if(NOT DEFINED BUILD_${module} OR BUILD_${module})
|
||||
message(NOTICE "Checking dependencies of submodule '${module}'")
|
||||
message(STATUS "Checking dependencies of submodule '${module}'")
|
||||
get_property(required_deps GLOBAL PROPERTY QT_REQUIRED_DEPS_FOR_${module})
|
||||
get_property(dependencies GLOBAL PROPERTY QT_DEPS_FOR_${module})
|
||||
foreach(dep IN LISTS dependencies)
|
||||
@@ -84,7 +84,7 @@ foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||
"but ${error_reason}.\n"
|
||||
"Note: Use '-skip ${module}' to exclude it from the build.")
|
||||
else()
|
||||
message(NOTICE "Skipping optional dependency '${dep}' of '${module}', "
|
||||
message(STATUS "Skipping optional dependency '${dep}' of '${module}', "
|
||||
"because ${error_reason}.")
|
||||
endif()
|
||||
endif()
|
||||
@@ -92,8 +92,12 @@ foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(NOT DEFINED CMAKE_MESSAGE_CONTEXT_SHOW)
|
||||
set(CMAKE_MESSAGE_CONTEXT_SHOW TRUE)
|
||||
endif()
|
||||
|
||||
foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||
message(NOTICE "Configuring submodule '${module}'")
|
||||
message(STATUS "Configuring submodule '${module}'")
|
||||
ecm_optional_add_subdirectory("${module}")
|
||||
|
||||
if(module STREQUAL "qtbase")
|
||||
|
||||
14
README.git
14
README.git
@@ -1,17 +1,19 @@
|
||||
OBTAINING QT5 FROM GIT
|
||||
======================
|
||||
OBTAINING QT 6 FROM GIT
|
||||
=======================
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
For a more in-depth description on how to build Qt5 from git,
|
||||
please see: http://wiki.qt.io/Building_Qt_5_from_Git
|
||||
For a more in-depth description on how to build Qt 6 from git,
|
||||
please see: http://wiki.qt.io/Building_Qt_6_from_Git
|
||||
|
||||
Note that, although the git module is called qt5.git, the dev and 6.x branches
|
||||
do contain Qt 6!
|
||||
|
||||
Get The Submodules
|
||||
==================
|
||||
|
||||
Cloning Qt5 does not automatically clone all submodules.
|
||||
Cloning qt5.git does not automatically clone all submodules.
|
||||
To get the submodules, it is recommended to use the `init-repository' script.
|
||||
|
||||
./init-repository
|
||||
@@ -49,7 +51,7 @@ OBTAINING QT5 FROM GIT
|
||||
|
||||
|
||||
Developing and Contributing to Qt
|
||||
================================
|
||||
=================================
|
||||
|
||||
For more information on how to develop and contribute to Qt, please see:
|
||||
http://wiki.qt.io/Category:Developing_Qt
|
||||
|
||||
28
README.md
28
README.md
@@ -1,23 +1,19 @@
|
||||
HOW TO BUILD Qt6
|
||||
================
|
||||
HOW TO BUILD Qt 6
|
||||
=================
|
||||
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
System requirements
|
||||
------------------
|
||||
-------------------
|
||||
|
||||
* CMake 3.18 or later
|
||||
* Perl 5.8 or later
|
||||
* Python 2.7 or later
|
||||
* C++ compiler supporting the C++17 standard
|
||||
* CMake 3.16 or newer
|
||||
* Ninja 1.8 or newer
|
||||
* Python 3
|
||||
|
||||
It's recommended to have ninja 1.8 or later installed.
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
For more details, see also https://doc.qt.io/qt-6/build-sources.html
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
@@ -34,9 +30,7 @@ Windows:
|
||||
1. Open a command prompt.
|
||||
2. Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 8.1 or later)
|
||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
* Python 3 ([https://www.python.org/downloads/windows/] or from Microsoft Store)
|
||||
|
||||
```
|
||||
cd <path>\<source_package>
|
||||
@@ -46,13 +40,14 @@ cmake --build .
|
||||
|
||||
More details follow.
|
||||
|
||||
|
||||
Build!
|
||||
======
|
||||
|
||||
Qt is built with CMake, and a typical
|
||||
`configure && cmake --build .` build process is used.
|
||||
|
||||
If ninja is installed, it is automatically chosen as CMake generator.
|
||||
If Ninja is installed, it is automatically chosen as CMake generator.
|
||||
|
||||
Some relevant configure options (see configure -help):
|
||||
|
||||
@@ -101,7 +96,8 @@ to your `PATH` environment variable to access them.
|
||||
|
||||
|
||||
Building Qt from git
|
||||
=====================
|
||||
====================
|
||||
|
||||
See http://wiki.qt.io/Building_Qt_6_from_Git and README.git
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_6 for the reference platforms.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# Webkit style was loosely based on the Qt style
|
||||
BasedOnStyle: WebKit
|
||||
|
||||
Standard: Cpp11
|
||||
Standard: c++17
|
||||
|
||||
# Column width is limited to 100 in accordance with Qt Coding Style.
|
||||
# https://wiki.qt.io/Qt_Coding_Style
|
||||
@@ -62,6 +62,8 @@ NamespaceIndentation: None
|
||||
|
||||
# Allow indentation for preprocessing directives (if/ifdef/endif). https://reviews.llvm.org/rL312125
|
||||
IndentPPDirectives: AfterHash
|
||||
# We only indent with 2 spaces for preprocessor directives
|
||||
PPIndentWidth: 2
|
||||
|
||||
# Horizontally align arguments after an open bracket.
|
||||
# The coding style does not specify the following, but this is what gives
|
||||
@@ -85,6 +87,21 @@ ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCH
|
||||
# Break constructor initializers before the colon and after the commas.
|
||||
BreakConstructorInitializers: BeforeColon
|
||||
|
||||
# Add "// namespace <namespace>" comments on closing brace for a namespace
|
||||
# Ignored for namespaces that qualify as a short namespace,
|
||||
# see 'ShortNamespaceLines'
|
||||
FixNamespaceComments: true
|
||||
|
||||
# Definition of how short a short namespace is, default 1
|
||||
ShortNamespaceLines: 1
|
||||
|
||||
# When escaping newlines in a macro attach the '\' as far left as possible, e.g.
|
||||
##define a \
|
||||
# something; \
|
||||
# other; \
|
||||
# thelastlineislong;
|
||||
AlignEscapedNewlines: Left
|
||||
|
||||
# Avoids the addition of a space between an identifier and the
|
||||
# initializer list in list-initialization.
|
||||
SpaceBeforeCpp11BracedList: false
|
||||
|
||||
@@ -2,3 +2,7 @@ type: Group
|
||||
instructions:
|
||||
- !include "{{qt/qt5}}/coin_qt_configure.yaml"
|
||||
- !include "{{qt/qt5}}/coin_qt_build_docs.yaml"
|
||||
disable_if:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: "TargetBuildOnly"
|
||||
|
||||
13
coin/platform_configs/address_sanitizer_platforms.yaml
Normal file
13
coin/platform_configs/address_sanitizer_platforms.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
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}}',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}'
|
||||
]
|
||||
@@ -32,7 +32,8 @@ Configurations:
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer'
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}'
|
||||
]
|
||||
-
|
||||
Id: 'sles-15_sp4-static'
|
||||
@@ -53,7 +54,10 @@ Configurations:
|
||||
'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}}',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64']
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-msvc2019'
|
||||
Template: 'qtci-windows-11_22H2-x86_64-50'
|
||||
@@ -63,7 +67,10 @@ Configurations:
|
||||
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}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_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-msvc2022'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
@@ -73,7 +80,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}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_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'
|
||||
@@ -84,7 +93,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}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_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'
|
||||
@@ -95,7 +106,9 @@ Configurations:
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64-developer',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019-arm64'
|
||||
@@ -111,7 +124,9 @@ Configurations:
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-arm64-msvc2019_64',
|
||||
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
|
||||
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
||||
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_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'
|
||||
@@ -121,7 +136,9 @@ 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}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-msvc2019-arm64'
|
||||
@@ -134,7 +151,9 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-msvc2019_64',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-arm64-msvc2019_64'
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-arm64-msvc2019_64',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'rhel-8.4'
|
||||
@@ -172,7 +191,9 @@ Configurations:
|
||||
'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 -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw'
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-llvm'
|
||||
@@ -184,7 +205,9 @@ Configurations:
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}}',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw'
|
||||
'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'
|
||||
@@ -196,7 +219,9 @@ Configurations:
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}}',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw'
|
||||
'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'
|
||||
@@ -208,7 +233,9 @@ Configurations:
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}'
|
||||
'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'
|
||||
@@ -220,5 +247,7 @@ Configurations:
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_system_tiff=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}'
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_mingw}}',
|
||||
]
|
||||
|
||||
@@ -10,7 +10,7 @@ Configurations:
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON',
|
||||
'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.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
|
||||
@@ -27,7 +27,7 @@ Configurations:
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON',
|
||||
'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.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
@@ -44,7 +44,7 @@ Configurations:
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON',
|
||||
'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.24.2/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
|
||||
@@ -17,7 +17,9 @@ Configurations:
|
||||
Configure arguments: '-release -force-debug-info -static -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}'
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'macos-11-minimal-static'
|
||||
|
||||
@@ -14,6 +14,7 @@ Configurations:
|
||||
'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',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-arm64-clang',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
@@ -31,6 +32,7 @@ Configurations:
|
||||
'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',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-android-armv7-clang',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}}',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
@@ -45,7 +47,6 @@ 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 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}}',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
|
||||
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
||||
@@ -63,7 +64,6 @@ 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 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}}',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
|
||||
20
coin/platform_configs/cmake_platforms_target_android_12.yaml
Normal file
20
coin/platform_configs/cmake_platforms_target_android_12.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'android-12-x86_64-on-linux'
|
||||
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.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_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=@emulator_x86_64_api_31'
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
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.4'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=@emulator_x86_64_api_31'
|
||||
]
|
||||
@@ -1,20 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.4-developer-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'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',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc-debug-developer',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-linux-webassembly-x86_64-clang'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-thread-asyncify'
|
||||
Id: 'webassembly-linux-thread-asyncify'
|
||||
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
@@ -24,3 +11,34 @@ Configurations:
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'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-50'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-10_22h2-mingw11'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'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}}',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-webassembly-x86_64-clang',
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-macos-thread'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
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',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
|
||||
26
coin/platform_configs/linux_android_tests_multi_abi.yaml
Normal file
26
coin/platform_configs/linux_android_tests_multi_abi.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
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.4',
|
||||
'android-x86-on-linux',
|
||||
'android-x86_64-on-linux'
|
||||
]
|
||||
Features: [
|
||||
'Sccache',
|
||||
'AndroidTestRun',
|
||||
'MinimalAndroidMultiABITests',
|
||||
'InstallDepsPerPlatformSubdir'
|
||||
]
|
||||
Environment variables: [
|
||||
'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-x86-on-linux',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-x86_64-on-linux',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
|
||||
]
|
||||
@@ -17,6 +17,7 @@ Configurations:
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-macos-universal-clang'
|
||||
]
|
||||
|
||||
@@ -28,23 +29,13 @@ Configurations:
|
||||
Features: ['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"'
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
||||
]
|
||||
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
|
||||
-
|
||||
Id: 'macos-10.14-x86_64-tests'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-10.15-x86_64-tests'
|
||||
Template: 'qtci-macos-10.15-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-11-x86_64-tests'
|
||||
Template: 'qtci-macos-11-x86_64-105'
|
||||
@@ -102,7 +93,8 @@ Configurations:
|
||||
Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
||||
]
|
||||
-
|
||||
Id: 'macos-12-arm64-developer-build'
|
||||
@@ -110,23 +102,15 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -framework'
|
||||
Environment variables: [
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}',
|
||||
]
|
||||
# Note: We do not include OpenSSL or PostgreSQL in this build,
|
||||
# as the M1 CI machines are not provisioned for that yet.
|
||||
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
|
||||
-
|
||||
Id: 'macos-10.14-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-12-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-10.15-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-10.15-x86_64-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-12-x86_64-developer-build'
|
||||
-
|
||||
Id: 'macos-11-x86_64-developer-build-tests'
|
||||
Template: 'qtci-macos-11-x86_64-105'
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
Windows10_22H2-Mingw11-x64-host,
|
||||
rhel-8.4
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'android-arm64-on-macos'
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-arm64-clang',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}'
|
||||
]
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'Windows10_22H2-Mingw11-x64-host'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW1120}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-android-armv7-clang',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}'
|
||||
]
|
||||
-
|
||||
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.4'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
|
||||
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}'
|
||||
]
|
||||
-
|
||||
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.4'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}'
|
||||
]
|
||||
14
coin/platform_configs/nightly_macos13.yaml
Normal file
14
coin/platform_configs/nightly_macos13.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
macos.yaml: [
|
||||
"macos-12-arm64-developer-build"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-13-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-12-arm64-developer-build'
|
||||
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']
|
||||
22
coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml
Normal file
22
coin/platform_configs/nightly_ubuntu_22_04_xwayland.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
# cmake_platforms.yaml
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
-
|
||||
Id: 'Ubuntu-22.04-xwayland-host'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
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'
|
||||
]
|
||||
-
|
||||
# default.yaml
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
@@ -1,12 +1,16 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
Template: 'qtci-macos-12-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-9.0-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
|
||||
@@ -22,13 +22,13 @@ Configurations:
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-9.0-x86_64-500'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Qt5', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Template: 'qtci-macos-10.15-x86_64-1022'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -3,6 +3,9 @@ Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
integrity.yaml,
|
||||
ios-tests.yaml
|
||||
ios-tests.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
cmake_platforms_target_android_12_insignificant.yaml,
|
||||
linux_android_tests_multi_abi.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -2,6 +2,8 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml,
|
||||
cmake_platforms_static_tests.yaml
|
||||
ios-tests.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
3
coin/platform_configs/qtgrpc.yaml
Normal file
3
coin/platform_configs/qtgrpc.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
integrity.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
integrity.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
6
coin/platform_configs/qtqa.yaml
Normal file
6
coin/platform_configs/qtqa.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
integrity.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
3
coin/platform_configs/qtquickeffectmaker.yaml
Normal file
3
coin/platform_configs/qtquickeffectmaker.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Configurations: []
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
integrity.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -4,21 +4,21 @@ Configurations:
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW1120\mingw64\bin;$PATH']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
Features: ['UseLegacyInstructions']
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW1120\mingw64\bin;$PATH']
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
integrity.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml
|
||||
integrity.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml
|
||||
]
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_target_android_12.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -7,6 +7,7 @@ Configurations:
|
||||
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'
|
||||
|
||||
51
coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
Executable file
51
coin/pre-provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable-automounting.sh
Executable file
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2021 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
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
### RHEL 9.0 ###
|
||||
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 notificantion 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
|
||||
|
||||
# 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
|
||||
@@ -62,13 +62,13 @@ basePath="http://ci-files01-hki.intra.qt.io/input/android"
|
||||
toolsVersion="2.1"
|
||||
toolsFile="commandlinetools-linux-6609375_latest.zip"
|
||||
ndkVersionLatest="r25b"
|
||||
ndkVersionDefault="r23b"
|
||||
ndkVersionDefault=$ndkVersionLatest
|
||||
sdkBuildToolsVersion="31.0.0"
|
||||
sdkApiLevel="android-31"
|
||||
|
||||
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
|
||||
ndkSha1Latest="e27dcb9c8bcaa77b78ff68c3f23abcf6867959eb"
|
||||
ndkSha1Default="f47ec4c4badd11e9f593a8450180884a927c330d"
|
||||
ndkSha1Default=$ndkSha1Latest
|
||||
# Android automotive
|
||||
sdkApiLevelAutomovie="android-30"
|
||||
androidAutomotive11Url="$basePath/${sdkApiLevelAutomovie}_automotive.tar.gz"
|
||||
@@ -155,8 +155,8 @@ 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 "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
|
||||
"system-images;android-31;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
|
||||
|
||||
|
||||
echo "Checking the contents of Android SDK again..."
|
||||
@@ -165,6 +165,9 @@ ls -l "$sdkTargetFolder"
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
|
||||
-k "system-images;android-23;google_apis;x86"
|
||||
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_31 -c 2048M -f \
|
||||
-k "system-images;android-31;google_apis;x86_64"
|
||||
|
||||
echo "Install $sdkApiLevelAutomovie $androidAutomotive"
|
||||
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \
|
||||
"/tmp/${sdkApiLevelAutomovie}_automotive.tar.gz"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2023 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: https://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -48,12 +48,12 @@ PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
|
||||
|
||||
localRepo=http://ci-files01-hki.intra.qt.io/input/docker
|
||||
upstreamRepo=https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/amd64/
|
||||
upstreamRepo=https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64
|
||||
|
||||
echo '
|
||||
2666840157bab3b77a850236fbf323c423fb564a containerd.io_1.6.9-1_amd64.deb
|
||||
ec6a1ad99b19b6a674349fb13bcc10d62c54c404 docker-ce_23.0.0-1~ubuntu.20.04~focal_amd64.deb
|
||||
130774916fa7e2c9997b8fcb4e7696a343f12fb0 docker-ce-cli_23.0.0-1~ubuntu.20.04~focal_amd64.deb
|
||||
f4c941807310e3fa470dddfb068d599174a3daec containerd.io_1.2.10-3_amd64.deb
|
||||
ee640d9258fd4d3f4c7017ab2a71da63cbbead55 docker-ce_19.03.4~3-0~ubuntu-bionic_amd64.deb
|
||||
09402bf5dac40f0c50f1071b17f38f6584a42ad1 docker-ce-cli_19.03.4~3-0~ubuntu-bionic_amd64.deb
|
||||
' \
|
||||
| xargs -n2 | while read sha f
|
||||
do
|
||||
@@ -68,11 +68,10 @@ sudo docker --version
|
||||
|
||||
# Download and install the docker-compose extension from https://github.com/docker/compose/releases
|
||||
f=docker-compose-$(uname -s)-$(uname -m)
|
||||
dockerComposeVersion="v2.15.1"
|
||||
DownloadURL \
|
||||
$localRepo/$f-${dockerComposeVersion} \
|
||||
https://github.com/docker/compose/releases/download/${dockerComposeVersion}/$f \
|
||||
bcfd9ea51dee4c19dccdfaeef0e7956ef68bf14f3d175933742061a7271ef0f5
|
||||
$localRepo/$f-1.24.1 \
|
||||
https://github.com/docker/compose/releases/download/1.24.1/$f \
|
||||
cfb3439956216b1248308141f7193776fcf4b9c9b49cbbe2fb07885678e2bb8a
|
||||
sudo install -m 755 ./docker-compose* /usr/local/bin/docker-compose
|
||||
sudo docker-compose --version
|
||||
rm ./docker-compose*
|
||||
|
||||
@@ -69,7 +69,7 @@ function InstallGCC() {
|
||||
buildFolder="$HOME/gcc_build"
|
||||
|
||||
echo "Fetching prebuilt GCC."
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$prebuiltTarget" "$prebuiltGCC" || (
|
||||
DownloadURL "$prebuiltGCC" "" "$prebuiltSHA1" "$prebuiltTarget" || (
|
||||
echo "Fetching prebuilt GCC failed. Building from sources."
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sourcesSHA1" "$targetFile"
|
||||
)
|
||||
|
||||
@@ -58,7 +58,7 @@ toolsVersion="2.1"
|
||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||
|
||||
ndkVersionLatest="r25b"
|
||||
ndkVersionDefault="r23b"
|
||||
ndkVersionDefault="$ndkVersionLatest"
|
||||
sdkBuildToolsVersion="31.0.0"
|
||||
# this is compile sdk version
|
||||
sdkApiLevel="android-31"
|
||||
|
||||
@@ -47,3 +47,25 @@ brew install libusb
|
||||
read -r -a arr <<< $(brew list --versions libusb)
|
||||
version=${arr[1]}
|
||||
echo "libusb = $version" >> ~/versions.txt
|
||||
|
||||
mkdir /tmp/arm64/
|
||||
mkdir /tmp/amd64/
|
||||
|
||||
case $(sw_vers -productVersion) in
|
||||
11*) codename=big_sur;;
|
||||
12*) codename=monterey;;
|
||||
13*) codename=ventura;;
|
||||
esac
|
||||
|
||||
brew fetch --bottle-tag=arm64_${codename} libusb
|
||||
brew fetch --bottle-tag=${codename} libusb
|
||||
tar xf $(brew --cache --bottle-tag=arm64_${codename} libusb) -C /tmp/arm64/
|
||||
tar xf $(brew --cache --bottle-tag=${codename} libusb) -C /tmp/amd64
|
||||
for f in /tmp/arm64/libusb/$version/lib/* ; do
|
||||
if lipo -info $f >/dev/null 2>&1; then
|
||||
file=$(basename $f)
|
||||
lipo -create -output $(brew --cellar)/libusb/$version/lib/$file \
|
||||
/tmp/arm64/libusb/$version/lib/$file \
|
||||
/tmp/amd64/libusb/$version/lib/$file
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -50,7 +50,12 @@ function SetEnvVar {
|
||||
echo "Setting environment variable $name to $path."
|
||||
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
echo "export $name=$path" >> ~/.profile
|
||||
if lsb_release -a |grep "Ubuntu 22.04"; then
|
||||
echo "export $name=$path" >> ~/.bashrc
|
||||
echo "export $name=$path" >> ~/.bash_profile
|
||||
else
|
||||
echo "export $name=$path" >> ~/.profile
|
||||
fi
|
||||
else
|
||||
echo "export $name=$path" >> ~/.bashrc
|
||||
echo "export $name=$path" >> ~/.zshrc
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
# shellcheck source=./SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
|
||||
version="3.1.14"
|
||||
version="3.1.25"
|
||||
versionNode="v14.18.2"
|
||||
|
||||
mkdir -p /opt
|
||||
|
||||
@@ -153,14 +153,14 @@ if [ "$os" == "linux" ]; then
|
||||
|
||||
elif [ "$os" == "macos" ]; then
|
||||
brew install yasm
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.14
|
||||
export MACOSX_DEPLOYMENT_TARGET=11
|
||||
build_ffmpeg
|
||||
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
|
||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||
|
||||
elif [ "$os" == "macos-universal" ]; then
|
||||
brew install yasm
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.14
|
||||
export MACOSX_DEPLOYMENT_TARGET=11
|
||||
build_ffmpeg "arm64"
|
||||
build_ffmpeg "x86_64"
|
||||
|
||||
@@ -181,14 +181,13 @@ elif [ "$os" == "android" ]; then
|
||||
target_arch=x86_64
|
||||
sha1="0241fd483c16f4ce53206b911214b06854cdef9d"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/android-ffmpeg-x86_64.zip"
|
||||
target_dir="/opt/android/$ffmpeg_name/ffmpeg-x86_64"
|
||||
else
|
||||
target_arch=x86
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/android-ffmpeg-x86.zip"
|
||||
sha1="8b254e31411a350edb581bb30e31401866abbe7d"
|
||||
target_dir="/opt/android/$ffmpeg_name/ffmpeg-x86"
|
||||
fi
|
||||
|
||||
target_dir="/opt/android/$ffmpeg_name"
|
||||
app_prefix=""
|
||||
|
||||
#try install a pre-build
|
||||
|
||||
@@ -48,11 +48,11 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
version="1.1.1m"
|
||||
version="3.0.7"
|
||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
sha="39d424c4411e45f1570073d7a71b1830b96007ca"
|
||||
sha="f20736d6aae36bcbfa9aba0d358c71601833bf27"
|
||||
opensslHome="${HOME}/openssl-${version}"
|
||||
opensslSource="${opensslHome}-src"
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||
@@ -62,14 +62,14 @@ cd "$opensslSource"
|
||||
pwd
|
||||
|
||||
if [[ "$os" == "linux" ]]; then
|
||||
./Configure --prefix="$opensslHome" shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-x86_64 "-Wa,--noexecstack"
|
||||
./Configure --prefix="$opensslHome" shared enable-ec_nistp_64_gcc_128 linux-x86_64 "-Wa,--noexecstack"
|
||||
make && make install_sw install_ssldirs
|
||||
SetEnvVar "OPENSSL_HOME" "$opensslHome"
|
||||
SetEnvVar "PATH" "\"$opensslHome/bin:\$PATH\""
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile
|
||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib64:$LD_LIBRARY_PATH" >> ~/.bash_profile
|
||||
else
|
||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
|
||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
|
||||
fi
|
||||
|
||||
elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
|
||||
@@ -84,7 +84,7 @@ elif [ "$os" == "macos" -o "$os" == "macos-universal" ]; then
|
||||
|
||||
commonFlags="no-tests shared no-ssl3-method enable-ec_nistp_64_gcc_128 -Wa,--noexecstack"
|
||||
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.14
|
||||
export MACOSX_DEPLOYMENT_TARGET=11
|
||||
|
||||
opensslBuild="${opensslHome}-build"
|
||||
opensslDestdir="${opensslHome}-destdir"
|
||||
|
||||
102
coin/provisioning/common/unix/install_grpc.sh
Normal file
102
coin/provisioning/common/unix/install_grpc.sh
Normal file
@@ -0,0 +1,102 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2022 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script installs gRPC from sources.
|
||||
set -ex
|
||||
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
# shellcheck source=./SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
|
||||
# Extract cmake path from the environment
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
if lsb_release -a |grep "Ubuntu 22.04"; then
|
||||
source ~/.bash_profile
|
||||
else
|
||||
source ~/.profile
|
||||
fi
|
||||
else
|
||||
source ~/.bashrc
|
||||
fi
|
||||
|
||||
version="1.50.1"
|
||||
sha1="be1b0c3dbfbc9714824921f50dffb7cf044da5ab"
|
||||
internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/grpc-all-$version.zip"
|
||||
externalUrl=""
|
||||
installPrefix="$HOME/install-grpc-$version"
|
||||
|
||||
targetDir="$HOME/grpc-$version"
|
||||
targetFile="$targetDir.zip"
|
||||
DownloadURL "$internalUrl" "$externalUrl" "$sha1" "$targetFile"
|
||||
unzip "$targetFile" -d "$HOME"
|
||||
sudo rm "$targetFile"
|
||||
|
||||
# devtoolset is needed when running configuration
|
||||
if uname -a |grep -qv "Darwin"; then
|
||||
export PATH="/opt/rh/devtoolset-7/root/usr/bin:$PATH"
|
||||
fi
|
||||
|
||||
if uname -a |grep -q Darwin; then
|
||||
extraCMakeArgs="-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11"
|
||||
extraOpenSslArg=-DOPENSSL_ROOT_DIR=$OPENSSL_DIR
|
||||
SetEnvVar PATH "\$PATH:$installPrefix/bin"
|
||||
fi
|
||||
|
||||
echo "Configuring and building gRPC"
|
||||
|
||||
buildDir="$HOME/build-grpc-$version"
|
||||
mkdir -p "$buildDir"
|
||||
cd "$buildDir"
|
||||
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
|
||||
# Refresh shared library cache if OS isn't macOS
|
||||
if uname -a |grep -qv "Darwin"; then
|
||||
sudo ldconfig
|
||||
fi
|
||||
|
||||
SetEnvVar "gRPC_ROOT" "$installPrefix"
|
||||
SetEnvVar "absl_ROOT" "$installPrefix"
|
||||
|
||||
sudo rm -rf "$targetDir"
|
||||
sudo rm -rf "$buildDir"
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2022 The Qt Company Ltd.
|
||||
## Contact: https://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -44,10 +44,21 @@ source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
# shellcheck source=./SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
|
||||
# This script will install Google's Protocal Buffers which is needed by Automotive Suite
|
||||
# Extract cmake path from the environment
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
if lsb_release -a |grep "Ubuntu 22.04"; then
|
||||
source ~/.bash_profile
|
||||
else
|
||||
source ~/.profile
|
||||
fi
|
||||
else
|
||||
source ~/.bashrc
|
||||
fi
|
||||
|
||||
version="3.6.1"
|
||||
sha1="44b8ba225f3b4dc45fb56d5881ec6a91329802b6"
|
||||
# This script will install Google's Protocal Buffers
|
||||
|
||||
version="21.9"
|
||||
sha1="3226a0e49d048759b702ae524da79387c59f05cc"
|
||||
internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/protobuf-all-$version.zip"
|
||||
externalUrl="https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
|
||||
|
||||
@@ -63,15 +74,19 @@ if uname -a |grep -qv "Darwin"; then
|
||||
fi
|
||||
|
||||
echo "Configuring and building protobuf"
|
||||
cd "$targetDir"
|
||||
|
||||
installPrefix="/usr/local"
|
||||
if uname -a |grep -q Darwin; then
|
||||
./configure --prefix "$(xcrun --sdk macosx --show-sdk-path)/usr/local"
|
||||
SetEnvVar PATH "\$PATH:$(xcrun --sdk macosx --show-sdk-path)/usr/local/bin"
|
||||
else
|
||||
./configure
|
||||
extraCMakeArgs="-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11"
|
||||
SetEnvVar PATH "\$PATH:$installPrefix/bin"
|
||||
fi
|
||||
make -j5
|
||||
sudo make install
|
||||
|
||||
buildDir="$HOME/build-protobuf-$version"
|
||||
mkdir "$buildDir"
|
||||
cd "$buildDir"
|
||||
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
|
||||
|
||||
# Refresh shared library cache if OS isn't macOS
|
||||
if uname -a |grep -qv "Darwin"; then
|
||||
@@ -79,3 +94,4 @@ if uname -a |grep -qv "Darwin"; then
|
||||
fi
|
||||
|
||||
sudo rm -r "$targetDir"
|
||||
sudo rm -r "$buildDir"
|
||||
@@ -62,9 +62,9 @@ if uname -a |grep -q Darwin; then
|
||||
sha1="6d916a17459c81551dde47580ae3f071e93338a5"
|
||||
elif test -f /etc/redhat-release && cat /etc/redhat-release | grep "Red Hat" | grep -v "8" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-linux-CentOS8.3-gcc9.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-linux-CentOS8.3-gcc9.2-x86_64.7z"
|
||||
sha1="d02e4dd30fe3f810c3a0cdcbed5870dec56ed91b"
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
|
||||
sha1="6ca035bb522022d34d61759e0460845832933b5c"
|
||||
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"
|
||||
|
||||
123
coin/provisioning/common/unix/openssl_3_for_android.sh
Executable file
123
coin/provisioning/common/unix/openssl_3_for_android.sh
Executable file
@@ -0,0 +1,123 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2022 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script install prebuilt OpenSSL which was built against Android NDK 25.
|
||||
# OpenSSL build will fail with Android NDK 22, because it's missing platforms and sysroot directories
|
||||
|
||||
set -ex
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="3.0.7"
|
||||
ndkVersionLatest="r25b"
|
||||
ndkVersionDefault=$ndkVersionLatest
|
||||
prebuiltOpensslNdkShaDarwinLatest="5cf5ef6c19e62954ccffcd1e31ac1f331028de0d"
|
||||
prebuiltOpensslNdkShaLinuxLatest="f5e7e840dc1fac2868033ecfc0eeb79742b0daff"
|
||||
prebuiltOpensslNdkShaDarwinDefault=$prebuiltOpensslNdkShaDarwinLatest
|
||||
prebuiltOpensslNdkShaLinuxDefault=$prebuiltOpensslNdkShaLinuxLatest
|
||||
|
||||
: ' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
|
||||
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
|
||||
exports_file="/tmp/export.sh"
|
||||
# source previously made environmental variables.
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
# shellcheck disable=SC1090
|
||||
grep -e "^export" "$HOME/.profile" > $exports_file && source $exports_file
|
||||
rm -rf "$exports_file"
|
||||
else
|
||||
# shellcheck disable=SC1090
|
||||
grep -e "^export" "$HOME/.bashrc" > $exports_file && source $exports_file
|
||||
rm -rf "$exports_file"
|
||||
fi
|
||||
|
||||
# ANDROID_NDK_ROOT is required during Configure
|
||||
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r25b
|
||||
|
||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
sha="f20736d6aae36bcbfa9aba0d358c71601833bf27"
|
||||
opensslHome="${HOME}/openssl/android/openssl-${version}"
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||
mkdir -p "${HOME}/openssl/android/"
|
||||
tar -xzf "$targetFile" -C "${HOME}/openssl/android/"
|
||||
if uname -a |grep -q "Darwin"; then
|
||||
TOOLCHAIN=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/darwin-x86_64/bin
|
||||
else
|
||||
TOOLCHAIN=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin
|
||||
fi
|
||||
cd "$opensslHome"
|
||||
PATH=$TOOLCHAIN:$PATH CC=clang ./Configure android-arm
|
||||
PATH=$TOOLCHAIN:$PATH CC=clang make build_generated
|
||||
'
|
||||
|
||||
function InstallPrebuiltOpenssl() {
|
||||
|
||||
ndkVersion=$1
|
||||
nkdSha=$2
|
||||
os=$3
|
||||
|
||||
if [[ ! -d ${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version} ]]; then
|
||||
prebuiltUrl="http://ci-files01-hki.intra.qt.io/input/openssl/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}-${os}.tar.gz"
|
||||
targetFile="/tmp/prebuilt-openssl-${version}-for-android-ndk-${ndkVersion}-${os}.tar.gz"
|
||||
|
||||
DownloadURL "$prebuiltUrl" "$prebuiltUrl" "$nkdSha" "$targetFile"
|
||||
tar -xzf "$targetFile" -C "${HOME}"
|
||||
opensslHome="${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version}"
|
||||
sudo rm -f $targetFile
|
||||
fi
|
||||
}
|
||||
|
||||
if uname -a |grep -q "Darwin"; then
|
||||
InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaDarwinDefault "darwin"
|
||||
SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
|
||||
InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaDarwinLatest "darwin"
|
||||
SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
|
||||
else
|
||||
InstallPrebuiltOpenssl $ndkVersionDefault $prebuiltOpensslNdkShaLinuxDefault "linux"
|
||||
SetEnvVar "OPENSSL_ANDROID_HOME_DEFAULT" "$opensslHome"
|
||||
InstallPrebuiltOpenssl $ndkVersionLatest $prebuiltOpensslNdkShaLinuxLatest "linux"
|
||||
SetEnvVar "OPENSSL_ANDROID_HOME_LATEST" "$opensslHome"
|
||||
fi
|
||||
|
||||
echo "OpenSSL for Android = $version" >> ~/versions.txt
|
||||
@@ -39,7 +39,7 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script install prebuilt OpenSSL which was built against Android NDK 21.
|
||||
# This script install prebuilt OpenSSL which was built against Android NDK 25.
|
||||
# OpenSSL build will fail with Android NDK 22, because it's missing platforms and sysroot directories
|
||||
|
||||
set -ex
|
||||
@@ -48,16 +48,16 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="1.1.1m"
|
||||
version="3.0.7"
|
||||
ndkVersionLatest="r25b"
|
||||
ndkVersionDefault="r23b"
|
||||
prebuiltOpensslNdkShaDarwinLatest="1f4f994255c39839c8857d2ed1ff58a2101de714"
|
||||
prebuiltOpensslNdkShaLinuxLatest="15f7014781186a23f4973a719b55b766b1e69116"
|
||||
prebuiltOpensslNdkShaDarwinDefault="2624b0c2772e360bbbae7a7f2dc342e4b97f1a2e"
|
||||
prebuiltOpensslNdkShaLinuxDefault="f58dcb32b2d3e5edc7e5141ae139a50547805f60"
|
||||
ndkVersionDefault=$ndkVersionLatest
|
||||
prebuiltOpensslNdkShaDarwinLatest="5cf5ef6c19e62954ccffcd1e31ac1f331028de0d"
|
||||
prebuiltOpensslNdkShaLinuxLatest="f5e7e840dc1fac2868033ecfc0eeb79742b0daff"
|
||||
prebuiltOpensslNdkShaDarwinDefault=$prebuiltOpensslNdkShaDarwinLatest
|
||||
prebuiltOpensslNdkShaLinuxDefault=$prebuiltOpensslNdkShaLinuxLatest
|
||||
|
||||
: ' SOURCE BUILD INSTRUCTIONS - Openssl prebuilt was made using Android NDK 25
|
||||
# Source built requires GCC and Perl to be in PATH.
|
||||
# Source built requires GCC and Perl to be in PATH. Rhel "requires yum install perl-IPC-Cmd"
|
||||
exports_file="/tmp/export.sh"
|
||||
# source previously made environmental variables.
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
@@ -70,10 +70,13 @@ else
|
||||
rm -rf "$exports_file"
|
||||
fi
|
||||
|
||||
# ANDROID_NDK_ROOT is required during Configure
|
||||
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r25b
|
||||
|
||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
sha="39d424c4411e45f1570073d7a71b1830b96007ca"
|
||||
sha="f20736d6aae36bcbfa9aba0d358c71601833bf27"
|
||||
opensslHome="${HOME}/openssl/android/openssl-${version}"
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||
mkdir -p "${HOME}/openssl/android/"
|
||||
@@ -100,7 +103,6 @@ function InstallPrebuiltOpenssl() {
|
||||
|
||||
DownloadURL "$prebuiltUrl" "$prebuiltUrl" "$nkdSha" "$targetFile"
|
||||
tar -xzf "$targetFile" -C "${HOME}"
|
||||
mv "${HOME}/openssl" "${HOME}/openssl_android_ndk_${ndkVersion}"
|
||||
opensslHome="${HOME}/openssl_android_ndk_${ndkVersion}/android/openssl-${version}"
|
||||
sudo rm -f $targetFile
|
||||
fi
|
||||
|
||||
@@ -62,4 +62,11 @@ function installSccache {
|
||||
|
||||
# disable sccache server from shutting down after being idle
|
||||
SetEnvVar "SCCACHE_IDLE_TIMEOUT" "0"
|
||||
|
||||
# copy sccache wrapper and place as a first in PATH
|
||||
mkdir -p $HOME/sccache_wrapper
|
||||
cp ${BASH_SOURCE%/*}/sccache_wrapper $HOME/sccache_wrapper/sccache
|
||||
chmod 755 $HOME/sccache_wrapper/sccache
|
||||
SetEnvVar "PATH" "$HOME/sccache_wrapper:\$PATH"
|
||||
|
||||
}
|
||||
|
||||
14
coin/provisioning/common/unix/sccache_wrapper
Executable file
14
coin/provisioning/common/unix/sccache_wrapper
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Call real sccache with original arguments
|
||||
# sccache /opt/android/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=aarch64-none ......
|
||||
real_sccache=/usr/local/sccache/sccache
|
||||
$real_sccache "$@"
|
||||
retval=$?
|
||||
|
||||
if test $retval -ne 0
|
||||
then
|
||||
echo "Sccache command failed, re-try calling build tool directly"
|
||||
"$@"
|
||||
retval=$?
|
||||
fi
|
||||
exit $retval
|
||||
@@ -51,13 +51,13 @@ if (Is64BitWinHost) {
|
||||
# Msys need to be installed to target machine
|
||||
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||
|
||||
$openssl_version = "1.1.1m"
|
||||
$openssl_version = "3.0.7"
|
||||
$ndk_version_latest = "r25b"
|
||||
$ndk_version_default = "r23b"
|
||||
$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}_fixes-ndk_root.tar.gz")
|
||||
$openssl_sha1 = "c9638d25b9709eda1ac52591c0993af52d6d1206"
|
||||
$prebuilt_sha1_ndk_latest = "2897c84dccdb26e15b467e4a63de025fe7038899"
|
||||
$prebuilt_sha1_ndk_default = "0aebe55d2436f235e1a24ae9d1030cb6ce8f31da"
|
||||
$ndk_version_default = "$ndk_version_latest"
|
||||
$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}.tar.gz")
|
||||
$openssl_sha1 = "f20736d6aae36bcbfa9aba0d358c71601833bf27"
|
||||
$prebuilt_sha1_ndk_latest = "d4348812054a88b5b672a8ceae62bf30c564869b"
|
||||
$prebuilt_sha1_ndk_default = "$prebuilt_sha1_ndk_latest"
|
||||
$destination = "C:\Utils\openssl-android-master"
|
||||
|
||||
function Install($1, $2) {
|
||||
@@ -81,16 +81,16 @@ function Install($1, $2) {
|
||||
} else {
|
||||
Write-Host "Build OpenSSL for Android from sources"
|
||||
# openssl-${openssl_version}_fixes-ndk_root.tar.gz package includes fixes from https://github.com/openssl/openssl/pull/17322 and string ANDROID_NDK_HOME is replaced with ANDROID_NDK_ROOT in Configurations/15-android.conf
|
||||
Download \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-${openssl_version}_fixes-ndk_root.tar.gz \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-${openssl_version}_fixes-ndk_root.tar.gz $openssl_compressed
|
||||
Download \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz $openssl_compressed
|
||||
Verify-Checksum $openssl_compressed $openssl_sha1
|
||||
|
||||
Extract-7Zip $openssl_compressed C:\Utils\tmp
|
||||
Extract-7Zip C:\Utils\tmp\openssl-${openssl_version}_fixes-ndk_root.tar C:\Utils\tmp
|
||||
Move-Item C:\Utils\tmp\openssl-${openssl_version} $destination
|
||||
Extract-7Zip C:\Utils\tmp\openssl-${openssl_version}.tar C:\Utils\tmp
|
||||
Move-Item C:\Utils\tmp\openssl-${openssl_version} ${destination}-${ndk_version}
|
||||
Remove "$openssl_compressed"
|
||||
|
||||
Write-Host "Configuring OpenSSL $openssl_version for Android..."
|
||||
Push-Location $destination
|
||||
Push-Location ${destination}-${ndk_version}
|
||||
# $ must be escaped in powershell...
|
||||
|
||||
function CheckExitCode {
|
||||
@@ -105,6 +105,12 @@ function Install($1, $2) {
|
||||
}
|
||||
}
|
||||
|
||||
# ANDROID_NDK_ROOT needs to be in environment variables before running this script
|
||||
# Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r25b"
|
||||
|
||||
$make_install = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"yes | pacman -S make`"")
|
||||
CheckExitCode $make_install
|
||||
|
||||
$configure = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_ROOT=$ndk_path PATH=${cc_path}:`$PATH CC=clang $openssl_path/Configure shared android-arm`"")
|
||||
CheckExitCode $configure
|
||||
|
||||
@@ -115,7 +121,6 @@ function Install($1, $2) {
|
||||
Remove-item C:\Utils\tmp -Recurse -Confirm:$false
|
||||
}
|
||||
|
||||
Move-Item $destination "${destination}-${ndk_version}"
|
||||
}
|
||||
|
||||
# Install NDK Default version
|
||||
|
||||
@@ -47,9 +47,9 @@
|
||||
|
||||
# NDK
|
||||
$ndkVersionLatest = "r25b"
|
||||
$ndkVersionDefault = "r23b"
|
||||
$ndkVersionDefault = $ndkVersionLatest
|
||||
$ndkChecksumLatest = "b2e9b5ab2e1434a65ffd85780891878cf5c6fd92"
|
||||
$ndkChecksumDefault = "6e3fb50022c611a2b13d02f5de5c21cc7206a298"
|
||||
$ndkChecksumDefault = $ndkChecksumLatest
|
||||
$ndkCachedUrlLatest = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersionLatest-windows.zip"
|
||||
$ndkOfficialUrlLatest = "https://dl.google.com/android/repository/android-ndk-$ndkVersionLatest-windows.zip"
|
||||
$ndkCachedUrlDefault = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersionDefault-windows.zip"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
# This script will install emscripten needed by WebAssembly
|
||||
|
||||
$version = "3.1.14"
|
||||
$version = "3.1.25"
|
||||
|
||||
# Make sure python is in the path
|
||||
Prepend-Path "C:\Python27"
|
||||
|
||||
179
coin/provisioning/common/windows/grpc.ps1
Normal file
179
coin/provisioning/common/windows/grpc.ps1
Normal file
@@ -0,0 +1,179 @@
|
||||
# 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"
|
||||
|
||||
# Here we build gRPC libraries for MinGW and MSVC.
|
||||
# Since it's a c++ library we need both msvc and mingw because they mangle symbols differently.
|
||||
# For MSVC it builds with both debug and release configurations because of the visual c++ runtime.
|
||||
# For MinGW we only need one, so we only build with release.
|
||||
# The function below takes care of the common part of building - invoking cmake,
|
||||
# calling ninja and installing it to a directory which we set an environment variable to.
|
||||
# Because we have two compilers we also have two env. vars. and then each
|
||||
# config in CI has the gRPC_ROOT set to the appropriate one.
|
||||
function build-install-grpc {
|
||||
param(
|
||||
[string]$CC,
|
||||
[string]$CXX,
|
||||
[string]$BuildType,
|
||||
[string]$Postfix # Used for install-path and the environment variable name
|
||||
)
|
||||
$installPrefix = "C:\Utils\grpc"
|
||||
$installPath = "${installPrefix}-$Postfix"
|
||||
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 = @(
|
||||
# plugins
|
||||
"-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF"
|
||||
"-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF"
|
||||
"-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF"
|
||||
"-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF"
|
||||
"-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF"
|
||||
"-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF"
|
||||
# extensions
|
||||
"-DgRPC_BUILD_CSHARP_EXT=OFF"
|
||||
# general
|
||||
"-DgRPC_BUILD_TESTS=OFF"
|
||||
"-DgRPC_PROTOBUF_PROVIDER=`"package`""
|
||||
"-DgRPC_SSL_PROVIDER=`"package`""
|
||||
"-DOPENSSL_ROOT_DIR=`"$OPENSSL_ROOT_DIR`""
|
||||
# protobuf
|
||||
"-DProtobuf_USE_STATIC_LIBS=ON"
|
||||
"-DProtobuf_ROOT=`"$Protobuf_ROOT`""
|
||||
)
|
||||
cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" $extraCMakeArgs $configureOptions
|
||||
$result = $LASTEXITCODE
|
||||
if ($result -eq 0) {
|
||||
# ninja install:all # This is broken and does not work
|
||||
foreach ($config in $BuildType.split(";")) {
|
||||
ninja -f "build-$config.ninja" install
|
||||
}
|
||||
$result = $LASTEXITCODE
|
||||
}
|
||||
$env:CC = $oldCC
|
||||
$env:CXX = $oldCXX
|
||||
Set-EnvironmentVariable "gRPC_ROOT_$Postfix" "$InstallPath"
|
||||
Pop-Location
|
||||
Remove build-grpc
|
||||
if ($result -ne 0) {
|
||||
throw "Build exited with $result"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Ensures a tool is in path or adds it to path if the $Path supplied to it
|
||||
# contains it. Will throw if it's not found at all
|
||||
function Find-Tool {
|
||||
param(
|
||||
[string]$Name,
|
||||
[string]$Path
|
||||
)
|
||||
# Is tool missing from path?
|
||||
if (!(Get-Command $Name -ErrorAction SilentlyContinue)) {
|
||||
# Is tool in the $Path directory?
|
||||
if (Test-Path "$Path\$Name" -ErrorAction SilentlyContinue) {
|
||||
$env:Path += ";$Path"
|
||||
}
|
||||
else {
|
||||
throw "Cannot find $Name in path or $Name in $Path, something is configured wrong"
|
||||
}
|
||||
}
|
||||
}
|
||||
# This script is fairly late in provisioning so both of these should be present!
|
||||
Find-Tool -Name "cmake.exe" -Path "C:\CMake\bin"
|
||||
Find-Tool -Name "ninja.exe" -Path "C:\Utils\Ninja"
|
||||
|
||||
$version="1.50.1"
|
||||
$sha1="be1b0c3dbfbc9714824921f50dffb7cf044da5ab"
|
||||
$internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/grpc-all-$version.zip"
|
||||
$externalUrl=""
|
||||
|
||||
$basedir = "$env:HOMEDRIVE\$env:HOMEPATH\grpc"
|
||||
mkdir $basedir
|
||||
$targetDir = "$basedir\grpc-$version"
|
||||
$targetFile = "$targetDir.zip"
|
||||
Download $externalUrl $internalUrl $targetFile
|
||||
Verify-Checksum $targetFile $sha1
|
||||
Extract-7Zip $targetFile $basedir
|
||||
Remove $targetFile
|
||||
|
||||
Push-Location $basedir
|
||||
|
||||
# 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
|
||||
|
||||
# Add cl to path if it is not already there
|
||||
if (!(Get-Command cl.exe -ErrorAction SilentlyContinue)) {
|
||||
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
$vc_component = "Microsoft.VisualStudio.Component.VC.CoreIde"
|
||||
# We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
|
||||
# If MSVC has an ABI break this will stop working, and yet another build must be added.
|
||||
$vs_location = (& $vswhere -nologo -products * -requires $vc_component -sort -format value -property installationPath | Select-Object -Last 1)
|
||||
$vcvars_location = Join-Path $vs_location "VC\Auxiliary\Build\"
|
||||
|
||||
Push-Location $vcvars_location
|
||||
|
||||
# This snippet was stolen from https://stackoverflow.com/a/2124759
|
||||
# Grabs all the environment variables that the script has set and assigns it
|
||||
# to environment variables in PowerShell (calling batch files creates a
|
||||
# cmd.exe instance which does not propagate environment variables)
|
||||
cmd /c "vcvarsall.bat $env:PROCESSOR_ARCHITECTURE & set" |
|
||||
ForEach-Object {
|
||||
if ($_ -match "=") {
|
||||
$v = $_.Split("=");
|
||||
Set-Item -Force -Path "ENV:\$($v[0])" -Value "$($v[1])"
|
||||
}
|
||||
}
|
||||
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc"
|
||||
|
||||
$env:Path = $oldPath
|
||||
Pop-Location
|
||||
Remove $basedir
|
||||
|
||||
Write-Output "gRPC = $version" >> ~/versions.txt
|
||||
@@ -46,7 +46,10 @@
|
||||
# From Visual studio 'C++ Universal Windows Platform support for v142 build tools (ARM64)' and 'Windows Universal C Runtime' were installed
|
||||
# cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build
|
||||
# call vcvarsamd64_arm64
|
||||
#
|
||||
# curl -o C:\Utils\openssl-3.0.7.zip http://ci-files01-hki.intra.qt.io/input/openssl/openssl-3.0.7.zip
|
||||
# cd C:\Utils
|
||||
# C:\Utils\sevenzip\7z.exe x C:\Utils\openssl-3.0.7.zip
|
||||
# cd C:\Utils\openssl-3.0.7
|
||||
# perl Configure no-asm VC-WIN64-ARM --debug --prefix=C:\openssl_arm64\ --openssldir=C:\openssl_arm64\
|
||||
# nmake
|
||||
# nmake install
|
||||
@@ -56,9 +59,9 @@
|
||||
# nmake install
|
||||
#################################################################################################################################################
|
||||
|
||||
$version = "1_1_1_m"
|
||||
$version = "3_0_7"
|
||||
$url = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-$version-arm64.zip"
|
||||
$sha1 = "52963bba9b542eb885f19641f5cd78870246ea02"
|
||||
$sha1 = "19be15069d981b4a96f5715f039df7aaa7456d52"
|
||||
$installFolder = "C:\openssl_arm64"
|
||||
$zip_package = "C:\Windows\Temp\$version.zip"
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
# This script installs OpenSSL $version.
|
||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||
|
||||
$version = "1_1_1m"
|
||||
$version = "3_0_7"
|
||||
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
|
||||
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
|
||||
|
||||
@@ -53,7 +53,7 @@ if (Is64BitWinHost) {
|
||||
$installFolder = "C:\openssl"
|
||||
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
|
||||
$sha1 = "16d83bd6d36be7b3ea85f822135352fa8f8d8134"
|
||||
$sha1 = "2fb73f233bc565939312782b8157bebc26a5e17b"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex64
|
||||
@@ -67,6 +67,7 @@ if (Is64BitWinHost) {
|
||||
Set-EnvironmentVariable "OPENSSL_CONF_x64" "$installFolder\bin\openssl.cfg"
|
||||
Set-EnvironmentVariable "OPENSSL_INCLUDE_x64" "$installFolder\include"
|
||||
Set-EnvironmentVariable "OPENSSL_LIB_x64" "$installFolder\lib"
|
||||
Prepend-Path "$installFolder\bin"
|
||||
}
|
||||
|
||||
# Install x86 bit version
|
||||
@@ -80,7 +81,7 @@ if (Is64BitWinHost) {
|
||||
|
||||
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
|
||||
$sha1 = "1d7146e56b201404ce67f1e636eab360211c175a"
|
||||
$sha1 = "ddead693fa279ad6b1baf123b3af51a9ef289dc1"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex86
|
||||
|
||||
140
coin/provisioning/common/windows/protobuf.ps1
Normal file
140
coin/provisioning/common/windows/protobuf.ps1
Normal file
@@ -0,0 +1,140 @@
|
||||
# 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"
|
||||
|
||||
# Here we build protobuf libraries for MinGW and MSVC.
|
||||
# Since it's a c++ library we need both msvc and mingw because they mangle symbols differently.
|
||||
# For MSVC it builds with both debug and release configurations because of the visual c++ runtime.
|
||||
# For MinGW we only need one, so we only build with release.
|
||||
# The function below takes care of the common part of building - invoking cmake,
|
||||
# calling ninja and installing it to a directory which we set an environment variable to.
|
||||
# Because we have two compilers we also have two env. vars. and then each
|
||||
# config in CI has the Protobuf_ROOT set to the appropriate one.
|
||||
function build-install-protobuf {
|
||||
param(
|
||||
[string]$CC,
|
||||
[string]$CXX,
|
||||
[string]$BuildType,
|
||||
[string]$Postfix, # Used for install-path and the environment variable name
|
||||
[string[]]$ExtraArguments = @()
|
||||
)
|
||||
$installPrefix = "C:\Utils\protobuf"
|
||||
$installPath = "${installPrefix}-$Postfix"
|
||||
Write-Output "Configuring and building protobuf for $CXX"
|
||||
$oldCC = $env:CC
|
||||
$oldCXX = $env:CXX
|
||||
$env:CC = $CC
|
||||
$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 $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"
|
||||
Pop-Location
|
||||
Remove build
|
||||
}
|
||||
|
||||
function Find-Tool {
|
||||
param(
|
||||
[string]$Name,
|
||||
[string]$Path
|
||||
)
|
||||
# Is tool missing from path?
|
||||
if (!(Get-Command $Name -ErrorAction SilentlyContinue)) {
|
||||
# Is tool in the $Path directory?
|
||||
if (Test-Path "$Path\$Name") {
|
||||
$env:Path += ";$Path"
|
||||
}
|
||||
else {
|
||||
throw "Cannot find $Name in path or $Name in $Name, something is configured wrong"
|
||||
}
|
||||
}
|
||||
}
|
||||
# This script is fairly late in provisioning so both of these should be present!
|
||||
Find-Tool -Name "cmake.exe" -Path "C:\CMake\bin"
|
||||
Find-Tool -Name "ninja.exe" -Path "C:\Utils\Ninja"
|
||||
|
||||
$version = "21.9"
|
||||
$sha1 = "3226a0e49d048759b702ae524da79387c59f05cc"
|
||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/protobuf/protobuf-all-$version.zip"
|
||||
$externalUrl = "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
|
||||
|
||||
$targetDir = "$env:HOMEDRIVE\$env:HOMEPATH\protobuf-$version"
|
||||
$targetFile = "$targetDir.zip"
|
||||
Download $externalUrl $internalUrl $targetFile
|
||||
Verify-Checksum $targetFile $sha1
|
||||
Extract-7Zip $targetFile (Join-Path $env:HOMEDRIVE $env:HOMEPATH)
|
||||
Remove $targetFile
|
||||
|
||||
|
||||
# cd into the cmake directory where the CMakeLists.txt file is located
|
||||
# then we build in a build\ subfolder there for simplicity's sake
|
||||
Push-Location $targetDir
|
||||
|
||||
### 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-protobuf -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-protobuf -CC "clang" -CXX "clang++" -BuildType "Release" -Postfix "llvm_mingw"
|
||||
$env:Path = $oldPath
|
||||
|
||||
### MSVC
|
||||
|
||||
# Add cl to path if it is not already there
|
||||
if (!(Get-Command cl.exe -ErrorAction SilentlyContinue)) {
|
||||
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
$vc_component = "Microsoft.VisualStudio.Component.VC.CoreIde"
|
||||
# We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
|
||||
# If MSVC has an ABI break this will stop working, and yet another build must be added.
|
||||
$vs_location = (& $vswhere -nologo -products * -requires $vc_component -sort -format value -property installationPath | Select-Object -Last 1)
|
||||
$vcvars_location = Join-Path $vs_location "VC\Auxiliary\Build\"
|
||||
|
||||
Push-Location $vcvars_location
|
||||
|
||||
# This snippet was stolen from https://stackoverflow.com/a/2124759
|
||||
# Grabs all the environment variables that the script has set and assigns it
|
||||
# to environment variables in PowerShell (calling batch files creates a
|
||||
# cmd.exe instance which does not propagate environment variables)
|
||||
cmd /c "vcvarsall.bat $env:PROCESSOR_ARCHITECTURE & set" |
|
||||
ForEach-Object {
|
||||
if ($_ -match "=") {
|
||||
$v = $_.Split("=");
|
||||
Set-Item -Force -Path "ENV:\$($v[0])" -Value "$($v[1])"
|
||||
}
|
||||
}
|
||||
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
# We pass along an extra argument to stop protobuf linking with the static runtime
|
||||
build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
|
||||
|
||||
$env:Path = $oldPath
|
||||
Pop-Location
|
||||
Remove $targetDir
|
||||
|
||||
Write-Output "Protobuf = $version" >> ~/versions.txt
|
||||
@@ -128,6 +128,9 @@ installPackages+=(xcb-util-image-devel)
|
||||
installPackages+=(xcb-util-keysyms-devel)
|
||||
installPackages+=(xcb-util-wm-devel)
|
||||
installPackages+=(xcb-util-renderutil-devel)
|
||||
installPackages+=(xcb-util-cursor)
|
||||
installPackages+=(xcb-util-cursor-devel)
|
||||
|
||||
# ODBC support
|
||||
installPackages+=(unixODBC-devel)
|
||||
installPackages+=(unixODBC)
|
||||
|
||||
@@ -41,6 +41,6 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/install_protobuff.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuff.sh"
|
||||
# shellcheck source=../common/unix/install_protobuf.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
|
||||
|
||||
@@ -128,6 +128,9 @@ installPackages+=(xcb-util-image-devel)
|
||||
installPackages+=(xcb-util-keysyms-devel)
|
||||
installPackages+=(xcb-util-wm-devel)
|
||||
installPackages+=(xcb-util-renderutil-devel)
|
||||
installPackages+=(xcb-util-cursor)
|
||||
installPackages+=(xcb-util-cursor-devel)
|
||||
|
||||
# ODBC support
|
||||
installPackages+=(unixODBC-devel)
|
||||
installPackages+=(unixODBC)
|
||||
|
||||
@@ -41,6 +41,6 @@
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/install_protobuff.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuff.sh"
|
||||
# shellcheck source=../common/unix/install_protobuf.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Copyright (C) 2022 The Qt Company Ltd.
|
||||
## Contact: https://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -48,7 +48,7 @@ installPackages=()
|
||||
installPackages+=(git)
|
||||
installPackages+=(zlib-devel)
|
||||
installPackages+=(glib2-devel)
|
||||
installPackages+=(openssl-devel)
|
||||
installPackages+=(openssl3-devel)
|
||||
installPackages+=(freetype-devel)
|
||||
installPackages+=(fontconfig-devel)
|
||||
installPackages+=(curl-devel)
|
||||
@@ -136,6 +136,9 @@ installPackages+=(xcb-util-image-devel)
|
||||
installPackages+=(xcb-util-keysyms-devel)
|
||||
installPackages+=(xcb-util-wm-devel)
|
||||
installPackages+=(xcb-util-renderutil-devel)
|
||||
installPackages+=(xcb-util-cursor)
|
||||
installPackages+=(xcb-util-cursor-devel)
|
||||
|
||||
# ODBC support
|
||||
installPackages+=(unixODBC-devel)
|
||||
installPackages+=(unixODBC)
|
||||
@@ -180,6 +183,5 @@ python3.8 -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
||||
|
||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||
OpenSSLVersion="$(openssl3 version |cut -b 9-14)"
|
||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2022 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
|
||||
|
||||
# shellcheck source=../common/unix/install_protobuf.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2022 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
|
||||
|
||||
# shellcheck source=../common/unix/install_grpc.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
|
||||
|
||||
3
coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable_net_lso.sh
Executable file
3
coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-disable_net_lso.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "ETHTOOL_OPTS='-K \${DEVICE} tso off'" | sudo tee -a /etc/sysconfig/network-scripts/ifcfg-Wired_connection_1
|
||||
3
coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-install_telegraf.sh
Executable file
3
coin/provisioning/qtci-linux-RHEL-9.0-x86_64/01-install_telegraf.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/unix/telegraf_install.sh
|
||||
@@ -0,0 +1,54 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2020 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 -e
|
||||
|
||||
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
|
||||
|
||||
# refresh local certificates
|
||||
sudo subscription-manager refresh
|
||||
|
||||
# Attach available subscriptions to system. This is needed when subscriptions are renewed.
|
||||
sudo subscription-manager attach --auto
|
||||
|
||||
sudo rm -f /tmp/redhat_ak.sh
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
|
||||
# New unique secret key will be created automatically during start up.
|
||||
# https://access.redhat.com/solutions/3553581
|
||||
echo "Removing secret_key"
|
||||
sudo rm -f "/var/lib/NetworkManager/secret_key"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user