mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-25 01:16:14 +08:00
Compare commits
275 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bab1fecd55 | ||
|
|
f62c07c716 | ||
|
|
336fc07c80 | ||
|
|
61fab6d730 | ||
|
|
7ea247f6cc | ||
|
|
cfc20bd9de | ||
|
|
fc625d5c8e | ||
|
|
9412ed738b | ||
|
|
adf7c5ab10 | ||
|
|
80fda87743 | ||
|
|
f7c6506ec1 | ||
|
|
8c4c44877c | ||
|
|
78e19dbd34 | ||
|
|
8b143a7605 | ||
|
|
dd41f83ef1 | ||
|
|
9cad1bede1 | ||
|
|
3d77301e1c | ||
|
|
7b616ebe45 | ||
|
|
4c6b800263 | ||
|
|
3994524b70 | ||
|
|
d15dfbd2b4 | ||
|
|
5aec4aa157 | ||
|
|
e8a94de2ea | ||
|
|
3cf6241e47 | ||
|
|
2cc991e88c | ||
|
|
15e437335d | ||
|
|
fb7e442a1e | ||
|
|
ab2ec657cd | ||
|
|
22e56fdf90 | ||
|
|
b2e6211e4b | ||
|
|
e9cd37a1e0 | ||
|
|
bdd49adae9 | ||
|
|
e600f0a85b | ||
|
|
9e7829bf5e | ||
|
|
2b137b3f41 | ||
|
|
83b40b020d | ||
|
|
cceb2909dd | ||
|
|
e18fe73ac6 | ||
|
|
cc2729920f | ||
|
|
6e853cc6fc | ||
|
|
f4f8266821 | ||
|
|
1cdf0b38ae | ||
|
|
0b041deffd | ||
|
|
21c39aa759 | ||
|
|
e112372259 | ||
|
|
2849740c98 | ||
|
|
d499318730 | ||
|
|
9baaa2d166 | ||
|
|
189bf2b956 | ||
|
|
d35962050e | ||
|
|
b237f31399 | ||
|
|
d18c70e904 | ||
|
|
5ccfd0ab22 | ||
|
|
08d194ac9d | ||
|
|
dee952b0dd | ||
|
|
4aa6b8cc47 | ||
|
|
09baa95ad1 | ||
|
|
fcca7f16d0 | ||
|
|
9a6b5caef5 | ||
|
|
2d5dc5af3d | ||
|
|
90e0464453 | ||
|
|
cb765fe3c1 | ||
|
|
5f00935059 | ||
|
|
ad1e94d511 | ||
|
|
3dc55bdfb8 | ||
|
|
4ae967a5f9 | ||
|
|
d7c80e60f7 | ||
|
|
96c8820cf8 | ||
|
|
2ce2817b8d | ||
|
|
5c3284464f | ||
|
|
5a0ebc689b | ||
|
|
82c6c4cbdc | ||
|
|
9b29286325 | ||
|
|
de62c92b28 | ||
|
|
cf813eedfd | ||
|
|
886eb3a7f7 | ||
|
|
7db1e0a053 | ||
|
|
ff795c101f | ||
|
|
a9dfa0737d | ||
|
|
85eb37bf83 | ||
|
|
92f122511d | ||
|
|
39b4307edf | ||
|
|
b87098e90d | ||
|
|
419f19563d | ||
|
|
81d2c30cb4 | ||
|
|
db32c6b6ef | ||
|
|
36fe46a392 | ||
|
|
225eca6109 | ||
|
|
6b453e2221 | ||
|
|
9de96e816b | ||
|
|
1b70600c42 | ||
|
|
c1edd84a8a | ||
|
|
26c0acf266 | ||
|
|
95234b04c0 | ||
|
|
d6402b31f8 | ||
|
|
c6c18d6bf9 | ||
|
|
6a4aac317b | ||
|
|
9af35703bf | ||
|
|
c4dbafcc01 | ||
|
|
11dcad85e9 | ||
|
|
2dd0731d72 | ||
|
|
8e61993566 | ||
|
|
607d8786cb | ||
|
|
c56cda562f | ||
|
|
f836c2ce76 | ||
|
|
31a68bde20 | ||
|
|
7fbb1c2aec | ||
|
|
44717fb041 | ||
|
|
97c6f7de38 | ||
|
|
661298dc77 | ||
|
|
d48e42475e | ||
|
|
f5bfa1122b | ||
|
|
7b3818271a | ||
|
|
84023b7ee1 | ||
|
|
f6fd6e1b53 | ||
|
|
251029c36b | ||
|
|
e5fa3230ef | ||
|
|
0d2a4a1064 | ||
|
|
1ee0e99036 | ||
|
|
87adc6ce0f | ||
|
|
3cb8fd1f10 | ||
|
|
be8abb4c4c | ||
|
|
80158fdbf3 | ||
|
|
133ea8eb46 | ||
|
|
b28fbb4c29 | ||
|
|
cf1a53776d | ||
|
|
555085ae8d | ||
|
|
dafff66c2d | ||
|
|
ac13495b0c | ||
|
|
cdaa9b540c | ||
|
|
05792979af | ||
|
|
ae7d959858 | ||
|
|
587e21bf17 | ||
|
|
40d9225f48 | ||
|
|
e1aca35523 | ||
|
|
f4568889f4 | ||
|
|
dfaabdea43 | ||
|
|
687c2c4551 | ||
|
|
a1b6183253 | ||
|
|
9f21a0b9cb | ||
|
|
deea41c06c | ||
|
|
39facc0a95 | ||
|
|
df4d7fb42d | ||
|
|
f9f017bf5a | ||
|
|
852ea47350 | ||
|
|
72a4842796 | ||
|
|
0da50b7562 | ||
|
|
5b09ad616e | ||
|
|
b02cca2418 | ||
|
|
15179451a1 | ||
|
|
cc79b9ec5d | ||
|
|
e7345107cb | ||
|
|
7562d37e66 | ||
|
|
e4defad5e2 | ||
|
|
a24acb5375 | ||
|
|
ccca79aa5e | ||
|
|
9bc2004e5c | ||
|
|
e171873514 | ||
|
|
6a340438f8 | ||
|
|
8f7410b202 | ||
|
|
0e0732df1d | ||
|
|
3974ea45d2 | ||
|
|
9d623692a8 | ||
|
|
52322049be | ||
|
|
1e38bd21bd | ||
|
|
8910e90705 | ||
|
|
addf3a0794 | ||
|
|
3cc306b68a | ||
|
|
8af8e9081b | ||
|
|
a604af6991 | ||
|
|
79134ebf0e | ||
|
|
456bb49e7d | ||
|
|
418b0e5b47 | ||
|
|
6011e6a29b | ||
|
|
df249cc06f | ||
|
|
47b58a4f6b | ||
|
|
3964060835 | ||
|
|
7af09a0f3d | ||
|
|
9e76e174ef | ||
|
|
cac4a76366 | ||
|
|
e609ade2a4 | ||
|
|
aa22a35f05 | ||
|
|
368369beb1 | ||
|
|
55bef8cb0c | ||
|
|
2007bdb634 | ||
|
|
aa419b10fb | ||
|
|
f5430bded0 | ||
|
|
c3a5651bd0 | ||
|
|
3f4790463c | ||
|
|
0fecad52b8 | ||
|
|
74cdd355d6 | ||
|
|
a11202a0b6 | ||
|
|
f68d6a976c | ||
|
|
09aa68b3de | ||
|
|
83500b62c4 | ||
|
|
72e5affa21 | ||
|
|
21a8e07fb3 | ||
|
|
44a2c39aa7 | ||
|
|
5615fb5fc2 | ||
|
|
6e3c55a33d | ||
|
|
3303e2fe46 | ||
|
|
319f1f7945 | ||
|
|
39a7a1a663 | ||
|
|
df8c39ba7b | ||
|
|
8771cbab9c | ||
|
|
471fa2306c | ||
|
|
504304234d | ||
|
|
3624ced5cf | ||
|
|
a066902627 | ||
|
|
2792250242 | ||
|
|
9d37579b5d | ||
|
|
ffe464c889 | ||
|
|
367cacbb01 | ||
|
|
128b526cea | ||
|
|
1b97371ea0 | ||
|
|
bcaf172368 | ||
|
|
66bcdbd0b3 | ||
|
|
95c6513432 | ||
|
|
be5eb71399 | ||
|
|
88c5532d08 | ||
|
|
36cf1fd484 | ||
|
|
71802eb0ed | ||
|
|
88e06e1265 | ||
|
|
2cc1596d9f | ||
|
|
3cc1081d4a | ||
|
|
a864e58616 | ||
|
|
dcff43ca54 | ||
|
|
af77e84b88 | ||
|
|
90c88a451f | ||
|
|
c98282cb03 | ||
|
|
91c649c20e | ||
|
|
a56512b45b | ||
|
|
92ce5a7b99 | ||
|
|
398a8aa151 | ||
|
|
9d69572e74 | ||
|
|
d8f8c02ae4 | ||
|
|
0ee71c9edc | ||
|
|
b12fd026dc | ||
|
|
3b330e86fb | ||
|
|
fc1e3c7084 | ||
|
|
fbd9ecb0d5 | ||
|
|
657c38f3b5 | ||
|
|
9657e3970e | ||
|
|
33eb114747 | ||
|
|
194f4b8d83 | ||
|
|
b45c69436f | ||
|
|
7cc4b34006 | ||
|
|
9d0caddfc5 | ||
|
|
9e6a8a0f9d | ||
|
|
f956053d4c | ||
|
|
feb1c21223 | ||
|
|
13a07d01d5 | ||
|
|
c9009d7c7a | ||
|
|
f63272740c | ||
|
|
d35d6de212 | ||
|
|
b790f9314e | ||
|
|
f010bb13a9 | ||
|
|
01c0814cc5 | ||
|
|
d34850071d | ||
|
|
ac2a19ab7e | ||
|
|
6eed0ab93a | ||
|
|
d4046310f8 | ||
|
|
2cb772c046 | ||
|
|
f042009b4d | ||
|
|
2f4bed0ee6 | ||
|
|
22ce6068c5 | ||
|
|
3f18574eff | ||
|
|
b4861bc8d1 | ||
|
|
6119c40c8e | ||
|
|
aa75e9fc09 | ||
|
|
1a61ed35d3 | ||
|
|
629657da09 | ||
|
|
22c80a8889 | ||
|
|
419c5bfc2f | ||
|
|
5a6b72fa1b |
@@ -10,10 +10,13 @@
|
||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||
#
|
||||
# One task per entry. Add a space after the colon.
|
||||
# Use Fixes to automatically close an issue, and Task-number to
|
||||
# reference it without further action.
|
||||
# You do not need both for the same issue.
|
||||
# Use Fixes to automatically close an issue, Reopens to automatically
|
||||
# reopen an issue, and Task-number to reference it without further
|
||||
# action.
|
||||
# You do not need to include Task-Number where Fixes or Reopens is
|
||||
# specified for the same issue.
|
||||
#Fixes:
|
||||
#Reopens:
|
||||
#Task-number:
|
||||
#Coverity-Id:
|
||||
#
|
||||
|
||||
92
.gitmodules
vendored
92
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
recommends = qtdeclarative qtquick3d
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
@@ -47,7 +47,7 @@
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -55,7 +55,7 @@
|
||||
recommends = qtmultimedia qtshadertools qtwebengine
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -68,7 +68,7 @@
|
||||
depends = qtbase
|
||||
path = qtqa
|
||||
url = ../qtqa.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = essential
|
||||
priority = 50
|
||||
[submodule "qtlocation"]
|
||||
@@ -76,21 +76,21 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = preview
|
||||
[submodule "qtpositioning"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
path = qtpositioning
|
||||
url = ../qtpositioning.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -117,61 +117,61 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = deprecated
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
@@ -185,28 +185,28 @@
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
@@ -219,27 +219,27 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase qtmultimedia
|
||||
recommends = qtdeclarative
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
@@ -252,87 +252,87 @@
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtlanguageserver"]
|
||||
depends = qtbase
|
||||
path = qtlanguageserver
|
||||
url = ../qtlanguageserver.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = preview
|
||||
[submodule "qthttpserver"]
|
||||
depends = qtbase
|
||||
recommends = qtwebsockets
|
||||
path = qthttpserver
|
||||
url = ../qthttpserver.git
|
||||
branch = dev
|
||||
status = preview
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtquick3dphysics"]
|
||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||
path = qtquick3dphysics
|
||||
url = ../qtquick3dphysics.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = dev
|
||||
status = preview
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtquickeffectmaker"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquick3d
|
||||
path = qtquickeffectmaker
|
||||
url = ../qtquickeffectmaker.git
|
||||
branch = dev
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
[submodule "qtgraphs"]
|
||||
depends = qtbase qtdeclarative qtquick3d
|
||||
path = qtgraphs
|
||||
url = ../qtgraphs.git
|
||||
branch = dev
|
||||
status = preview
|
||||
branch = 6.8.3
|
||||
status = addon
|
||||
|
||||
4
.gitreview
Normal file
4
.gitreview
Normal file
@@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=codereview.qt-project.org
|
||||
project=qt/qt5
|
||||
defaultbranch=dev
|
||||
@@ -29,7 +29,7 @@ Windows:
|
||||
|
||||
1. Open a command prompt.
|
||||
2. Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 11.2 or later)
|
||||
* Supported compiler (Visual Studio 2022 or later, or MinGW-builds gcc 13.1 or later)
|
||||
* Python 3 ([https://www.python.org/downloads/windows/] or from Microsoft Store)
|
||||
|
||||
```
|
||||
|
||||
@@ -59,7 +59,7 @@ endfunction()
|
||||
|
||||
# Helper macro to parse the arguments for the command line options.
|
||||
macro(qt_ir_commandline_option_parse_arguments)
|
||||
set(options UNSUPPORTED)
|
||||
set(options UNSUPPORTED COMMON)
|
||||
set(oneValueArgs TYPE NAME SHORT_NAME ALIAS VALUE DEFAULT_VALUE)
|
||||
set(multiValueArgs VALUES MAPPING)
|
||||
cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
@@ -81,6 +81,7 @@ endmacro()
|
||||
# same value when retrieved.
|
||||
# DEFAULT_VALUE - the default value to be set for the option when it's not specified
|
||||
# on the command line
|
||||
# COMMON - the argument is common for init-repository and configure scripts
|
||||
#
|
||||
# NOTE: Make sure to update the SHORT_NAME code path when adding new options.
|
||||
function(qt_ir_commandline_option_helper name)
|
||||
@@ -97,6 +98,14 @@ function(qt_ir_commandline_option_helper name)
|
||||
set(commandline_known_options
|
||||
"${commandline_known_options};${name}" PARENT_SCOPE)
|
||||
|
||||
if(arg_COMMON)
|
||||
set(commandline_option_${name}_common "true" PARENT_SCOPE)
|
||||
if(NOT "${arg_TYPE}" STREQUAL "boolean")
|
||||
message(FATAL_ERROR "${name} is '${arg_TYPE}', but COMMON arguments can be"
|
||||
" 'boolean' only.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(commandline_option_${name}_type "${arg_TYPE}" PARENT_SCOPE)
|
||||
|
||||
if(NOT "${arg_VALUE}" STREQUAL "")
|
||||
@@ -137,7 +146,12 @@ macro(qt_ir_commandline_option name)
|
||||
AND "${commandline_option_${arg_SHORT_NAME}_type}" STREQUAL "")
|
||||
set(unsupported "")
|
||||
if(arg_UNSUPPORTED)
|
||||
set(unsupported "${arg_UNSUPPORTED}")
|
||||
set(unsupported "UNSUPPORTED")
|
||||
endif()
|
||||
|
||||
set(common "")
|
||||
if(arg_COMMON)
|
||||
set(common "COMMON")
|
||||
endif()
|
||||
|
||||
qt_ir_commandline_option_helper("${arg_SHORT_NAME}"
|
||||
@@ -148,6 +162,7 @@ macro(qt_ir_commandline_option name)
|
||||
MAPPING ${arg_MAPPING}
|
||||
DEFAULT_VALUE ${arg_DEFAULT_VALUE}
|
||||
${unsupported}
|
||||
${common}
|
||||
)
|
||||
endif()
|
||||
endmacro()
|
||||
@@ -323,6 +338,9 @@ function(qt_ir_process_args_from_optfile optfile_path)
|
||||
qt_ir_append_unknown_args("${arg}")
|
||||
continue()
|
||||
endif()
|
||||
elseif(commandline_option_${opt}_common AND arg_IGNORE_UNKNOWN_ARGS)
|
||||
message(DEBUG "Common command line option '${arg}'. Collecting.")
|
||||
qt_ir_append_unknown_args("${arg}")
|
||||
endif()
|
||||
|
||||
if(NOT COMMAND "qt_ir_commandline_${type}")
|
||||
|
||||
@@ -93,9 +93,15 @@ function(qt_ir_run_git_submodule_init submodules working_directory)
|
||||
qt_ir_setup_commit_template("${working_directory}" "${working_directory}")
|
||||
endfunction()
|
||||
|
||||
# Add gerrit remotes to the repository.
|
||||
function(qt_ir_add_git_remotes repo_name working_directory)
|
||||
set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/qt/")
|
||||
# Add gerrit remotes to the repository located in the working_directory.
|
||||
# repo_relative_url is the relative URL of the repository.
|
||||
# Examples:
|
||||
# - qt5
|
||||
# - qttools.git
|
||||
# - ../playground/qlitehtml.git
|
||||
# - ../qt/qttools-litehtml.git
|
||||
function(qt_ir_add_git_remotes repo_relative_url working_directory)
|
||||
set(gerrit_ssh_base "ssh://@USER@codereview.qt-project.org@PORT@/")
|
||||
set(gerrit_repo_url "${gerrit_ssh_base}")
|
||||
|
||||
qt_ir_get_option_value(codereview-username username)
|
||||
@@ -110,7 +116,10 @@ function(qt_ir_add_git_remotes repo_name working_directory)
|
||||
string(REPLACE "@PORT@" "" gerrit_repo_url "${gerrit_repo_url}")
|
||||
endif()
|
||||
|
||||
string(APPEND gerrit_repo_url "${repo_name}")
|
||||
set(namespace "qt")
|
||||
set(repo_relative_url_with_namespace "${namespace}/${repo_relative_url}")
|
||||
qt_ir_normalize_git_url("${repo_relative_url_with_namespace}" normalized_url)
|
||||
string(APPEND gerrit_repo_url "${normalized_url}")
|
||||
|
||||
qt_ir_execute_process_and_log_and_handle_error(
|
||||
COMMAND_ARGS git config remote.gerrit.url "${gerrit_repo_url}"
|
||||
@@ -193,15 +202,21 @@ function(qt_ir_clone_one_submodule submodule_name)
|
||||
set(submodule_base_git_path "${${prefix}_${submodule_name}_base_git_path}")
|
||||
|
||||
set(submodule_url "${submodule_base_git_path}")
|
||||
qt_ir_has_url_scheme("${submodule_url}" has_url_scheme)
|
||||
qt_ir_parse_git_url(
|
||||
URL "${submodule_url}"
|
||||
OUT_VAR_HAS_URL_SCHEME has_url_scheme
|
||||
)
|
||||
|
||||
if(NOT has_url_scheme AND arg_BASE_URL)
|
||||
set(submodule_url "${arg_BASE_URL}${submodule_url}")
|
||||
qt_ir_normalize_git_url("${submodule_url}" submodule_url)
|
||||
endif()
|
||||
|
||||
qt_ir_get_mirror(mirror_url)
|
||||
set(mirror "")
|
||||
if(NOT has_url_scheme AND mirror_url AND (should_clone OR arg_FETCH))
|
||||
set(mirror "${mirror_url}${submodule_base_git_path}")
|
||||
qt_ir_normalize_git_url("${mirror}" mirror)
|
||||
endif()
|
||||
|
||||
set(mirror_or_original_url "${submodule_url}")
|
||||
|
||||
@@ -117,7 +117,7 @@ function(qt_ir_get_args_from_optfile_configure_filtered optfile_path out_var)
|
||||
if(submodules)
|
||||
qt_ir_get_top_level_submodules(include_submodules exclude_submodules)
|
||||
if(NOT include_submodules AND arg_ALREADY_INITIALIZED)
|
||||
set(include_submodules "${submodules}")
|
||||
string(REPLACE "," ";" include_submodules "${submodules}")
|
||||
endif()
|
||||
|
||||
# qtrepotools is always implicitly cloned, but it doesn't actually
|
||||
|
||||
@@ -29,7 +29,7 @@ macro(qt_ir_set_known_command_line_options)
|
||||
qt_ir_commandline_option(quiet SHORT_NAME q TYPE boolean)
|
||||
qt_ir_commandline_option(resolve-deps TYPE boolean DEFAULT_VALUE yes)
|
||||
qt_ir_commandline_option(update TYPE boolean DEFAULT_VALUE yes)
|
||||
qt_ir_commandline_option(verbose TYPE boolean)
|
||||
qt_ir_commandline_option(verbose TYPE boolean COMMON)
|
||||
|
||||
# These are used when init-repository is called from configure.
|
||||
qt_ir_commandline_option(from-configure TYPE boolean)
|
||||
|
||||
@@ -40,16 +40,77 @@ function(qt_ir_get_git_config_contents out_var)
|
||||
set(${out_var} "${git_output}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# Checks whether the given url has a scheme like https:// or is just a
|
||||
# relative path.
|
||||
function(qt_ir_has_url_scheme url out_var)
|
||||
string(REGEX MATCH "^[a-z][a-z0-9+\-.]*://" has_url_scheme "${url}")
|
||||
# Parses a git repo url to:
|
||||
# - check if the given url has a scheme like https:// or git:// or is just a
|
||||
# relative path with no scheme (possibly containing '../' segments)
|
||||
# - extracts the scheme if it exists
|
||||
# - extracts the url without the scheme
|
||||
function(qt_ir_parse_git_url)
|
||||
set(options "")
|
||||
set(oneValueArgs
|
||||
URL
|
||||
OUT_VAR_HAS_URL_SCHEME
|
||||
OUT_VAR_SCHEME
|
||||
OUT_VAR_URL_WITHOUT_SCHEME
|
||||
)
|
||||
set(multiValueArgs "")
|
||||
cmake_parse_arguments(arg "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
string(REGEX MATCH "^([a-z][a-z0-9+\-.]*://)(.+)" url_scheme_match "${arg_URL}")
|
||||
|
||||
if(url_scheme_match)
|
||||
set(has_url_scheme TRUE)
|
||||
set(scheme "${CMAKE_MATCH_1}")
|
||||
set(url_without_scheme "${CMAKE_MATCH_2}")
|
||||
else()
|
||||
set(has_url_scheme FALSE)
|
||||
set(scheme "")
|
||||
set(url_without_scheme "${url}")
|
||||
endif()
|
||||
|
||||
if(arg_OUT_VAR_HAS_URL_SCHEME)
|
||||
set(${arg_OUT_VAR_HAS_URL_SCHEME} "${has_url_scheme}" PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
if(arg_OUT_VAR_SCHEME)
|
||||
set(${arg_OUT_VAR_SCHEME} "${scheme}" PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
if(arg_OUT_VAR_URL_WITHOUT_SCHEME)
|
||||
set(${arg_OUT_VAR_URL_WITHOUT_SCHEME} "${url_without_scheme}" PARENT_SCOPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
# Normalizes a url that contains '../' path segments.
|
||||
# Removes the '../' segments and the directories that they precede.
|
||||
# Example:
|
||||
# git://code.qt.io/qt/../playground/qlitehtml.git
|
||||
# will be normalized to:
|
||||
# git://code.qt.io/playground/qlitehtml.git
|
||||
function(qt_ir_normalize_git_url url out_var)
|
||||
# The exact perl code was while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
|
||||
# That got rid of ../ and ../../ in the path, but it broke down
|
||||
# when more than two '../' segments were present.
|
||||
#
|
||||
# In CMake, we instead parse the url to get the non-scheme suffix,
|
||||
# use get_filename_component(ABSOLUTE) to resolve the url as if it was a relative path
|
||||
# and then re-add the scheme if it was present.
|
||||
qt_ir_parse_git_url(
|
||||
URL "${url}"
|
||||
OUT_VAR_HAS_URL_SCHEME has_url_scheme
|
||||
OUT_VAR_SCHEME url_scheme
|
||||
OUT_VAR_URL_WITHOUT_SCHEME url_without_scheme
|
||||
)
|
||||
|
||||
# Note the empty BASE_DIR is important, otherwise the path is relative to
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR}.
|
||||
get_filename_component(normalized_url "${url_without_scheme}" ABSOLUTE BASE_DIR "")
|
||||
|
||||
if(has_url_scheme)
|
||||
set(${out_var} TRUE PARENT_SCOPE)
|
||||
else()
|
||||
set(${out_var} FALSE PARENT_SCOPE)
|
||||
string(PREPEND normalized_url "${url_scheme}")
|
||||
endif()
|
||||
|
||||
set(${out_var} "${normalized_url}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# Parses a key-value line from a .git/config or .gitmodules file
|
||||
@@ -79,14 +140,22 @@ endmacro()
|
||||
# url_value
|
||||
# the url where to clone a repo from
|
||||
# in perl script it was called $base
|
||||
# e.g. '../qtbase.git', 'https://code.qt.io/playground/qlitehtml.git'
|
||||
# Examples:
|
||||
# - '../qtbase.git'
|
||||
# - 'https://code.qt.io/playground/qlitehtml.git'
|
||||
# - '../../playground/qlitehtml.git'
|
||||
# parent_repo_base_git_path
|
||||
# the base git path of the parent of the submodule
|
||||
# it is either a relative dir or a full url
|
||||
# in the perl script it was called $my_repo_base,
|
||||
# it was passed as first arg to git_clone_all_submodules,
|
||||
# it was passed the value of $subbases{$module} when doing recursive submodule cloning
|
||||
# e.g. 'qt5', 'tqtc-qt5', 'qtdeclarative.git', 'https://code.qt.io/playground/qlitehtml.git'
|
||||
# Examples:
|
||||
# - 'qt5'
|
||||
# - 'tqtc-qt5'
|
||||
# - 'qtdeclarative.git'
|
||||
# - 'qttools.git'
|
||||
# - 'https://code.qt.io/playground/qlitehtml.git'
|
||||
#
|
||||
# Outputs
|
||||
#
|
||||
@@ -94,21 +163,21 @@ endmacro()
|
||||
# just the value of ${url_value}
|
||||
# ${out_var_prefix}_${submodule_name}_base_git_path
|
||||
# the whole url if it has a scheme, otherwise it's the value of
|
||||
# ${url_value} relative to ${parent_repo_base_git_path}, so all the ../ are collapsed
|
||||
# e.g. 'qtdeclarative.git'
|
||||
# 'https://code.qt.io/playground/qlitehtml.git',
|
||||
# ${url_value} relative to ${parent_repo_base_git_path}, so some of the '../' segments
|
||||
# are collapsed depending on how many path segments are available in
|
||||
# ${parent_repo_base_git_path}.
|
||||
# Examples:
|
||||
# - 'qtdeclarative.git'
|
||||
# - 'https://code.qt.io/playground/qlitehtml.git'
|
||||
# - '../playground/qlitehtml.git'
|
||||
macro(qt_ir_parse_git_url_key out_var_prefix submodule_name url_value parent_repo_base_git_path)
|
||||
qt_ir_has_url_scheme("${url_value}" has_url_scheme)
|
||||
qt_ir_parse_git_url(
|
||||
URL "${url_value}"
|
||||
OUT_VAR_HAS_URL_SCHEME has_url_scheme
|
||||
)
|
||||
if(NOT has_url_scheme)
|
||||
set(base_git_path "${parent_repo_base_git_path}/${url_value}")
|
||||
|
||||
# The exact code perl code was while ($base =~ s,(?!\.\./)[^/]+/\.\./,,g) {}
|
||||
# That got rid of ../ and ../../ in the path, but it broke down
|
||||
# when more than two ../ were present.
|
||||
# We just use ABSOLUTE to resolve the path and get rid of all ../
|
||||
# Note the empty BASE_DIR is important, otherwise the path is relative to
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR}.
|
||||
get_filename_component(base_git_path "${base_git_path}" ABSOLUTE BASE_DIR "")
|
||||
qt_ir_normalize_git_url("${base_git_path}" base_git_path)
|
||||
else()
|
||||
set(base_git_path "${url_value}")
|
||||
endif()
|
||||
|
||||
@@ -3,13 +3,62 @@
|
||||
|
||||
# This script is to be called (ideally from a git-sync-to alias script):
|
||||
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -P cmake/QtSynchronizeRepo.cmake
|
||||
|
||||
# Or as follows (ideally from a git-qt-foreach alias script):
|
||||
# cmake -DQT_FOREACH=TRUE "-DARGS=$*" -P cmake/QtSynchronizeRepo.cmake
|
||||
#
|
||||
# The script can take additional options.
|
||||
#
|
||||
# SYNC_REF_SPEC - an alias for SYNC_TO_BRANCH, can be a tag, branch or commit sha1.
|
||||
#
|
||||
# REMOTE_NAME - remote name to use for fetching, default is origin.
|
||||
#
|
||||
# GIT_DEPTH - corresponds to git's --depth option, will be passed to git clone and git submodule
|
||||
# update --init operations.
|
||||
#
|
||||
# SHOW_PROGRESS - passes --progress to git submodule update operations
|
||||
#
|
||||
# VERBOSE - enables more verbose output
|
||||
#
|
||||
# The script also takes the following environment variables:
|
||||
#
|
||||
# QT_TL_SUBMODULE_UPDATE_FLAGS - additional flags to pass to git submodule update calls.
|
||||
#
|
||||
# To run the script in full debug mode use:
|
||||
# cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" -DSHOW_PROGRESS=1 -DVERBOSE=1
|
||||
# -P cmake/QtSynchronizeRepo.cmake --log-level=DEBUG --trace-redirect=log.txt --trace-expand
|
||||
|
||||
cmake_policy(VERSION 3.16)
|
||||
include(cmake/QtTopLevelHelpers.cmake)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/QtTopLevelHelpers.cmake")
|
||||
if(QT_FOREACH)
|
||||
qt_internal_foreach_repo_run(ARGS ${ARGS})
|
||||
else()
|
||||
qt_internal_sync_to(${SYNC_TO_MODULE} ${SYNC_TO_BRANCH})
|
||||
set(args "")
|
||||
|
||||
if(SYNC_REF_SPEC)
|
||||
set(ref_spec "${SYNC_REF_SPEC}")
|
||||
elseif(SYNC_TO_BRANCH)
|
||||
set(ref_spec "${SYNC_TO_BRANCH}")
|
||||
endif()
|
||||
|
||||
if(REMOTE_NAME)
|
||||
list(APPEND args REMOTE_NAME "${REMOTE_NAME}")
|
||||
endif()
|
||||
|
||||
if(GIT_DEPTH)
|
||||
list(APPEND args GIT_DEPTH "${GIT_DEPTH}")
|
||||
endif()
|
||||
|
||||
if(SHOW_PROGRESS)
|
||||
list(APPEND args SHOW_PROGRESS)
|
||||
endif()
|
||||
|
||||
if(VERBOSE)
|
||||
list(APPEND args VERBOSE)
|
||||
endif()
|
||||
|
||||
qt_internal_sync_to(${SYNC_TO_MODULE}
|
||||
SYNC_REF ${ref_spec}
|
||||
${args}
|
||||
)
|
||||
endif()
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -47,3 +47,20 @@ instructions:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: UseConfigure
|
||||
disable_if:
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: property
|
||||
property: target.osVersion
|
||||
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: property
|
||||
property: target.os
|
||||
equals_value: Windows
|
||||
- condition: property
|
||||
property: target.arch
|
||||
not_equals_property: host.arch
|
||||
- condition: property
|
||||
property: features
|
||||
not_contains_value: "DebianPackaging"
|
||||
|
||||
@@ -8,5 +8,5 @@ Configurations:
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
|
||||
@@ -12,25 +12,25 @@ Configurations:
|
||||
Id: 'ubuntu-22.04-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests', 'DocsGenerationV2']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE']
|
||||
-
|
||||
Id: 'ubuntu-22.04'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
# Test on Ubuntu 22.04 X11
|
||||
-
|
||||
Id: 'ubuntu-22.04-documentation-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestDocs', 'TestOnly']
|
||||
Features: ['Sccache', 'TestDocs', 'TestOnly', 'DocsGenerationV2']
|
||||
Platform dependency: 'ubuntu-22.04-documentation'
|
||||
-
|
||||
Id: 'ubuntu-22.04-x11-tests'
|
||||
@@ -38,24 +38,75 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
# Build on Ubuntu 24.04 ARM64 and test on both X11 and Wayland later
|
||||
# Build on Ubuntu 24.04 ARM64 Wayland and test on offscreen and Wayland later
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker lld -qtlibinfix TestInfix -qtnamespace TestNamespace -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseConfigure', 'DoNotRunTests']
|
||||
Features: ['Sccache', 'Packaging', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
# Test on Ubuntu 24.04 ARM64 offscreen
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-offscreen-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'QT_QPA_OFFSCREEN_NO_GLX=1',
|
||||
'QT_QPA_PLATFORM=offscreen'
|
||||
]
|
||||
Platform dependency: 'ubuntu-24.04-arm64'
|
||||
# Build on Ubuntu 24.04 x64 Wayland and test on both X11 and Wayland (Wayland=default)
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: [
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
# Test on Ubuntu 24.04 ARM64 X11
|
||||
# Test on Ubuntu 24.04 x64 X11
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Id: 'ubuntu-24.04-x64-documentation-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-arm64'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-x64-documentation'
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
-
|
||||
Id: 'opensuse-15.5-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-15.5-x86_64-52'
|
||||
@@ -65,96 +116,60 @@ Configurations:
|
||||
Environment variables: [
|
||||
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
]
|
||||
-
|
||||
Id: 'sles-15_sp5-static'
|
||||
Template: 'qtci-linux-SLES-15_SP5-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -static -no-sql-mysql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2019'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2022'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2022'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'Packaging']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20'
|
||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'Packaging', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-arm64-msvc2022'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-51'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-54'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'InsignificantTests']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -c++std c++20 -no-sql-psql'
|
||||
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-psql -no-opengl'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019-developer-build'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
|
||||
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}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-msvc2019-arm64'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Id: 'windows-11_23H2-msvc2022-arm64'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'UseConfigure']
|
||||
Platform dependency: 'windows-10_22h2-msvc2019-developer-build'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'Packaging', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_23H2-msvc2022'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
||||
@@ -165,11 +180,11 @@ Configurations:
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2019-developer-build'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Sccache', "DebugAndRelease", 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib'
|
||||
Id: 'windows-11_23H2-msvc2022-developer-build'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
Configure arguments: '-debug-and-release -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
@@ -177,134 +192,74 @@ Configurations:
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2019-arm64'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DisableTests', 'TargetBuildOnly', 'UseConfigure']
|
||||
Platform dependency: 'windows-11_23H2-msvc2019-developer-build'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'rhel-8.8'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'rhel-8.10'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'rhel-9.2'
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Id: 'rhel-9.4'
|
||||
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies']
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
# Build on Debian-11.6 and split test on Wayland and offscreen later
|
||||
-
|
||||
Id: 'debian-11.6-arm64'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
]
|
||||
# Test on Debian-11.6 offscreen
|
||||
-
|
||||
Id: 'debian-11.6-arm64-offscreen-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'InsignificantTests', 'TestOnly']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'QT_QPA_PLATFORM=offscreen'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
-
|
||||
Id: 'ios-universal'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors']
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}}'
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-mingw13'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-llvm'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
Environment variables: [
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-llvm'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging','Sccache', 'UseConfigure']
|
||||
Features: ['Packaging','Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
||||
Environment variables: [
|
||||
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR=C:\llvm-mingw',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_llvm_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-mingw13-developer-build'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23H2-mingw13-developer-build'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-52'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -release -force-debug-info -separate-debug-info -make examples'
|
||||
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -separate-debug-info -make examples'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
||||
]
|
||||
@@ -334,3 +289,16 @@ Configurations:
|
||||
'COIN_EXTRA_DEBIAN_REPO=deb http://archive.ubuntu.com/ubuntu/ jammy main universe multiverse',
|
||||
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
||||
]
|
||||
-
|
||||
Id: 'bookworm-gles-arm64-debian-pkg-packaging'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.8_gles',
|
||||
'COIN_TARGET_DIST=tqtc-bookworm',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=stable-arm64-sbuild',
|
||||
'COIN_EXTRA_DEBIAN_REPO=deb http://deb.debian.org/debian/ bookworm main',
|
||||
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
||||
]
|
||||
|
||||
@@ -7,12 +7,12 @@ Configurations:
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'UseConfigure', 'Insignificant']
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARMV7_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARMV7_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
@@ -24,12 +24,12 @@ Configurations:
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'UseConfigure', 'Insignificant']
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
@@ -41,12 +41,12 @@ Configurations:
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUMIPS64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUMIPS64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUMIPS64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
|
||||
@@ -8,13 +8,13 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'VMSize8', 'UseConfigure']
|
||||
Features: ['Packaging', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -developer-build -no-dbus -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.27.7/bin',
|
||||
'QT_CMAKE_DIR=/opt/cmake-3.30.5/bin',
|
||||
'QNX_TEST_ENV=LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
]
|
||||
-
|
||||
Id: 'qnx-710-arm64-on-linux'
|
||||
@@ -24,11 +24,11 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
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 -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
]
|
||||
-
|
||||
Id: 'qnx-710-armv7-on-linux'
|
||||
@@ -38,9 +38,9 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
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 -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
]
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'vxworks-imx6-buildtest'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'VxWorks'
|
||||
Target arch: 'ARMv7'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['VMSize8', 'UseConfigure', 'DoNotRunTests', 'DoNotUploadTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -developer-build -force-debug-info -qpa eglfs -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target'
|
||||
]
|
||||
72
coin/platform_configs/cmake_platforms_static_release.yaml
Normal file
72
coin/platform_configs/cmake_platforms_static_release.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
|
||||
-
|
||||
Id: 'windows-11_23H2-msvc2022-minimal-static-test'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'UseConfigure', 'Packaging', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++20 -no-feature-sql-psql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_22h2-arm64-msvc2022-minimal-static-test'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-55'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['UseConfigure', 'InsignificantTests', 'Packaging', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -release -headersclean -nomake examples -qt-libjpeg -no-icu -qt-doubleconversion -qt-zlib -c++std c++17 -no-sql-psql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFEATURE_native_grpc=OFF -DFEATURE_clangcpp=OFF -DFEATURE_qdoc=OFF',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'rhel-8.10-minimal-static-test'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -nomake examples -release -qt-libjpeg -no-icu -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Configure arguments: '-static -nomake examples -release -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -no-libudev -bundled-xcb-xinput -no-icu -qt-doubleconversion'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release'
|
||||
]
|
||||
|
||||
-
|
||||
Id: 'macos-universal-on-x86_64-minimal-static-test'
|
||||
Template: 'qtci-macos-14-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -nomake examples -release -no-framework -no-icu -qt-doubleconversion -no-feature-sql-psql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release -DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_native_grpc=OFF',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
|
||||
]
|
||||
|
||||
-
|
||||
Id: 'macos-14-minimal-static-tests-x86_64'
|
||||
Template: 'qtci-macos-14-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64-minimal-static-test'
|
||||
-
|
||||
Id: 'macos-14-minimal-static-tests-arm64'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64-minimal-static-test'
|
||||
@@ -10,9 +10,9 @@ Configurations:
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}'
|
||||
]
|
||||
-
|
||||
Id: 'windows-10_22h2-minimal-static'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Id: 'windows-11_23H2-minimal-static'
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-release -force-debug-info -static -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
@@ -23,7 +23,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'macos-minimal-static'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -static -no-framework'
|
||||
|
||||
@@ -8,58 +8,59 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis arm64-v8a',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
Id: 'android-armv7-on-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-10_22h2-mingw13'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis armeabi-v7a -no-feature-pkg-config',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_msvc}}/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||
]
|
||||
-
|
||||
Id: 'android-9-x86-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Platform dependency: 'rhel-8.10'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||
]
|
||||
-
|
||||
Id: 'android-14-x86_64-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'android-15-x86_64-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Platform dependency: 'rhel-8.10'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_34'
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_35'
|
||||
]
|
||||
|
||||
|
||||
@@ -14,18 +14,18 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-10_22h2-mingw13'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW_PATH}}\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}} -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR={{.Env.Protobuf_ROOT_mingw}}/include',
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread'
|
||||
@@ -33,10 +33,10 @@ Configurations:
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.5-developer-build'
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
|
||||
@@ -4,4 +4,9 @@ Configurations:
|
||||
Id: 'ubuntu-22.04-license-check'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
Features: ['TestOnly', 'LicenseCheckV2']
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-license-check'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheckV2']
|
||||
|
||||
@@ -1,39 +1,4 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-52'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseLegacyInstructions']
|
||||
Configure arguments: '-qmake -opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -openssl -qt-harfbuzz QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck', 'UseLegacyInstructions']
|
||||
Include: [cmake_platforms_static_release.yaml]
|
||||
Configurations: []
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: "ios-tests-on-macos"
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
|
||||
@@ -2,16 +2,16 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'android-x86-developer-build-testrun-on-linux'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.10'
|
||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -debug -developer-build -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=',
|
||||
'ANDROID_EMULATOR=emulator_x86_api_28']
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'rhel_8.8_android_multi'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'android-9-multi-abi'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: [
|
||||
'rhel-8.8',
|
||||
'rhel-8.10',
|
||||
'android-9-x86-on-linux',
|
||||
'android-14-x86_64-on-linux'
|
||||
'android-15-x86_64-on-linux'
|
||||
]
|
||||
Features: [
|
||||
'Sccache',
|
||||
@@ -20,9 +20,9 @@ Configurations:
|
||||
'InstallDepsPerPlatformSubdir'
|
||||
]
|
||||
Environment variables: [
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.8',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.10',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-9-x86-on-linux',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-14-x86_64-on-linux',
|
||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-15-x86_64-on-linux',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"',
|
||||
'ANDROID_EMULATOR=emulator_x86_api_28'
|
||||
]
|
||||
|
||||
@@ -12,11 +12,11 @@ Configurations:
|
||||
Template: 'qtci-macos-14-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -framework'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_native_grpc=OFF -DINPUT_headersclean=ON',
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DPostgreSQL_ROOT={{.Env.POSTGRESQLBINPATH}}/.. -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_open62541_security=OFF',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf'
|
||||
]
|
||||
|
||||
@@ -39,7 +39,7 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-12-x86_64-tests'
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-12-x86_64-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
@@ -60,27 +60,15 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-12-arm64-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-12-arm64-tart-tests'
|
||||
Template: 'qtci-macos-12-arm-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-13-arm64-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-13-arm64-tart-tests'
|
||||
Template: 'qtci-macos-13-arm-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Features: ['TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-x86_64'
|
||||
-
|
||||
Id: 'macos-14-arm64-tests'
|
||||
@@ -93,19 +81,13 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-12-arm-on-arm64-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-12-arm-on-arm64-tart-tests'
|
||||
Template: 'qtci-macos-12-arm-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-12-arm-on-x86_64-tests'
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Template: 'qtci-macos-12-x86_64-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
@@ -133,7 +115,7 @@ Configurations:
|
||||
Template: 'qtci-macos-14-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -release -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
||||
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
@@ -144,7 +126,7 @@ Configurations:
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -separate-debug-info -framework'
|
||||
Configure arguments: '-developer-build -nomake examples -debug -framework'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'Protobuf_ROOT=/usr/local/lib/cmake/protobuf',
|
||||
@@ -154,24 +136,12 @@ Configurations:
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
-
|
||||
Id: 'macos-12-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-12-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-14-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-12-arm64-tart-developer-build-tests'
|
||||
Template: 'qtci-macos-12-arm-102'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-14-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-13-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-14-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-13-arm64-tart-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
|
||||
@@ -7,7 +7,7 @@ Include: [
|
||||
Configurations:
|
||||
-
|
||||
Id: 'qnx-710-arm64-on-windows'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Target os: 'QNX_710'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'MSVC2019'
|
||||
|
||||
@@ -6,7 +6,7 @@ Configurations:
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -c++std c++17 -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON'
|
||||
|
||||
@@ -4,7 +4,7 @@ Configurations:
|
||||
# cmake_platforms.yaml
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure']
|
||||
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure', 'DocsGenerationV2']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
-
|
||||
Id: 'Ubuntu-22.04-xwayland-host'
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
# cmake_platforms.yaml
|
||||
# Build on Ubuntu 24.04 ARM64 and test on both X11 and Wayland later
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-documentation'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Documentation', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
||||
# Test on Ubuntu 24.04 ARM64 X11
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-documentation-x11-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestDocs', 'TestOnly', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-arm64-documentation'
|
||||
@@ -5,11 +5,12 @@ Include: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"ubuntu-22.04-documentation-x11-tests",
|
||||
"windows-10_22h2-msvc2019-developer-build",
|
||||
"windows-11_23H2-msvc2022-developer-build",
|
||||
"ios-universal"
|
||||
],
|
||||
macos.yaml: [
|
||||
"macos-12-x86_64-tests",
|
||||
"macos-14-arm64-developer-build",
|
||||
"macos-14-arm64-developer-build-tests",
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
"android-arm64-on-macos"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
Version: 2
|
||||
Include: [cmake_platforms.yaml]
|
||||
Module only: True
|
||||
Include: [cmake_platforms_static_release.yaml]
|
||||
Configurations: []
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
@@ -10,7 +10,7 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
-
|
||||
|
||||
@@ -2,38 +2,59 @@ Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-windows-10-x86-4'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'x86']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DebugAndRelease']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
# without tests
|
||||
-
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'DisableTests']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
# oldest Qt version
|
||||
-
|
||||
Template: 'qtci-windows-11_23H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
Environment script: ['%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat', 'amd64']
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
-
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'OldestQt']
|
||||
Configure arguments: ''
|
||||
Environment variables: []
|
||||
# license check
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -3,14 +3,4 @@ Include: [
|
||||
cmake_platforms.yaml,
|
||||
address_sanitizer_platforms.yaml
|
||||
]
|
||||
Configurations:
|
||||
# Test on Debian-11.6 Wayland
|
||||
-
|
||||
Id: 'debian-11.6-arm64-wayland-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
Configurations: []
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
# Test gcc-12 on RHEL 9.2
|
||||
# Test gcc-12 on RHEL 9.4
|
||||
-
|
||||
Id: 'rhel-9.2-gcc12'
|
||||
Template: 'qtci-linux-RHEL-9.2-x86_64-51'
|
||||
Id: 'rhel-9.4-gcc12'
|
||||
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Configure arguments: '-developer-build -nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-pcre -no-libudev -bundled-xcb-xinput'
|
||||
|
||||
@@ -7,7 +7,7 @@ Include: [
|
||||
address_sanitizer_platforms.yaml,
|
||||
linux_android_tests_multi_abi.yaml,
|
||||
wasm_qtbase_tests.yaml,
|
||||
cmake_platforms_qemu_vxworks.yaml,
|
||||
cmake_platforms_qemu_vxworks_buildtest.yaml,
|
||||
qtlite.yaml,
|
||||
qtbase-new-compiler-testing.yaml
|
||||
]
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'debian-11.6-static-qtlite-arm64'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Id: 'ubuntu-24.04-arm64-static-qtlite'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['UseConfigure', 'DisableTests']
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'MinimalStaticTests']
|
||||
Configure arguments: >
|
||||
-nomake examples
|
||||
-release
|
||||
@@ -147,7 +147,6 @@ Configurations:
|
||||
-no-feature-systemtrayicon
|
||||
-no-feature-tabletevent
|
||||
-no-feature-tablewidget
|
||||
-no-feature-testlib
|
||||
-no-feature-textbrowser
|
||||
-no-feature-texthtmlparser
|
||||
-no-feature-textmarkdownreader
|
||||
|
||||
@@ -8,16 +8,16 @@ Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"ubuntu-24.04-arm64",
|
||||
"opensuse-15.5-developer-build",
|
||||
"sles-15_sp5-static",
|
||||
"windows-10_22h2-msvc2019",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"windows-10_22h2-msvc2019-developer-build",
|
||||
"rhel-8.8",
|
||||
"rhel-8.10",
|
||||
"windows-10_22h2-mingw13",
|
||||
"windows-10_22h2-mingw13-developer-build",
|
||||
"windows-10_22h2-llvm",
|
||||
"windows-11_23H2-msvc2019"
|
||||
"windows-11_23H2-mingw13-developer-build",
|
||||
"windows-11_23H2-llvm",
|
||||
"windows-11_23H2-msvc2022",
|
||||
"windows-11_22h2-arm64-msvc2022"
|
||||
],
|
||||
cmake_platforms_qemu_qnx710.yaml: [
|
||||
"qnx-710-x86_64-developer-build-on-linux",
|
||||
@@ -46,7 +46,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-release -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd -qtlibinfix TestInfix',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_TOOLCHAIN_FILE={{.Env.QEMUARM64_TOOLCHAIN_FILE}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'QT_YOCTO_ENVSETUP={{.Env.QEMUARM64_TOOLCHAIN_ENVSETUP}}',
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.27.7/bin",
|
||||
"QT_CMAKE_DIR=/opt/cmake-3.30.5/bin",
|
||||
'QT_SYSROOT_FOR_RUNNING_TESTS={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}',
|
||||
'GST_PLUGIN_SCANNER={{.Env.QEMUARM64_TOOLCHAIN_SYSROOT}}/usr/libexec/gstreamer-1.0/gst-plugin-scanner',
|
||||
'QT_QUICK_BACKEND=software',
|
||||
|
||||
@@ -2,20 +2,21 @@ Version: 2
|
||||
Include: [
|
||||
macos.yaml: [
|
||||
"macos-universal-on-x86_64",
|
||||
"macos-12-x86_64-tests",
|
||||
"macos-12-arm-on-arm64-tests"
|
||||
"macos-14-x86_64-tests",
|
||||
"macos-14-arm64-tests"
|
||||
],
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-documentation",
|
||||
"ubuntu-24.04-arm64",
|
||||
"opensuse-15.5-developer-build",
|
||||
"sles-15_sp5-static",
|
||||
"windows-10_22h2-msvc2019",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"rhel-8.8",
|
||||
"rhel-8.10",
|
||||
"windows-10_22h2-mingw13",
|
||||
"windows-10_22h2-llvm",
|
||||
"windows-11_23H2-msvc2019"
|
||||
"windows-11_23H2-llvm",
|
||||
"windows-11_23H2-msvc2022",
|
||||
"windows-11_22h2-arm64-msvc2022"
|
||||
],
|
||||
cmake_platforms_qemu_qnx710.yaml: [
|
||||
"qnx-710-x86_64-developer-build-on-linux",
|
||||
@@ -26,8 +27,8 @@ Include: [
|
||||
# Static build configurations for tools
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-latest-xcode-universal-static-build'
|
||||
Template: 'qtci-macos-12-x86_64-106'
|
||||
Id: 'macos-latest-x code-universal-static-build'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
@@ -36,8 +37,8 @@ Configurations:
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
|
||||
]
|
||||
-
|
||||
Id: 'Linux-RHEL_8_8_Static'
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: 'Linux-RHEL_8_10_Static'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
||||
@@ -46,11 +47,33 @@ Configurations:
|
||||
'NON_QTBASE_CMAKE_ARGS=-DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'Windows-MSVC2019_Static'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Compiler: 'MSVC2019'
|
||||
Id: 'Ubuntu-24.04-arm64_Static'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql -plugin-sql-sqlite -plugin-sql-odbc'
|
||||
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'Windows-MSVC2022-arm64_Static'
|
||||
Template: 'qtci-windows-11_22H2-aarch64-54'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-psql -no-opengl'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'Windows-MSVC2022_Static'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
|
||||
@@ -4,26 +4,17 @@ Include: [
|
||||
address_sanitizer_platforms.yaml
|
||||
]
|
||||
Configurations:
|
||||
# Test on Ubuntu 22.04 Wayland
|
||||
# Test on Ubuntu 24.04 ARM64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-22.04-documentation-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Id: 'ubuntu-24.04-arm64-documentation-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestDocs', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-22.04-documentation'
|
||||
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-arm64-documentation'
|
||||
# Test on Ubuntu 24.04 x64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-22.04-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||
Id: 'ubuntu-24.04-x64-wayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
# Test on Debian-11.6 Wayland
|
||||
-
|
||||
Id: 'debian-11.6-arm64-wayland-tests'
|
||||
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
]
|
||||
Platform dependency: 'debian-11.6-arm64'
|
||||
Features: ['TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10_22H2-x86_64-51'
|
||||
Template: 'qtci-windows-10_22H2-x86_64-53'
|
||||
Compiler: 'Mingw'
|
||||
Environment variables: ['PATH=C:\MINGW1120_i686\mingw32\bin;$PATH']
|
||||
Features: ['Packaging', UseLegacyInstructions']
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-8.8',
|
||||
"rhel-8.10",
|
||||
'windows-10_22h2-mingw13',
|
||||
'ubuntu-22.04-documentation',
|
||||
'ubuntu-22.04-documentation-x11-tests'
|
||||
@@ -13,39 +13,39 @@ Include: [
|
||||
'android-arm64-on-macos',
|
||||
'android-armv7-on-windows',
|
||||
'android-9-x86-on-linux',
|
||||
'android-14-x86_64-on-linux'
|
||||
'android-15-x86_64-on-linux'
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: "automotive-android-13-x86_64-on-linux"
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Id: "automotive-android-14-x86_64-on-linux"
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.10'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
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}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_33'
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_34'
|
||||
]
|
||||
-
|
||||
Id: "automotive-android-10-x86_64-on-linux"
|
||||
Template: 'qtci-linux-RHEL-8.8-x86_64-50'
|
||||
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'rhel-8.8'
|
||||
Platform dependency: 'rhel-8.10'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'ANDROID_EMULATOR=automotive_emulator_x86_64_api_29'
|
||||
]
|
||||
|
||||
@@ -3,7 +3,7 @@ Module only: true
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"windows-10_22h2-msvc2019",
|
||||
"rhel-8.8"
|
||||
"rhel-8.10"
|
||||
],
|
||||
macos.yaml: [
|
||||
"macos-universal-on-x86_64"
|
||||
|
||||
@@ -2,52 +2,52 @@ Version: 2
|
||||
Module only: true
|
||||
Configurations:
|
||||
- Id: 'webos-emulator-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_EMULATOR=enabled']
|
||||
- Id: 'webos-emulator-qtbase-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtbase']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtdeclarative-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtdeclarative']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtwayland-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtwayland']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtshadertools-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtshadertools']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-emulator-qtgraphicaleffects-tests'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Environment variables: ['MODULE=qtgraphicaleffects']
|
||||
Platform dependency: 'webos-emulator-build'
|
||||
- Id: 'webos-raspberry-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_RASPBERRY=enabled']
|
||||
- Id: 'webos-ndk-installer-build'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DoNotRunTests']
|
||||
Environment variables: ['BUILD_NDK_INSTALLER=enabled']
|
||||
- Id: 'webos-ndk-install'
|
||||
Template: 'qtci-linux-Ubuntu-20.04-x86_64-52'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: ['webos-raspberry-build', 'webos-ndk-installer-build']
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
### RED HAT ENTERPRISE LINUX 8.10 ###
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Installation Destination: Automatic partitioning selected
|
||||
Root Passowrd: Set
|
||||
Network & Host..: Connect
|
||||
User Creation
|
||||
Beging Installation
|
||||
|
||||
Reboot
|
||||
|
||||
Licensing: Accept
|
||||
Finish Configuration
|
||||
|
||||
gnome-initial-setup:
|
||||
Language: English (US)
|
||||
Typing:English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
Start Using Red Hat Enterprise Linux
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Details:
|
||||
* Time & Date: Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone Etc/UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
# run as qt user
|
||||
chmod 755 coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
sudo tee -a /etc/dconf/db/local.d/00-media-automount <<"EOF"
|
||||
[org/gnome/desktop/media-handling]
|
||||
automount=false
|
||||
automount-open=false
|
||||
EOF
|
||||
|
||||
sudo dconf update
|
||||
@@ -0,0 +1,54 @@
|
||||
### RHEL 9.4 ###
|
||||
Hard Disk: 500G
|
||||
Network: CI
|
||||
Video Card: Total Video Memory: 64MB
|
||||
Boot options/Firmware: BIOS
|
||||
Language: English (United States)
|
||||
Keyboard: English (US), Norwegian (Windows), Finnish (Windows)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Server with GUI
|
||||
Installation Destination: Automatic partitioning selected
|
||||
Root Passowrd: Set
|
||||
Network & Host..: Connected
|
||||
KDUMP enabled: Memory Reservation: automatic
|
||||
Begin Installation
|
||||
Reboot
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Lock Screen Notifications: OFF
|
||||
* Applications: Set notification off
|
||||
* Do Not Disturb: on
|
||||
Applications:
|
||||
* Disable notifications from all applications
|
||||
Privacy:
|
||||
* Blank Screen Delay: Never
|
||||
* Screen Lock: OFF
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
Displays:
|
||||
* Resolution: 1280 x 800
|
||||
Users:
|
||||
* Automatic login on
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
sudo grub2-mkconfig -o /etc/grub2.cfg
|
||||
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
# Add support for virtio driver
|
||||
su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
This is done when the VM is launched as persistent in OpenNebula.
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
# run as qt user
|
||||
run './coin-setup'
|
||||
# Switch to use GNOME Classic user interface
|
||||
# GNOME Classic was selected because there's an issue with Starndard (wayland display server). Autotest start failing because terminal session remains in Activities Overview.
|
||||
# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3854
|
||||
First execute script ./01-disable-automounting.sh (dconf update crash in GNOME Classic)
|
||||
logout -> Select user (without it the drop down menu won't appear) -> switch to 'GNOME Classic' from drop down menu in login screen
|
||||
Reboot
|
||||
@@ -0,0 +1,60 @@
|
||||
### Ubuntu 24.04 ###
|
||||
Hard Disk: 1TB
|
||||
|
||||
Language: English (United States)
|
||||
Time & Date: Etc/Coordinated Universal Time
|
||||
Software Selection: Desktop image, minimal install
|
||||
|
||||
Language: English (US)
|
||||
Typing: English (US)
|
||||
Privacy: Location Services: OFF
|
||||
Connect Your Online Accounts: Skip
|
||||
|
||||
|
||||
# Configure Settings
|
||||
Notifications:
|
||||
* Notification Popups: OFF
|
||||
* Lock Screen Notifications: OFF
|
||||
Privacy:
|
||||
* Screen Lock: OFF
|
||||
* File History & Rubbish Bin:
|
||||
* File History: Off
|
||||
* Diagnostics:
|
||||
* Send error reports to Canonical: Never
|
||||
Power:
|
||||
* Blank screen: Never
|
||||
* Automatic suspend: Off
|
||||
Appearance:
|
||||
* Auto-hide the dock: Off
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
Details:
|
||||
* Time Zone: UTC
|
||||
* run "sudo timedatectl set-timezone UTC"
|
||||
* Users: Automatic login on
|
||||
|
||||
Software & Updates:
|
||||
* Updates:
|
||||
* Subscribed to: Security updates only
|
||||
* Automatically check for updates: Never
|
||||
* Notify me of a new Ubuntu version: Never
|
||||
|
||||
# Add user to sudoers
|
||||
Add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
Add 'GRUB_GFXMODE=1280x800' to /etc/default/grub
|
||||
run 'sudo grub-mkconfig'
|
||||
|
||||
# Install ssh server
|
||||
run 'sudo apt install openssh-server'
|
||||
|
||||
# Disable firewall
|
||||
run 'sudo ufw disable'
|
||||
|
||||
# Fetch and run coin-setup (in Opennebula)
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run 'chmod +x ./coin-setup' to make it executable
|
||||
run './coin-setup'
|
||||
|
||||
Reboot
|
||||
|
||||
@@ -74,11 +74,17 @@ Reboot
|
||||
* Sysmain disabled:
|
||||
- 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'SysMain' - stop & disable
|
||||
# Don't disable Windows Update before running '01-enable-dotnet-framework.ps1'. Script requires Windows update to be enabled!
|
||||
* Install msvc2019 and msvc2022 (follow the msvc2019.txt and msvc2022.txt files)
|
||||
- After installation: Open Task Scheduler: Task Scheduler Library > Microsoft > VisualStudio > Updates > right-click: BackgroundDownload > disable
|
||||
* Windows update:
|
||||
- Settings - Windows Update - run available updates (Windows update2022-09 Cumulative Update for Windows 11 Version 22H2 for x64-based Systems (KB5017321))
|
||||
- After reboot disable windows updates:
|
||||
- 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'Windows updates' - stop & disable
|
||||
* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
|
||||
* Disable Edge update/installer
|
||||
- Open services.msc: search 'Microsoft Edge Update Service (edgeupdate)' > stop and disable
|
||||
* Disable Onedrive
|
||||
- Open Task Manager: startup tab > Microsoft OneDrive > Disabled
|
||||
* (Restart Windows)
|
||||
* Google Chrome installed for RTA
|
||||
* Virus & threat protection settings:
|
||||
|
||||
@@ -56,6 +56,10 @@ Windows 10 SDK (10.0.22000.0)
|
||||
Windows 10 SDK (10.0.22621.0)
|
||||
Windows Universal C Runtime
|
||||
|
||||
Windows SDK (10.0.26100.1742) was later downloaded and installed from:
|
||||
https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
|
||||
# COIN-1206
|
||||
|
||||
# NOTE! Work loads were added during installation!
|
||||
|
||||
############################################################
|
||||
|
||||
@@ -54,10 +54,16 @@
|
||||
- After reboot disable windows updates:
|
||||
- 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\Services' - 'Windows updates' - stop & disable
|
||||
* Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
|
||||
* Disable Windows Restore Points: Search 'Create a restore point' -> 'System Protection' tab -> Configure C: drive -> Disable & Delete restore points.
|
||||
* Disable widgets: Right click the task bar -> 'Taskbar settings' -> toggle off anything related to widgets.
|
||||
* (Restart Windows)
|
||||
* Google Chrome installed for RTA
|
||||
* Virus & threat protection settings:
|
||||
* Check that there's no active antivirus providers
|
||||
* Run .NET runtime optimization service: open terminal and run:
|
||||
Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
|
||||
- It may be needed to rerun after installing Visual Studio. Just run it until it prints:
|
||||
"All compilation targets are up to date."
|
||||
* Activate Windows
|
||||
|
||||
# Next
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
### Visual Studio Professional 2022 Official release ###
|
||||
Visual Studio Professional 2022 version 17.3.5 was installed manually using installer: http://ci-files01-hki.ci.qt.io/input/windows/vs_professional__msvc2022_1339502178.1525841376.exe
|
||||
Visual Studio Professional 2022 was updated to 17.8.2 vith Visual Studio Installer
|
||||
Visual Studio Professional 2022 was updated to 17.11.2 with Visual Studio Installer
|
||||
|
||||
Installed MSVC-2022 Components:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.example.gradle_project"
|
||||
minSdk 23
|
||||
minSdk 28
|
||||
targetSdk 34
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
@@ -21,6 +21,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.core
|
||||
implementation libs.appcompat
|
||||
implementation libs.material
|
||||
}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
[versions]
|
||||
agp = "7.4.1"
|
||||
agp = "8.6.0"
|
||||
core = "1.13.1"
|
||||
appcompat = "1.6.1"
|
||||
material = "1.11.0"
|
||||
constraintlayout = "2.1.4"
|
||||
|
||||
[libraries]
|
||||
core = { group = 'androidx.core', name = "core", version.ref = "core" }
|
||||
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
EMULATOR_MAX_RETRIES=5
|
||||
ADB_MAX_TIMEOUT=300
|
||||
EMULATOR_MAX_RETRIES=3
|
||||
ADB_MAX_TIMEOUT=180
|
||||
EMULATOR_EXEC="$ANDROID_SDK_ROOT/emulator/emulator"
|
||||
ADB_EXEC="$ANDROID_SDK_ROOT/platform-tools/adb"
|
||||
LOGCAT_PATH="$COIN_CTEST_RESULTSDIR/emulator_logcat_%iter.txt"
|
||||
@@ -85,7 +85,11 @@ do
|
||||
|
||||
echo "Waiting a few minutes for the emulator to fully boot..."
|
||||
emulator_status=down
|
||||
for _ in $(seq ${ADB_MAX_TIMEOUT})
|
||||
|
||||
time_start=${SECONDS}
|
||||
duration=0
|
||||
|
||||
while [ $duration -lt ${ADB_MAX_TIMEOUT} ]
|
||||
do
|
||||
sleep 1
|
||||
|
||||
@@ -94,6 +98,7 @@ do
|
||||
emulator_status=up
|
||||
break
|
||||
fi
|
||||
duration=$(( SECONDS - time_start ))
|
||||
done
|
||||
|
||||
# If emulator status is still offline after timeout period,
|
||||
|
||||
@@ -26,22 +26,17 @@ toolsVersion="2.1"
|
||||
toolsFile="commandlinetools-linux-6609375_latest.zip"
|
||||
ndkVersionLatest="r26b"
|
||||
ndkVersionDefault=$ndkVersionLatest
|
||||
sdkBuildToolsVersion="34.0.0"
|
||||
sdkApiLevel="android-34"
|
||||
sdkBuildToolsVersion="35.0.1"
|
||||
sdkApiLevel="android-35"
|
||||
|
||||
toolsSha1="9172381ff070ee2a416723c1989770cf4b0d1076"
|
||||
ndkSha1Latest="fdf33d9f6c1b3f16e5459d53a82c7d2201edbcc4"
|
||||
ndkSha1Default=$ndkSha1Latest
|
||||
|
||||
# Android 14 avd zip
|
||||
android14SystemZipName="android14system_UE1A_230829_036.tar.gz"
|
||||
android14SystemZipSha="ede80c6901e8fad1895c97a86542b8e072bb1ee5"
|
||||
android14SystemPath="$basePath/$android14SystemZipName"
|
||||
|
||||
# Android Automotive max SDK level image
|
||||
sdkApiLevelAutomotiveMax="android-33"
|
||||
sdkApiLevelAutomotiveMax="android-34"
|
||||
androidAutomotiveMaxUrl="$basePath/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
|
||||
androidAutomotiveMaxSha="b020a938ec46af2510047284406e9bed608cad03"
|
||||
androidAutomotiveMaxSha="2cc5dae4fd0bdefb188a3b84019d0d1e65501519"
|
||||
# Android Automotive min SDK level image
|
||||
sdkApiLevelAutomotiveMin="android-29"
|
||||
androidAutomotiveMinUrl="$basePath/${sdkApiLevelAutomotiveMin}_automotive.tar.gz"
|
||||
@@ -125,7 +120,7 @@ SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
||||
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
||||
|
||||
# shellcheck disable=SC2129
|
||||
cat <<EOB >>~/versions.txt
|
||||
cat >>~/versions.txt <<EOB
|
||||
Android SDK tools = $toolsVersion
|
||||
Android SDK Build Tools = $sdkBuildToolsVersion
|
||||
Android SDK API level = $sdkApiLevel
|
||||
@@ -136,24 +131,46 @@ cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
||||
./sdkmanager --install "emulator" --sdk_root="$sdkTargetFolder" \
|
||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
||||
|
||||
echo "Download and unzip Android Emulator version 34.1.19"
|
||||
emulatorFileName="emulator-linux_x64-11525734.zip"
|
||||
echo "Download and unzip Android Emulator version 35.2.10"
|
||||
emulatorFileName="emulator-linux_x64-12414864.zip"
|
||||
emulatorCiUrl="https://ci-files01-hki.ci.qt.io/input/android/$emulatorFileName"
|
||||
emulatorUrl="http://dl.google.com/android/repository/$emulatorFileName"
|
||||
emulatorTargetFile="$sdkTargetFolder/$emulatorFileName"
|
||||
emulatorSha1="d6cc94109b081c5f6042dcb71a453144f7e62ce7"
|
||||
emulatorSha1="41dd213d120f727d8c3840347d234b135793ba10"
|
||||
DownloadURL "$emulatorCiUrl" "$emulatorUrl" "$emulatorSha1" "$emulatorTargetFile"
|
||||
echo "Unzipping the Android Emulator to '$sdkTargetFolder'"
|
||||
sudo unzip -o -q "$emulatorTargetFile" -d "$sdkTargetFolder"
|
||||
rm "$emulatorTargetFile"
|
||||
|
||||
echo "y" | ./sdkmanager --install "system-images;android-28;google_apis;x86" \
|
||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
||||
echo "Download and unzip Android 9 System Image"
|
||||
minVersionFileName="x86-28_r08.zip"
|
||||
minVersionDestination="$sdkTargetFolder/system-images/android-28/google_apis/"
|
||||
minVersionFilePath="$minVersionDestination/$minVersionFileName"
|
||||
minVersionCiUrl="$basePath/system-images/google_apis/$minVersionFileName"
|
||||
minVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$minVersionFileName"
|
||||
minVersionSha1="41e3b854d7987a3d8b7500631dae1f1d32d3db4e"
|
||||
|
||||
echo "Extract stored Android 14 Beta $android14SystemZipName"
|
||||
DownloadURL "$android14SystemPath" "$android14SystemPath" "$android14SystemZipSha" \
|
||||
"/tmp/$android14SystemZipName"
|
||||
sudo tar -xzf "/tmp/$android14SystemZipName" -C "$sdkTargetFolder/system-images"
|
||||
mkdir -p "$minVersionDestination"
|
||||
DownloadURL "$minVersionCiUrl" "$minVersionUrl" "$minVersionSha1" "$minVersionFilePath"
|
||||
|
||||
echo "Unzipping the Android 9 to $minVersionDestination"
|
||||
sudo unzip -o -q "$minVersionFilePath" -d "$minVersionDestination"
|
||||
rm "$minVersionFilePath"
|
||||
|
||||
echo "Download and unzip Android 15 System Image"
|
||||
maxVersionFileName="x86_64-35_r08.zip"
|
||||
maxVersionDestination="$sdkTargetFolder/system-images/android-35/google_apis/"
|
||||
maxVersionFilePath="$maxVersionDestination/$maxVersionFileName"
|
||||
maxVersionCiUrl="$basePath/system-images/google_apis/$maxVersionFileName"
|
||||
maxVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$maxVersionFileName"
|
||||
maxVersionSha1="d79169884cabc6680cb29d32c2112ad46c858c1b"
|
||||
|
||||
mkdir -p "$maxVersionDestination"
|
||||
DownloadURL "$maxVersionCiUrl" "$maxVersionUrl" "$maxVersionSha1" "$maxVersionFilePath"
|
||||
|
||||
echo "Unzipping the Android 15 to $maxVersionDestination"
|
||||
sudo unzip -o -q "$maxVersionFilePath" -d "$maxVersionDestination"
|
||||
rm "$maxVersionFilePath"
|
||||
|
||||
echo "Checking the contents of Android SDK again..."
|
||||
ls -l "$sdkTargetFolder"
|
||||
@@ -161,14 +178,14 @@ ls -l "$sdkTargetFolder"
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_api_28 -c 2048M -f \
|
||||
-k "system-images;android-28;google_apis;x86"
|
||||
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_34 -c 2048M -f \
|
||||
-k "system-images;android-34;google_apis;x86_64"
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_35 -c 2048M -f \
|
||||
-k "system-images;android-35;google_apis;x86_64"
|
||||
|
||||
echo "Install maximum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMax"
|
||||
DownloadURL "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxSha" \
|
||||
"/tmp/${sdkApiLevelAutomotiveMax}_automotive.tar.gz"
|
||||
sudo tar -xzf "/tmp/${sdkApiLevelAutomotiveMax}_automotive.tar.gz" -C "$sdkTargetFolder/system-images"
|
||||
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_33 -c 2048M -f \
|
||||
echo "no" | ./avdmanager create avd -n automotive_emulator_x86_64_api_34 -c 2048M -f \
|
||||
-k "system-images;${sdkApiLevelAutomotiveMax};android-automotive;x86_64"
|
||||
|
||||
echo "Install minimum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMin"
|
||||
@@ -193,7 +210,7 @@ cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
|
||||
cd /tmp/gradle_project
|
||||
# Get Gradle files from qtbase
|
||||
qtbaseGradleUrl="https://code.qt.io/cgit/qt/qtbase.git/plain/src/3rdparty/gradle"
|
||||
commit_sha="0d91cc866f2799d56911bcdadabebb137eafcea8"
|
||||
commit_sha="8436455e2740000a817e0b8154e13f47e6abb68c"
|
||||
curl "$qtbaseGradleUrl/gradle.properties?h=$commit_sha" > gradle.properties
|
||||
curl "$qtbaseGradleUrl/gradlew?h=$commit_sha" > gradlew
|
||||
curl "$qtbaseGradleUrl/gradlew.bat?h=$commit_sha" > gradlew.bat
|
||||
|
||||
10
coin/provisioning/common/linux/axivion/axivion_config.json
Normal file
10
coin/provisioning/common/linux/axivion/axivion_config.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"_Layers": [
|
||||
"post_processing.py",
|
||||
"ci_config.json",
|
||||
"ci_config_common.json",
|
||||
"compiler_config.json",
|
||||
"rule_config.json",
|
||||
"code_annotations.json"
|
||||
]
|
||||
}
|
||||
33
coin/provisioning/common/linux/axivion/ci_config_common.json
Normal file
33
coin/provisioning/common/linux/axivion/ci_config_common.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"Project": {
|
||||
"Git": {
|
||||
"_active": true,
|
||||
"sourceserver_gitdir": "/data/axivion/databases/$(env:TESTED_MODULE_COIN).git",
|
||||
"sourceserver_remote_url": "ssh://codereview.qt-project.org:29418/qt/$(env:TESTED_MODULE_COIN)"
|
||||
},
|
||||
"Project-GlobalOptions": {
|
||||
"ci_mode": {
|
||||
"clean_before": false
|
||||
},
|
||||
"directory": "../work/qt/$(env:TESTED_MODULE_COIN)",
|
||||
"ir": "$(env:IRNAME)",
|
||||
"name": "qt_$(env:PACKAGE)_$(env:MODULE)_dev_$(env:TARGET_OS_COIN)"
|
||||
}
|
||||
},
|
||||
"Results": {
|
||||
"Dashboard": {
|
||||
"ci_mode": {
|
||||
"directory": "/data/axivion/databases"
|
||||
},
|
||||
"dashboard_url": "https://axivion-srv.ci.qt.io/axivion/"
|
||||
}
|
||||
},
|
||||
"_Format": "1.0",
|
||||
"_Version": "7.6.2",
|
||||
"_VersionNum": [
|
||||
7,
|
||||
6,
|
||||
2,
|
||||
12725
|
||||
]
|
||||
}
|
||||
32
coin/provisioning/common/linux/axivion/code_annotations.json
Normal file
32
coin/provisioning/common/linux/axivion/code_annotations.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"Analysis": {
|
||||
"CatchMalformedComments": {
|
||||
"_active": true
|
||||
},
|
||||
"EnableDisable": {
|
||||
"_active": true
|
||||
},
|
||||
"NextLine": {
|
||||
"_active": true
|
||||
},
|
||||
"ReportUnclosedRestOfFileComments": {
|
||||
"_active": true
|
||||
},
|
||||
"ReportUnusedComments": {
|
||||
"_active": true
|
||||
}
|
||||
},
|
||||
"Results": {
|
||||
"Dashboard": {
|
||||
"import_suppressed_issues": true
|
||||
}
|
||||
},
|
||||
"_Format": "1.0",
|
||||
"_Version": "trunk-d23a11ca62e",
|
||||
"_VersionNum": [
|
||||
7,
|
||||
8,
|
||||
0,
|
||||
14394
|
||||
]
|
||||
}
|
||||
786
coin/provisioning/common/linux/axivion/compiler_config.json
Normal file
786
coin/provisioning/common/linux/axivion/compiler_config.json
Normal file
@@ -0,0 +1,786 @@
|
||||
{
|
||||
"Project": {
|
||||
"GNUToolchain": {
|
||||
"_active": true,
|
||||
"advanced": {
|
||||
"no_macro_invocations_for_system_headers": false
|
||||
},
|
||||
"archiver": {
|
||||
"native_archiver": "/usr/bin/ar"
|
||||
},
|
||||
"language_c": {
|
||||
"emulated_compiler": "GNU",
|
||||
"emulated_compiler_version": 90300,
|
||||
"language_version": "C18",
|
||||
"native_compiler": "/usr/bin/gcc",
|
||||
"preprocessing": {
|
||||
"predefined_macros": {
|
||||
"_LP64": "1",
|
||||
"_STDC_PREDEF_H": "1",
|
||||
"__ATOMIC_ACQUIRE": "2",
|
||||
"__ATOMIC_ACQ_REL": "4",
|
||||
"__ATOMIC_CONSUME": "1",
|
||||
"__ATOMIC_HLE_ACQUIRE": "65536",
|
||||
"__ATOMIC_HLE_RELEASE": "131072",
|
||||
"__ATOMIC_RELAXED": "0",
|
||||
"__ATOMIC_RELEASE": "3",
|
||||
"__ATOMIC_SEQ_CST": "5",
|
||||
"__BIGGEST_ALIGNMENT__": "16",
|
||||
"__BYTE_ORDER__": "__ORDER_LITTLE_ENDIAN__",
|
||||
"__CHAR_BIT__": "8",
|
||||
"__DBL_DECIMAL_DIG__": "17",
|
||||
"__DBL_DENORM_MIN__": "((double)4.94065645841246544176568792868221372e-324L)",
|
||||
"__DBL_DIG__": "15",
|
||||
"__DBL_EPSILON__": "((double)2.22044604925031308084726333618164062e-16L)",
|
||||
"__DBL_HAS_DENORM__": "1",
|
||||
"__DBL_HAS_INFINITY__": "1",
|
||||
"__DBL_HAS_QUIET_NAN__": "1",
|
||||
"__DBL_MANT_DIG__": "53",
|
||||
"__DBL_MAX_10_EXP__": "308",
|
||||
"__DBL_MAX_EXP__": "1024",
|
||||
"__DBL_MAX__": "((double)1.79769313486231570814527423731704357e+308L)",
|
||||
"__DBL_MIN_10_EXP__": "(-307)",
|
||||
"__DBL_MIN_EXP__": "(-1021)",
|
||||
"__DBL_MIN__": "((double)2.22507385850720138309023271733240406e-308L)",
|
||||
"__DEC128_EPSILON__": "1E-33DL",
|
||||
"__DEC128_MANT_DIG__": "34",
|
||||
"__DEC128_MAX_EXP__": "6145",
|
||||
"__DEC128_MAX__": "9.999999999999999999999999999999999E6144DL",
|
||||
"__DEC128_MIN_EXP__": "(-6142)",
|
||||
"__DEC128_MIN__": "1E-6143DL",
|
||||
"__DEC128_SUBNORMAL_MIN__": "0.000000000000000000000000000000001E-6143DL",
|
||||
"__DEC32_EPSILON__": "1E-6DF",
|
||||
"__DEC32_MANT_DIG__": "7",
|
||||
"__DEC32_MAX_EXP__": "97",
|
||||
"__DEC32_MAX__": "9.999999E96DF",
|
||||
"__DEC32_MIN_EXP__": "(-94)",
|
||||
"__DEC32_MIN__": "1E-95DF",
|
||||
"__DEC32_SUBNORMAL_MIN__": "0.000001E-95DF",
|
||||
"__DEC64_EPSILON__": "1E-15DD",
|
||||
"__DEC64_MANT_DIG__": "16",
|
||||
"__DEC64_MAX_EXP__": "385",
|
||||
"__DEC64_MAX__": "9.999999999999999E384DD",
|
||||
"__DEC64_MIN_EXP__": "(-382)",
|
||||
"__DEC64_MIN__": "1E-383DD",
|
||||
"__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD",
|
||||
"__DECIMAL_BID_FORMAT__": "1",
|
||||
"__DECIMAL_DIG__": "21",
|
||||
"__DEC_EVAL_METHOD__": "2",
|
||||
"__ELF__": "1",
|
||||
"__FINITE_MATH_ONLY__": "0",
|
||||
"__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__",
|
||||
"__FLT128_DECIMAL_DIG__": "36",
|
||||
"__FLT128_DENORM_MIN__": "6.47517511943802511092443895822764655e-4966F128",
|
||||
"__FLT128_DIG__": "33",
|
||||
"__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128",
|
||||
"__FLT128_HAS_DENORM__": "1",
|
||||
"__FLT128_HAS_INFINITY__": "1",
|
||||
"__FLT128_HAS_QUIET_NAN__": "1",
|
||||
"__FLT128_MANT_DIG__": "113",
|
||||
"__FLT128_MAX_10_EXP__": "4932",
|
||||
"__FLT128_MAX_EXP__": "16384",
|
||||
"__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128",
|
||||
"__FLT128_MIN_10_EXP__": "(-4931)",
|
||||
"__FLT128_MIN_EXP__": "(-16381)",
|
||||
"__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128",
|
||||
"__FLT32X_DECIMAL_DIG__": "17",
|
||||
"__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x",
|
||||
"__FLT32X_DIG__": "15",
|
||||
"__FLT32X_EPSILON__": "2.22044604925031308084726333618164062e-16F32x",
|
||||
"__FLT32X_HAS_DENORM__": "1",
|
||||
"__FLT32X_HAS_INFINITY__": "1",
|
||||
"__FLT32X_HAS_QUIET_NAN__": "1",
|
||||
"__FLT32X_MANT_DIG__": "53",
|
||||
"__FLT32X_MAX_10_EXP__": "308",
|
||||
"__FLT32X_MAX_EXP__": "1024",
|
||||
"__FLT32X_MAX__": "1.79769313486231570814527423731704357e+308F32x",
|
||||
"__FLT32X_MIN_10_EXP__": "(-307)",
|
||||
"__FLT32X_MIN_EXP__": "(-1021)",
|
||||
"__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x",
|
||||
"__FLT32_DECIMAL_DIG__": "9",
|
||||
"__FLT32_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F32",
|
||||
"__FLT32_DIG__": "6",
|
||||
"__FLT32_EPSILON__": "1.19209289550781250000000000000000000e-7F32",
|
||||
"__FLT32_HAS_DENORM__": "1",
|
||||
"__FLT32_HAS_INFINITY__": "1",
|
||||
"__FLT32_HAS_QUIET_NAN__": "1",
|
||||
"__FLT32_MANT_DIG__": "24",
|
||||
"__FLT32_MAX_10_EXP__": "38",
|
||||
"__FLT32_MAX_EXP__": "128",
|
||||
"__FLT32_MAX__": "3.40282346638528859811704183484516925e+38F32",
|
||||
"__FLT32_MIN_10_EXP__": "(-37)",
|
||||
"__FLT32_MIN_EXP__": "(-125)",
|
||||
"__FLT32_MIN__": "1.17549435082228750796873653722224568e-38F32",
|
||||
"__FLT64X_DECIMAL_DIG__": "21",
|
||||
"__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x",
|
||||
"__FLT64X_DIG__": "18",
|
||||
"__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x",
|
||||
"__FLT64X_HAS_DENORM__": "1",
|
||||
"__FLT64X_HAS_INFINITY__": "1",
|
||||
"__FLT64X_HAS_QUIET_NAN__": "1",
|
||||
"__FLT64X_MANT_DIG__": "64",
|
||||
"__FLT64X_MAX_10_EXP__": "4932",
|
||||
"__FLT64X_MAX_EXP__": "16384",
|
||||
"__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
|
||||
"__FLT64X_MIN_10_EXP__": "(-4931)",
|
||||
"__FLT64X_MIN_EXP__": "(-16381)",
|
||||
"__FLT64X_MIN__": "3.36210314311209350626267781732175260e-4932F64x",
|
||||
"__FLT64_DECIMAL_DIG__": "17",
|
||||
"__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64",
|
||||
"__FLT64_DIG__": "15",
|
||||
"__FLT64_EPSILON__": "2.22044604925031308084726333618164062e-16F64",
|
||||
"__FLT64_HAS_DENORM__": "1",
|
||||
"__FLT64_HAS_INFINITY__": "1",
|
||||
"__FLT64_HAS_QUIET_NAN__": "1",
|
||||
"__FLT64_MANT_DIG__": "53",
|
||||
"__FLT64_MAX_10_EXP__": "308",
|
||||
"__FLT64_MAX_EXP__": "1024",
|
||||
"__FLT64_MAX__": "1.79769313486231570814527423731704357e+308F64",
|
||||
"__FLT64_MIN_10_EXP__": "(-307)",
|
||||
"__FLT64_MIN_EXP__": "(-1021)",
|
||||
"__FLT64_MIN__": "2.22507385850720138309023271733240406e-308F64",
|
||||
"__FLT_DECIMAL_DIG__": "9",
|
||||
"__FLT_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F",
|
||||
"__FLT_DIG__": "6",
|
||||
"__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F",
|
||||
"__FLT_EVAL_METHOD_TS_18661_3__": "0",
|
||||
"__FLT_EVAL_METHOD__": "0",
|
||||
"__FLT_HAS_DENORM__": "1",
|
||||
"__FLT_HAS_INFINITY__": "1",
|
||||
"__FLT_HAS_QUIET_NAN__": "1",
|
||||
"__FLT_MANT_DIG__": "24",
|
||||
"__FLT_MAX_10_EXP__": "38",
|
||||
"__FLT_MAX_EXP__": "128",
|
||||
"__FLT_MAX__": "3.40282346638528859811704183484516925e+38F",
|
||||
"__FLT_MIN_10_EXP__": "(-37)",
|
||||
"__FLT_MIN_EXP__": "(-125)",
|
||||
"__FLT_MIN__": "1.17549435082228750796873653722224568e-38F",
|
||||
"__FLT_RADIX__": "2",
|
||||
"__FXSR__": "1",
|
||||
"__GCC_ASM_FLAG_OUTPUTS__": "1",
|
||||
"__GCC_ATOMIC_BOOL_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_CHAR_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_INT_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_LLONG_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_LONG_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_POINTER_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_SHORT_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL": "1",
|
||||
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2",
|
||||
"__GCC_HAVE_DWARF2_CFI_ASM": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8": "1",
|
||||
"__GCC_IEC_559": "2",
|
||||
"__GCC_IEC_559_COMPLEX": "2",
|
||||
"__GXX_ABI_VERSION": "1013",
|
||||
"__HAVE_SPECULATION_SAFE_VALUE": "1",
|
||||
"__INT16_C(c)": "c",
|
||||
"__INT16_MAX__": "0x7fff",
|
||||
"__INT16_TYPE__": "short int",
|
||||
"__INT32_C(c)": "c",
|
||||
"__INT32_MAX__": "0x7fffffff",
|
||||
"__INT32_TYPE__": "int",
|
||||
"__INT64_C(c)": "c ## L",
|
||||
"__INT64_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT64_TYPE__": "long int",
|
||||
"__INT8_C(c)": "c",
|
||||
"__INT8_MAX__": "0x7f",
|
||||
"__INT8_TYPE__": "signed char",
|
||||
"__INTMAX_C(c)": "c ## L",
|
||||
"__INTMAX_MAX__": "0x7fffffffffffffffL",
|
||||
"__INTMAX_TYPE__": "long int",
|
||||
"__INTMAX_WIDTH__": "64",
|
||||
"__INTPTR_MAX__": "0x7fffffffffffffffL",
|
||||
"__INTPTR_TYPE__": "long int",
|
||||
"__INTPTR_WIDTH__": "64",
|
||||
"__INT_FAST16_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_FAST16_TYPE__": "long int",
|
||||
"__INT_FAST16_WIDTH__": "64",
|
||||
"__INT_FAST32_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_FAST32_TYPE__": "long int",
|
||||
"__INT_FAST32_WIDTH__": "64",
|
||||
"__INT_FAST64_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_FAST64_TYPE__": "long int",
|
||||
"__INT_FAST64_WIDTH__": "64",
|
||||
"__INT_FAST8_MAX__": "0x7f",
|
||||
"__INT_FAST8_TYPE__": "signed char",
|
||||
"__INT_FAST8_WIDTH__": "8",
|
||||
"__INT_LEAST16_MAX__": "0x7fff",
|
||||
"__INT_LEAST16_TYPE__": "short int",
|
||||
"__INT_LEAST16_WIDTH__": "16",
|
||||
"__INT_LEAST32_MAX__": "0x7fffffff",
|
||||
"__INT_LEAST32_TYPE__": "int",
|
||||
"__INT_LEAST32_WIDTH__": "32",
|
||||
"__INT_LEAST64_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_LEAST64_TYPE__": "long int",
|
||||
"__INT_LEAST64_WIDTH__": "64",
|
||||
"__INT_LEAST8_MAX__": "0x7f",
|
||||
"__INT_LEAST8_TYPE__": "signed char",
|
||||
"__INT_LEAST8_WIDTH__": "8",
|
||||
"__INT_MAX__": "0x7fffffff",
|
||||
"__INT_WIDTH__": "32",
|
||||
"__LDBL_DECIMAL_DIG__": "21",
|
||||
"__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L",
|
||||
"__LDBL_DIG__": "18",
|
||||
"__LDBL_EPSILON__": "1.08420217248550443400745280086994171e-19L",
|
||||
"__LDBL_HAS_DENORM__": "1",
|
||||
"__LDBL_HAS_INFINITY__": "1",
|
||||
"__LDBL_HAS_QUIET_NAN__": "1",
|
||||
"__LDBL_MANT_DIG__": "64",
|
||||
"__LDBL_MAX_10_EXP__": "4932",
|
||||
"__LDBL_MAX_EXP__": "16384",
|
||||
"__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L",
|
||||
"__LDBL_MIN_10_EXP__": "(-4931)",
|
||||
"__LDBL_MIN_EXP__": "(-16381)",
|
||||
"__LDBL_MIN__": "3.36210314311209350626267781732175260e-4932L",
|
||||
"__LONG_LONG_MAX__": "0x7fffffffffffffffLL",
|
||||
"__LONG_LONG_WIDTH__": "64",
|
||||
"__LONG_MAX__": "0x7fffffffffffffffL",
|
||||
"__LONG_WIDTH__": "64",
|
||||
"__LP64__": "1",
|
||||
"__MMX__": "1",
|
||||
"__NO_INLINE__": "1",
|
||||
"__ORDER_BIG_ENDIAN__": "4321",
|
||||
"__ORDER_LITTLE_ENDIAN__": "1234",
|
||||
"__ORDER_PDP_ENDIAN__": "3412",
|
||||
"__PRAGMA_REDEFINE_EXTNAME": "1",
|
||||
"__PTRDIFF_MAX__": "0x7fffffffffffffffL",
|
||||
"__PTRDIFF_TYPE__": "long int",
|
||||
"__PTRDIFF_WIDTH__": "64",
|
||||
"__REGISTER_PREFIX__": "",
|
||||
"__SCHAR_MAX__": "0x7f",
|
||||
"__SCHAR_WIDTH__": "8",
|
||||
"__SEG_FS": "1",
|
||||
"__SEG_GS": "1",
|
||||
"__SHRT_MAX__": "0x7fff",
|
||||
"__SHRT_WIDTH__": "16",
|
||||
"__SIG_ATOMIC_MAX__": "0x7fffffff",
|
||||
"__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)",
|
||||
"__SIG_ATOMIC_TYPE__": "int",
|
||||
"__SIG_ATOMIC_WIDTH__": "32",
|
||||
"__SIZEOF_DOUBLE__": "8",
|
||||
"__SIZEOF_FLOAT128__": "16",
|
||||
"__SIZEOF_FLOAT80__": "16",
|
||||
"__SIZEOF_FLOAT__": "4",
|
||||
"__SIZEOF_INT128__": "16",
|
||||
"__SIZEOF_INT__": "4",
|
||||
"__SIZEOF_LONG_DOUBLE__": "16",
|
||||
"__SIZEOF_LONG_LONG__": "8",
|
||||
"__SIZEOF_LONG__": "8",
|
||||
"__SIZEOF_POINTER__": "8",
|
||||
"__SIZEOF_PTRDIFF_T__": "8",
|
||||
"__SIZEOF_SHORT__": "2",
|
||||
"__SIZEOF_SIZE_T__": "8",
|
||||
"__SIZEOF_WCHAR_T__": "4",
|
||||
"__SIZEOF_WINT_T__": "4",
|
||||
"__SIZE_MAX__": "0xffffffffffffffffUL",
|
||||
"__SIZE_TYPE__": "long unsigned int",
|
||||
"__SIZE_WIDTH__": "64",
|
||||
"__SSE2_MATH__": "1",
|
||||
"__SSE2__": "1",
|
||||
"__SSE_MATH__": "1",
|
||||
"__SSE__": "1",
|
||||
"__STDC_HOSTED__": "1",
|
||||
"__STDC_IEC_559_COMPLEX__": "1",
|
||||
"__STDC_IEC_559__": "1",
|
||||
"__STDC_ISO_10646__": "201706L",
|
||||
"__STDC_UTF_16__": "1",
|
||||
"__STDC_UTF_32__": "1",
|
||||
"__UINT16_C(c)": "c",
|
||||
"__UINT16_MAX__": "0xffff",
|
||||
"__UINT16_TYPE__": "short unsigned int",
|
||||
"__UINT32_C(c)": "c ## U",
|
||||
"__UINT32_MAX__": "0xffffffffU",
|
||||
"__UINT32_TYPE__": "unsigned int",
|
||||
"__UINT64_C(c)": "c ## UL",
|
||||
"__UINT64_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT64_TYPE__": "long unsigned int",
|
||||
"__UINT8_C(c)": "c",
|
||||
"__UINT8_MAX__": "0xff",
|
||||
"__UINT8_TYPE__": "unsigned char",
|
||||
"__UINTMAX_C(c)": "c ## UL",
|
||||
"__UINTMAX_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINTMAX_TYPE__": "long unsigned int",
|
||||
"__UINTPTR_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINTPTR_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST16_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_FAST16_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST32_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_FAST32_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST64_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_FAST64_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST8_MAX__": "0xff",
|
||||
"__UINT_FAST8_TYPE__": "unsigned char",
|
||||
"__UINT_LEAST16_MAX__": "0xffff",
|
||||
"__UINT_LEAST16_TYPE__": "short unsigned int",
|
||||
"__UINT_LEAST32_MAX__": "0xffffffffU",
|
||||
"__UINT_LEAST32_TYPE__": "unsigned int",
|
||||
"__UINT_LEAST64_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_LEAST64_TYPE__": "long unsigned int",
|
||||
"__UINT_LEAST8_MAX__": "0xff",
|
||||
"__UINT_LEAST8_TYPE__": "unsigned char",
|
||||
"__USER_LABEL_PREFIX__": "",
|
||||
"__WCHAR_MAX__": "0x7fffffff",
|
||||
"__WCHAR_MIN__": "(-__WCHAR_MAX__ - 1)",
|
||||
"__WCHAR_TYPE__": "int",
|
||||
"__WCHAR_WIDTH__": "32",
|
||||
"__WINT_MAX__": "0xffffffffU",
|
||||
"__WINT_MIN__": "0U",
|
||||
"__WINT_TYPE__": "unsigned int",
|
||||
"__WINT_WIDTH__": "32",
|
||||
"__amd64": "1",
|
||||
"__amd64__": "1",
|
||||
"__code_model_small__": "1",
|
||||
"__gnu_linux__": "1",
|
||||
"__k8": "1",
|
||||
"__k8__": "1",
|
||||
"__linux": "1",
|
||||
"__linux__": "1",
|
||||
"__unix": "1",
|
||||
"__unix__": "1",
|
||||
"__x86_64": "1",
|
||||
"__x86_64__": "1",
|
||||
"linux": "1",
|
||||
"unix": "1"
|
||||
},
|
||||
"sys_include_envvar": null,
|
||||
"sys_include_path": [
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include",
|
||||
"/usr/local/include",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed",
|
||||
"/usr/include/x86_64-linux-gnu",
|
||||
"/usr/include"
|
||||
]
|
||||
}
|
||||
},
|
||||
"language_c.command.#": "/usr/bin/gcc",
|
||||
"language_c.info.#": "Using built-in specs.\nCOLLECT_GCC=/usr/bin/gcc\nCOLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper\nTarget: x86_64-pc-linux-gnu\nConfigured with: /tmp/gcc-9.3.0/configure --disable-bootstrap --enable-languages=c,c++,lto --prefix=/usr/local --program-suffix=-9.3\nThread model: posix\ngcc version 9.3.0 (GCC) \n",
|
||||
"language_cxx": {
|
||||
"emulated_compiler": "GNU",
|
||||
"emulated_compiler_version": 90300,
|
||||
"language_version": "Cpp14",
|
||||
"native_compiler": "/usr/bin/g++",
|
||||
"preprocessing": {
|
||||
"predefined_macros": {
|
||||
"_GNU_SOURCE": "1",
|
||||
"_LP64": "1",
|
||||
"_STDC_PREDEF_H": "1",
|
||||
"__ATOMIC_ACQUIRE": "2",
|
||||
"__ATOMIC_ACQ_REL": "4",
|
||||
"__ATOMIC_CONSUME": "1",
|
||||
"__ATOMIC_HLE_ACQUIRE": "65536",
|
||||
"__ATOMIC_HLE_RELEASE": "131072",
|
||||
"__ATOMIC_RELAXED": "0",
|
||||
"__ATOMIC_RELEASE": "3",
|
||||
"__ATOMIC_SEQ_CST": "5",
|
||||
"__BIGGEST_ALIGNMENT__": "16",
|
||||
"__BYTE_ORDER__": "__ORDER_LITTLE_ENDIAN__",
|
||||
"__CHAR_BIT__": "8",
|
||||
"__DBL_DECIMAL_DIG__": "17",
|
||||
"__DBL_DENORM_MIN__": "double(4.94065645841246544176568792868221372e-324L)",
|
||||
"__DBL_DIG__": "15",
|
||||
"__DBL_EPSILON__": "double(2.22044604925031308084726333618164062e-16L)",
|
||||
"__DBL_HAS_DENORM__": "1",
|
||||
"__DBL_HAS_INFINITY__": "1",
|
||||
"__DBL_HAS_QUIET_NAN__": "1",
|
||||
"__DBL_MANT_DIG__": "53",
|
||||
"__DBL_MAX_10_EXP__": "308",
|
||||
"__DBL_MAX_EXP__": "1024",
|
||||
"__DBL_MAX__": "double(1.79769313486231570814527423731704357e+308L)",
|
||||
"__DBL_MIN_10_EXP__": "(-307)",
|
||||
"__DBL_MIN_EXP__": "(-1021)",
|
||||
"__DBL_MIN__": "double(2.22507385850720138309023271733240406e-308L)",
|
||||
"__DEC128_EPSILON__": "1E-33DL",
|
||||
"__DEC128_MANT_DIG__": "34",
|
||||
"__DEC128_MAX_EXP__": "6145",
|
||||
"__DEC128_MAX__": "9.999999999999999999999999999999999E6144DL",
|
||||
"__DEC128_MIN_EXP__": "(-6142)",
|
||||
"__DEC128_MIN__": "1E-6143DL",
|
||||
"__DEC128_SUBNORMAL_MIN__": "0.000000000000000000000000000000001E-6143DL",
|
||||
"__DEC32_EPSILON__": "1E-6DF",
|
||||
"__DEC32_MANT_DIG__": "7",
|
||||
"__DEC32_MAX_EXP__": "97",
|
||||
"__DEC32_MAX__": "9.999999E96DF",
|
||||
"__DEC32_MIN_EXP__": "(-94)",
|
||||
"__DEC32_MIN__": "1E-95DF",
|
||||
"__DEC32_SUBNORMAL_MIN__": "0.000001E-95DF",
|
||||
"__DEC64_EPSILON__": "1E-15DD",
|
||||
"__DEC64_MANT_DIG__": "16",
|
||||
"__DEC64_MAX_EXP__": "385",
|
||||
"__DEC64_MAX__": "9.999999999999999E384DD",
|
||||
"__DEC64_MIN_EXP__": "(-382)",
|
||||
"__DEC64_MIN__": "1E-383DD",
|
||||
"__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD",
|
||||
"__DECIMAL_BID_FORMAT__": "1",
|
||||
"__DECIMAL_DIG__": "21",
|
||||
"__DEC_EVAL_METHOD__": "2",
|
||||
"__DEPRECATED": "1",
|
||||
"__ELF__": "1",
|
||||
"__FINITE_MATH_ONLY__": "0",
|
||||
"__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__",
|
||||
"__FLT128_DECIMAL_DIG__": "36",
|
||||
"__FLT128_DENORM_MIN__": "6.47517511943802511092443895822764655e-4966F128",
|
||||
"__FLT128_DIG__": "33",
|
||||
"__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128",
|
||||
"__FLT128_HAS_DENORM__": "1",
|
||||
"__FLT128_HAS_INFINITY__": "1",
|
||||
"__FLT128_HAS_QUIET_NAN__": "1",
|
||||
"__FLT128_MANT_DIG__": "113",
|
||||
"__FLT128_MAX_10_EXP__": "4932",
|
||||
"__FLT128_MAX_EXP__": "16384",
|
||||
"__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128",
|
||||
"__FLT128_MIN_10_EXP__": "(-4931)",
|
||||
"__FLT128_MIN_EXP__": "(-16381)",
|
||||
"__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128",
|
||||
"__FLT32X_DECIMAL_DIG__": "17",
|
||||
"__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x",
|
||||
"__FLT32X_DIG__": "15",
|
||||
"__FLT32X_EPSILON__": "2.22044604925031308084726333618164062e-16F32x",
|
||||
"__FLT32X_HAS_DENORM__": "1",
|
||||
"__FLT32X_HAS_INFINITY__": "1",
|
||||
"__FLT32X_HAS_QUIET_NAN__": "1",
|
||||
"__FLT32X_MANT_DIG__": "53",
|
||||
"__FLT32X_MAX_10_EXP__": "308",
|
||||
"__FLT32X_MAX_EXP__": "1024",
|
||||
"__FLT32X_MAX__": "1.79769313486231570814527423731704357e+308F32x",
|
||||
"__FLT32X_MIN_10_EXP__": "(-307)",
|
||||
"__FLT32X_MIN_EXP__": "(-1021)",
|
||||
"__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x",
|
||||
"__FLT32_DECIMAL_DIG__": "9",
|
||||
"__FLT32_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F32",
|
||||
"__FLT32_DIG__": "6",
|
||||
"__FLT32_EPSILON__": "1.19209289550781250000000000000000000e-7F32",
|
||||
"__FLT32_HAS_DENORM__": "1",
|
||||
"__FLT32_HAS_INFINITY__": "1",
|
||||
"__FLT32_HAS_QUIET_NAN__": "1",
|
||||
"__FLT32_MANT_DIG__": "24",
|
||||
"__FLT32_MAX_10_EXP__": "38",
|
||||
"__FLT32_MAX_EXP__": "128",
|
||||
"__FLT32_MAX__": "3.40282346638528859811704183484516925e+38F32",
|
||||
"__FLT32_MIN_10_EXP__": "(-37)",
|
||||
"__FLT32_MIN_EXP__": "(-125)",
|
||||
"__FLT32_MIN__": "1.17549435082228750796873653722224568e-38F32",
|
||||
"__FLT64X_DECIMAL_DIG__": "21",
|
||||
"__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x",
|
||||
"__FLT64X_DIG__": "18",
|
||||
"__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x",
|
||||
"__FLT64X_HAS_DENORM__": "1",
|
||||
"__FLT64X_HAS_INFINITY__": "1",
|
||||
"__FLT64X_HAS_QUIET_NAN__": "1",
|
||||
"__FLT64X_MANT_DIG__": "64",
|
||||
"__FLT64X_MAX_10_EXP__": "4932",
|
||||
"__FLT64X_MAX_EXP__": "16384",
|
||||
"__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x",
|
||||
"__FLT64X_MIN_10_EXP__": "(-4931)",
|
||||
"__FLT64X_MIN_EXP__": "(-16381)",
|
||||
"__FLT64X_MIN__": "3.36210314311209350626267781732175260e-4932F64x",
|
||||
"__FLT64_DECIMAL_DIG__": "17",
|
||||
"__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64",
|
||||
"__FLT64_DIG__": "15",
|
||||
"__FLT64_EPSILON__": "2.22044604925031308084726333618164062e-16F64",
|
||||
"__FLT64_HAS_DENORM__": "1",
|
||||
"__FLT64_HAS_INFINITY__": "1",
|
||||
"__FLT64_HAS_QUIET_NAN__": "1",
|
||||
"__FLT64_MANT_DIG__": "53",
|
||||
"__FLT64_MAX_10_EXP__": "308",
|
||||
"__FLT64_MAX_EXP__": "1024",
|
||||
"__FLT64_MAX__": "1.79769313486231570814527423731704357e+308F64",
|
||||
"__FLT64_MIN_10_EXP__": "(-307)",
|
||||
"__FLT64_MIN_EXP__": "(-1021)",
|
||||
"__FLT64_MIN__": "2.22507385850720138309023271733240406e-308F64",
|
||||
"__FLT_DECIMAL_DIG__": "9",
|
||||
"__FLT_DENORM_MIN__": "1.40129846432481707092372958328991613e-45F",
|
||||
"__FLT_DIG__": "6",
|
||||
"__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F",
|
||||
"__FLT_EVAL_METHOD_TS_18661_3__": "0",
|
||||
"__FLT_EVAL_METHOD__": "0",
|
||||
"__FLT_HAS_DENORM__": "1",
|
||||
"__FLT_HAS_INFINITY__": "1",
|
||||
"__FLT_HAS_QUIET_NAN__": "1",
|
||||
"__FLT_MANT_DIG__": "24",
|
||||
"__FLT_MAX_10_EXP__": "38",
|
||||
"__FLT_MAX_EXP__": "128",
|
||||
"__FLT_MAX__": "3.40282346638528859811704183484516925e+38F",
|
||||
"__FLT_MIN_10_EXP__": "(-37)",
|
||||
"__FLT_MIN_EXP__": "(-125)",
|
||||
"__FLT_MIN__": "1.17549435082228750796873653722224568e-38F",
|
||||
"__FLT_RADIX__": "2",
|
||||
"__FXSR__": "1",
|
||||
"__GCC_ASM_FLAG_OUTPUTS__": "1",
|
||||
"__GCC_ATOMIC_BOOL_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_CHAR_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_INT_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_LLONG_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_LONG_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_POINTER_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_SHORT_LOCK_FREE": "2",
|
||||
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL": "1",
|
||||
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2",
|
||||
"__GCC_HAVE_DWARF2_CFI_ASM": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4": "1",
|
||||
"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8": "1",
|
||||
"__GCC_IEC_559": "2",
|
||||
"__GCC_IEC_559_COMPLEX": "2",
|
||||
"__GLIBCXX_BITSIZE_INT_N_0": "128",
|
||||
"__GLIBCXX_TYPE_INT_N_0": "__int128",
|
||||
"__GXX_ABI_VERSION": "1013",
|
||||
"__GXX_WEAK__": "1",
|
||||
"__HAVE_SPECULATION_SAFE_VALUE": "1",
|
||||
"__INT16_C(c)": "c",
|
||||
"__INT16_MAX__": "0x7fff",
|
||||
"__INT16_TYPE__": "short int",
|
||||
"__INT32_C(c)": "c",
|
||||
"__INT32_MAX__": "0x7fffffff",
|
||||
"__INT32_TYPE__": "int",
|
||||
"__INT64_C(c)": "c ## L",
|
||||
"__INT64_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT64_TYPE__": "long int",
|
||||
"__INT8_C(c)": "c",
|
||||
"__INT8_MAX__": "0x7f",
|
||||
"__INT8_TYPE__": "signed char",
|
||||
"__INTMAX_C(c)": "c ## L",
|
||||
"__INTMAX_MAX__": "0x7fffffffffffffffL",
|
||||
"__INTMAX_TYPE__": "long int",
|
||||
"__INTMAX_WIDTH__": "64",
|
||||
"__INTPTR_MAX__": "0x7fffffffffffffffL",
|
||||
"__INTPTR_TYPE__": "long int",
|
||||
"__INTPTR_WIDTH__": "64",
|
||||
"__INT_FAST16_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_FAST16_TYPE__": "long int",
|
||||
"__INT_FAST16_WIDTH__": "64",
|
||||
"__INT_FAST32_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_FAST32_TYPE__": "long int",
|
||||
"__INT_FAST32_WIDTH__": "64",
|
||||
"__INT_FAST64_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_FAST64_TYPE__": "long int",
|
||||
"__INT_FAST64_WIDTH__": "64",
|
||||
"__INT_FAST8_MAX__": "0x7f",
|
||||
"__INT_FAST8_TYPE__": "signed char",
|
||||
"__INT_FAST8_WIDTH__": "8",
|
||||
"__INT_LEAST16_MAX__": "0x7fff",
|
||||
"__INT_LEAST16_TYPE__": "short int",
|
||||
"__INT_LEAST16_WIDTH__": "16",
|
||||
"__INT_LEAST32_MAX__": "0x7fffffff",
|
||||
"__INT_LEAST32_TYPE__": "int",
|
||||
"__INT_LEAST32_WIDTH__": "32",
|
||||
"__INT_LEAST64_MAX__": "0x7fffffffffffffffL",
|
||||
"__INT_LEAST64_TYPE__": "long int",
|
||||
"__INT_LEAST64_WIDTH__": "64",
|
||||
"__INT_LEAST8_MAX__": "0x7f",
|
||||
"__INT_LEAST8_TYPE__": "signed char",
|
||||
"__INT_LEAST8_WIDTH__": "8",
|
||||
"__INT_MAX__": "0x7fffffff",
|
||||
"__INT_WIDTH__": "32",
|
||||
"__LDBL_DECIMAL_DIG__": "21",
|
||||
"__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L",
|
||||
"__LDBL_DIG__": "18",
|
||||
"__LDBL_EPSILON__": "1.08420217248550443400745280086994171e-19L",
|
||||
"__LDBL_HAS_DENORM__": "1",
|
||||
"__LDBL_HAS_INFINITY__": "1",
|
||||
"__LDBL_HAS_QUIET_NAN__": "1",
|
||||
"__LDBL_MANT_DIG__": "64",
|
||||
"__LDBL_MAX_10_EXP__": "4932",
|
||||
"__LDBL_MAX_EXP__": "16384",
|
||||
"__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L",
|
||||
"__LDBL_MIN_10_EXP__": "(-4931)",
|
||||
"__LDBL_MIN_EXP__": "(-16381)",
|
||||
"__LDBL_MIN__": "3.36210314311209350626267781732175260e-4932L",
|
||||
"__LONG_LONG_MAX__": "0x7fffffffffffffffLL",
|
||||
"__LONG_LONG_WIDTH__": "64",
|
||||
"__LONG_MAX__": "0x7fffffffffffffffL",
|
||||
"__LONG_WIDTH__": "64",
|
||||
"__LP64__": "1",
|
||||
"__MMX__": "1",
|
||||
"__NO_INLINE__": "1",
|
||||
"__ORDER_BIG_ENDIAN__": "4321",
|
||||
"__ORDER_LITTLE_ENDIAN__": "1234",
|
||||
"__ORDER_PDP_ENDIAN__": "3412",
|
||||
"__PRAGMA_REDEFINE_EXTNAME": "1",
|
||||
"__PTRDIFF_MAX__": "0x7fffffffffffffffL",
|
||||
"__PTRDIFF_TYPE__": "long int",
|
||||
"__PTRDIFF_WIDTH__": "64",
|
||||
"__REGISTER_PREFIX__": "",
|
||||
"__SCHAR_MAX__": "0x7f",
|
||||
"__SCHAR_WIDTH__": "8",
|
||||
"__SEG_FS": "1",
|
||||
"__SEG_GS": "1",
|
||||
"__SHRT_MAX__": "0x7fff",
|
||||
"__SHRT_WIDTH__": "16",
|
||||
"__SIG_ATOMIC_MAX__": "0x7fffffff",
|
||||
"__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)",
|
||||
"__SIG_ATOMIC_TYPE__": "int",
|
||||
"__SIG_ATOMIC_WIDTH__": "32",
|
||||
"__SIZEOF_DOUBLE__": "8",
|
||||
"__SIZEOF_FLOAT128__": "16",
|
||||
"__SIZEOF_FLOAT80__": "16",
|
||||
"__SIZEOF_FLOAT__": "4",
|
||||
"__SIZEOF_INT128__": "16",
|
||||
"__SIZEOF_INT__": "4",
|
||||
"__SIZEOF_LONG_DOUBLE__": "16",
|
||||
"__SIZEOF_LONG_LONG__": "8",
|
||||
"__SIZEOF_LONG__": "8",
|
||||
"__SIZEOF_POINTER__": "8",
|
||||
"__SIZEOF_PTRDIFF_T__": "8",
|
||||
"__SIZEOF_SHORT__": "2",
|
||||
"__SIZEOF_SIZE_T__": "8",
|
||||
"__SIZEOF_WCHAR_T__": "4",
|
||||
"__SIZEOF_WINT_T__": "4",
|
||||
"__SIZE_MAX__": "0xffffffffffffffffUL",
|
||||
"__SIZE_TYPE__": "long unsigned int",
|
||||
"__SIZE_WIDTH__": "64",
|
||||
"__SSE2_MATH__": "1",
|
||||
"__SSE2__": "1",
|
||||
"__SSE_MATH__": "1",
|
||||
"__SSE__": "1",
|
||||
"__STDC_HOSTED__": "1",
|
||||
"__STDC_IEC_559_COMPLEX__": "1",
|
||||
"__STDC_IEC_559__": "1",
|
||||
"__STDC_ISO_10646__": "201706L",
|
||||
"__STDC_UTF_16__": "1",
|
||||
"__STDC_UTF_32__": "1",
|
||||
"__UINT16_C(c)": "c",
|
||||
"__UINT16_MAX__": "0xffff",
|
||||
"__UINT16_TYPE__": "short unsigned int",
|
||||
"__UINT32_C(c)": "c ## U",
|
||||
"__UINT32_MAX__": "0xffffffffU",
|
||||
"__UINT32_TYPE__": "unsigned int",
|
||||
"__UINT64_C(c)": "c ## UL",
|
||||
"__UINT64_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT64_TYPE__": "long unsigned int",
|
||||
"__UINT8_C(c)": "c",
|
||||
"__UINT8_MAX__": "0xff",
|
||||
"__UINT8_TYPE__": "unsigned char",
|
||||
"__UINTMAX_C(c)": "c ## UL",
|
||||
"__UINTMAX_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINTMAX_TYPE__": "long unsigned int",
|
||||
"__UINTPTR_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINTPTR_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST16_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_FAST16_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST32_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_FAST32_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST64_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_FAST64_TYPE__": "long unsigned int",
|
||||
"__UINT_FAST8_MAX__": "0xff",
|
||||
"__UINT_FAST8_TYPE__": "unsigned char",
|
||||
"__UINT_LEAST16_MAX__": "0xffff",
|
||||
"__UINT_LEAST16_TYPE__": "short unsigned int",
|
||||
"__UINT_LEAST32_MAX__": "0xffffffffU",
|
||||
"__UINT_LEAST32_TYPE__": "unsigned int",
|
||||
"__UINT_LEAST64_MAX__": "0xffffffffffffffffUL",
|
||||
"__UINT_LEAST64_TYPE__": "long unsigned int",
|
||||
"__UINT_LEAST8_MAX__": "0xff",
|
||||
"__UINT_LEAST8_TYPE__": "unsigned char",
|
||||
"__USER_LABEL_PREFIX__": "",
|
||||
"__WCHAR_MAX__": "0x7fffffff",
|
||||
"__WCHAR_MIN__": "(-__WCHAR_MAX__ - 1)",
|
||||
"__WCHAR_TYPE__": "int",
|
||||
"__WCHAR_WIDTH__": "32",
|
||||
"__WINT_MAX__": "0xffffffffU",
|
||||
"__WINT_MIN__": "0U",
|
||||
"__WINT_TYPE__": "unsigned int",
|
||||
"__WINT_WIDTH__": "32",
|
||||
"__amd64": "1",
|
||||
"__amd64__": "1",
|
||||
"__code_model_small__": "1",
|
||||
"__gnu_linux__": "1",
|
||||
"__k8": "1",
|
||||
"__k8__": "1",
|
||||
"__linux": "1",
|
||||
"__linux__": "1",
|
||||
"__unix": "1",
|
||||
"__unix__": "1",
|
||||
"__x86_64": "1",
|
||||
"__x86_64__": "1",
|
||||
"linux": "1",
|
||||
"unix": "1"
|
||||
},
|
||||
"sys_include_envvar": null,
|
||||
"sys_include_path": [
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0/x86_64-pc-linux-gnu",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../include/c++/9.3.0/backward",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include",
|
||||
"/usr/local/include",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include-fixed",
|
||||
"/usr/include/x86_64-linux-gnu",
|
||||
"/usr/include"
|
||||
]
|
||||
}
|
||||
},
|
||||
"language_cxx.command.#": "/usr/bin/g++",
|
||||
"language_cxx.info.#": "Using built-in specs.\nCOLLECT_GCC=/usr/bin/g++\nCOLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper\nTarget: x86_64-pc-linux-gnu\nConfigured with: /tmp/gcc-9.3.0/configure --disable-bootstrap --enable-languages=c,c++,lto --prefix=/usr/local --program-suffix=-9.3\nThread model: posix\ngcc version 9.3.0 (GCC) \n",
|
||||
"linker": {
|
||||
"library_path": [
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64/",
|
||||
"/lib/x86_64-linux-gnu/",
|
||||
"/lib/../lib64/",
|
||||
"/usr/lib/x86_64-linux-gnu/",
|
||||
"/usr/lib/../lib64/",
|
||||
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../",
|
||||
"/lib/",
|
||||
"/usr/lib/"
|
||||
]
|
||||
},
|
||||
"types": {
|
||||
"char16_t_type": "unsigned short",
|
||||
"char32_t_type": "unsigned int",
|
||||
"char_bits": 8,
|
||||
"double_type": {
|
||||
"alignof": 8,
|
||||
"sizeof": 8
|
||||
},
|
||||
"float_type": {
|
||||
"alignof": 4,
|
||||
"sizeof": 4
|
||||
},
|
||||
"int_type": {
|
||||
"alignof": 4,
|
||||
"sizeof": 4
|
||||
},
|
||||
"long_double_type": {
|
||||
"alignof": 16,
|
||||
"sizeof": 16
|
||||
},
|
||||
"long_long_type": {
|
||||
"alignof": 8,
|
||||
"sizeof": 8
|
||||
},
|
||||
"long_type": {
|
||||
"alignof": 8,
|
||||
"sizeof": 8
|
||||
},
|
||||
"pointer_type": {
|
||||
"alignof": 8,
|
||||
"sizeof": 8
|
||||
},
|
||||
"ptrdiff_t_type": "signed long",
|
||||
"short_type": {
|
||||
"alignof": 2,
|
||||
"sizeof": 2
|
||||
},
|
||||
"size_t_type": "unsigned long",
|
||||
"wchar_t_type": "signed int",
|
||||
"wint_t_type": "unsigned int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"_Format": "1.0",
|
||||
"_Version": "7.5.0",
|
||||
"_VersionNum": [
|
||||
7,
|
||||
5,
|
||||
0,
|
||||
11376
|
||||
]
|
||||
}
|
||||
|
||||
34
coin/provisioning/common/linux/axivion/post_processing.py
Normal file
34
coin/provisioning/common/linux/axivion/post_processing.py
Normal file
@@ -0,0 +1,34 @@
|
||||
#Copyright (C) 2024 The Qt Company Ltd
|
||||
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
import re
|
||||
|
||||
import axivion.config
|
||||
from axivion.analysis.post_processing import FilterAction
|
||||
from bauhaus import ir
|
||||
|
||||
analysis = axivion.config.get_analysis()
|
||||
|
||||
qt_inline_pattern = re.compile(r"QT_.*_INLINE(_IMPL)?_SINCE\(\d+,\d+\)")
|
||||
def exclude_inlined_by_qt_inline_macro(sv, ir_graph):
|
||||
node = ir_graph.get_node(ir.Physical, sv.primary_sloc.pir_node_number)
|
||||
|
||||
# we have to check on the token stream as the macro might expand to nothing
|
||||
# -> only the invocation is in the IR, but not in the AST of the routine decl / def
|
||||
preceeding_string = ""
|
||||
|
||||
token = node.Token
|
||||
while True:
|
||||
try:
|
||||
token_value = re.sub('^#\\s+', '#', token.Value)
|
||||
if token_value in {';', '{', '}', '#define'}:
|
||||
break
|
||||
preceeding_string = token.Value + preceeding_string
|
||||
token = token.prev()
|
||||
except StopIteration:
|
||||
break
|
||||
if re.match(qt_inline_pattern, preceeding_string):
|
||||
return FilterAction.exclude
|
||||
return FilterAction.normal
|
||||
|
||||
analysis['Qt-Generic-NoFunctionDefinitionInHeader'].post_processing.add_filter(exclude_inlined_by_qt_inline_macro, inputs=[ir.Graph])
|
||||
210
coin/provisioning/common/linux/axivion/rule_config.json
Normal file
210
coin/provisioning/common/linux/axivion/rule_config.json
Normal file
@@ -0,0 +1,210 @@
|
||||
{
|
||||
"Analysis": {
|
||||
"CloneDetection": {
|
||||
"_active": true,
|
||||
"excludes": [
|
||||
"$(splitpath:EXCLUDE_FILES)"
|
||||
]
|
||||
},
|
||||
"Frameworks-QtSupport": {
|
||||
"_active": true,
|
||||
"exclude_qt_generated_files": true,
|
||||
"qtdir": "/home/qt/work/install"
|
||||
},
|
||||
"Qt-AutoUnexpectedQStringbuilder": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-BaseClassEvent": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-ChildEventQObjectCast": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Connect3argLambda": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-ConnectByName": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-ConnectNonSignal": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-ConstSignalOrSlot": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-CtorMissingParentArgument": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-DetachingTemporary": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-FullyQualifiedMocTypes": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-FunctionArgsByValueRef": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-DuplicateIncludeGuard": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-FormatSpecifier": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-InitializeAllFieldsInConstructor": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-MissingBaseCopy": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-MissingIncludeGuard": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoAbsoluteInclude": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoFunctionDefinitionInHeader": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoIrregularInclude": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoMixOfClassStruct": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoOverloadedOperators": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoReferenceToLocalVariable": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-QNetworkReplyDeleteLater": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-ThrowByValueCatchByReference": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-TypedefCheck": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-WrongIncludeCasing": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-GlobalConstCharPointer": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-IncorrectEmit": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-InstallEventFilter": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-LambdaInConnect": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-LambdaUniqueConnection": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-LowercaseQmlTypeName": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-MissingQObjectMacro": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-MutableContainerKey": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-NonPodGlobalStatic": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-OldStyleConnect": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-OverloadedSignal": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-OverriddenSignal": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-PostEvent": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QDateTimeUTC": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QEnums": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QLatin1StringNonAscii": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QMapWithPointerKey": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QPropertyWithoutNotify": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QStringArg": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QStringComparisonToImplicitChar": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QhashNamespace": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QtMacros": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-RangeLoopDetach": {
|
||||
"_active": false
|
||||
},
|
||||
"Qt-RangeLoopReference": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-ReturningDataFromTemporary": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-RuleOfThree": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-RuleOfTwoSoft": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-SkippedBaseMethod": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-StrictIterators": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-TemporaryIterator": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-UnusedNonTrivialVariable": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-VirtualSignal": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-WritingToTemporary": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-WrongQEventCast": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-WrongQGlobalStatic": {
|
||||
"_active": true
|
||||
},
|
||||
"Stylechecks": {
|
||||
"excludes": [
|
||||
"$(splitpath:EXCLUDE_FILES)"
|
||||
]
|
||||
}
|
||||
},
|
||||
"_Format": "1.0",
|
||||
"_VersionNum": [
|
||||
7,
|
||||
8,
|
||||
0,
|
||||
15004
|
||||
]
|
||||
}
|
||||
13
coin/provisioning/common/linux/axivion/start_analysis.sh
Executable file
13
coin/provisioning/common/linux/axivion/start_analysis.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
#Copyright (C) 2024 The Qt Company Ltd
|
||||
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
$HOME/bauhaus-suite/setup.sh --non-interactive
|
||||
export PATH=/home/qt/bauhaus-suite/bin:$PATH
|
||||
export BAUHAUS_CONFIG=$(cd $(dirname $(readlink -f $0)) && pwd)
|
||||
export AXIVION_VERSION_NAME=$(git rev-parse HEAD)
|
||||
export EXCLUDE_FILES="build/*:src/3rdparty/*"
|
||||
export MODULE=$TESTED_MODULE_COIN
|
||||
export PACKAGE="Add-ons"
|
||||
export IRNAME=build/$TESTED_MODULE_COIN.ir
|
||||
axivion_ci "$@"
|
||||
@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.27"
|
||||
version="3.27.7"
|
||||
majorminorversion="3.30"
|
||||
version="3.30.5"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-x86_64.tar.gz"
|
||||
SHA1="83ab00c8432a71cfc81e933ee7b3c3e14d50ad6f"
|
||||
SHA1="61b339cac5f110d5ed2934f66a26c2e991945e01"
|
||||
targetFolder="/opt/cmake-$version"
|
||||
appPrefix="cmake-$version-linux-x86_64"
|
||||
|
||||
|
||||
22
coin/provisioning/common/linux/fix-bwrap-apparmor.sh
Normal file
22
coin/provisioning/common/linux/fix-bwrap-apparmor.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2024 The Qt Company Ltd
|
||||
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# See https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
|
||||
# and https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046844/comments/89
|
||||
sudo bash -c 'cat > /etc/apparmor.d/bwrap' << EOF
|
||||
# This profile allows everything and only exists to give the
|
||||
# application a name instead of having the label "unconfined"
|
||||
|
||||
abi <abi/4.0>,
|
||||
include <tunables/global>
|
||||
|
||||
profile bwrap /usr/bin/bwrap flags=(unconfined) {
|
||||
userns,
|
||||
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
include if exists <local/bwrap>
|
||||
}
|
||||
EOF
|
||||
|
||||
sudo apparmor_parser -r /etc/apparmor.d/bwrap
|
||||
67
coin/provisioning/common/linux/install-dummy-alsa-device.sh
Normal file
67
coin/provisioning/common/linux/install-dummy-alsa-device.sh
Normal file
@@ -0,0 +1,67 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
systemd_folder=/etc/systemd/system
|
||||
systemd_file=dummysound.service
|
||||
script_folder=/home/qt/bin
|
||||
script_file=dummy_sound.sh
|
||||
|
||||
# Ensure that script folder exists
|
||||
if [ ! -d ${script_folder} ]; then
|
||||
sudo mkdir ${script_folder}
|
||||
sudo chmod 750 ${script_folder}
|
||||
fi
|
||||
|
||||
|
||||
# Create script to install dummy sound driver,
|
||||
# in case no other sound driver is installed.
|
||||
sudo tee "${script_folder}/${script_file}" <<"EOF"
|
||||
# Check for existing sound driver
|
||||
if lsmod | grep -q -i snd-dummy
|
||||
then
|
||||
echo "(**) Dummy sound driver already loaded. Nothing to do.";
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
# load dummy sound module
|
||||
sudo modprobe snd-dummy
|
||||
|
||||
# Check result
|
||||
if lsmod | grep -q snd_dummy
|
||||
then
|
||||
echo "(**) Dummy sound driver loaded.";
|
||||
else
|
||||
echo "(EE) Failed to load dummy sound driver.";
|
||||
exit 1;
|
||||
fi
|
||||
EOF
|
||||
|
||||
# set permissions
|
||||
sudo chmod 750 "${script_folder}/${script_file}"
|
||||
|
||||
# Create service file
|
||||
sudo tee "${systemd_folder}/${systemd_file}" <<"EOF"
|
||||
# /etc/systemd/system/dummysound.service
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=Install dummy sound driver
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "/home/qt/bin/dummy_sound.sh"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
# Start servive and output result, just for logging
|
||||
sudo systemctl start dummysound.service
|
||||
# status commented out, returns 3 on VM.
|
||||
# sudo systemctl status dummysound.service
|
||||
|
||||
# enable service
|
||||
sudo systemctl enable dummysound.service
|
||||
42
coin/provisioning/common/linux/install-golang.sh
Executable file
42
coin/provisioning/common/linux/install-golang.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
# This script will install go 1.22.4
|
||||
version="1.22.4"
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64)
|
||||
sha256="ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d"
|
||||
pkgname="go$version.linux-amd64.tar.gz"
|
||||
dirname="go$version.linux-amd64"
|
||||
;;
|
||||
arm64|aarch64)
|
||||
sha256="a8e177c354d2e4a1b61020aca3562e27ea3e8f8247eca3170e3fa1e0c2f9e771"
|
||||
pkgname="go$version.linux-arm64.tar.gz"
|
||||
dirname="go$version.linux-arm64"
|
||||
;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
internalUrl="http://ci-files01-hki.ci.qt.io/input/go/linux/$pkgname"
|
||||
externalUrl="https://go.dev/dl/$pkgname"
|
||||
|
||||
targetFile="$HOME/$pkgname"
|
||||
DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
|
||||
echo "Installing Go"
|
||||
tar -xzf "$targetFile" -C "$HOME"
|
||||
rm "$targetFile"
|
||||
|
||||
installPrefix="/opt/$dirname"
|
||||
sudo mv "$HOME/go" "$installPrefix"
|
||||
|
||||
SetEnvVar "PATH" "$installPrefix/bin:\$PATH"
|
||||
|
||||
echo "Go = $version" >> ~/versions.txt
|
||||
42
coin/provisioning/common/linux/install-ninja.sh
Executable file
42
coin/provisioning/common/linux/install-ninja.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
# This script will install ninja
|
||||
version="1.12.1"
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64)
|
||||
sha256="6f98805688d19672bd699fbbfa2c2cf0fc054ac3df1f0e6a47664d963d530255"
|
||||
pkgname="ninja-$version-linux-x64.zip"
|
||||
dirname="ninja-$version-linux-x64"
|
||||
;;
|
||||
arm64|aarch64)
|
||||
sha256="5c25c6570b0155e95fce5918cb95f1ad9870df5768653afe128db822301a05a1"
|
||||
pkgname="ninja-$version-linux-arm64.zip"
|
||||
dirname="ninja-$version-linux-arm64"
|
||||
;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
internalUrl="http://ci-files01-hki.ci.qt.io/input/ninja/$pkgname"
|
||||
externalUrl="https://github.com/ninja-build/ninja/releases/download/v$version/$pkgname"
|
||||
|
||||
targetFile="$HOME/$pkgname"
|
||||
DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
|
||||
echo "Installing ninja ${version}"
|
||||
sudo unzip -o -q ${targetFile} -d "${HOME}/${dirname}"
|
||||
rm "$targetFile"
|
||||
|
||||
installPrefix="/opt/$dirname"
|
||||
sudo mv "$HOME/$dirname" "$installPrefix"
|
||||
|
||||
SetEnvVar "PATH" "$installPrefix:\$PATH"
|
||||
|
||||
echo "ninja = $version" >> ~/versions.txt
|
||||
42
coin/provisioning/common/linux/install-upx.sh
Executable file
42
coin/provisioning/common/linux/install-upx.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
# This script will install UPX 4.2.4
|
||||
version="4.2.4"
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64)
|
||||
sha256="75cab4e57ab72fb4585ee45ff36388d280c7afd72aa03e8d4b9c3cbddb474193"
|
||||
pkgname="upx-$version-amd64_linux.tar.xz"
|
||||
dirname="upx-$version-amd64_linux"
|
||||
;;
|
||||
arm64|aarch64)
|
||||
sha256="6bfeae6714e34a82e63245289888719c41fd6af29f749a44ae3d3d166ba6a1c9"
|
||||
pkgname="upx-$version-arm64_linux.tar.xz"
|
||||
dirname="upx-$version-arm64_linux"
|
||||
;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
internalUrl="http://ci-files01-hki.ci.qt.io/input/upx/linux/$pkgname"
|
||||
externalUrl="https://github.com/upx/upx/releases/download/v$version/$pkgname"
|
||||
|
||||
targetFile="$HOME/$pkgname"
|
||||
DownloadURL "$internalUrl" "$externalUrl" "$sha256" "$targetFile"
|
||||
echo "Installing UPX"
|
||||
tar -xJf "$targetFile" -C "$HOME"
|
||||
rm "$targetFile"
|
||||
|
||||
installPrefix="/opt/$dirname"
|
||||
sudo mv "$HOME/$dirname" "$installPrefix"
|
||||
|
||||
SetEnvVar "PATH" "$installPrefix:\$PATH"
|
||||
|
||||
echo "UPX = $version" >> ~/versions.txt
|
||||
56
coin/provisioning/common/linux/install-vivid-camera.sh
Executable file
56
coin/provisioning/common/linux/install-vivid-camera.sh
Executable file
@@ -0,0 +1,56 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
systemd_folder=/etc/systemd/system
|
||||
systemd_file=vivid.service
|
||||
script_folder=/home/qt/bin
|
||||
script_file=vivid.sh
|
||||
|
||||
# Ensure that script folder exists
|
||||
if [ ! -d ${script_folder} ]; then
|
||||
sudo mkdir ${script_folder}
|
||||
sudo chmod 750 ${script_folder}
|
||||
fi
|
||||
|
||||
# Create script to install virtual video test driver module
|
||||
sudo tee "${script_folder}/${script_file}" <<"EOF"
|
||||
# load vivid
|
||||
sudo modprobe vivid n_devs=2 # create two video devices
|
||||
|
||||
# Check result
|
||||
if lsmod | grep -q vivid
|
||||
then
|
||||
echo "(**) Virtual video test driver vivid installed.";
|
||||
else
|
||||
echo "(EE) Failed to load vivid driver.";
|
||||
exit 1;
|
||||
fi
|
||||
EOF
|
||||
|
||||
# set permissions
|
||||
sudo chmod 750 "${script_folder}/${script_file}"
|
||||
|
||||
# Create service file
|
||||
sudo tee "${systemd_folder}/${systemd_file}" <<"EOF"
|
||||
# /etc/systemd/system/vivid.service
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=Install virtual video test driver (vivid)
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "/home/qt/bin/vivid.sh"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
||||
# Start service and output result, just for logging
|
||||
sudo systemctl start vivid.service
|
||||
|
||||
# enable service
|
||||
sudo systemctl enable vivid.service
|
||||
@@ -6,7 +6,14 @@ set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetArch=x86_64-unknown-linux-musl
|
||||
targetVersion=0.2.14
|
||||
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
|
||||
|
||||
if [[ $(uname -m) == 'aarch64' ]]; then
|
||||
targetArch=aarch64-unknown-linux-musl
|
||||
sha1=0f9b57c423d77f7aa89bb642864ac7689d84d6a0
|
||||
else
|
||||
targetArch=x86_64-unknown-linux-musl
|
||||
sha1=281680c0fc2c09173e94d12ba45d9f1b8e62e5b3
|
||||
fi
|
||||
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
|
||||
@@ -22,9 +22,9 @@ toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||
|
||||
ndkVersionLatest="r26b"
|
||||
ndkVersionDefault="$ndkVersionLatest"
|
||||
sdkBuildToolsVersion="34.0.0"
|
||||
sdkBuildToolsVersion="35.0.1"
|
||||
# this is compile sdk version
|
||||
sdkApiLevel="android-34"
|
||||
sdkApiLevel="android-35"
|
||||
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.27.7"
|
||||
version="3.27.7"
|
||||
majorminorversion="3.30.5"
|
||||
version="3.30.5"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-macos-universal.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-macos-universal.tar.gz"
|
||||
SHA1="75153b6c7a418bc7120c6217d4698c7d245d00e0"
|
||||
SHA1="c81c2f7482a901c4a32a81034920c23c22233a0f"
|
||||
appPrefix="cmake-$version-macos-universal"
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||
|
||||
@@ -2,10 +2,29 @@
|
||||
# Copyright (C) 2017 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
|
||||
|
||||
# Disable spotlight and and stop indexing
|
||||
sudo mdutil -a -i off
|
||||
sudo mdutil -a -i off /
|
||||
# Disable spotlight indexing /Volumes
|
||||
sudo mdutil -i off /Volumes
|
||||
# Erase spotlight index
|
||||
sudo mdutil -E /
|
||||
disableSpotlight() {
|
||||
# Disable spotlight and and stop indexing
|
||||
sudo mdutil -a -i off
|
||||
sudo mdutil -a -i off /
|
||||
# Disable spotlight indexing /Volumes
|
||||
sudo mdutil -i off /Volumes
|
||||
# Erase spotlight index
|
||||
sudo mdutil -E /
|
||||
}
|
||||
|
||||
# Disabling spotlight tends to be flaky, add some retry
|
||||
for i in $(seq 1 5)
|
||||
do
|
||||
disableSpotlight
|
||||
res=$?
|
||||
if [[ $res -eq 0 ]]
|
||||
then
|
||||
echo "Spotlight disabled"
|
||||
break
|
||||
else
|
||||
echo "Failed to disable spotlight, $i retry..."
|
||||
sleep 2
|
||||
fi
|
||||
done
|
||||
|
||||
exit $res
|
||||
|
||||
7
coin/provisioning/common/macos/enable_vnc.sh
Executable file
7
coin/provisioning/common/macos/enable_vnc.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
|
||||
# This script enables remote management vnc
|
||||
set -ex
|
||||
|
||||
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes
|
||||
25
coin/provisioning/common/macos/install-simulator-runtime.sh
Executable file
25
coin/provisioning/common/macos/install-simulator-runtime.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
set -ex
|
||||
|
||||
function InstallSimulatorRuntime {
|
||||
url=$1
|
||||
url_alt=$2
|
||||
expectedSha1=$3
|
||||
packageName=$4
|
||||
version=$5
|
||||
|
||||
DownloadURL "$url" "$url_alt" "$expectedSha1" "/tmp/$packageName"
|
||||
echo "Installing"
|
||||
# macOS 14 / Xcode 15 has a different install command
|
||||
if [[ $OSTYPE == "darwin23" ]]; then
|
||||
xcrun simctl runtime add "/tmp/$packageName"
|
||||
else
|
||||
xcodebuild -importPlatform "/tmp/$packageName"
|
||||
fi
|
||||
|
||||
echo "Simulator Runtime = $version" >> ~/versions.txt
|
||||
}
|
||||
@@ -1,17 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2021 The Qt Company Ltd.
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script installs JDK
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
|
||||
echo "Installing Java Development Kit"
|
||||
version=11.0.12
|
||||
targetFile=jdk-${version}_osx-x64_bin.dmg
|
||||
version=17.0.12
|
||||
targetFile=jdk-${version}_macos-x64_bin.dmg
|
||||
expectedHash="6fba2fbe5d181bd2ef7fd79e0335278c13f611cb"
|
||||
|
||||
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
|
||||
# url_alt=https://www.oracle.com/java/technologies/downloads/#java11-linux
|
||||
# url_alt=https://www.oracle.com/java/technologies/downloads/#jdk17-mac
|
||||
|
||||
echo "Mounting $targetFile"
|
||||
sudo mkdir -p /Volumes/files
|
||||
@@ -19,6 +22,8 @@ sudo mount -o locallocks "$url" /Volumes/files
|
||||
|
||||
sudo cp "/Volumes/files/$targetFile" /tmp
|
||||
sudo umount /Volumes/files
|
||||
cd /tmp
|
||||
VerifyHash "$targetFile" "$expectedHash"
|
||||
sudo hdiutil attach "/tmp/$targetFile"
|
||||
|
||||
echo Installing JDK
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2021 The Qt Company Ltd.
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script installs JDK
|
||||
@@ -8,10 +8,10 @@ set -ex
|
||||
|
||||
echo "Installing Java Development Kit"
|
||||
|
||||
targetFile=zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.dmg
|
||||
targetFile=zulu17.54.21-ca-jdk17.0.13-macosx_aarch64.dmg
|
||||
|
||||
url=ci-files01-hki.ci.qt.io:/hdd/www/input/mac
|
||||
# url_alt=https://cdn.azul.com/zulu/bin/zulu15.29.15-ca-jdk15.0.2-macosx_aarch64.dmg
|
||||
# url_alt=https://cdn.azul.com/zulu/bin/zulu17.54.21-ca-jdk17.0.13-macosx_aarch64.dmg
|
||||
|
||||
echo "Mounting $targetFile"
|
||||
sudo mkdir -p /Volumes/files
|
||||
@@ -22,12 +22,12 @@ sudo umount /Volumes/files
|
||||
sudo hdiutil attach "/tmp/$targetFile"
|
||||
|
||||
echo Installing JDK
|
||||
cd /Volumes/Zulu\ OpenJDK\ 15.29+15 && sudo installer -pkg Double-Click\ to\ Install\ Zulu\ 15.pkg -target /
|
||||
cd /Volumes/Azul\ Zulu\ JDK\ 17.54+21 && sudo installer -pkg Double-Click\ to\ Install\ Azul\ Zulu\ JDK\ 17.pkg -target /
|
||||
|
||||
echo "Unmounting $targetFile"
|
||||
sudo hdiutil unmount /Volumes/Zulu\ OpenJDK\ 15.29+15 -force
|
||||
sudo hdiutil unmount /Volumes/Azul\ Zulu\ JDK\ 17.54+21 -force
|
||||
|
||||
echo "Disable auto update"
|
||||
sudo defaults write /Library/Preferences/com.oracle.java.Java-Updater JavaAutoUpdateEnabled -bool false
|
||||
|
||||
echo "JDK Version = 15.0.2" >> ~/versions.txt
|
||||
echo "JDK Version = 17.0.13" >> ~/versions.txt
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2018 The Qt Company Ltd.
|
||||
# Copyright (C) 2025 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# Install libiodbc
|
||||
@@ -11,12 +11,9 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
brew install --formula "${BASH_SOURCE%/*}/libiodbc.rb" "$@"
|
||||
|
||||
# CPLUS_INCLUDE_PATH is set so clang and configure can find libiodbc
|
||||
|
||||
read -r -a arr <<< "$(brew list --versions libiodbc)"
|
||||
version=${arr[1]}
|
||||
|
||||
SetEnvVar "CPLUS_INCLUDE_PATH" "/usr/local/Cellar/libiodbc/$version/include${CPLUS_INCLUDE_PATH:+:}${CPLUS_INCLUDE_PATH}"
|
||||
SetEnvVar "LIBRARY_PATH" "/usr/local/Cellar/libiodbc/$version/lib${LIBRARY_PATH:+:}${LIBRARY_PATH}"
|
||||
SetEnvVar "ODBC_ROOT" "$(brew --prefix libiodbc)"
|
||||
|
||||
echo "libiodbc = $version" >> ~/versions.txt
|
||||
|
||||
@@ -12,20 +12,11 @@ os="$1"
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
|
||||
mimerSqlVersion="11.0.7G"
|
||||
if [ "$os" = "macos" ]; then
|
||||
arch=$(uname -m)
|
||||
if [ "$arch" = "x86_64" ]; then
|
||||
mimerSqlPackageName="mimersql-110_x86_64.tgz"
|
||||
SHA1="d748f87b72e7188c527f131db2590f552f18f544"
|
||||
else
|
||||
mimerSqlPackageName="mimersql-110_arm64.tgz"
|
||||
SHA1="f209c97074d096e50e637441073e8aa355c5116e"
|
||||
fi
|
||||
else
|
||||
mimerSqlPackageName="mimersql-110_universal.tgz"
|
||||
SHA1="eab32be623f1cbde7c29cea0f0ca4332b8ca502b"
|
||||
fi
|
||||
mimerSqlVersion="11.0.8E"
|
||||
|
||||
mimerSqlPackageName="mimersql-1108E_universal.tgz"
|
||||
SHA1="8077db02be2b54147eb4a48ce4a7a2ff1159fb4d"
|
||||
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/$mimerSqlPackageName"
|
||||
AltUrl="https://install.mimer.com/qt/macOS/$mimerSqlPackageName"
|
||||
|
||||
@@ -26,9 +26,11 @@ echo "Configure pip"
|
||||
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip config --user set global.extra-index-url https://pypi.org/simple/
|
||||
|
||||
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 install virtualenv wheel html5lib
|
||||
/Library/Frameworks/Python.framework/Versions/3.9/bin/pip3 install -r ${BASH_SOURCE%/*}/../shared/sbom_requirements.txt
|
||||
|
||||
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
|
||||
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
|
||||
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/Library/Frameworks/Python.framework/Versions/3.9/bin"
|
||||
|
||||
# Install Python certificates. Required at least for emsdk installation
|
||||
open /Applications/Python\ 3.9/Install\ Certificates.command
|
||||
|
||||
@@ -6,7 +6,12 @@ set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/sccache.sh"
|
||||
|
||||
targetArch=x86_64-apple-darwin
|
||||
targetVersion=0.2.14
|
||||
sha1=764bc1664c0ff616d9980a6d127175d0a2041781
|
||||
if [[ `arch` == arm* ]]; then
|
||||
targetArch=aarch64-apple-darwin
|
||||
sha1=ad10cd4b8889fa08e193a4165ac664876a27c0dc
|
||||
else
|
||||
targetArch=x86_64-apple-darwin
|
||||
sha1=764bc1664c0ff616d9980a6d127175d0a2041781
|
||||
fi
|
||||
installSccache "$targetArch" "$targetVersion" "$sha1"
|
||||
|
||||
@@ -2,30 +2,111 @@
|
||||
#Copyright (C) 2024 The Qt Company Ltd
|
||||
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
TCC_DATABASE="$HOME/Library/Application Support/com.apple.TCC/TCC.db"
|
||||
if touch "$TCC_DATABASE"; then
|
||||
# We can write to the TCC database
|
||||
BOOTSTRAP_AGENT="$HOME/bootstrap-agent"
|
||||
REQ_STR=$(codesign -d -r- "$BOOTSTRAP_AGENT" 2>&1 | awk -F ' => ' '/designated/{print $2}')
|
||||
REQ_HEX=$(echo "$REQ_STR" | csreq -r- -b >(xxd -p | tr -d '\n'))
|
||||
set -e
|
||||
|
||||
# shellcheck disable=SC2043
|
||||
for service in kTCCServiceMicrophone; do
|
||||
sqlite3 -echo "$TCC_DATABASE" <<EOF
|
||||
DELETE from access WHERE client = '$BOOTSTRAP_AGENT' AND service = '$service';
|
||||
INSERT INTO access (service, client, client_type, auth_value, auth_reason, auth_version, csreq, flags) VALUES (
|
||||
'$service', -- service
|
||||
'$BOOTSTRAP_AGENT', -- client
|
||||
1, -- client_type (1 - absolute path)
|
||||
2, -- auth_value (2 - allowed)
|
||||
4, -- auth_reason (4 - "System Set")
|
||||
1, -- auth_version
|
||||
X'$REQ_HEX', -- csreq
|
||||
0 -- flags
|
||||
);
|
||||
EOF
|
||||
done
|
||||
else
|
||||
echo "TCC database is not writable. Is SIP disabled?" >&2
|
||||
exit 1
|
||||
# ------ Clients ------
|
||||
|
||||
TCC_CLIENTS=()
|
||||
|
||||
# The original path to bootstrap-agent
|
||||
if [[ -x "$HOME/bootstrap-agent" ]]; then
|
||||
TCC_CLIENTS+=("$HOME/bootstrap-agent")
|
||||
fi
|
||||
|
||||
# The app-bundle version of the agent, in case we install it like that
|
||||
if [[ -d "$HOME/bootstrap-agent.app" ]]; then
|
||||
TCC_CLIENTS+=("$HOME/bootstrap-agent.app")
|
||||
fi
|
||||
|
||||
# The responsible process for the SSH server. By giving this
|
||||
# process the permissions we ensure that developers SSH'ing
|
||||
# into a CI machine will have the same permissions when running
|
||||
# tests as bootstrap-agent has. This also opens the door to
|
||||
# running the boostrap agent via SSH, giving the exact same
|
||||
# environment for interactive developer sessions as coin.
|
||||
TCC_CLIENTS+=("/usr/libexec/sshd-keygen-wrapper")
|
||||
|
||||
# ------ Services (permissions) ------
|
||||
|
||||
SERVICES=()
|
||||
|
||||
# Qt Multimedia tests need microphone access
|
||||
SERVICES+=("kTCCServiceMicrophone|$HOME")
|
||||
|
||||
# Qt Connectivity tests need Bluetooth access
|
||||
SERVICES+=("kTCCServiceBluetoothAlways|$HOME")
|
||||
|
||||
# Qt Multimedia might need screen capture, and it can
|
||||
# also be useful for capturing the state of the VM when
|
||||
# a test fails.
|
||||
SERVICES+=("kTCCServiceScreenCapture|/")
|
||||
|
||||
# ------ Implementation ------
|
||||
|
||||
function add_permission_for_client() {
|
||||
local client="$1"
|
||||
local service="$2"
|
||||
|
||||
local path="${service#*|}"
|
||||
local service="${service%|*}"
|
||||
|
||||
tcc_database="${path%/}/Library/Application Support/com.apple.TCC/TCC.db"
|
||||
if ! sudo touch "$tcc_database"; then
|
||||
echo "TCC database is not writable. Is SIP disabled?" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -d "$client" && "${client%/}" == *.app ]]; then
|
||||
info_plist="$client/Contents/Info.plist"
|
||||
executable=$(defaults read $info_plist CFBundleExecutable)
|
||||
executable="$client/Contents/MacOS/$executable"
|
||||
client=$(defaults read $info_plist CFBundleIdentifier)
|
||||
client_type="0" # Bundle ID
|
||||
elif [[ -x "$client" ]]; then
|
||||
executable=$client
|
||||
client_type="1" # Absolute path
|
||||
else
|
||||
echo "Unknown or missing TCC client type '$client'!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local req_str=$(codesign -d -r- "$executable" 2>&1 | awk -F ' => ' '/designated/{print $2}')
|
||||
local req_hex=$(echo "$req_str" | csreq -r- -b >(xxd -p | tr -d '\n'))
|
||||
|
||||
sudo sqlite3 -echo "$tcc_database" <<EOF
|
||||
DELETE from access WHERE client = '$client' AND service = '$service';
|
||||
INSERT INTO access (service, client, client_type, auth_value, auth_reason, auth_version, csreq, flags) VALUES (
|
||||
'$service', -- service
|
||||
'$client', -- client
|
||||
$client_type, -- client_type
|
||||
2, -- auth_value (2 - allowed)
|
||||
4, -- auth_reason (4 - "System Set")
|
||||
1, -- auth_version
|
||||
X'$req_hex', -- csreq
|
||||
0 -- flags
|
||||
);
|
||||
EOF
|
||||
|
||||
if [[ "$service" == "kTCCServiceScreenCapture" ]]; then
|
||||
# macOS 15 will nag the user every month about applications
|
||||
# that are permitted to capture the screen. We don't want this
|
||||
# popup to come in the way of tests, so we manually extend
|
||||
# the permission.
|
||||
replayd_dir="$HOME/Library/Group Containers/group.com.apple.replayd"
|
||||
mkdir -p "$replayd_dir"
|
||||
approvals_file="$replayd_dir/ScreenCaptureApprovals.plist"
|
||||
if [[ ! -f $approvals_file ]]; then
|
||||
plutil -create xml1 "$approvals_file"
|
||||
fi
|
||||
key=${executable//\./\\.}
|
||||
plutil -replace "$key" -date "2100-01-01T00:00:00Z" "$approvals_file"
|
||||
fi
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2043
|
||||
for client in "${TCC_CLIENTS[@]}"; do
|
||||
# shellcheck disable=SC2043
|
||||
for service in "${SERVICES[@]}"; do
|
||||
add_permission_for_client $client $service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -24,5 +24,6 @@ set(CMAKE_CXX_COMPILER q++)
|
||||
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
|
||||
|
||||
set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntoaarch64-strip)
|
||||
set(CMAKE_AR $ENV{QNX_HOST}/usr/bin/ntoaarch64-ar)
|
||||
|
||||
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
set(CMAKE_SYSTEM_NAME QNX)
|
||||
set(CMALE_SYSTEM_PROCESSOR armv7le)
|
||||
set(CMAKE_SYSTEM_PROCESSOR armle-v7)
|
||||
|
||||
if (NOT DEFINED CMAKE_FIND_ROOT_PATH_MODE_PROGRAM)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
@@ -24,5 +24,6 @@ set(CMAKE_CXX_COMPILER q++)
|
||||
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
|
||||
|
||||
set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntoarmv7-strip)
|
||||
set(CMAKE_AR $ENV{QNX_HOST}/usr/bin/ntoarmv7-ar)
|
||||
|
||||
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
|
||||
|
||||
@@ -24,5 +24,6 @@ set(CMAKE_CXX_COMPILER q++)
|
||||
set(CMAKE_CXX_COMPILER_TARGET ${_qnx_toolchain_arch})
|
||||
|
||||
set(CMAKE_STRIP $ENV{QNX_HOST}/usr/bin/ntox86_64-strip)
|
||||
set(CMAKE_AR $ENV{QNX_HOST}/usr/bin/ntox86_64-ar)
|
||||
|
||||
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
|
||||
|
||||
50
coin/provisioning/common/shared/fix_ffmpeg_dependencies.sh
Executable file
50
coin/provisioning/common/shared/fix_ffmpeg_dependencies.sh
Executable file
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -x
|
||||
|
||||
lib_dir="$1/lib"
|
||||
additional_suffix="${2:-}"
|
||||
set_rpath="${3:-yes}"
|
||||
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
# Under Homebrew, binutils package is not symlinked into PATH.
|
||||
# This lets us use readelf provided by Homebrew.
|
||||
readelf() { "$(brew --prefix binutils)/bin/readelf" "$@"; }
|
||||
fi
|
||||
|
||||
ffmpeg_libs=("avcodec" "avdevice" "avfilter" "avformat" "avutil" "swresample" "swscale")
|
||||
|
||||
for lib_name in "${ffmpeg_libs[@]}"; do
|
||||
lib_path="$lib_dir/lib$lib_name.so"
|
||||
pkg_config_file_path="$lib_dir/pkgconfig/lib$lib_name.pc"
|
||||
|
||||
if [ ! -f "$lib_path" ]; then
|
||||
echo "FFmpeg lib $lib_path hasn't been found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$pkg_config_file_path" ]; then
|
||||
echo "FFmpeg pc file $pkg_config_file_path hasn't been found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while read -r line; do
|
||||
if [[ $line =~ .*\[(lib((ssl|crypto|va|va-x11|va-drm)(_3)?\.so(\.[0-9]+)*))\].* ]]; then
|
||||
stub_name="libQt6FFmpegStub-${BASH_REMATCH[2]}"
|
||||
if [[ ${BASH_REMATCH[4]} == "_3" ]]; then
|
||||
stub_name="${stub_name/_3/}" # Remove "_3" from stub_name
|
||||
fi
|
||||
if [[ -n "$additional_suffix" ]]; then
|
||||
stub_name="${stub_name%%.*}${additional_suffix}.${stub_name#*.}" # Add additional_suffix
|
||||
fi
|
||||
patchelf --replace-needed "${BASH_REMATCH[1]}" "${stub_name}" $lib_path
|
||||
fi
|
||||
done <<< "$(readelf -d $lib_path | grep '(NEEDED)' )"
|
||||
|
||||
sed -i.bak -E '/^Libs.private:/s/ -l(va|va-x11|va-drm|ssl|crypto)/ -lQt6FFmpegStub-\1/g;' $pkg_config_file_path && rm -f ${pkg_config_file_path}.bak
|
||||
if [[ "$set_rpath" == "yes" ]]; then
|
||||
patchelf --set-rpath '$ORIGIN' $lib_path
|
||||
fi
|
||||
done
|
||||
6
coin/provisioning/common/shared/sbom_requirements.txt
Normal file
6
coin/provisioning/common/shared/sbom_requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
# Python packages used to validate and audit Qt SBOM informaiton
|
||||
spdx-tools>=0.8.0
|
||||
ntia-conformance-checker
|
||||
sbomaudit
|
||||
sbom2doc
|
||||
reuse
|
||||
@@ -8,15 +8,15 @@ source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
|
||||
version="3.1.50"
|
||||
version="3.1.56"
|
||||
versionNode="v16.20.0"
|
||||
tarBallVersion="${version//./_}"
|
||||
if uname -a |grep -q Darwin; then
|
||||
tarBallPackage="emsdk_macos_${tarBallVersion}.tar.gz"
|
||||
sha="c12169ec8d22fc7a9ef1ba98027435bdf3b72729"
|
||||
sha="24c49db971da4fd7c68f6b71984c3d7775fdfb84"
|
||||
else
|
||||
tarBallPackage="emsdk_linux_${tarBallVersion}.tar.gz"
|
||||
sha="5d81a8f1ddcb8d74c70ba5608efd4266c857944a"
|
||||
sha="410c93bb2ab3b244190c2cb5f0ff1ce5d6ac4eb5"
|
||||
fi
|
||||
cacheUrl="https://ci-files01-hki.ci.qt.io/input/emsdk/${tarBallPackage}"
|
||||
target="/tmp/${tarBallPackage}"
|
||||
|
||||
@@ -9,9 +9,10 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
# Note! Python3 is required for Conan installation
|
||||
|
||||
os="$1"
|
||||
params="$2"
|
||||
|
||||
# Install Conan to Python user install directory (typically ~./local/)
|
||||
pip3 install conan --user
|
||||
pip3 install conan --user $params
|
||||
|
||||
SetEnvVar "CONAN_REVISIONS_ENABLED" "1"
|
||||
SetEnvVar "CONAN_V2_MODE" "1"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# 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
|
||||
|
||||
# This script will build and install FFmpeg static libs
|
||||
# This script will build and install FFmpeg shared libs
|
||||
set -ex
|
||||
os="$1"
|
||||
|
||||
@@ -11,9 +11,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
version="n7.1"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
sha1="f008a93710a7577e3f85a90f4b632cc615164712"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
@@ -30,28 +30,36 @@ build_ffmpeg_android() {
|
||||
|
||||
target_arch=$1
|
||||
target_dir=$2
|
||||
shared="${3:-no}"
|
||||
|
||||
sudo mkdir -p "$target_dir"
|
||||
|
||||
openssl_include="$OPENSSL_ANDROID_HOME_DEFAULT/include"
|
||||
openssl_libs=""
|
||||
libs_prefix=""
|
||||
if [ "$target_arch" == "x86_64" ]; then
|
||||
target_toolchain_arch="x86_64-linux-android"
|
||||
target_arch=x86_64
|
||||
target_cpu=x86-64
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86_64"
|
||||
libs_prefix="_x86_64"
|
||||
elif [ "$target_arch" == "x86" ]; then
|
||||
target_toolchain_arch="i686-linux-android"
|
||||
target_arch=x86
|
||||
target_cpu=i686
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/x86"
|
||||
libs_prefix="_x86"
|
||||
elif [ "$target_arch" == "arm64" ]; then
|
||||
target_toolchain_arch="aarch64-linux-android"
|
||||
target_arch=aarch64
|
||||
target_cpu=armv8-a
|
||||
openssl_libs="$OPENSSL_ANDROID_HOME_DEFAULT/arm64-v8a"
|
||||
libs_prefix="_arm64-v8a"
|
||||
fi
|
||||
|
||||
ln -Ffs "${openssl_libs}/libcrypto_3.so" "${openssl_libs}/libcrypto.so"
|
||||
ln -Ffs "${openssl_libs}/libssl_3.so" "${openssl_libs}/libssl.so"
|
||||
|
||||
api_version=24
|
||||
|
||||
ndk_root=$ANDROID_NDK_ROOT_DEFAULT
|
||||
@@ -71,6 +79,9 @@ build_ffmpeg_android() {
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
ffmpeg_config_options+=" --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||
if [[ "$shared" == "yes" ]]; then
|
||||
ffmpeg_config_options+=" --enable-shared --disable-static"
|
||||
fi
|
||||
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||
ffmpeg_config_options+=" --extra-cflags=-I${openssl_include} --extra-ldflags=-L${openssl_libs}"
|
||||
@@ -83,7 +94,16 @@ build_ffmpeg_android() {
|
||||
sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options --prefix="$target_dir"
|
||||
|
||||
sudo make install -j4
|
||||
|
||||
popd
|
||||
|
||||
rm -f "${openssl_libs}/libcrypto.so"
|
||||
rm -f "${openssl_libs}/libssl.so"
|
||||
|
||||
if [[ "$shared" == "yes" ]]; then
|
||||
fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
|
||||
sudo "${fix_dependencies}" "${target_dir}" "${libs_prefix}" "no"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ "$os" == "android-x86" ]; then
|
||||
@@ -103,4 +123,4 @@ elif [ "$os" == "android-arm64" ]; then
|
||||
SetEnvVar "FFMPEG_DIR_ANDROID_ARM64" "$target_dir"
|
||||
fi
|
||||
|
||||
build_ffmpeg_android "$target_arch" "$target_dir"
|
||||
build_ffmpeg_android "$target_arch" "$target_dir" "yes"
|
||||
|
||||
@@ -10,15 +10,16 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
version="n7.1"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="f008a93710a7577e3f85a90f4b632cc615164712"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
target_dir="$HOME"
|
||||
ffmpeg_source_dir="$target_dir/$ffmpeg_name"
|
||||
prefix="/usr/local/ios/ffmpeg"
|
||||
dylib_regex="^@rpath/.*\.dylib$"
|
||||
|
||||
if [ ! -d "$ffmpeg_source_dir" ];
|
||||
then
|
||||
@@ -28,49 +29,177 @@ fi
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
|
||||
build_ffmpeg_ios() {
|
||||
local target_arch=$1
|
||||
local target_platform=$1
|
||||
if [ "$target_platform" == "arm64-simulator" ]; then
|
||||
target_sdk="iphonesimulator"
|
||||
target_platform="arm64"
|
||||
minos="-mios-simulator-version-min=16.0"
|
||||
else
|
||||
target_sdk="iphoneos"
|
||||
target_platform="arm64"
|
||||
minos="-miphoneos-version-min=16.0"
|
||||
# TODO: consider non-arm simulator?
|
||||
fi
|
||||
|
||||
if [ "$target_arch" == "x86_64" ]; then
|
||||
target_sdk="iphonesimulator"
|
||||
target_arch="x86_64"
|
||||
minos="-mios-simulator-version-min=13.0"
|
||||
else
|
||||
target_sdk="iphoneos"
|
||||
target_arch="arm64"
|
||||
minos="-miphoneos-version-min=13.0"
|
||||
fi
|
||||
# Note: unlike similar install-ffmpeg scripts, not $target_platform,
|
||||
# but $1 (which can be arm64-simulator with arm64 target_platform).
|
||||
local build_dir="$ffmpeg_source_dir/build_ios/$1"
|
||||
sudo mkdir -p "$build_dir"
|
||||
pushd "$build_dir"
|
||||
|
||||
local build_dir="$ffmpeg_source_dir/build_ios/$target_arch"
|
||||
sudo mkdir -p "$build_dir"
|
||||
pushd "$build_dir"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options \
|
||||
# shellcheck disable=SC2086
|
||||
sudo "$ffmpeg_source_dir/configure" $ffmpeg_config_options \
|
||||
--sysroot="$(xcrun --sdk "$target_sdk" --show-sdk-path)" \
|
||||
--enable-cross-compile \
|
||||
--enable-optimizations \
|
||||
--prefix=$prefix \
|
||||
--arch=$target_arch \
|
||||
--cc="xcrun --sdk ${target_sdk} clang -arch $target_arch" \
|
||||
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_arch" \
|
||||
--ar="$(xcrun --sdk ${target_sdk} --find ar)" \
|
||||
--ranlib="$(xcrun --sdk ${target_sdk} --find ranlib)" \
|
||||
--strip="$(xcrun --sdk ${target_sdk} --find strip)" \
|
||||
--nm="$(xcrun --sdk ${target_sdk} --find nm)" \
|
||||
--target-os=darwin \
|
||||
--extra-cflags="$minos" \
|
||||
--extra-cxxflags="$minos" \
|
||||
--enable-cross-compile \
|
||||
--enable-swscale \
|
||||
--enable-pthreads \
|
||||
--disable-audiotoolbox
|
||||
--enable-cross-compile \
|
||||
--enable-optimizations \
|
||||
--prefix=$prefix \
|
||||
--arch=$target_platform \
|
||||
--cc="xcrun --sdk ${target_sdk} clang -arch $target_platform" \
|
||||
--cxx="xcrun --sdk ${target_sdk} clang++ -arch $target_platform" \
|
||||
--ar="$(xcrun --sdk ${target_sdk} --find ar)" \
|
||||
--ranlib="$(xcrun --sdk ${target_sdk} --find ranlib)" \
|
||||
--strip="$(xcrun --sdk ${target_sdk} --find strip)" \
|
||||
--nm="$(xcrun --sdk ${target_sdk} --find nm)" \
|
||||
--target-os=darwin \
|
||||
--extra-ldflags="$minos" \
|
||||
--enable-cross-compile \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--install-name-dir='@rpath' \
|
||||
--enable-swscale \
|
||||
--enable-pthreads \
|
||||
--disable-audiotoolbox
|
||||
|
||||
sudo make install DESTDIR="$build_dir/installed" -j
|
||||
popd
|
||||
sudo make install DESTDIR="$build_dir/installed" -j4
|
||||
popd
|
||||
}
|
||||
|
||||
build_ffmpeg_ios "x86_64"
|
||||
build_ffmpeg_ios "arm64"
|
||||
sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$ffmpeg_source_dir/build_ios/x86_64/installed" "$ffmpeg_source_dir/build_ios/arm64/installed"
|
||||
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
||||
install_ffmpeg() {
|
||||
for dir in "$@"; do
|
||||
echo "Processing files in $dir ..."
|
||||
pushd "$dir" >/dev/null
|
||||
find . -type l -name '*.*.dylib' | while read -r f; do
|
||||
dst="${f:1}"
|
||||
dstdir="$(dirname "$dst")"
|
||||
sudo mkdir -p "$dstdir"
|
||||
|
||||
if [[ ! -f "$dst" ]]; then
|
||||
echo "<Copying $dir/$f to $dst"
|
||||
sudo cp -c "$f" "$dst"
|
||||
symlinkname="$(tmp=${f/*\/}; echo ${tmp/\.*}).dylib"
|
||||
sudo ln -s "$(basename -- "$f")" $dstdir/"$symlinkname"
|
||||
elif lipo -info "$f" >/dev/null 2>&1; then
|
||||
echo "Lipoing $dir/$f into $dst"
|
||||
sudo lipo -create -output "$dst" "$dst" "$f"
|
||||
elif ! diff "$f" "$dst"; then
|
||||
echo "Error: File $f in $dir doesn't match destination $dst"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo "LS"
|
||||
popd >/dev/null
|
||||
done
|
||||
sudo cp -r $1$prefix/include $prefix
|
||||
}
|
||||
|
||||
build_info_plist() {
|
||||
local file_path="$1"
|
||||
local framework_name="$2"
|
||||
local framework_id="$3"
|
||||
|
||||
local minimum_version_key="MinimumOSVersion"
|
||||
local minimum_os_version="16.0"
|
||||
local supported_platforms="iPhoneOS"
|
||||
|
||||
info_plist="<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||
<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
|
||||
<plist version=\"1.0\">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${framework_name}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${framework_id}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${framework_name}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>7.0.2</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>7.0.2</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>${minimum_version_key}</key>
|
||||
<string>${minimum_os_version}</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>${supported_platforms}</string>
|
||||
</array>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>"
|
||||
echo $info_plist | sudo tee ${file_path} 1>/dev/null
|
||||
}
|
||||
|
||||
create_framework() {
|
||||
# Create a 'traditional' framework from the corresponding dylib.
|
||||
local framework_name="$1"
|
||||
local platform="$2" # For now it's either arm64 or arm64-simulator, see below.
|
||||
local ffmpeg_library_path="$ffmpeg_source_dir/build_ios/${platform}/installed/usr/local/ios/ffmpeg"
|
||||
local framework_complete_path="${ffmpeg_library_path}/framework/${framework_name}.framework/${framework_name}"
|
||||
|
||||
sudo mkdir -p "${ffmpeg_library_path}/framework/${framework_name}.framework"
|
||||
sudo cp "${ffmpeg_library_path}/lib/${framework_name}.dylib" "${ffmpeg_library_path}/framework/${framework_name}.framework/${framework_name}"
|
||||
|
||||
# Fix LC_ID_DYLIB (to be libavcodec.framework/libavcodec instead of @rpath/libavcodec.xx.yy.dylib
|
||||
sudo install_name_tool -id @rpath/${framework_name}.framework/${framework_name} "${framework_complete_path}"
|
||||
|
||||
build_info_plist "${ffmpeg_library_path}/framework/${framework_name}.framework/Info.plist" "${framework_name}" "io.qt.ffmpegkit."${framework_name}
|
||||
|
||||
# Fix all FFmpeg-related LC_LOAD_DYLIB, similar to how we fixed LC_ID_DYLIB above:
|
||||
otool -L "$framework_complete_path" | awk '/\t/ {print $1}' | egrep "$dylib_regex" | while read -r dependency_path; do
|
||||
found_name=$(tmp=${dependency_path/*\/}; echo ${tmp/\.*})
|
||||
if [ "$found_name" != "$framework_name" ]
|
||||
then
|
||||
sudo install_name_tool -change "$dependency_path" @rpath/${found_name}.framework/${found_name} "${framework_complete_path}"
|
||||
fi
|
||||
done
|
||||
#sudo mkdir -p "$prefix/framework/"
|
||||
#sudo cp -r "${ffmpeg_library_path}/framework/${framework_name}.framework" "$prefix/framework/"
|
||||
}
|
||||
|
||||
create_xcframework() {
|
||||
# Create 'traditional' framework from the corresponding dylib,
|
||||
# also creating
|
||||
local framework_name="$1"
|
||||
|
||||
local fw1="$ffmpeg_source_dir/build_ios/arm64/installed/usr/local/ios/ffmpeg/framework/${framework_name}.framework"
|
||||
local fw2="$ffmpeg_source_dir/build_ios/arm64-simulator/installed/usr/local/ios/ffmpeg/framework/${framework_name}.framework"
|
||||
|
||||
sudo mkdir -p "$prefix/framework/"
|
||||
sudo xcodebuild -create-xcframework -framework $fw1 -framework $fw2 -output "${prefix}/framework/${framework_name}.xcframework"
|
||||
}
|
||||
|
||||
build_ffmpeg_ios "arm64-simulator"
|
||||
build_ffmpeg_ios "arm64"
|
||||
|
||||
ffmpeg_libs="libavcodec libavdevice libavfilter libavformat libavutil libswresample libswscale"
|
||||
|
||||
for name in $ffmpeg_libs; do
|
||||
create_framework $name "arm64"
|
||||
create_framework $name "arm64-simulator"
|
||||
done
|
||||
|
||||
# Create corresponding (xc)frameworks containing both arm64 and arm64-simulator frameworks:
|
||||
for name in $ffmpeg_libs; do
|
||||
create_xcframework $name
|
||||
done
|
||||
|
||||
install_ffmpeg "$ffmpeg_source_dir/build_ios/arm64/installed"
|
||||
|
||||
SetEnvVar "FFMPEG_DIR_IOS" $prefix
|
||||
|
||||
@@ -5,15 +5,21 @@
|
||||
# This script will build and install FFmpeg static libs
|
||||
set -ex
|
||||
os="$1"
|
||||
build_type="$2"
|
||||
|
||||
if [ ! -n "$build_type" ] && [ "$build_type" != "static" ] && [ "$build_type" != "shared" ]; then
|
||||
>&2 echo "Invalid build_type: $build_type. The shared build type will be used."
|
||||
build_type="shared"
|
||||
fi
|
||||
|
||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="n6.1.1"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/$version.tar.gz"
|
||||
sha1="59e0c3c4cc48e9c60073495f8c045329bb21f446"
|
||||
version="n7.1"
|
||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||
sha1="f008a93710a7577e3f85a90f4b632cc615164712"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/ffmpeg/$version.tar.gz"
|
||||
ffmpeg_name="FFmpeg-$version"
|
||||
|
||||
@@ -27,6 +33,9 @@ then
|
||||
fi
|
||||
|
||||
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||
if [ "$build_type" != "static" ]; then
|
||||
ffmpeg_config_options+=" --enable-shared --disable-static"
|
||||
fi
|
||||
|
||||
install_ff_nvcodec_headers() {
|
||||
nv_codec_version="11.1" # use 11.1 to ensure compatibility with 470 nvidia drivers; might be upated to 12.0
|
||||
@@ -46,6 +55,35 @@ install_ff_nvcodec_headers() {
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
|
||||
}
|
||||
|
||||
fix_openssl3_pc_files() {
|
||||
# On RHEL 8, openssl3 pc files are libopenssl3.pc, libssl3.pc, libcrypto3.pc,
|
||||
# and FFmpeg cannot find them. Instead, it finds FFmpeg 1.x.x if it's installed.
|
||||
# The function fixes the files with copying them to a custom directory
|
||||
|
||||
local openssl3_pcfiledir=$(pkg-config --variable=pcfiledir openssl3)
|
||||
if [ ! -n "$openssl3_pcfiledir" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
local pcfiles=("libssl" "libcrypto" "openssl")
|
||||
|
||||
for pcfile in ${pcfiles[@]}; do
|
||||
if [ ! -f "$openssl3_pcfiledir/${pcfile}3.pc" ]; then
|
||||
echo "pkgconfig has found openssl3 but the file $openssl3_pcfiledir/${pcfile}3.pc does't exist"
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
local new_pkgconfig_dir="$ffmpeg_source_dir/openssl3_pkgconfig"
|
||||
mkdir -p $new_pkgconfig_dir
|
||||
|
||||
for pcfile in ${pcfiles[@]}; do
|
||||
sed -E '/^Requires(\.private)?:/s/ (libssl|libcrypto)3/ \1/g;' "$openssl3_pcfiledir/${pcfile}3.pc" > "$new_pkgconfig_dir/${pcfile}.pc"
|
||||
done
|
||||
|
||||
export PKG_CONFIG_PATH="$new_pkgconfig_dir:$PKG_CONFIG_PATH"
|
||||
}
|
||||
|
||||
build_ffmpeg() {
|
||||
local arch="$1"
|
||||
local prefix="$2"
|
||||
@@ -74,13 +112,22 @@ if [ "$os" == "linux" ]; then
|
||||
install_ff_nvcodec_headers
|
||||
|
||||
ffmpeg_config_options+=" --enable-openssl"
|
||||
fix_openssl3_pc_files
|
||||
echo "pkg-config openssl version: $(pkg-config --modversion openssl)"
|
||||
|
||||
build_ffmpeg
|
||||
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
|
||||
|
||||
output_dir="$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name"
|
||||
|
||||
if [ "$build_type" != "static" ]; then
|
||||
fix_dependencies="${BASH_SOURCE%/*}/../shared/fix_ffmpeg_dependencies.sh"
|
||||
"$fix_dependencies" "$output_dir"
|
||||
fi
|
||||
|
||||
sudo mv "$output_dir" "/usr/local"
|
||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||
|
||||
elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
|
||||
ffmpeg_config_options+=" --enable-shared --disable-static"
|
||||
|
||||
brew install yasm
|
||||
export MACOSX_DEPLOYMENT_TARGET=12
|
||||
fix_relative_dependencies="${BASH_SOURCE%/*}/../macos/fix_relative_dependencies.sh"
|
||||
@@ -111,3 +158,5 @@ elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
|
||||
|
||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
26
coin/provisioning/common/unix/install-patchelf.sh
Executable file
26
coin/provisioning/common/unix/install-patchelf.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
patchelf_version="0.17.2"
|
||||
|
||||
url_cached="https://ci-files01-hki.ci.qt.io/input/android/patchelf/$patchelf_version.tar.gz"
|
||||
url_public="https://github.com/NixOS/patchelf/archive/refs/tags/$patchelf_version.tar.gz"
|
||||
sha1="ddd46a2e2a16a308245c008721d877455b23bba8"
|
||||
|
||||
target_source_dir="$HOME/patchelf-$patchelf_version"
|
||||
|
||||
if [ ! -d "$target_source_dir" ]; then
|
||||
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$HOME" ""
|
||||
fi
|
||||
|
||||
pushd "$target_source_dir"
|
||||
|
||||
./bootstrap.sh
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
|
||||
popd
|
||||
@@ -20,33 +20,38 @@ PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
# shellcheck source=./common.sourced.sh
|
||||
source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
libclang_version="15.0.0"
|
||||
libclang_version="18.1.7"
|
||||
|
||||
if uname -a |grep -q Darwin; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-mac.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-mac.7z"
|
||||
sha1="6d916a17459c81551dde47580ae3f071e93338a5"
|
||||
elif test -f /etc/redhat-release && grep "Red Hat" /etc/redhat-release | grep -v "8" ; then
|
||||
sha1="9ea511576645ef4abee6d4c27550406e929334d5"
|
||||
elif test -f /etc/redhat-release && grep "Red Hat" /etc/redhat-release | grep "9" ; then
|
||||
version=$libclang_version
|
||||
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.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.4-gcc10.0-x86_64.7z"
|
||||
sha1="6ca035bb522022d34d61759e0460845832933b5c"
|
||||
elif [ "$PROVISIONING_OS_ID" = ubuntu ]; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
sha1="dd170ec762a7ec8ac84b4b5cac3a422514e5b030"
|
||||
elif [ "$PROVISIONING_OS_ID" = debian ]; then
|
||||
version=17.0.1
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
sha1="43f0210121b889107e3dab631e8104e661a3866b"
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel9.2-gcc10.0-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel9.2-gcc10.0-x86_64.7z"
|
||||
sha1="32c29d8df726b035e0a97e767c5c3e392aa331e1"
|
||||
elif test "$PROVISIONING_OS_ID" == "debian" && test "$PROVISIONING_ARCH" == "arm64" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Debian11.6-gcc10.0-arm64.7z"
|
||||
sha1="8d876f60c2fe9c55e18fbac0be2acb70bd20d5d1"
|
||||
elif test "$PROVISIONING_OS_ID" == "ubuntu" && test "$PROVISIONING_ARCH" == "arm64" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu24.04-gcc11.2-arm64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu24.04-gcc11.2-arm64.7z"
|
||||
sha1="5a7bda4fbd2c52ae66557034591d977ba617482c"
|
||||
elif test "$PROVISIONING_OS_ID" == "ubuntu" && test "$PROVISIONING_ARCH" == "x86_64" ; then
|
||||
version=$libclang_version
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu22.04-gcc11.2-x86_64.7z"
|
||||
sha1="b9f8735a148342174d7d763b5475175cd0827441"
|
||||
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"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
|
||||
sha1="bd6615012b8bdb2720a45ede56e05f6db7191843"
|
||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version}-based-linux-Rhel8.8-gcc10.0-x86_64.7z"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_${version}-based-linux-Rhel8.8-gcc10.0-x86_64.7z"
|
||||
sha1="a51c5562c9b071250e7971390d55ef21924271ca"
|
||||
fi
|
||||
|
||||
zip="/tmp/libclang.7z"
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
CommitSHA="2873885d7e840b4e06483f36f170c609eb30527d"
|
||||
CommitSHA="9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
|
||||
SHA1="1fcc4e61b12f11a1421cc8c3f379276d732e62b7"
|
||||
SHA1="c31cfd5de9329dcd25e28b306f94dccf632cc318"
|
||||
targetFolder="/opt/paho_broker"
|
||||
appPrefix="paho.mqtt.testing-$CommitSHA"
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ function installSccache {
|
||||
|
||||
sudo mkdir -p /usr/local/sccache
|
||||
sudo tar -C /usr/local/sccache -x -z --totals --strip-components=1 --file="$targetFile"
|
||||
sudo chmod +x /usr/local/sccache/sccache
|
||||
|
||||
# add sccache __before__ the real compiler
|
||||
SetEnvVar "PATH" "/usr/local/sccache:\$PATH"
|
||||
@@ -32,4 +33,7 @@ function installSccache {
|
||||
chmod 755 "$HOME/sccache_wrapper/sccache"
|
||||
SetEnvVar "PATH" "$HOME/sccache_wrapper:\$PATH"
|
||||
|
||||
# Prevents some random network I/O errors from failing compilation
|
||||
# Does not seem to affect much though
|
||||
SetEnvVar "SCCACHE_IGNORE_SERVER_IO_ERROR" "1"
|
||||
}
|
||||
|
||||
@@ -2,16 +2,17 @@
|
||||
# Copyright (C) 2020 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# shellcheck source=./DownloadURL.sh
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||
source "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
set -ex
|
||||
|
||||
# This script will fetch and extract pre-buildt squish package for Linux and Mac.
|
||||
# Squish is need by Release Test Automation (RTA)
|
||||
|
||||
version="7.2.1"
|
||||
qtBranch="66x"
|
||||
version="8.0.0"
|
||||
qtBranch="67x"
|
||||
installFolder="/opt"
|
||||
squishFolder="$installFolder/squish"
|
||||
preBuildCacheUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/jenkins_build/stable"
|
||||
@@ -22,11 +23,16 @@ licenseSHA="e84b499a2011f9bb1a6eefc7b2338d7ae770927a"
|
||||
testSuiteUrl="ci-files01-hki.ci.qt.io:/hdd/www/input/squish/coin/suite_test_squish"
|
||||
testSuiteLocal="/tmp/squish_test_suite"
|
||||
if uname -a |grep -q Darwin; then
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-mac.tar.gz"
|
||||
sha1="7467c974b65255c86b8fccaeca90e0590d4f7c96"
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-mac-x64.tar.gz"
|
||||
sha1="8ae422b44af9b8e5f0d15cdca08df99973b8699a"
|
||||
else
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux64.tar.gz"
|
||||
sha1="950a6035c777c8ce0a50a0b3ad468044d07f898b"
|
||||
if [ "$PROVISIONING_ARCH" = arm64 ] ; then
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux-arm64.tar.gz"
|
||||
sha1="06d542579271f88b1527d6ddca2bfd4eaf2dade5"
|
||||
else
|
||||
compressedFolder="prebuild-squish-$version-$qtBranch-linux-x64.tar.gz"
|
||||
sha1="db5c48f359b46a460551cdf9362c63f557cbc04f"
|
||||
fi
|
||||
fi
|
||||
|
||||
mountFolder="/tmp/squish"
|
||||
@@ -69,14 +75,6 @@ if uname -a |grep -q Darwin; then
|
||||
sudo xattr -r -c "$squishFolder"
|
||||
fi
|
||||
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
if [ ! -e "/usr/lib/tcl8.6" ]; then
|
||||
sudo mkdir /usr/lib/tcl8.6
|
||||
#this needs to be copied only to squish_for_qt65
|
||||
sudo cp "$squishFolder/squish_for_qt66/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Download Squish license"
|
||||
DownloadURL "$licenseUrl" "$licenseUrl" "$licenseSHA" "$HOME/$licenseFile"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user