mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-27 00:46:44 +08:00
Compare commits
205 Commits
v5.12.0
...
v5.13.0-al
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2471d6dab8 | ||
|
|
7bd38a4997 | ||
|
|
26ff9bdc3d | ||
|
|
9b84c7135b | ||
|
|
84aa9b73ad | ||
|
|
73f1d0f518 | ||
|
|
1830cca2bc | ||
|
|
366eaceff0 | ||
|
|
afbd9305e3 | ||
|
|
044f079158 | ||
|
|
b40d27b808 | ||
|
|
3793e0ddfc | ||
|
|
77a73f65df | ||
|
|
85eb7b7a03 | ||
|
|
47d14b365e | ||
|
|
56b801a77e | ||
|
|
390a373f28 | ||
|
|
4ddadb9aa3 | ||
|
|
3332223130 | ||
|
|
34c751db5e | ||
|
|
6d2929d1aa | ||
|
|
ea0825abe8 | ||
|
|
e425b8b65f | ||
|
|
209d09d530 | ||
|
|
332ec62ead | ||
|
|
c1f3a886ed | ||
|
|
4cc4daa28e | ||
|
|
6930998900 | ||
|
|
8b634155a9 | ||
|
|
3b5c100040 | ||
|
|
89e0159bbc | ||
|
|
affeefbbe6 | ||
|
|
cfa7877afe | ||
|
|
56c43a03cd | ||
|
|
0b18f12f99 | ||
|
|
7028ee3184 | ||
|
|
463a873edd | ||
|
|
ff12741299 | ||
|
|
f4b482d844 | ||
|
|
6f297420bb | ||
|
|
ca52fc7e29 | ||
|
|
19a9abeac6 | ||
|
|
6b64780b61 | ||
|
|
421eb7551b | ||
|
|
f7b6a4c276 | ||
|
|
fe79ca444b | ||
|
|
f30e44e9ff | ||
|
|
6e4aed08e1 | ||
|
|
677c4d62c5 | ||
|
|
69b079c38e | ||
|
|
f103df4826 | ||
|
|
72d0cfc6dc | ||
|
|
7324ace490 | ||
|
|
07063160ae | ||
|
|
2657a96f0e | ||
|
|
e28da040ee | ||
|
|
b78812f84e | ||
|
|
8e7b85af99 | ||
|
|
c231323b74 | ||
|
|
20b96704ee | ||
|
|
2306cb69c8 | ||
|
|
38e2fc6b80 | ||
|
|
da65a37041 | ||
|
|
b6283a31c8 | ||
|
|
2dd72ec5a6 | ||
|
|
55a990322b | ||
|
|
0a6d32bdd8 | ||
|
|
f95cd8d3f1 | ||
|
|
72182d1333 | ||
|
|
a1ace2e097 | ||
|
|
4d785fc3db | ||
|
|
88a777b242 | ||
|
|
c245638131 | ||
|
|
0e82de327b | ||
|
|
d732383e6b | ||
|
|
db99f0563d | ||
|
|
eee805a6f1 | ||
|
|
cbdd122e18 | ||
|
|
2a7ea7c53d | ||
|
|
deacc72f73 | ||
|
|
65586dfb40 | ||
|
|
43b493d223 | ||
|
|
a51b2dbf25 | ||
|
|
7bee789af3 | ||
|
|
e21401751a | ||
|
|
bc12bb763f | ||
|
|
a1cd361579 | ||
|
|
57e432e0da | ||
|
|
b093af0207 | ||
|
|
959d9bdb67 | ||
|
|
a695130478 | ||
|
|
477fc6a73f | ||
|
|
ce3791a214 | ||
|
|
37eb5a63b7 | ||
|
|
bb0a12e410 | ||
|
|
e49086eb0d | ||
|
|
785042ea87 | ||
|
|
c6b7e8d8a8 | ||
|
|
d15a5b8841 | ||
|
|
e8e76d256b | ||
|
|
2d30a2442c | ||
|
|
5a1c876ec7 | ||
|
|
4de6c12b17 | ||
|
|
22e5bda9a9 | ||
|
|
d9a869707e | ||
|
|
1af77cdacf | ||
|
|
6ea6c85f06 | ||
|
|
1deea3debc | ||
|
|
76b9b7dbd3 | ||
|
|
7eff84a7e5 | ||
|
|
a55b732053 | ||
|
|
4f4361e9fd | ||
|
|
3ae624cd6e | ||
|
|
8437deb219 | ||
|
|
5c4d85a9b9 | ||
|
|
0c839f87fb | ||
|
|
2a4eafbc77 | ||
|
|
a9a4b97c70 | ||
|
|
50b85b0d38 | ||
|
|
0b488e88e7 | ||
|
|
579d0ff553 | ||
|
|
ac63ffa071 | ||
|
|
3094200a9f | ||
|
|
5b1848c02a | ||
|
|
fbf22546be | ||
|
|
fb83a49c30 | ||
|
|
72b60b23f3 | ||
|
|
7156b83710 | ||
|
|
c89d9ed357 | ||
|
|
161c7e79ac | ||
|
|
caf4c58941 | ||
|
|
d649cc3740 | ||
|
|
c17352fc12 | ||
|
|
4d15cea11a | ||
|
|
f335f71d02 | ||
|
|
3debc56a2d | ||
|
|
1248a6787d | ||
|
|
1bd6aab208 | ||
|
|
471fa009d9 | ||
|
|
7974f26b20 | ||
|
|
a4fc60b21c | ||
|
|
5a040ca46a | ||
|
|
de05c3d5e8 | ||
|
|
abe69c34bb | ||
|
|
599370a6c4 | ||
|
|
3bb63c22c4 | ||
|
|
7e67d0e558 | ||
|
|
9dc75c3a3d | ||
|
|
b082d7d544 | ||
|
|
195799f36c | ||
|
|
4eda836c8c | ||
|
|
37eeb598cc | ||
|
|
1f07276692 | ||
|
|
ea76ace825 | ||
|
|
a76e315034 | ||
|
|
1af3c19fc8 | ||
|
|
e6e78d4e36 | ||
|
|
7ea65aec65 | ||
|
|
26cece9f93 | ||
|
|
6d23debda8 | ||
|
|
96a07386fb | ||
|
|
ab7b56afe6 | ||
|
|
4480ed8ab8 | ||
|
|
4a8b97d020 | ||
|
|
16c6fa419a | ||
|
|
bb1f484318 | ||
|
|
0345ab91fb | ||
|
|
2863cdc7aa | ||
|
|
9597af1ae4 | ||
|
|
ad4b13b71c | ||
|
|
d30c0366db | ||
|
|
6a650748d3 | ||
|
|
e05e24aa18 | ||
|
|
f06e9ff32b | ||
|
|
9bfa486dd0 | ||
|
|
f0f31335e9 | ||
|
|
4e8b5bae5b | ||
|
|
cc5b03d6ca | ||
|
|
0e4743cabf | ||
|
|
5e3511c0c6 | ||
|
|
1ce244fec0 | ||
|
|
04b1fb9adc | ||
|
|
a0d9b4605e | ||
|
|
a03ecaa7fd | ||
|
|
e4b9ccbbde | ||
|
|
291aa4d366 | ||
|
|
01c2cf3d8c | ||
|
|
967d28eed2 | ||
|
|
31d989af00 | ||
|
|
6dfe5c31f2 | ||
|
|
1cfe79db61 | ||
|
|
384ca26700 | ||
|
|
fd4e4cceff | ||
|
|
a54910a07e | ||
|
|
8c1b4757fd | ||
|
|
a90fb8f83a | ||
|
|
ee9dd0d860 | ||
|
|
0be0d5a10c | ||
|
|
5024bd5725 | ||
|
|
90e3bb68e6 | ||
|
|
f767b01159 | ||
|
|
aab459709f | ||
|
|
a11917306e | ||
|
|
7e43cc3c7c | ||
|
|
5c1c629796 |
@@ -13,7 +13,7 @@
|
||||
# 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.
|
||||
#Fixes:
|
||||
#Fixes:
|
||||
#Task-number:
|
||||
#Coverity-Id:
|
||||
#
|
||||
|
||||
91
.gitmodules
vendored
91
.gitmodules
vendored
@@ -1,60 +1,60 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtsvg
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtscript"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = deprecated
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -62,7 +62,7 @@
|
||||
recommends = qtmultimedia qtquickcontrols qtquickcontrols2
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -83,14 +83,14 @@
|
||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -123,185 +123,192 @@
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtimageformats qtgamepad
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtquickcontrols"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtgraphicaleffects
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtserialport
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtx11extras"]
|
||||
depends = qtbase
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtmacextras"]
|
||||
depends = qtbase
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtwinextras"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtandroidextras"]
|
||||
depends = qtbase
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtquickcontrols qtquickcontrols2 qtlocation qtwebchannel qttools
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
depends = qtdeclarative
|
||||
path = qtcanvas3d
|
||||
url = ../qtcanvas3d.git
|
||||
branch = 5.12.0
|
||||
status = addon
|
||||
branch = dev
|
||||
status = ignore
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtquickcontrols2"]
|
||||
depends = qtgraphicaleffects
|
||||
recommends = qtimageformats
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = essential
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtpurchasing
|
||||
url = ../qtpurchasing.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia qtquickcontrols
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgamepad
|
||||
url = ../qtgamepad.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
recommends = qtdeclarative
|
||||
path = qtwebglplugin
|
||||
url = ../qtwebglplugin.git
|
||||
branch = 5.12.0
|
||||
branch = 5.13
|
||||
status = addon
|
||||
[submodule "qtlottie"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 5.13
|
||||
status = preview
|
||||
|
||||
@@ -41,7 +41,7 @@ BraceWrapping:
|
||||
AfterFunction: true
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterStruct: true
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
|
||||
@@ -7,14 +7,14 @@ qtci-windows-10-x86_64-10 MSVC2015
|
||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples
|
||||
qtci-linux-Ubuntu-18.04-x86_64 GCC NoWidgets ForceDebugInfo
|
||||
qtci-linux-Ubuntu-18.04-x86_64 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
||||
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests SystemSQLite
|
||||
qtci-linux-openSUSE-15.0-x86_64 GCC DeveloperBuild NoPch
|
||||
qtci-linux-openSUSE-15.0-x86_64 ICC_18 DeveloperBuild NoPch DisableTests SystemSQLite
|
||||
qtci-linux-openSUSE-15.0-x86_64 WebAssembly GCC Packaging DeveloperBuild NoPch DisableTests
|
||||
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker ForceDebugInfo SeparateDebugInfo
|
||||
qtci-macos-10.13-x86_64-2 Clang Packaging DebugAndRelease Release
|
||||
qtci-macos-10.12-x86_64-8 Clang DeveloperBuild NoFramework Release QtNamespace NoPch
|
||||
qtci-macos-10.12-x86_64-9 Clang DeveloperBuild NoFramework Release QtNamespace NoPch
|
||||
qtci-macos-10.13-x86_64-2 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
||||
qtci-macos-10.13-x86_64-2 TvOS_ANY multi Clang DebugAndRelease DisableTests
|
||||
qtci-macos-10.13-x86_64-2 WatchOS_ANY multi Clang DebugAndRelease DisableTests
|
||||
@@ -22,6 +22,7 @@ qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 Clang
|
||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY arm64 Clang Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU armv7 GCC Release
|
||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU arm64 GCC Release
|
||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU mips64 GCC Release DisableTests
|
||||
qtci-linux-Ubuntu-18.04-x86_64 GCC TestOnly LicenseCheck
|
||||
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
|
||||
@@ -8,9 +8,9 @@ qtci-windows-10-x86_64-10 Mingw73
|
||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Clang Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
qtci-windows-7-x86-3 Android_ANY armv7 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-7-x86-3 Android_ANY arm64 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-7-x86-3 Android_ANY x86 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-10-x86_64-10 Android_ANY armv7 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-10-x86_64-10 Android_ANY arm64 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-windows-10-x86_64-10 Android_ANY x86 Mingw73 Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-macos-10.13-x86_64-2 Android_ANY armv7 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-macos-10.13-x86_64-2 Android_ANY arm64 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||
qtci-macos-10.13-x86_64-2 Android_ANY x86 Clang Clang Packaging Release DisableTests OpenGLES2
|
||||
|
||||
@@ -3,5 +3,5 @@ Template Target OS Target arch Compiler Fe
|
||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU armv7 GCC DeveloperBuild DisableTests
|
||||
qtci-linux-Ubuntu-18.04-x86_64 QEMU arm64 GCC DeveloperBuild DisableTests
|
||||
qtci-windows-10-x86_64-10 WinRT_10 x86_64 MSVC2015 DeveloperBuild Static Release ForceDebugInfo
|
||||
qtci-linux-openSUSE-42.3-x86_64 WebAssembly GCC DeveloperBuild NoPch DisableTests
|
||||
qtci-linux-openSUSE-15.0-x86_64 WebAssembly GCC DeveloperBuild NoPch DisableTests
|
||||
|
||||
|
||||
3
coin/platform_configs/qtconnectivity.txt
Normal file
3
coin/platform_configs/qtconnectivity.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-windows-10-x86_64-10 WinRT_10 x86_64 MSVC2015 DeveloperBuild Static Release ForceDebugInfo
|
||||
4
coin/platform_configs/qtsdk.txt
Normal file
4
coin/platform_configs/qtsdk.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-windows-10-x86-3 MSVC2017 Release ForceDebugInfo OpenGLDynamic
|
||||
qtci-linux-RHEL-6.6-x86_64 GCC Release ForceDebugInfo
|
||||
4
coin/platform_configs/tqtc-qtsaferenderer.txt
Normal file
4
coin/platform_configs/tqtc-qtsaferenderer.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Template Target OS Target arch Compiler Features
|
||||
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||
@@ -54,7 +54,7 @@ toolsFile="sdk-tools-linux-4333796.zip"
|
||||
ndkVersion="r18b"
|
||||
ndkFile="android-ndk-$ndkVersion-linux-x86_64.zip"
|
||||
sdkBuildToolsVersion="28.0.3"
|
||||
sdkApiLevel="android-21"
|
||||
sdkApiLevel="android-28"
|
||||
|
||||
toolsSha1="8c7c28554a32318461802c1291d76fccfafde054"
|
||||
ndkSha1="500679655da3a86aecf67007e8ab230ea9b4dd7b"
|
||||
@@ -80,14 +80,14 @@ else
|
||||
sudo chown -R qt:users "$targetFolder"
|
||||
fi
|
||||
|
||||
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||
# shellcheck disable=SC2031
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
proxy_host=$(echo "$proxy" | cut -d'/' -f3 | cut -d':' -f1)
|
||||
proxy_port=$(echo "$proxy" | cut -d':' -f3)
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
else
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
fi
|
||||
|
||||
echo "Checking the contents of Android SDK..."
|
||||
|
||||
4
coin/provisioning/common/linux/disable-notifications.sh
Executable file
4
coin/provisioning/common/linux/disable-notifications.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo gsettings set org.gnome.desktop.notifications.application:/update-manager/ enable false
|
||||
sudo gsettings set org.gnome.desktop.notifications show-banners false
|
||||
@@ -39,6 +39,8 @@ echo "Disable Network Time Protocol (NTP)"
|
||||
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
sudo timedatectl set-ntp false
|
||||
elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
|
||||
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)
|
||||
else
|
||||
(systemctl &>/dev/null && sudo systemctl disable ntpd) || sudo /sbin/chkconfig ntpd off
|
||||
fi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -48,5 +48,8 @@ sudo docker info
|
||||
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
|
||||
# Install Avahi to discover Docker containers in the test network
|
||||
sudo apt-get install avahi-daemon -y
|
||||
|
||||
# Start testserver provisioning
|
||||
source "${BASH_SOURCE%/*}/testserver/docker_testserver.sh"
|
||||
source "${BASH_SOURCE%/*}/docker_testserver.sh"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -35,24 +35,28 @@
|
||||
|
||||
set -ex
|
||||
|
||||
case ${BASH_SOURCE[0]} in
|
||||
*/linux/*) SERVER_PATH="${BASH_SOURCE[0]%/linux/*}/shared/testserver" ;;
|
||||
*/*) SERVER_PATH="${BASH_SOURCE[0]%/*}/../shared/testserver" ;;
|
||||
*) SERVER_PATH="../shared/testserver" ;;
|
||||
esac
|
||||
|
||||
# testserver shared scripts
|
||||
source "$SERVER_PATH/testserver_util.sh"
|
||||
|
||||
# Using SHA-1 of each server context as the tag of docker images. A tag labels a
|
||||
# specific image version. It is used by docker compose file (docker-compose.yml)
|
||||
# to launch the corresponding docker containers. If one of the server contexts
|
||||
# (./apache2, ./danted, ...) gets changes, all the related compose files in
|
||||
# qtbase should be updated as well.
|
||||
#
|
||||
# For example, here's how to get the SHA-1 of apache test server.
|
||||
# find ./apache2 -type f -print0 | sort -z | xargs -r0 sha1sum | \
|
||||
# awk '{ print $1 }' | sha1sum | awk '{ print $1 }'
|
||||
|
||||
testserver='apache2 squid vsftpd ftp-proxy danted'
|
||||
source "$SERVER_PATH/settings.sh"
|
||||
|
||||
for server in $testserver
|
||||
do
|
||||
context="${BASH_SOURCE%/*}/$server"
|
||||
sha1=$(find $context -type f -print0 | sort -z | xargs -r0 sha1sum | awk '{ print $1 }' | \
|
||||
sha1sum | awk '{ print $1 }')
|
||||
sudo docker build -t qt-test-server-$server:$sha1 $context
|
||||
context="$SERVER_PATH/$server"
|
||||
# Sort files by their SHA-1 and use the accumulated result as the TAG
|
||||
sudo docker build -t qt-test-server-$server:$(sha1tree $context) $context
|
||||
done
|
||||
|
||||
sudo docker images
|
||||
3
coin/provisioning/common/linux/remove-apport.sh
Executable file
3
coin/provisioning/common/linux/remove-apport.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo apt-get purge apport -y
|
||||
3
coin/provisioning/common/linux/remove-update_notifier.sh
Executable file
3
coin/provisioning/common/linux/remove-update_notifier.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo apt -q -y remove update-notifier update-manager
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,23 +33,28 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Install required packages with APT
|
||||
# This script installs Squish Coco
|
||||
|
||||
set -ex
|
||||
|
||||
echo "Disabling auto update"
|
||||
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
|
||||
for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
|
||||
sudo systemctl stop $service
|
||||
sudo systemctl disable $service
|
||||
done
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
installPackages+=(git)
|
||||
installPackages+=(p7zip-full)
|
||||
installPackages+=(expect)
|
||||
|
||||
echo "Running update for apt"
|
||||
sudo apt-get update
|
||||
echo "Installing packages"
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
||||
version="4.2.2"
|
||||
sha1="a44f0f039f3712c715eea63c4021d08bf17a44c6"
|
||||
package="SquishCocoSetup_${version}_Linux_x86_64.run"
|
||||
url="http://ci-files01-hki.intra.qt.io/input/coco//$package"
|
||||
|
||||
echo "Enable license for Coco"
|
||||
|
||||
DownloadURL "$url" "$url" "$sha1" "/tmp/$package"
|
||||
sudo chmod 755 "/tmp/$package"
|
||||
echo 1 | sudo "/tmp/$package" "--nox11"
|
||||
|
||||
/opt/SquishCoco/bin/cocolic --license-server=Qt-SRV-33.intra.qt.io:49344
|
||||
|
||||
echo "export PATH=/opt/SquishCoco/bin/:$PATH" >> ~/.bashrc
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
FROM ubuntu:16.04
|
||||
RUN apt-get update && apt-get install -y apache2 libcgi-session-perl wget avahi-daemon
|
||||
EXPOSE 80 443
|
||||
|
||||
# install configurations and test data
|
||||
RUN wget https://tools.ietf.org/rfc/rfc3252.txt
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM ubuntu:16.04
|
||||
RUN apt-get update && apt-get install -y ftp-proxy=1.9.2.4-10 avahi-daemon
|
||||
EXPOSE 2121
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM ubuntu:16.04
|
||||
RUN apt-get update && apt-get install -y squid=3.5.12-1ubuntu7.5 avahi-daemon
|
||||
EXPOSE 3128-3130
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,27 +33,31 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script modifies system settings for automated use
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
# Download and install the Docker Toolbox for macOS (Docker Compose and Docker Machine).
|
||||
url="https://download.docker.com/mac/stable/DockerToolbox.pkg"
|
||||
target_file="DockerToolbox.pkg"
|
||||
|
||||
NTS_IP=10.212.2.216
|
||||
if [ -x "$(command -v sha1sum)" ]
|
||||
then
|
||||
# This part shall be used in CI environment only. The DownloadURL script needs sha1sum
|
||||
# which is not included in the default macOS system. In addition, the cached pkg can't
|
||||
# be downloaded out of the Qt internal network.
|
||||
case ${BASH_SOURCE[0]} in
|
||||
*/macos/*) UNIX_PATH="${BASH_SOURCE[0]%/macos/*}/unix" ;;
|
||||
*/*) UNIX_PATH="${BASH_SOURCE[0]%/*}/../unix" ;;
|
||||
*) UNIX_PATH="../unix" ;;
|
||||
esac
|
||||
|
||||
echo "Set timezone to UTC."
|
||||
sudo timedatectl set-timezone Etc/UTC
|
||||
echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable questions on shutdown."
|
||||
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
|
||||
|
||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
|
||||
if [ "$proxy" != "" ]; then
|
||||
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
||||
source "$UNIX_PATH/DownloadURL.sh"
|
||||
url_cached="http://ci-files01-hki.intra.qt.io/input/windows/DockerToolbox.pkg"
|
||||
sha1="7196d2d30648d486978d29adb5837ff7876517c1"
|
||||
DownloadURL $url_cached $url $sha1 $target_file
|
||||
else
|
||||
curl $url -o $target_file
|
||||
fi
|
||||
sudo installer -pkg $target_file -target /
|
||||
|
||||
# Start testserver provisioning
|
||||
source "${BASH_SOURCE%/*}/docker_testserver.sh"
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,32 +33,39 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script modifies system settings for automated use
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
case ${BASH_SOURCE[0]} in
|
||||
*/macos/*) SERVER_PATH="${BASH_SOURCE[0]%/macos/*}/shared/testserver" ;;
|
||||
*/*) SERVER_PATH="${BASH_SOURCE[0]%/*}/../shared/testserver" ;;
|
||||
*) SERVER_PATH="../shared/testserver" ;;
|
||||
esac
|
||||
|
||||
NTS_IP=10.212.2.216
|
||||
# testserver shared scripts
|
||||
source "$SERVER_PATH/testserver_util.sh"
|
||||
|
||||
echo "Set timezone to UTC."
|
||||
sudo timedatectl set-timezone Etc/UTC
|
||||
echo "Timeout for blanking the screen (0 = never)"
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
echo "Prevents screen lock when screesaver goes active."
|
||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||
echo "Disable questions on shutdown."
|
||||
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true
|
||||
echo "Set grub timeout to 0"
|
||||
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
sudo update-grub
|
||||
# Nested virtualization - Print CPU features to verify that CI has enabled VT-X/AMD-v support
|
||||
cpu_features=$(sysctl -a | grep machdep.cpu.features)
|
||||
case $cpu_features in
|
||||
*VMX*) ;;
|
||||
*) echo "VMX not found error! Please make sure Coin has enabled VT-X/AMD-v." >&2; exit 1 ;;
|
||||
esac
|
||||
|
||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
# Create docker virtual machine (Boot2docker)
|
||||
source "$SERVER_PATH/docker_machine.sh"
|
||||
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
||||
fi
|
||||
# Using SHA-1 of each server context as the tag of docker images. A tag labels a
|
||||
# specific image version. It is used by docker compose file (docker-compose.yml)
|
||||
# to launch the corresponding docker containers. If one of the server contexts
|
||||
# (./apache2, ./danted, ...) gets changes, all the related compose files in
|
||||
# qtbase should be updated as well.
|
||||
|
||||
# This won't be needed for Ubuntu 17 and above, see QTBUG-67757.
|
||||
sudo sed -i '/-UnityDecoration-extents/c\ -UnityDecoration-extents: 0 0 0 0;' /usr/share/themes/Ambiance/gtk-3.0/apps/unity.css
|
||||
source "$SERVER_PATH/settings.sh"
|
||||
|
||||
for server in $testserver
|
||||
do
|
||||
context="$SERVER_PATH/$server"
|
||||
docker build -t qt-test-server-$server:$(sha1tree $context) $context
|
||||
done
|
||||
|
||||
docker images
|
||||
81
coin/provisioning/common/macos/install_openssl.sh
Executable file
81
coin/provisioning/common/macos/install_openssl.sh
Executable file
@@ -0,0 +1,81 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script install OpenSSL
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
opensslVersion="1.0.2p"
|
||||
opensslFile="openssl-$opensslVersion.tar.gz"
|
||||
opensslDlUrl="http://ci-files01-hki.intra.qt.io/input/openssl/$opensslFile"
|
||||
opensslAltDlUrl="https://www.openssl.org/source/$opensslFile"
|
||||
opensslSha1="f34b5322e92415755c7d58bf5d0d5cf37666382c"
|
||||
|
||||
# Below target location has been hard coded into Coin.
|
||||
# QTQAINFRA-1195
|
||||
openssl_install_dir=/usr/local/openssl-$opensslVersion
|
||||
opensslTargetLocation="/usr/local/opt/openssl"
|
||||
|
||||
InstallFromCompressedFileFromURL "$opensslDlUrl" "$opensslAltDlUrl" "$opensslSha1" "/tmp/openssl-$opensslVersion" "openssl-$opensslVersion"
|
||||
cd "/tmp/openssl-$opensslVersion"
|
||||
pwd
|
||||
sudo ./config --prefix=$openssl_install_dir
|
||||
echo "Running 'make' for OpenSSL"
|
||||
sudo make --silent > /tmp/openssl_make.log 2>&1
|
||||
echo "Running 'make install' for OpenSSL"
|
||||
sudo make --silent install > /tmp/openssl_make_install.log 2>&1
|
||||
|
||||
path=$(echo "$opensslTargetLocation" | sed -E 's/(.*)\/.*$/\1/')
|
||||
sudo mkdir -p "$path"
|
||||
sudo ln -s $openssl_install_dir $opensslTargetLocation
|
||||
|
||||
SetEnvVar "PATH" "\"$opensslTargetLocation/bin:\$PATH\""
|
||||
SetEnvVar "MANPATH" "\"$opensslTargetLocation/share/man:\$MANPATH\""
|
||||
|
||||
SetEnvVar "OPENSSL_DIR" "\"$openssl_install_dir\""
|
||||
SetEnvVar "OPENSSL_INCLUDE" "\"$openssl_install_dir/include\""
|
||||
SetEnvVar "OPENSSL_LIB" "\"$openssl_install_dir/lib\""
|
||||
|
||||
security find-certificate -a -p /Library/Keychains/System.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem
|
||||
security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem
|
||||
|
||||
sudo rm -rf /tmp/openssl-$opensslVersion
|
||||
|
||||
echo "OpenSSL = $opensslVersion" >> ~/versions.txt
|
||||
54
coin/provisioning/common/macos/libiodbc.sh
Executable file
54
coin/provisioning/common/macos/libiodbc.sh
Executable file
@@ -0,0 +1,54 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Install libiodbc
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
brew update
|
||||
brew install libiodbc
|
||||
|
||||
# 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}"
|
||||
|
||||
echo "libiodbc = $version" >> ~/versions.txt
|
||||
@@ -0,0 +1,7 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="apache2 libcgi-session-perl wget avahi-daemon"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 80 443
|
||||
|
||||
# install configurations and test data
|
||||
RUN wget https://tools.ietf.org/rfc/rfc3252.txt
|
||||
@@ -1,5 +1,6 @@
|
||||
FROM ubuntu:16.04
|
||||
RUN apt-get update && apt-get install -y gdebi-core=0.9.5.7ubuntu1 wget avahi-daemon
|
||||
ARG packages="gdebi-core wget avahi-daemon"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
RUN wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb
|
||||
RUN gdebi -n dante-server_1.4.1-1_amd64.deb
|
||||
EXPOSE 1080-1081
|
||||
50
coin/provisioning/common/shared/testserver/docker_machine.sh
Executable file
50
coin/provisioning/common/shared/testserver/docker_machine.sh
Executable file
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
|
||||
TestMachine='qt-test-server'
|
||||
|
||||
# Deploy docker virtual machine (Boot2Docker) into VirtualBox only if it doesn't exist
|
||||
if [ -z $(docker-machine ls -q --filter "name=$TestMachine") ]
|
||||
then
|
||||
docker-machine create -d virtualbox $TestMachine
|
||||
docker-machine ip $TestMachine
|
||||
fi
|
||||
|
||||
# Switch the docker engine to $TestMachine
|
||||
eval $(docker-machine env $TestMachine)
|
||||
|
||||
docker-machine ls
|
||||
@@ -0,0 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="ftp-proxy avahi-daemon"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 2121
|
||||
7
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/40-android_linux.sh → coin/provisioning/common/shared/testserver/settings.sh
Executable file → Normal file
7
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/40-android_linux.sh → coin/provisioning/common/shared/testserver/settings.sh
Executable file → Normal file
@@ -1,8 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -35,4 +33,5 @@
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
|
||||
# A list of test servers to be provisioned
|
||||
testserver='apache2 squid vsftpd ftp-proxy danted'
|
||||
@@ -0,0 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="squid avahi-daemon"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 3128-3130
|
||||
14
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/50-open62541.sh → coin/provisioning/common/shared/testserver/testserver_util.sh
Executable file → Normal file
14
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/50-open62541.sh → coin/provisioning/common/shared/testserver/testserver_util.sh
Executable file → Normal file
@@ -1,8 +1,6 @@
|
||||
#!/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,5 +31,11 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# shellcheck source=../common/linux/open62541.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/open62541.sh"
|
||||
set -ex
|
||||
|
||||
# Sort files by their SHA-1, and then return the accumulated result
|
||||
sha1tree () {
|
||||
find "$@" -type f -print0 | \
|
||||
xargs -0 shasum | cut -d ' ' -f 1 | \
|
||||
sort | shasum | cut -d ' ' -f 1
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
FROM ubuntu:16.04
|
||||
RUN apt-get update && apt-get install -y vsftpd=3.0.3-3ubuntu2 ftp=0.17-33 wget avahi-daemon
|
||||
ARG packages="vsftpd ftp wget avahi-daemon"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 20-21
|
||||
|
||||
# install configurations and test data
|
||||
@@ -40,6 +40,8 @@
|
||||
# If called directly from another script, it will exit the parent script
|
||||
# as well, if not called in its own subshell with parentheses.
|
||||
|
||||
set -ex
|
||||
|
||||
function DownloadURL {
|
||||
url=$1
|
||||
url_alt=$2
|
||||
@@ -47,11 +49,11 @@ function DownloadURL {
|
||||
targetFile=$4
|
||||
|
||||
echo "Downloading from primary URL '$url'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || (
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || {
|
||||
echo "Failed to download '$url' multiple times"
|
||||
echo "Downloading from alternative URL '$url_alt'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt"
|
||||
)
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt" || { echo 'Failed to download even from alternative url'; exit 1; }
|
||||
}
|
||||
|
||||
echo "Checking SHA1 on PKG '$targetFile'"
|
||||
echo "$expectedSha1 *$targetFile" > "$targetFile.sha1"
|
||||
|
||||
@@ -37,4 +37,4 @@ set -ex
|
||||
# shellcheck source=../shared/http_proxy.txt
|
||||
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
||||
|
||||
(wget -q -e "http_proxy=$proxy" --spider proxy.intra.qt.io && echo "Setting http_proxy to $proxy" && export http_proxy=$proxy) || echo "Proxy not detected at $proxy"
|
||||
{ wget -q -e "http_proxy=$proxy" --spider proxy.intra.qt.io && echo "Setting http_proxy to $proxy" && export http_proxy=$proxy; } || echo "Proxy not detected at $proxy"
|
||||
|
||||
81
coin/provisioning/common/unix/install-breakpad.sh
Executable file
81
coin/provisioning/common/unix/install-breakpad.sh
Executable file
@@ -0,0 +1,81 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
############################################################################
|
||||
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
set -ex
|
||||
|
||||
breakpad_commit_sha="b988fa74ec18de6214b18f723e48331d9a7802ae"
|
||||
breakpad_tar="breakpad_$breakpad_commit_sha.tar.gz"
|
||||
breakpad_tar_url="http://ci-files01-hki.intra.qt.io/input/breakpad/$breakpad_tar"
|
||||
breakpad_tar_sha="a2d404d2aebc947cdac5840a9bccd65dfafae24c"
|
||||
|
||||
linux_syscall_support_commit_sha1="93426bda6535943ff1525d0460aab5cc0870ccaf"
|
||||
linux_syscall_support_tar="linux-syscall-support_$linux_syscall_support_commit_sha1.tar.gz"
|
||||
linux_syscall_support_tar_url="http://ci-files01-hki.intra.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
|
||||
linux_syscall_support_tar_sha="62565be0920f3661e138d68026b79fbbdc2a11e4"
|
||||
|
||||
targetBreakpad="/tmp/$breakpad_tar"
|
||||
targetSyscall="/tmp/$linux_syscall_support_tar"
|
||||
installFolder="$HOME"
|
||||
breakpadHome="$HOME/breakpad"
|
||||
|
||||
# shellcheck disable=SC2015
|
||||
( DownloadURL "$breakpad_tar_url" "$breakpad_tar_url" "$breakpad_tar_sha" "$targetBreakpad" ) && (
|
||||
DownloadURL "$linux_syscall_support_tar_url" "$linux_syscall_support_tar_url" "$linux_syscall_support_tar_sha" "$targetSyscall"
|
||||
) && (
|
||||
tar -xzf "$targetBreakpad" -C "$installFolder"
|
||||
tar -xzf "$targetSyscall" -C "/tmp"
|
||||
mv "/tmp/linux-syscall-support/" "$breakpadHome/src/third_party/lss/"
|
||||
rm -rf $targetBreakpad
|
||||
rm -rf $targetSyscall
|
||||
) || (
|
||||
cd "$HOME"
|
||||
git clone https://chromium.googlesource.com/breakpad/breakpad "$breakpadHome"
|
||||
git clone https://chromium.googlesource.com/linux-syscall-support "$breakpadHome/src/third_party/lss"
|
||||
cd "$breakpadHome"
|
||||
git checkout "$breakpad_commit_sha"
|
||||
cd "$breakpadHome/src/third_party/lss"
|
||||
git checkout "$linux_syscall_support_commit_sha1"
|
||||
)
|
||||
|
||||
|
||||
SetEnvVar "BREAKPAD_SOURCE_DIR" "$breakpadHome/src"
|
||||
|
||||
echo "breakpad = $breakpad_commit_sha" >> ~/versions.txt
|
||||
echo "linux_syscall_support = $linux_syscall_support_commit_sha1" >> ~/versions.txt
|
||||
@@ -40,7 +40,7 @@ source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
CommitSHA="20bad2475c27a6e1d24a56d90a9fceb40963261e"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
|
||||
SHA1="a0ac88715c2aebb9573a113dc13925a90da19233"
|
||||
targetFolder="/opt/paho_broker"
|
||||
|
||||
@@ -122,7 +122,7 @@ function MountAndInstall {
|
||||
sudo cp $targetFileMount /tmp
|
||||
UnMount
|
||||
sudo hdiutil attach "/tmp/$targetFile"
|
||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory"
|
||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||
mountFolder="/Volumes/froglogic Squish"
|
||||
UnMount
|
||||
elif [[ $targetFile == *.run ]]; then
|
||||
|
||||
@@ -53,9 +53,9 @@ Rename-Item C:\Utils\openssl-$version $destination
|
||||
Remove-Item -Path $zip
|
||||
Remove-Item C:\Utils\openssl-$version.tar
|
||||
|
||||
Set-EnvironmentVariable "CC" "C:\utils\Android\android-ndk-r18b\toolchains\llvm\prebuilt\windows\bin\clang"
|
||||
Set-EnvironmentVariable "AR" "C:\utils\Android\android-ndk-r18b\toolchains\llvm\prebuilt\windows\bin\llvm-ar"
|
||||
Set-EnvironmentVariable "ANDROID_DEV" "C:\utils\Android\android-ndk-r18b\platforms\android-21\arch-arm\usr"
|
||||
# Set-EnvironmentVariable "CC" "C:\utils\Android\android-ndk-r18b\toolchains\llvm\prebuilt\windows\bin\clang"
|
||||
# Set-EnvironmentVariable "ANDROID_AR" "C:\utils\Android\android-ndk-r18b\toolchains\llvm\prebuilt\windows\bin\llvm-ar"
|
||||
# Set-EnvironmentVariable "ANDROID_DEV" "C:\utils\Android\android-ndk-r18b\platforms\android-21\arch-arm\usr"
|
||||
|
||||
# Make sure configure for openssl has a "make" and "perl" available
|
||||
$env:PATH = $env:PATH + ";C:\msys\1.0\bin;C:\strawberry\perl\bin"
|
||||
|
||||
@@ -51,7 +51,7 @@ $ndkZip = "c:\Windows\Temp\android_ndk_$ndkVersion.zip"
|
||||
$toolsVersion = "26.1.1"
|
||||
$toolsFile = "sdk-tools-windows-4333796.zip"
|
||||
$sdkApi = "ANDROID_API_VERSION"
|
||||
$sdkApiLevel = "android-21"
|
||||
$sdkApiLevel = "android-28"
|
||||
$sdkBuildToolsVersion = "28.0.3"
|
||||
$toolsCachedUrl= "\\ci-files01-hki.intra.qt.io\provisioning\android\$toolsFile"
|
||||
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
|
||||
@@ -85,7 +85,7 @@ if (IsProxyEnabled) {
|
||||
# Remove "http://" from the beginning
|
||||
$proxy = $proxy.Remove(0,7)
|
||||
$proxyhost,$proxyport = $proxy.split(':')
|
||||
$sdkmanager_args = "--no_https --proxy=http --proxy_host=`"$proxyhost`" --proxy_port=`"$proxyport`" "
|
||||
$sdkmanager_args = "--no_https", "--proxy=http", "--proxy_host=`"$proxyhost`"", "--proxy_port=`"$proxyport`""
|
||||
}
|
||||
|
||||
New-Item -ItemType Directory -Force -Path C:\Utils\Android\licenses
|
||||
@@ -95,9 +95,10 @@ Out-File -FilePath C:\Utils\Android\licenses\android-sdk-license -Encoding utf8
|
||||
# Get a PATH where Java's path is defined from previous provisioning
|
||||
[Environment]::SetEnvironmentVariable("PATH", [Environment]::GetEnvironmentVariable("PATH", "Machine"), "Process")
|
||||
|
||||
$sdkmanager_args += " platforms;$sdkApiLevel tools platform-tools build-tools;$sdkBuildToolsVersion"
|
||||
Run-Executable "$toolsFolder\bin\sdkmanager.bat" "$sdkmanager_args"
|
||||
cd $toolsFolder\bin\
|
||||
$sdkmanager_args += "platforms;$sdkApiLevel", "platform-tools", "build-tools;$sdkBuildToolsVersion"
|
||||
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat @sdkmanager_args'
|
||||
iex $command
|
||||
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat --licenses'
|
||||
iex $command
|
||||
cmd /c "dir C:\Utils\android"
|
||||
|
||||
6
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/60-qnx660.sh → coin/provisioning/common/windows/disable-defragment.ps1
Executable file → Normal file
6
coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/60-qnx660.sh → coin/provisioning/common/windows/disable-defragment.ps1
Executable file → Normal file
@@ -1,5 +1,3 @@
|
||||
#!/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
@@ -33,6 +31,4 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/qnx_660.sh"
|
||||
schtasks /Delete /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /F
|
||||
@@ -27,13 +27,36 @@ function Run-Executable
|
||||
$p = Start-Process -FilePath "$Executable" -Wait -PassThru
|
||||
} else {
|
||||
Write-Host "Running `"$Executable`" with arguments `"$Arguments`""
|
||||
$p = Start-Process -FilePath "$Executable" -ArgumentList $Arguments -Wait -PassThru
|
||||
$p = Start-Process -FilePath "$Executable" -ArgumentList $Arguments -PassThru
|
||||
Wait-Process -InputObject $p
|
||||
}
|
||||
if ($p.ExitCode -ne 0) {
|
||||
throw "Process $($Executable) exited with exit code $($p.ExitCode)"
|
||||
}
|
||||
}
|
||||
|
||||
function Extract-tar_gz
|
||||
{
|
||||
Param (
|
||||
[string]$Source,
|
||||
[string]$Destination
|
||||
)
|
||||
Write-Host "Extracting '$Source' to '$Destination'..."
|
||||
|
||||
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
||||
$zipExe = join-path (${env:ProgramFiles(x86)}, ${env:ProgramFiles}, ${env:ProgramW6432} -ne $null)[0] '7-zip\7z.exe'
|
||||
if (-not (test-path $zipExe)) {
|
||||
$zipExe = "C:\Utils\sevenzip\7z.exe"
|
||||
if (-not (test-path $zipExe)) {
|
||||
throw "Could not find 7-zip."
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$zipExe = "7z.exe"
|
||||
}
|
||||
Run-Executable "cmd.exe" "/C $zipExe x -y `"$Source`" -so | $zipExe x -y -aoa -si -ttar `"-o$Destination`""
|
||||
}
|
||||
|
||||
function Extract-7Zip
|
||||
{
|
||||
Param (
|
||||
|
||||
94
coin/provisioning/common/windows/install-breakpad.ps1
Normal file
94
coin/provisioning/common/windows/install-breakpad.ps1
Normal file
@@ -0,0 +1,94 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
############################################################################
|
||||
|
||||
# This script install breakpad from sources.
|
||||
# for manual install.. remember to checkout correct version
|
||||
# git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||
# git clone https://chromium.googlesource.com/linux-syscall-support breakpad/src/third_party/lss
|
||||
|
||||
# Commit used to make this zip breakpad_20181113.tar.gz
|
||||
# breakpad
|
||||
# commit 66571f4838b2306161f072555cb199049bc68142 (HEAD -> master, origin/master, origin/HEAD)
|
||||
# linux-syscall-support
|
||||
# commit 93426bda6535943ff1525d0460aab5cc0870ccaf (HEAD -> master, origin/master, origin/HEAD)
|
||||
|
||||
# This script installs breakpad.
|
||||
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
|
||||
$breakpad_commit_sha="b988fa74ec18de6214b18f723e48331d9a7802ae"
|
||||
$breakpad_tar="breakpad_$breakpad_commit_sha.tar.gz"
|
||||
$breakpad_tar_url="http://ci-files01-hki.intra.qt.io/input/breakpad/$breakpad_tar"
|
||||
$breakpad_tar_sha="a2d404d2aebc947cdac5840a9bccd65dfafae24c"
|
||||
|
||||
$linux_syscall_support_commit_sha1="93426bda6535943ff1525d0460aab5cc0870ccaf"
|
||||
$linux_syscall_support_tar="linux-syscall-support_$linux_syscall_support_commit_sha1.tar.gz"
|
||||
$linux_syscall_support_tar_url="http://ci-files01-hki.intra.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
|
||||
$linux_syscall_support_tar_sha="62565be0920f3661e138d68026b79fbbdc2a11e4"
|
||||
|
||||
$targetBreakpad="$env:tmp\$breakpad_tar"
|
||||
$targetSyscall="$env:tmp\$linux_syscall_support_tar"
|
||||
$installFolder = "C:\Utils"
|
||||
|
||||
# breakpad
|
||||
try {
|
||||
Download $breakpad_tar_url $breakpad_tar_url $targetBreakpad
|
||||
Verify-Checksum $targetBreakpad $breakpad_tar_sha
|
||||
Extract-tar_gz $targetBreakpad $installFolder
|
||||
Remove-Item -Path $targetBreakpad
|
||||
# linux-syscall-support
|
||||
Download $linux_syscall_support_tar_url $linux_syscall_support_tar_url $targetSyscall
|
||||
Verify-Checksum $targetSyscall $linux_syscall_support_tar_sha
|
||||
Extract-tar_gz $targetSyscall "$env:tmp\"
|
||||
New-Item -ItemType directory -Path "$installFolder\breakpad\third_party\lss"
|
||||
Get-ChildItem -Path "$env:tmp\linux-syscall-support\*" -Recurse | Move-Item -Destination "$installFolder\breakpad\third_party\lss"
|
||||
Remove-Item -Path $targetSyscall
|
||||
}
|
||||
catch {
|
||||
Write-Host "Cached download failed: Attempping fallback method eg git."
|
||||
Set-Location $installFolder
|
||||
git.exe clone "https://chromium.googlesource.com/breakpad/breakpad"
|
||||
git.exe clone "https://chromium.googlesource.com/linux-syscall-support breakpad\third_party\ssl"
|
||||
Set-Location "breakpad"
|
||||
git checkout $breakpad_commit_sha
|
||||
Set-Location "src/third_party/lss"
|
||||
git checkout $linux_syscall_support_commit_sha1
|
||||
}
|
||||
|
||||
Set-EnvironmentVariable "BREAKPAD_SOURCE_DIR" "$installFolder\breakpad\src"
|
||||
|
||||
# Write HEAD commit sha to versions txt, so build can be repeated at later date
|
||||
Write-Output "breakpad = $breakpad_commit_sha" >> ~/versions.txt
|
||||
Write-Output "linux-syscall-support = $linux_syscall_support_tar" >> ~/versions.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -51,6 +51,8 @@ Download $url_official $url_cache $gitPackage
|
||||
Verify-Checksum $gitPackage $sha1
|
||||
Write-Host "Installing Git $version..."
|
||||
Run-Executable "$gitPackage" "/SILENT /COMPONENTS=`"icons,ext\reg\shellhere,assoc,assoc_sh`""
|
||||
Remove-Item -Path $gitPackage
|
||||
Write-Host "Adding SSH and SCP to environment variables for RTA"
|
||||
Set-EnvironmentVariable "SSH" "C:\Program Files\Git\usr\bin\ssh.exe"
|
||||
Set-EnvironmentVariable "SCP" "C:\Program Files\Git\usr\bin\scp.exe"
|
||||
|
||||
Write-Output "Git = $version" >> ~\versions.txt
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
$version = "1_1_2"
|
||||
$zip = Get-DownloadLocation "jom_$version.zip"
|
||||
|
||||
Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.ci.local/input/windows/jom_$version.zip $zip
|
||||
Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.intra.qt.io/input/windows/jom_$version.zip $zip
|
||||
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
||||
Extract-7Zip $zip C:\Utils\Jom
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ $zip = Get-DownloadLocation "pahotest.zip"
|
||||
$commitSHA = "20bad2475c27a6e1d24a56d90a9fceb40963261e"
|
||||
$sha1 = "a0ac88715c2aebb9573a113dc13925a90da19233"
|
||||
|
||||
$internalUrl = "http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
|
||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
|
||||
$externalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/$commitSHA.zip"
|
||||
|
||||
Download $externalUrl $internalUrl $zip
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
. "$PSScriptRoot\..\common\windows\helpers.ps1"
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script will install msys which is needed for configuring openssl for Android
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,27 +33,58 @@
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$zip = Get-DownloadLocation "uasdkcpp.zip"
|
||||
$sha1 = "e1927dbd5d8bb459b468fa70a70b1de51a4ce022"
|
||||
$installLocation = "C:\Utils\uacpp"
|
||||
function DownloadAndInstallUA
|
||||
{
|
||||
Param (
|
||||
[string] $InstallerFileName = $(BadParam("no download URL specified")),
|
||||
[string] $sha1 = $(BadParam("No SHA1 for download specified")),
|
||||
[string] $Destination = $(BadParam("No location to install specified"))
|
||||
)
|
||||
Write-Host "UACPPSDK: DownloadAndInstallUA $InstallerFileName"
|
||||
$zip = Get-DownloadLocation "uasdkcpp.zip"
|
||||
|
||||
Write-Host "UACPPSDK: Downloading Unified Automation CPP installer..."
|
||||
$internalUrl = "http://ci-files01-hki.ci.local/input/opcua_uacpp/uasdkcppbundle-bin-EVAL-win32-x86-vs2015-v1.5.6-361.zip"
|
||||
# No public download link exists
|
||||
$externalUrl = $internalUrl
|
||||
Write-Host "UACPPSDK: Downloading Unified Automation CPP installer..."
|
||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/opcua_uacpp/$InstallerFileName.zip"
|
||||
# No public download link exists
|
||||
$externalUrl = $internalUrl
|
||||
|
||||
Download $externalUrl $internalUrl $zip
|
||||
Verify-Checksum $zip $sha1
|
||||
Download $externalUrl $internalUrl $zip
|
||||
Verify-Checksum $zip $sha1
|
||||
|
||||
Write-Host "UACPPSDK: Installing $zip..."
|
||||
Extract-7Zip $zip (Get-DefaultDownloadLocation)
|
||||
Remove-Item -Path $zip
|
||||
Write-Host "UACPPSDK: Extracting $zip..."
|
||||
Extract-7Zip $zip (Get-DefaultDownloadLocation)
|
||||
Remove-Item -Path $zip
|
||||
|
||||
$executable = (Get-DefaultDownloadLocation) + "uasdkcppbundle-bin-EVAL-win32-x86-vs2015-v1.5.6-361.exe"
|
||||
$arguments = "/S /D=$installLocation"
|
||||
Run-Executable $executable $arguments
|
||||
Write-Host "UACPPSDK: Installer done."
|
||||
Remove-Item $executable
|
||||
$executable = (Get-DefaultDownloadLocation) + "$InstallerFileName.exe"
|
||||
# We cannot call the installer as the x86 and x64 versions of the installer are not
|
||||
# allowed to be installed in parallel (they check for the same registry value and
|
||||
# delete each other). Extracting does not have a side-effect for Qt
|
||||
#$arguments = "/S /D=$installLocation"
|
||||
#Run-Executable $executable $arguments
|
||||
#Write-Host "UACPPSDK: Installer done."
|
||||
#Remove-Item $executable
|
||||
|
||||
Write-Host "Set environment variable for COIN to locate SDK"
|
||||
Set-EnvironmentVariable "CI_UACPP_msvc2015_x86_PREFIX" "$installLocation"
|
||||
Extract-7Zip $executable $Destination
|
||||
Remove-Item $executable
|
||||
}
|
||||
|
||||
#x86 version
|
||||
$installerName86 = "uasdkcppbundle-bin-EVAL-win32-x86-vs2015-v1.6.3-406"
|
||||
$downloadSha86 = "C73278B4C10DF0E3D60ABAA159ABA9185095124C"
|
||||
$installLocation86 = "C:\Utils\uacpp_x86"
|
||||
|
||||
DownloadAndInstallUA $installerName86 $downloadSha86 $installLocation86
|
||||
Set-EnvironmentVariable "CI_UACPP_msvc2015_x86_PREFIX" "$installLocation86"
|
||||
# For UA msvc2015 is binary compatible with msvc2017
|
||||
Set-EnvironmentVariable "CI_UACPP_msvc2017_x86_PREFIX" "$installLocation86"
|
||||
|
||||
|
||||
#x64 version
|
||||
$installerName64 = "uasdkcppbundle-bin-EVAL-win64-x86_64-vs2015-v1.6.3-406"
|
||||
$downloadSha64 = "1384e6882644f9163e9840aee962cdb9ca3398c8"
|
||||
$installLocation64 = "C:\Utils\uacpp_x64"
|
||||
|
||||
DownloadAndInstallUA $installerName64 $downloadSha64 $installLocation64
|
||||
Set-EnvironmentVariable "CI_UACPP_msvc2015_x64_PREFIX" "$installLocation64"
|
||||
# For UA msvc2015 is binary compatible with msvc2017
|
||||
Set-EnvironmentVariable "CI_UACPP_msvc2017_x64_PREFIX" "$installLocation64"
|
||||
|
||||
@@ -1,265 +0,0 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
Param (
|
||||
[string]$targetCommand= ""
|
||||
)
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
## Variables for builds
|
||||
$commitSHA = "215651ab8db94e5eacdd10ec26a5a9fb96b9301f"
|
||||
$sha1 = "8d899f986071525be73e1ee8565b28ea10536d7d"
|
||||
$extractTarget = "C:\open62541_build"
|
||||
|
||||
function CreateArchive
|
||||
{
|
||||
param(
|
||||
[string]$sourceDirectory=$(throw("You must specify a directory")),
|
||||
[string]$archiveName=$(throw("You must specify an archive name"))
|
||||
)
|
||||
|
||||
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
||||
$zipExe = join-path (${env:ProgramFiles(x86)}, ${env:ProgramFiles}, ${env:ProgramW6432} -ne $null)[0] '7-zip\7z.exe'
|
||||
if (-not (test-path $zipExe)) {
|
||||
$zipExe = "C:\Utils\sevenzip\7z.exe"
|
||||
if (-not (test-path $zipExe)) {
|
||||
throw "Could not find 7-zip."
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$zipExe = "7z.exe"
|
||||
}
|
||||
|
||||
Run-Executable $zipExe "a -y `"$archiveName`" `"$sourceDirectory`""
|
||||
}
|
||||
|
||||
function PrepareRepository
|
||||
{
|
||||
$username = $env:USERNAME
|
||||
$zip = "c:\users\$username\downloads\open62541.zip"
|
||||
|
||||
$externalUrl = "https://github.com/open62541/open62541/archive/$commitSHA.zip"
|
||||
$internalUrl = "http://ci-files01-hki.ci.local/input/open62541/$commitSHA.zip"
|
||||
|
||||
Download $externalUrl $internalUrl $zip
|
||||
Verify-Checksum $zip $sha1
|
||||
|
||||
Extract-7Zip $zip $extractTarget
|
||||
}
|
||||
|
||||
function PushDevEnvironment
|
||||
{
|
||||
# Provisioning updates the registry entries for PATH etc. However, they are not
|
||||
# propagated to the next provisioning script and hence need to be manually
|
||||
# read / set.
|
||||
$adaptedPath = $env:PATH
|
||||
$jomLocation = [Environment]::GetEnvironmentVariable("CI_JOM_PATH", "Machine")
|
||||
$adaptedPath = $adaptedPath + ";" + $jomLocation
|
||||
$adaptedPath = $adaptedPath + ";" + "C:\Python27"
|
||||
$adaptedPath = $adaptedPath + ";" + "C:\CMake\bin"
|
||||
[Environment]::SetEnvironmentVariable("PATH", $adaptedPath, "Process")
|
||||
}
|
||||
|
||||
function MSVCEnvironment
|
||||
{
|
||||
Param (
|
||||
[string]$msvcDir=$(throw("No VS Directory specified")),
|
||||
[string]$msvcbat=$(throw("No vsvars batch file specified"))
|
||||
)
|
||||
|
||||
Push-Location $msvcDir
|
||||
cmd /c "$msvcbat&set" |
|
||||
foreach {
|
||||
if ($_ -match "=") {
|
||||
$v = $_.split("="); Set-Item -force -path "ENV:\$($v[0])" -value "$($v[1])"
|
||||
}
|
||||
}
|
||||
Pop-Location
|
||||
}
|
||||
|
||||
function BuildAndInstallOpen62541
|
||||
{
|
||||
Param (
|
||||
[string]$Type=$(throw("You must specify the dev type [mingw530, mingw630, mingw730, msvc2015, msvc2017]")),
|
||||
[string]$Platform=$(throw("You must specify the target platform [x86, x64]")),
|
||||
[string]$MakeCommand=$(throw("You must specify a make command [mingw32-make, nmake]"))
|
||||
)
|
||||
Write-Host "### Open62541: Supposed to build with: $Type $Platform $MakeCommand"
|
||||
|
||||
## Make Build directory
|
||||
$buildDir = "$extractTarget\open62541-$commitSHA\build" + "_" + $Type + "_" + $Platform
|
||||
if (Test-Path $buildDir) {
|
||||
Write-Host " Deleting pre-existing build directory"
|
||||
Remove-Item $buildDir -Force -Recurse
|
||||
}
|
||||
New-Item -ItemType Directory -Force -Path $buildDir
|
||||
Push-Location $buildDir
|
||||
|
||||
## Invoke Cmake
|
||||
$makeGenerator = "NMake Makefiles JOM"
|
||||
$installTarget = "C:\Utils\open62541" + "_" + $Type + "_" + $Platform
|
||||
if (Test-Path $installTarget) {
|
||||
Write-Host " Deleting pre-existing install directory"
|
||||
Remove-Item $installTarget -Force -Recurse
|
||||
}
|
||||
|
||||
if ($Type.StartsWith("mingw")) {
|
||||
$makeGenerator = "MinGW Makefiles"
|
||||
}
|
||||
cmake -G "$makeGenerator" -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DCMAKE_INSTALL_PREFIX:PATH=$installTarget -DLIB_INSTALL_DIR:PATH=$installTarget/lib ..
|
||||
|
||||
## Call build command
|
||||
Write-Host "### Open62541: Compilation ###"
|
||||
Run-Executable $MakeCommand
|
||||
|
||||
## call install command
|
||||
Write-Host "### Open62541: Installation ###"
|
||||
Run-Executable $MakeCommand install
|
||||
|
||||
$platformVariable = "CI_OPEN62541_" + $Type + "_" + $Platform + "_PREFIX"
|
||||
Set-EnvironmentVariable $platformVariable $installTarget
|
||||
|
||||
## Packaging
|
||||
Push-Location "C:\Utils"
|
||||
$archiveName = "open62541_" + $Type + "_" + $Platform + ".7z"
|
||||
CreateArchive $installTarget $archiveName
|
||||
Pop-Location
|
||||
|
||||
## cleanup build directory
|
||||
Write-Host "### Open62541: Cleanup ###"
|
||||
Pop-Location
|
||||
Remove-Item $buildDir -Force -Recurse
|
||||
}
|
||||
|
||||
function DownloadAndInstall
|
||||
{
|
||||
Param (
|
||||
[string]$Type=$(throw("You must specify the dev type [mingw530, mingw630, mingw730, msvc2015, msvc2017]")),
|
||||
[string]$Platform=$(throw("You must specify the target platform [x86, x64]"))
|
||||
)
|
||||
$baseLocation = "http://ci-files01-hki.intra.qt.io/input/open62541/"
|
||||
$targetName = "open62541_" + $Type + "_" + $Platform
|
||||
$archiveName = $targetName + ".7z"
|
||||
$downloadUrl = $baseLocation + $archiveName
|
||||
|
||||
# Download
|
||||
$downloadTarget = "C:\Utils\" + $archiveName
|
||||
Download $downloadUrl $downloadUrl $downloadTarget
|
||||
|
||||
# Extract
|
||||
Push-Location C:\Utils
|
||||
Extract-7Zip $downloadTarget C:\Utils
|
||||
Pop-Location
|
||||
|
||||
# Set environment variable
|
||||
$platformVariable = "CI_OPEN62541_" + $Type + "_" + $Platform
|
||||
$platformPath = "C:\Utils\" + $targetName
|
||||
Set-EnvironmentVariable $platformVariable $platformPath
|
||||
}
|
||||
|
||||
##############################
|
||||
# Startup #
|
||||
##############################
|
||||
if ($targetCommand.StartsWith("mingw")) {
|
||||
Write-Host "### Creating Open62541 for MinGW"
|
||||
$mingwPath = [Environment]::GetEnvironmentVariable($targetCommand, "Machine")
|
||||
if (!$mingwPath) {
|
||||
throw("Could not find mingw")
|
||||
}
|
||||
|
||||
# Strawberry has its own gcc, put mingw in front
|
||||
$adaptedPath = $mingwPath + "\bin;" + [Environment]::GetEnvironmentVariable("PATH", "Machine")
|
||||
[Environment]::SetEnvironmentVariable("PATH", $adaptedPath, "Process")
|
||||
|
||||
PushDevEnvironment
|
||||
BuildAndInstallOpen62541 $targetCommand x86 "mingw32-make"
|
||||
} elseif ($targetCommand -eq "msvc2015_x86") {
|
||||
Write-Host "### Creating Open62541 for MSVC2015 x86"
|
||||
MSVCEnvironment "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC" "vcvarsall.bat x86"
|
||||
PushDevEnvironment
|
||||
BuildAndInstallOpen62541 msvc2015 x86 jom
|
||||
} elseif ($targetCommand -eq "msvc2015_x64") {
|
||||
Write-Host "### Creating Open62541 for MSVC2015 x64"
|
||||
MSVCEnvironment "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC" "vcvarsall.bat amd64"
|
||||
PushDevEnvironment
|
||||
BuildAndInstallOpen62541 msvc2015 x64 jom
|
||||
} elseif ($targetCommand -eq "msvc2017_x86") {
|
||||
Write-Host "### Creating Open62541 for MSVC2017 x86"
|
||||
MSVCEnvironment "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build" vcvars32.bat
|
||||
PushDevEnvironment
|
||||
BuildAndInstallOpen62541 msvc2017 x86 jom
|
||||
} elseif ($targetCommand -eq "msvc2017_x64") {
|
||||
Write-Host "### Creating Open62541 for MSVC2017 x64"
|
||||
MSVCEnvironment "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build" vcvars64.bat
|
||||
PushDevEnvironment
|
||||
BuildAndInstallOpen62541 msvc2017 x64 jom
|
||||
} elseif ($targetCommand -eq "prepare") {
|
||||
PrepareRepository
|
||||
} elseif ($targetCommand -eq "build") {
|
||||
Write-Host "### Building for all supported platforms"
|
||||
PrepareRepository
|
||||
Write-Host "### Invoking MinGW530 build"
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand mingw530
|
||||
Write-Host "### Invoking MinGW630 build"
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand mingw630
|
||||
Write-Host "### Invoking MinGW730 build"
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand mingw730
|
||||
Write-Host "### Invoking MSVC2015 build"
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand msvc2015_x86
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand msvc2015_x64
|
||||
Write-Host "### Invoking MSVC2017 build"
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand msvc2017_x86
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand msvc2017_x64
|
||||
Write-Host "### Archives have been generated at C:/Utils. Please upload manually"
|
||||
} elseif ($targetCommand -eq "packaged") {
|
||||
Write-Host "### Expecting pre-built packages, download and install from archives"
|
||||
Write-Host "### MinGW530 x64"
|
||||
DownloadAndInstall mingw530 x86
|
||||
Write-Host "### MinGW630 x64"
|
||||
DownloadAndInstall mingw630 x86
|
||||
Write-Host "### MinGW730 x64"
|
||||
DownloadAndInstall mingw730 x64
|
||||
Write-Host "### MSVC2015 x86"
|
||||
DownloadAndInstall msvc2015 x86
|
||||
Write-Host "### MSVC2015 x64"
|
||||
DownloadAndInstall msvc2015 x64
|
||||
Write-Host "### MSVC2017 x64"
|
||||
DownloadAndInstall msvc2017 x64
|
||||
} elseif ($targetCommand) {
|
||||
Write-Host "### Unknown parameter specified:" $targetCommand " Options are: mingw, msvc2015_x(86/64), msvc2017_x(86/64)"
|
||||
throw("Unknown parameter")
|
||||
} else {
|
||||
# Default behavior
|
||||
PowerShell -ExecutionPolicy Bypass -File "$PSScriptRoot\open62541.ps1" -targetCommand build
|
||||
}
|
||||
48
coin/provisioning/common/windows/squish-coco.ps1
Normal file
48
coin/provisioning/common/windows/squish-coco.ps1
Normal file
@@ -0,0 +1,48 @@
|
||||
#############################################################################
|
||||
#
|
||||
# Copyright (C) 2018 The Qt Company Ltd.
|
||||
# Contact: http://www.qt.io/licensing/
|
||||
#
|
||||
# This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
#
|
||||
# $QT_BEGIN_LICENSE:LGPL21$
|
||||
# Commercial License Usage
|
||||
# Licensees holding valid commercial Qt licenses may use this file in
|
||||
# accordance with the commercial license agreement provided with the
|
||||
# Software or, alternatively, in accordance with the terms contained in
|
||||
# a written agreement between you and The Qt Company. For licensing terms
|
||||
# and conditions see http://www.qt.io/terms-conditions. For further
|
||||
# information use the contact form at http://www.qt.io/contact-us.
|
||||
#
|
||||
# GNU Lesser General Public License Usage
|
||||
# Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
# General Public License version 2.1 or version 3 as published by the Free
|
||||
# Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
# LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
# following information to ensure the GNU Lesser General Public License
|
||||
# requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
#
|
||||
# As a special exception, The Qt Company gives you certain additional
|
||||
# rights. These rights are described in The Qt Company LGPL Exception
|
||||
# version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
#
|
||||
# $QT_END_LICENSE$
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# This script installs Squish Coco for RTA
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
|
||||
$coco_version="4.2.2"
|
||||
$url="http://ci-files01-hki.intra.qt.io/input/coco/SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
|
||||
$sha1="d6f9f3c20df086ec9a7e13a068f4446442ae5d51"
|
||||
$installer="C:\Windows\Temp\SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
|
||||
|
||||
Download $url $url $installer
|
||||
Verify-Checksum $installer $sha1
|
||||
Run-Executable $installer "/S"
|
||||
Run-Executable "C:\Program Files\squishcoco\cocolic.exe" "--license-server=Qt-SRV-33.intra.qt.io:49344"
|
||||
Remove-Item -Force -Path $installer
|
||||
@@ -38,6 +38,11 @@ $dcs = (Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\
|
||||
$dcs[8] = $_ -band 0xF7
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name DefaultConnectionSettings -Value $dcs
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 0
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride
|
||||
|
||||
if(Get-ItemProperty -ErrorAction SilentlyContinue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer){
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer
|
||||
|
||||
}
|
||||
if(Get-ItemProperty -ErrorAction SilentlyContinue -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride){
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
# This script will install Vulkan SDK
|
||||
|
||||
$version = "1.0.51.0"
|
||||
$url_cache = "\\ci-files01-hki.ci.local\provisioning\windows\VulkanSDK-" +$version+ "-Installer.exe"
|
||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VulkanSDK-" +$version+ "-Installer.exe"
|
||||
$vulkanPackage = "C:\Windows\Temp\vulkan-installer-$version.exe"
|
||||
|
||||
Copy-Item $url_cache $vulkanPackage
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
# This script will install Windows 10 SDK
|
||||
|
||||
$url_cache = "\\ci-files01-hki.ci.local\provisioning\windows\winsdksetup.exe"
|
||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winsdksetup.exe"
|
||||
$url_official = "https://download.microsoft.com/download/8/C/3/8C37C5CE-C6B9-4CC8-8B5F-149A9C976035/windowssdk/winsdksetup.exe"
|
||||
$package = "C:\Windows\Temp\winsdksetup.exe"
|
||||
$sha1 = "db237323f1779fb143e7cdc558e4345e7004489e"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,4 +33,11 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/open62541.sh"
|
||||
set -ex
|
||||
|
||||
# refresh local certificates
|
||||
sudo subscription-manager refresh
|
||||
|
||||
# Attach available subscriptions to system. This is needed when subscriptions are renewed.
|
||||
sudo subscription-manager attach --auto
|
||||
|
||||
46
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-systemsetup.sh
Executable file
46
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-systemsetup.sh
Executable file
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
|
||||
# shellcheck disable=SC2031
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
echo "proxy=$proxy" | sudo tee -a /etc/yum.conf
|
||||
fi
|
||||
|
||||
sudo yum update -y nss curl
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/disable-ntp_linux.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
|
||||
49
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/03-install-rhel-epel.sh
Executable file
49
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/03-install-rhel-epel.sh
Executable file
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
|
||||
package="epel-release-6-8.noarch.rpm"
|
||||
primaryUrl="https://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/e/$package"
|
||||
cacheUrl="http://ci-files01-hki.intra.qt.io/input/rhel6/$package"
|
||||
sha1="2b2767a5ae0de30b9c7b840f2e34f5dd9deaf19a"
|
||||
targetFile="/tmp/$package"
|
||||
|
||||
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
||||
|
||||
sudo rpm -ivh "$targetFile"
|
||||
rm "$targetFile"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -35,4 +35,12 @@
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/qnx_700.sh"
|
||||
installPackages=()
|
||||
|
||||
# For Jenkins
|
||||
installPackages+=(java-1.8.0-openjdk-devel)
|
||||
# For Qt Creator
|
||||
installPackages+=(openssl-devel)
|
||||
|
||||
sudo yum -y install "${installPackages[@]}"
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# provides: fix for possible bug in the subscription manager
|
||||
# version: provided by RedHat
|
||||
# needed for yum to work properly in case there is incorrect data in
|
||||
# the sslclientkey repository parameter value
|
||||
|
||||
set -ex
|
||||
|
||||
sudo rm -f /etc/pki/entitlement/*
|
||||
sudo subscription-manager refresh
|
||||
8
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/06-odbc.sh
Executable file
8
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/06-odbc.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# provides: odbc devel packages on RHEL
|
||||
# version: provided by default Linux distribution repository
|
||||
# needed for configure -plugin-sql-odbc in qtbase
|
||||
|
||||
set -ex
|
||||
|
||||
sudo yum install -y unixODBC-devel
|
||||
51
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/08-pythondev.sh
Executable file
51
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/08-pythondev.sh
Executable file
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# provides: python development libraries
|
||||
# version: provided by default Linux distribution repository
|
||||
# needed to build pyside
|
||||
|
||||
set -ex
|
||||
|
||||
sudo yum install -y python-devel python-virtualenv
|
||||
|
||||
# install python3
|
||||
sudo yum install -y python34-devel
|
||||
|
||||
# install pip3
|
||||
wget https://bootstrap.pypa.io/get-pip.py
|
||||
sudo python3 get-pip.py
|
||||
sudo rm -f get-pip.py
|
||||
sudo pip3 install virtualenv
|
||||
4
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/09-cmake.sh
Executable file
4
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/09-cmake.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
"$(dirname "$0")/../common/linux/cmake_linux.sh"
|
||||
6
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/20-libusb.sh
Executable file
6
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/20-libusb.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Required for tqtc-boot2qt/qdb
|
||||
|
||||
set -ex
|
||||
|
||||
sudo yum install -y libusb1-devel
|
||||
@@ -5,7 +5,7 @@
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
## This file is part of the test suite of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
@@ -33,4 +33,5 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# shellcheck source=../common/unix/mqtt_broker.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
||||
@@ -1,11 +1,11 @@
|
||||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2016 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
## This file is part of the test suite of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
@@ -33,41 +33,42 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set +e
|
||||
|
||||
# shellcheck disable=SC1090
|
||||
|
||||
# We need to source to be able to use cmake in the shell
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
source ~/.profile
|
||||
else
|
||||
source ~/.bashrc
|
||||
fi
|
||||
# This script installs the right ICU version
|
||||
|
||||
set -ex
|
||||
icuVersion="56.1"
|
||||
icuLocation="/usr/lib64"
|
||||
sha1="f2eab775c04ce5f3bdae6c47d06b62158b5d6753"
|
||||
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
function Install7ZPackageFromURL {
|
||||
url=$1
|
||||
expectedSha1=$2
|
||||
targetDirectory=$3
|
||||
|
||||
TEMPDIR=$(mktemp --directory) || echo "Failed to create temporary directory"
|
||||
targetFile=$(mktemp)
|
||||
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url"
|
||||
echo "$expectedSha1 $targetFile" | sha1sum --check
|
||||
sudo /usr/local/bin/7z x -yo"$targetDirectory" "$targetFile"
|
||||
rm "$targetFile"
|
||||
}
|
||||
|
||||
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
||||
|
||||
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64.7z"
|
||||
Install7ZPackageFromURL "$baseBinaryPackageURL" "$sha1" "/usr/lib64"
|
||||
|
||||
echo "Installing custom ICU devel packages on RHEL"
|
||||
|
||||
sha1Dev="82f8b216371b848b8d36ecec7fe7b6e9b0dba0df"
|
||||
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64-devel.7z"
|
||||
tempDir=$(mktemp -d)
|
||||
# shellcheck disable=SC2064
|
||||
trap "sudo rm -fr $TEMPDIR" EXIT
|
||||
cd "$TEMPDIR"
|
||||
trap "sudo rm -fr $tempDir" EXIT
|
||||
Install7ZPackageFromURL "$develPackageURL" "$sha1Dev" "$tempDir"
|
||||
sudo cp -a "$tempDir/lib"/* /usr/lib64
|
||||
sudo cp -a "$tempDir"/* /usr/
|
||||
|
||||
sudo pip install --upgrade pip
|
||||
sudo pip install six
|
||||
|
||||
git clone https://github.com/open62541/open62541.git open62541
|
||||
cd open62541
|
||||
git checkout 215651ab8db94e5eacdd10ec26a5a9fb96b9301f
|
||||
mkdir build
|
||||
cd build
|
||||
TARGETPATH=/opt/open62541
|
||||
cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DCMAKE_INSTALL_PREFIX:PATH="$TARGETPATH" ..
|
||||
make
|
||||
|
||||
sudo make install
|
||||
sudo /sbin/ldconfig
|
||||
|
||||
SetEnvVar "CI_OPEN62541_GCC_X64_PREFIX" "$TARGETPATH"
|
||||
|
||||
# Storage version information to ~/versions.txt, which is used to print version information to provision log.
|
||||
echo "ICU = $icuVersion" >> ~/versions.txt
|
||||
48
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/99-version.sh
Executable file
48
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/99-version.sh
Executable file
@@ -0,0 +1,48 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2016 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the test suite of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
|
||||
|
||||
# Storage installed RPM packages information
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck disable=SC2129
|
||||
echo "*********************************************" >> ~/versions.txt
|
||||
echo "***** All installed RPM packages *****" >> ~/versions.txt
|
||||
rpm -q -a | sort >> ~/versions.txt
|
||||
echo "*********************************************" >> ~/versions.txt
|
||||
|
||||
"$(dirname "$0")/../common/linux/version.sh"
|
||||
@@ -98,6 +98,20 @@ installPackages+=(mesa-libwayland-egl-devel)
|
||||
installPackages+=(libwayland-client)
|
||||
installPackages+=(libwayland-cursor)
|
||||
installPackages+=(libwayland-server)
|
||||
# Jenkins
|
||||
installPackages+=(chrpath)
|
||||
# libxkbcommon
|
||||
installPackages+=(libxkbcommon-devel)
|
||||
installPackages+=(libxkbcommon-x11-devel)
|
||||
# xcb-util-* libraries
|
||||
installPackages+=(xcb-util-devel)
|
||||
installPackages+=(xcb-util-image-devel)
|
||||
installPackages+=(xcb-util-keysyms-devel)
|
||||
installPackages+=(xcb-util-wm-devel)
|
||||
installPackages+=(xcb-util-renderutil-devel)
|
||||
# ODBC support
|
||||
installPackages+=(unixODBC-devel)
|
||||
installPackages+=(unixODBC)
|
||||
|
||||
sudo yum -y install "${installPackages[@]}"
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/install-breakpad.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/disable-cracklib.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/disable-cracklib.sh"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/remove_update-manager.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/remove_update-manager.sh"
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/squishInstall.sh"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/disable-cracklib.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/disable-cracklib.sh"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/remove_update-manager.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/remove_update-manager.sh"
|
||||
@@ -1,184 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL21$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at http://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 or version 3 as published by the Free
|
||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||
## following information to ensure the GNU Lesser General Public License
|
||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## As a special exception, The Qt Company gives you certain additional
|
||||
## rights. These rights are described in The Qt Company LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Install required packages with APT
|
||||
|
||||
set -ex
|
||||
|
||||
echo "Disabling auto update"
|
||||
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/' /etc/apt/apt.conf.d/10periodic
|
||||
for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
|
||||
sudo systemctl stop $service
|
||||
sudo systemctl disable $service
|
||||
done
|
||||
|
||||
# aptdaemon is used by update notifiers and similar and there is no point in having those (the symptom is aptd holding a lock)
|
||||
for i in `seq 10`; do
|
||||
echo attempting to remove aptdaemon
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y remove aptdaemon || true
|
||||
# check that aptdaemon is no longer installed
|
||||
which aptd > /dev/null || break
|
||||
if [[ $i -eq 10 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
sleep 10
|
||||
done
|
||||
|
||||
# Git is not needed by builds themselves, but is nice to have
|
||||
# immediately as one starts debugging
|
||||
installPackages+=(git)
|
||||
# 7zip is a needed decompressing tool
|
||||
installPackages+=(p7zip-full)
|
||||
# To be able to mount yocto-cache during builds
|
||||
installPackages+=(nfs-common)
|
||||
# libssl-dev provides headers for OpenSSL
|
||||
installPackages+=(libssl-dev)
|
||||
# Needed libraries for X11 support accordingly to https://wiki.qt.io/Building_Qt_5_from_Git
|
||||
installPackages+=("^libxcb.*")
|
||||
installPackages+=(libxkbcommon-dev)
|
||||
installPackages+=(libxkbcommon-x11-dev)
|
||||
installPackages+=(libx11-xcb-dev)
|
||||
installPackages+=(libglu1-mesa-dev)
|
||||
installPackages+=(libxrender-dev)
|
||||
installPackages+=(libxi-dev)
|
||||
# Enable linking to system dbus
|
||||
installPackages+=(libdbus-1-dev)
|
||||
# Needed libraries for WebEngine
|
||||
installPackages+=(libudev-dev)
|
||||
installPackages+=(libegl1-mesa-dev)
|
||||
installPackages+=(libfontconfig1-dev)
|
||||
installPackages+=(libxss-dev)
|
||||
# Common event loop handling
|
||||
installPackages+=(libglib2.0-dev)
|
||||
# MySQL support
|
||||
installPackages+=(libmysqlclient-dev)
|
||||
# PostgreSQL support
|
||||
installPackages+=(libpq-dev)
|
||||
# SQLite support
|
||||
installPackages+=(libsqlite3-dev)
|
||||
# ODBC support
|
||||
installPackages+=(unixodbc-dev)
|
||||
# Support for FreeType font engine
|
||||
installPackages+=(libfreetype6-dev)
|
||||
# Enable the usage of system jpeg libraries
|
||||
installPackages+=(libjpeg-dev)
|
||||
# Enable support for printer driver
|
||||
installPackages+=(libcups2-dev)
|
||||
# Install libraries needed for QtMultimedia to be able to support all plugins
|
||||
installPackages+=(libasound2-dev)
|
||||
installPackages+=(libgstreamer1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-good1.0-dev)
|
||||
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||
# Support for cross-building to x86 (needed by WebEngine boot2qt builds)
|
||||
installPackages+=(g++-multilib)
|
||||
# python2 development package
|
||||
installPackages+=(python-pip)
|
||||
# python3 development package
|
||||
installPackages+=(python3-dev)
|
||||
installPackages+=(python3-pip)
|
||||
installPackages+=(python3-virtualenv)
|
||||
installPackages+=(python3-wheel)
|
||||
# Needed to be able to build Yocto
|
||||
installPackages+=(chrpath)
|
||||
installPackages+=(gawk)
|
||||
installPackages+=(texinfo)
|
||||
# Automates interactive applications (Needed by RTA to automate configure testing)
|
||||
installPackages+=(expect)
|
||||
installPackages+=(mesa-common-dev)
|
||||
installPackages+=(libgl1-mesa-glx)
|
||||
installPackages+=(libgl1-mesa-dev)
|
||||
installPackages+=(libegl1-mesa-dev)
|
||||
installPackages+=(curl)
|
||||
installPackages+=(libicu-dev)
|
||||
installPackages+=(zlib1g-dev)
|
||||
installPackages+=(zlib1g)
|
||||
installPackages+=(zlib1g:i386)
|
||||
installPackages+=(openjdk-8-jdk)
|
||||
installPackages+=(libgtk-3-dev)
|
||||
installPackages+=(ninja-build)
|
||||
installPackages+=(libssl-dev)
|
||||
installPackages+=(libxcursor-dev)
|
||||
installPackages+=(libxcomposite-dev)
|
||||
installPackages+=(libxdamage-dev)
|
||||
installPackages+=(libxrandr-dev)
|
||||
installPackages+=(libfontconfig1-dev)
|
||||
installPackages+=(libxss-dev)
|
||||
installPackages+=(libsrtp0-dev)
|
||||
installPackages+=(libwebp-dev)
|
||||
installPackages+=(libjsoncpp-dev)
|
||||
installPackages+=(libopus-dev)
|
||||
installPackages+=(libminizip-dev)
|
||||
installPackages+=(libavutil-dev)
|
||||
installPackages+=(libavformat-dev)
|
||||
installPackages+=(libavcodec-dev)
|
||||
installPackages+=(libevent-dev)
|
||||
installPackages+=(bison)
|
||||
installPackages+=(flex)
|
||||
installPackages+=(gperf)
|
||||
installPackages+=(libasound2-dev)
|
||||
installPackages+=(libpulse-dev)
|
||||
installPackages+=(libxtst-dev)
|
||||
installPackages+=(libnspr4-dev)
|
||||
installPackages+=(libnss3-dev)
|
||||
installPackages+=(libopenal-dev)
|
||||
installPackages+=(libbluetooth-dev)
|
||||
#VirtualBox for RTA
|
||||
installPackages+=(virtualbox)
|
||||
installPackages+=(dkms)
|
||||
#Pypdf for QSR documentation
|
||||
installPackages+=(python-pypdf2)
|
||||
|
||||
sudo tee "/etc/apt/sources.list" > /dev/null <<-EOC
|
||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial main restricted universe multiverse
|
||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-updates main restricted universe multiverse
|
||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-backports main restricted universe
|
||||
deb [arch=amd64] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-security main restricted universe multiverse
|
||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial main restricted universe multiverse
|
||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-updates main restricted universe multiverse
|
||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-backports main restricted universe
|
||||
deb [arch=i386] http://repo-clones.ci.qt.io/apt-mirror/mirror/ubuntu.trumpetti.atm.tut.fi/ubuntu/ xenial-security main restricted universe multiverse
|
||||
EOC
|
||||
|
||||
echo "Running update for apt"
|
||||
sudo apt-get update
|
||||
echo "Installing packages"
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
||||
|
||||
# Install all needed packages in a special wheel cache directory
|
||||
pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../common/shared/requirements.txt
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/unix/libclang.sh
|
||||
"$BASEDIR/../common/unix/libclang.sh"
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
$BASEDIR/../common/linux/fbx_linux.sh
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
$BASEDIR/../common/linux/cmake_linux.sh
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
BASEDIR=$(dirname "$0")
|
||||
$BASEDIR/../common/unix/squishInstall.sh
|
||||
|
||||
@@ -97,6 +97,8 @@ installPackages+=(libfreetype6-dev)
|
||||
installPackages+=(libjpeg-dev)
|
||||
# Enable support for printer driver
|
||||
installPackages+=(libcups2-dev)
|
||||
# Enable support for printer test
|
||||
installPackages+=(cups-pdf)
|
||||
# Install libraries needed for QtMultimedia to be able to support all plugins
|
||||
installPackages+=(libasound2-dev)
|
||||
installPackages+=(libgstreamer1.0-dev)
|
||||
@@ -157,6 +159,13 @@ installPackages+=(virtualbox)
|
||||
installPackages+=(dkms)
|
||||
# Needed for qtspeech
|
||||
installPackages+=(libspeechd-dev)
|
||||
#Pypdf for PDF reading in RTA tests
|
||||
installPackages+=(python-pypdf2)
|
||||
# Needed for b2qt
|
||||
installPackages+=(git-lfs)
|
||||
installPackages+=(chrpath)
|
||||
installPackages+=(gawk)
|
||||
installPackages+=(texinfo)
|
||||
|
||||
echo "Running update for apt"
|
||||
waitLoop
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/disable-notifications.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
set -ex
|
||||
|
||||
curl -L https://packagecloud.io/github/git-lfs/gpgkey | sudo apt-key add -
|
||||
sudo apt-add-repository 'deb https://packagecloud.io/github/git-lfs/ubuntu/ xenial main'
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 37BBEE3F7AD95B3F
|
||||
sudo apt update
|
||||
sudo apt install git-lfs
|
||||
4
coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh
Executable file
4
coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-remove-apport.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/remove-apport.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=../common/linux/remove-update_notifier.sh
|
||||
source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
|
||||
@@ -40,7 +40,7 @@ set -ex
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
echo "Installing Yocto toolchain for 32-bit b2qt..."
|
||||
echo "Installing Yocto toolchain for 32-bit b2qt ARMV7..."
|
||||
|
||||
versionARM="2.3.4"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemuarmv7-7608ebe.sh"
|
||||
@@ -58,7 +58,7 @@ chmod +x "$yoctoInstaller"
|
||||
/bin/bash "$yoctoInstaller" -y -d "$yoctoLocationARMv7"
|
||||
rm -rf "$yoctoInstaller"
|
||||
|
||||
echo "Installing Yocto toolchain for 64-bit b2qt..."
|
||||
echo "Installing Yocto toolchain for 64-bit b2qt ARM64..."
|
||||
|
||||
versionARM64="2.3.4"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemuarm64-7608ebe.sh"
|
||||
@@ -76,11 +76,33 @@ chmod +x "$yoctoInstaller"
|
||||
/bin/bash "$yoctoInstaller" -y -d "$yoctoLocationARM64"
|
||||
rm -rf "$yoctoInstaller"
|
||||
|
||||
if [ -e "$yoctoLocationARMv7/$sysrootARMv7" -a -e "$yoctoLocationARMv7/${crosscompileARMv7}g++" -a -e "$yoctoLocationARM64/$sysrootARM64" -a -e "$yoctoLocationARM64/${crosscompileARM64}g++" ]; then
|
||||
echo "Installing Yocto toolchain for 64-bit b2qt MIPS64..."
|
||||
|
||||
versionMIPS64="2.5.2"
|
||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemumips64-409ebc3.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/sumo/$package"
|
||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/sumo/$package"
|
||||
SHA1="dd03b496707ca8888b339a667e021722a8c2fdb4"
|
||||
yoctoInstaller="/tmp/yocto-toolchain-mips64.sh"
|
||||
yoctoLocationMIPS64="/opt/yocto-mips64"
|
||||
sysrootMIPS64="sysroots/mips64-poky-linux"
|
||||
crosscompileMIPS64="sysroots/x86_64-pokysdk-linux/usr/bin/mips64-poky-linux/mips64-poky-linux-"
|
||||
|
||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$yoctoInstaller"
|
||||
chmod +x "$yoctoInstaller"
|
||||
|
||||
/bin/bash "$yoctoInstaller" -y -d "$yoctoLocationMIPS64"
|
||||
rm -rf "$yoctoInstaller"
|
||||
|
||||
|
||||
|
||||
if [ -e "$yoctoLocationARMv7/$sysrootARMv7" -a -e "$yoctoLocationARMv7/${crosscompileARMv7}g++" -a -e "$yoctoLocationARM64/$sysrootARM64" -a -e "$yoctoLocationARM64/${crosscompileARM64}g++" -a -e "$yoctoLocationMIPS64/$sysrootMIPS64" -a -e "$yoctoLocationMIPS64/${crosscompileMIPS64}g++" ]; then
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_SYSROOT" "$yoctoLocationARMv7/$sysrootARMv7"
|
||||
SetEnvVar "QEMUARMV7_TOOLCHAIN_CROSS_COMPILE" "$yoctoLocationARMv7/$crosscompileARMv7"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_SYSROOT" "$yoctoLocationARM64/$sysrootARM64"
|
||||
SetEnvVar "QEMUARM64_TOOLCHAIN_CROSS_COMPILE" "$yoctoLocationARM64/$crosscompileARM64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_SYSROOT" "$yoctoLocationMIPS64/$sysrootMIPS64"
|
||||
SetEnvVar "QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE" "$yoctoLocationMIPS64/$crosscompileMIPS64"
|
||||
else
|
||||
echo "Error! Couldn't find installation paths for Yocto toolchain. Aborting provisioning." 1>&2
|
||||
exit 1
|
||||
@@ -88,3 +110,4 @@ fi
|
||||
|
||||
echo "Yocto ARMv7 toolchain = $versionARM" >> ~/versions.txt
|
||||
echo "Yocto ARM64 toolchain = $versionARM64" >> ~/versions.txt
|
||||
echo "Yocto MIPS64 toolchain = $versionMIPS64" >> ~/versions.txt
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/install-breakpad.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
|
||||
3
coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh
Executable file
3
coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/91-squish-coco.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/linux/squish-coco.sh"
|
||||
@@ -8,6 +8,9 @@ source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
|
||||
# https://bugzilla.opensuse.org/show_bug.cgi?id=1032027
|
||||
sudo btrfs quota disable /
|
||||
|
||||
sed -i '$ a\[Daemon\]\nAutolock=false\nLockOnResume=false' ~/.config/kscreenlockerrc
|
||||
|
||||
sudo sed -i 's|GRUB_TIMEOUT=8|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||
@@ -33,4 +36,3 @@ if [ "$http_proxy" != "" ]; then
|
||||
sudo sed -i 's/PROXY_ENABLED=\"no\"/PROXY_ENABLED=\"yes\"/' /etc/sysconfig/proxy
|
||||
sudo sed -i "s|HTTP_PROXY=\".*\"|HTTP_PROXY=\"$proxy\"|" /etc/sysconfig/proxy
|
||||
fi
|
||||
|
||||
51
coin/provisioning/qtci-linux-openSUSE-15.0-x86_64/02-zypperpackages.sh
Executable file
51
coin/provisioning/qtci-linux-openSUSE-15.0-x86_64/02-zypperpackages.sh
Executable file
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
sudo zypper -nq install git gcc7 gcc7-c++
|
||||
sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 1 \
|
||||
--slave /usr/bin/g++ g++ /usr/bin/g++-7 \
|
||||
--slave /usr/bin/cc cc /usr/bin/gcc-7 \
|
||||
--slave /usr/bin/c++ c++ /usr/bin/g++-7
|
||||
|
||||
sudo zypper -nq install bison flex gperf \
|
||||
zlib-devel \
|
||||
libudev-devel \
|
||||
glib2-devel \
|
||||
libopenssl-devel \
|
||||
freetype2-devel \
|
||||
fontconfig-devel \
|
||||
sqlite3-devel \
|
||||
libxkbcommon-devel \
|
||||
libxkbcommon-x11-devel
|
||||
|
||||
# EGL support
|
||||
sudo zypper -nq install Mesa-libEGL-devel Mesa-libGL-devel
|
||||
|
||||
|
||||
# Xinput2
|
||||
sudo zypper -nq install libXi-devel
|
||||
|
||||
# system provided XCB libraries
|
||||
sudo zypper -nq install xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \
|
||||
xcb-util-wm-devel xcb-util-renderutil-devel
|
||||
|
||||
# ICU
|
||||
sudo zypper -nq install libicu-devel libicu60_2
|
||||
|
||||
# qtwebengine
|
||||
sudo zypper -nq install alsa-devel dbus-1-devel \
|
||||
libXcomposite-devel libXcursor-devel libXrandr-devel libXtst-devel \
|
||||
mozilla-nspr-devel mozilla-nss-devel
|
||||
|
||||
# qtwebkit
|
||||
sudo zypper -nq install libxml2-devel libxslt-devel
|
||||
|
||||
# GStreamer (qtwebkit and qtmultimedia), pulseaudio (qtmultimedia)
|
||||
sudo zypper -nq install gstreamer-devel gstreamer-plugins-base-devel libpulse-devel
|
||||
|
||||
# cups
|
||||
sudo zypper -nq install cups-devel
|
||||
|
||||
#speech-dispatcher
|
||||
sudo zypper -nq install libspeechd-devel
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user