mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-23 14:51:24 +08:00
Compare commits
83 Commits
wip/instal
...
v5.10.0-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c41dd34de7 | ||
|
|
9a096e6841 | ||
|
|
ae9f6019bc | ||
|
|
cf0a8af55d | ||
|
|
35a3ba35ef | ||
|
|
7983297c8b | ||
|
|
e9c5f633e0 | ||
|
|
1643c95635 | ||
|
|
1cfc052b9d | ||
|
|
36d633f2fd | ||
|
|
214a38f974 | ||
|
|
892b1977c5 | ||
|
|
90ddfaf35f | ||
|
|
ce1627df92 | ||
|
|
b77ab20bf0 | ||
|
|
d82fe5cacf | ||
|
|
804bfd8700 | ||
|
|
5d5a6d3a87 | ||
|
|
0c66e761be | ||
|
|
99af319684 | ||
|
|
1d965fc599 | ||
|
|
356b20feed | ||
|
|
c4a807ca85 | ||
|
|
f02c2e2fde | ||
|
|
b7d9431716 | ||
|
|
fd76acc661 | ||
|
|
3e9b7b16c9 | ||
|
|
2ef18dac6c | ||
|
|
a1f173fc67 | ||
|
|
eb89f13583 | ||
|
|
dd3d32d13c | ||
|
|
cc8a7501f3 | ||
|
|
87df3502a7 | ||
|
|
eb6ce241f0 | ||
|
|
bf09762570 | ||
|
|
738509c242 | ||
|
|
e6da4a6aa5 | ||
|
|
ebf8aa15e6 | ||
|
|
d18d7aaa40 | ||
|
|
b229f6d1ea | ||
|
|
42a802efba | ||
|
|
65eb6e74f8 | ||
|
|
d615b4a99f | ||
|
|
bded0e1bbc | ||
|
|
cdbccd5a12 | ||
|
|
82bdc55bc3 | ||
|
|
cc549c2444 | ||
|
|
744634e97f | ||
|
|
f3a2e06e60 | ||
|
|
69188e280c | ||
|
|
e6d42ad390 | ||
|
|
b99923d6ee | ||
|
|
1859f9b26c | ||
|
|
a765838889 | ||
|
|
0787472145 | ||
|
|
026f813fcb | ||
|
|
9101ac782f | ||
|
|
38ae7edf69 | ||
|
|
eeb1a20326 | ||
|
|
a5f3f8ed48 | ||
|
|
d48b0c3402 | ||
|
|
dfb0befca3 | ||
|
|
596702c398 | ||
|
|
76ea20881e | ||
|
|
ddf574fd81 | ||
|
|
ec5efb6b70 | ||
|
|
79bc19fc8e | ||
|
|
e5f0b04f12 | ||
|
|
8b4e259b22 | ||
|
|
18999572b4 | ||
|
|
415ea08693 | ||
|
|
5e30cba1fd | ||
|
|
703e71840e | ||
|
|
c0a148bb7d | ||
|
|
25113b3315 | ||
|
|
ddc800b37f | ||
|
|
37e3da674c | ||
|
|
1da7bdd25e | ||
|
|
8889075b0d | ||
|
|
e9d91a3949 | ||
|
|
f65308d371 | ||
|
|
82cea36531 | ||
|
|
92cec830f0 |
90
.gitmodules
vendored
90
.gitmodules
vendored
@@ -1,66 +1,66 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtsvg qtxmlpatterns
|
recommends = qtsvg qtxmlpatterns
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtscript"]
|
[submodule "qtscript"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qttools
|
recommends = qttools
|
||||||
path = qtscript
|
path = qtscript
|
||||||
url = ../qtscript.git
|
url = ../qtscript.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt
|
recommends = qtdeclarative qtactiveqt
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtxmlpatterns
|
path = qtxmlpatterns
|
||||||
url = ../qtxmlpatterns.git
|
url = ../qtxmlpatterns.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttranslations"]
|
[submodule "qttranslations"]
|
||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -81,14 +81,14 @@
|
|||||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -121,27 +121,27 @@
|
|||||||
recommends = qtdeclarative qtandroidextras
|
recommends = qtdeclarative qtandroidextras
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtimageformats qtgamepad
|
recommends = qtdeclarative qtimageformats qtgamepad
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick1"]
|
[submodule "qtquick1"]
|
||||||
depends = qtscript
|
depends = qtscript
|
||||||
@@ -154,51 +154,51 @@
|
|||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtgraphicaleffects
|
path = qtgraphicaleffects
|
||||||
url = ../qtgraphicaleffects.git
|
url = ../qtgraphicaleffects.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols"]
|
[submodule "qtquickcontrols"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtgraphicaleffects
|
recommends = qtgraphicaleffects
|
||||||
path = qtquickcontrols
|
path = qtquickcontrols
|
||||||
url = ../qtquickcontrols.git
|
url = ../qtquickcontrols.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtserialport
|
depends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtx11extras"]
|
[submodule "qtx11extras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtx11extras
|
path = qtx11extras
|
||||||
url = ../qtx11extras.git
|
url = ../qtx11extras.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmacextras"]
|
[submodule "qtmacextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtmacextras
|
path = qtmacextras
|
||||||
url = ../qtmacextras.git
|
url = ../qtmacextras.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwinextras"]
|
[submodule "qtwinextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtwinextras
|
path = qtwinextras
|
||||||
url = ../qtwinextras.git
|
url = ../qtwinextras.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtandroidextras"]
|
[submodule "qtandroidextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtandroidextras
|
path = qtandroidextras
|
||||||
url = ../qtandroidextras.git
|
url = ../qtandroidextras.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtenginio"]
|
[submodule "qtenginio"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
@@ -211,101 +211,109 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtwebsockets
|
recommends = qtdeclarative qtwebsockets
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtquickcontrols qtwebchannel
|
depends = qtquickcontrols qtwebchannel
|
||||||
recommends = qtlocation qttools
|
recommends = qtlocation qttools
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
priority = 10
|
priority = 10
|
||||||
[submodule "qtcanvas3d"]
|
[submodule "qtcanvas3d"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtcanvas3d
|
path = qtcanvas3d
|
||||||
url = ../qtcanvas3d.git
|
url = ../qtcanvas3d.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebview"]
|
[submodule "qtwebview"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtwebengine
|
recommends = qtwebengine
|
||||||
path = qtwebview
|
path = qtwebview
|
||||||
url = ../qtwebview.git
|
url = ../qtwebview.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols2"]
|
[submodule "qtquickcontrols2"]
|
||||||
depends = qtgraphicaleffects
|
depends = qtgraphicaleffects
|
||||||
|
recommends = qtimageformats
|
||||||
path = qtquickcontrols2
|
path = qtquickcontrols2
|
||||||
url = ../qtquickcontrols2.git
|
url = ../qtquickcontrols2.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtpurchasing"]
|
[submodule "qtpurchasing"]
|
||||||
depends = qtbase qtandroidextras
|
depends = qtbase qtandroidextras
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtpurchasing
|
path = qtpurchasing
|
||||||
url = ../qtpurchasing.git
|
url = ../qtpurchasing.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtcharts"]
|
[submodule "qtcharts"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtcharts
|
path = qtcharts
|
||||||
url = ../qtcharts.git
|
url = ../qtcharts.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdatavis3d"]
|
[submodule "qtdatavis3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtdatavis3d
|
path = qtdatavis3d
|
||||||
url = ../qtdatavis3d.git
|
url = ../qtdatavis3d.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtvirtualkeyboard"]
|
[submodule "qtvirtualkeyboard"]
|
||||||
depends = qtbase qtdeclarative qtsvg
|
depends = qtbase qtdeclarative qtsvg
|
||||||
recommends = qtmultimedia qtquickcontrols
|
recommends = qtmultimedia qtquickcontrols
|
||||||
path = qtvirtualkeyboard
|
path = qtvirtualkeyboard
|
||||||
url = ../qtvirtualkeyboard.git
|
url = ../qtvirtualkeyboard.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgamepad"]
|
[submodule "qtgamepad"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtgamepad
|
path = qtgamepad
|
||||||
url = ../qtgamepad.git
|
url = ../qtgamepad.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtscxml"]
|
[submodule "qtscxml"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtscxml
|
path = qtscxml
|
||||||
url = ../qtscxml.git
|
url = ../qtscxml.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtspeech"]
|
[submodule "qtspeech"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtspeech
|
path = qtspeech
|
||||||
url = ../qtspeech.git
|
url = ../qtspeech.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = preview
|
status = addon
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebview
|
recommends = qtwebview
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth.git
|
url = ../qtnetworkauth.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
status = preview
|
status = addon
|
||||||
[submodule "qtremoteobjects"]
|
[submodule "qtremoteobjects"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtremoteobjects
|
path = qtremoteobjects
|
||||||
url = ../qtremoteobjects.git
|
url = ../qtremoteobjects.git
|
||||||
branch = 5.9
|
branch = 5.10
|
||||||
|
status = preview
|
||||||
|
[submodule "qtwebglplugin"]
|
||||||
|
depends = qtbase qtwebsockets
|
||||||
|
recommends = qtdeclarative
|
||||||
|
path = qtwebglplugin
|
||||||
|
url = ../qtwebglplugin.git
|
||||||
|
branch = 5.10
|
||||||
status = preview
|
status = preview
|
||||||
|
|||||||
@@ -1,24 +1,22 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-8.1-x86_64 MSVC2013 DeveloperBuild Release DisableTests
|
qtci-windows-8.1-x86_64 MSVC2013 DeveloperBuild Release DisableTests
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
qtci-windows-10-x86_64-7 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
||||||
qtci-windows-7-x86-3 Mingw53 DeveloperBuild Release OpenGLDynamic
|
qtci-windows-7-x86-2 Mingw53 DeveloperBuild Release OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-7 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-7 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-7 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 GCC NoWidgets ForceDebugInfo
|
qtci-linux-Ubuntu-16.04-x86_64-1 GCC NoWidgets ForceDebugInfo
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
qtci-linux-Ubuntu-16.04-x86_64-1 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||||
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
||||||
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests
|
|
||||||
qtci-linux-RHEL-6.6-x86_64 GCC Release ForceDebugInfo
|
qtci-linux-RHEL-6.6-x86_64 GCC Release ForceDebugInfo
|
||||||
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker
|
qtci-linux-RHEL-7.2-x86_64 GCC Packaging Release NoUseGoldLinker
|
||||||
qtci-macos-10.12-x86_64-8 Clang Packaging DebugAndRelease Release
|
qtci-macos-10.12-x86_64-8 Clang Packaging DebugAndRelease Release
|
||||||
qtci-osx-10.11-x86_64-3 Clang DeveloperBuild Release QtNamespace NoPch
|
qtci-osx-10.11-x86_64-3 Clang DeveloperBuild Release QtNamespace NoPch
|
||||||
qtci-osx-10.10-x86_64 Clang Release NoFramework DisableTests
|
qtci-osx-10.10-x86_64 Clang Release NoFramework DisableTests
|
||||||
qtci-macos-10.12-x86_64-8 IOS_ANY x86_64 Clang Release DisableTests Static
|
qtci-macos-10.12-x86_64-8 IOS_ANY x86_64 Clang Release DisableTests Static
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.2-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU armv7 GCC Release
|
qtci-linux-Ubuntu-16.04-x86_64-1 Boot2Qt_Pyro armv7 GCC Release
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU arm64 GCC Release
|
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 GCC TestOnly LicenseCheck
|
qtci-linux-Ubuntu-16.04-x86_64-1 GCC TestOnly LicenseCheck
|
||||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-6.6-x86_64 QNX_660 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
|||||||
@@ -2,24 +2,24 @@ Template Target OS Target arch Compiler Features
|
|||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-8.1-x86_64 x86 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-8.1-x86_64 x86 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
qtci-windows-8.1-x86_64 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-8.1-x86_64 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-7 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86-6 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86-6 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-7 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-2 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-7 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-7 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.2-x86_64 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-windows-7-x86-3 Android_ANY armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-2 Android_ANY armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-7-x86-3 Android_ANY x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-2 Android_ANY x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.12-x86_64-8 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.12-x86_64-8 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-6.6-x86_64 QNX_660 x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.2-x86_64 QNX_700 x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.2-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-windows-10-x86_64-7 QNX_700 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
|
qtci-windows-10-x86_64-7 QNX_700 x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.12-x86_64-8 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
qtci-macos-10.12-x86_64-8 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
||||||
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw53 Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 TvOS_ANY multi Clang DebugAndRelease DisableTests
|
||||||
qtci-windows-10-x86_64-10 QNX_700 x86 Mingw53 Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 WatchOS_ANY multi Clang DebugAndRelease DisableTests
|
||||||
qtci-windows-10-x86_64-10 QNX_660 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-linux-RHEL-7.2-x86_64 INTEGRITY_11_04 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-windows-10-x86_64-10 QNX_660 x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
|
||||||
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU armv7 GCC DeveloperBuild
|
qtci-linux-Ubuntu-16.04-x86_64-1 Boot2Qt_Pyro armv7 GCC DeveloperBuild
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU arm64 GCC DeveloperBuild
|
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ Template Target OS Target arch Compiler Features
|
|||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-10-x86_64-7 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-7 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-2 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
||||||
|
|
||||||
$version = "2017_version_15.0"
|
$version = "2017_version_15.0"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
||||||
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ $parameters = "/OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BB
|
|||||||
|
|
||||||
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
||||||
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/$msvc_web_installer.exe"
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/$msvc_web_installer.exe"
|
||||||
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
||||||
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
# This script will install Visual Studio 2017
|
# This script will install Visual Studio 2017
|
||||||
|
|
||||||
$version = "2017"
|
$version = "2017"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
||||||
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
||||||
|
|
||||||
$version = "2017_version_15.0"
|
$version = "2017_version_15.0"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
||||||
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ $parameters = "/OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BB
|
|||||||
|
|
||||||
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
||||||
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/$msvc_web_installer.exe"
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/$msvc_web_installer.exe"
|
||||||
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
||||||
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
# This script will install Visual Studio 2017
|
# This script will install Visual Studio 2017
|
||||||
|
|
||||||
$version = "2017"
|
$version = "2017"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
||||||
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
$zip = "c:\users\qt\downloads\Qt3DStudio-3rdparty-win64-CI.zip"
|
$zip = "c:\users\qt\downloads\Qt3DStudio-3rdparty-win64-CI.zip"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip -OutFile $zip
|
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.ci.local/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip -OutFile $zip
|
||||||
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
||||||
Extract-Zip $zip C:\Utils\Qt3DStudio3rdparty
|
Extract-Zip $zip C:\Utils\Qt3DStudio3rdparty
|
||||||
Remove-Item $zip
|
Remove-Item $zip
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ source "${BASH_SOURCE%/*}/try_catch.sh"
|
|||||||
# shellcheck source=DownloadURL.sh
|
# shellcheck source=DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||||
|
|
||||||
ExceptionDownload=99
|
|
||||||
ExceptionCreateTmpFile=100
|
ExceptionCreateTmpFile=100
|
||||||
ExceptionCreateTmpDirectory=101
|
ExceptionCreateTmpDirectory=101
|
||||||
ExceptionUncompress=102
|
ExceptionUncompress=102
|
||||||
@@ -81,7 +80,7 @@ function InstallAppFromCompressedFileFromURL {
|
|||||||
else
|
else
|
||||||
targetDirectory=$(mktemp -d) || throw $ExceptionCreateTmpDirectory
|
targetDirectory=$(mktemp -d) || throw $ExceptionCreateTmpDirectory
|
||||||
fi
|
fi
|
||||||
(DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile") || throw $ExceptionDownload
|
DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile"
|
||||||
echo "Uncompress $targetFile"
|
echo "Uncompress $targetFile"
|
||||||
case $extension in
|
case $extension in
|
||||||
"tar.gz")
|
"tar.gz")
|
||||||
@@ -104,9 +103,6 @@ function InstallAppFromCompressedFileFromURL {
|
|||||||
|
|
||||||
catch || {
|
catch || {
|
||||||
case $ex_code in
|
case $ex_code in
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionCreateTmpFile)
|
$ExceptionCreateTmpFile)
|
||||||
echo "Failed to create temporary file"
|
echo "Failed to create temporary file"
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ source "${BASH_SOURCE%/*}/try_catch.sh"
|
|||||||
# shellcheck source=DownloadURL.sh
|
# shellcheck source=DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||||
|
|
||||||
ExceptionDownload=99
|
|
||||||
ExceptionCreateTmpFile=100
|
ExceptionCreateTmpFile=100
|
||||||
ExceptionCreateTmpDirectory=101
|
ExceptionCreateTmpDirectory=101
|
||||||
ExceptionUncompress=102
|
ExceptionUncompress=102
|
||||||
@@ -67,7 +66,7 @@ function InstallFromCompressedFileFromURL {
|
|||||||
echo "Creating temporary file and directory"
|
echo "Creating temporary file and directory"
|
||||||
targetFile=$(mktemp "$TMPDIR$(uuidgen)XXXXX.$extension") || throw $ExceptionCreateTmpFile
|
targetFile=$(mktemp "$TMPDIR$(uuidgen)XXXXX.$extension") || throw $ExceptionCreateTmpFile
|
||||||
targetDirectory=$(mktemp -d) || throw $ExceptionCreateTmpDirectory
|
targetDirectory=$(mktemp -d) || throw $ExceptionCreateTmpDirectory
|
||||||
(DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile") || throw $ExceptionDownload
|
DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile"
|
||||||
echo "Uncompress $targetFile"
|
echo "Uncompress $targetFile"
|
||||||
case $extension in
|
case $extension in
|
||||||
"tar.gz")
|
"tar.gz")
|
||||||
@@ -91,9 +90,6 @@ function InstallFromCompressedFileFromURL {
|
|||||||
|
|
||||||
catch || {
|
catch || {
|
||||||
case $ex_code in
|
case $ex_code in
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionCreateTmpFile)
|
$ExceptionCreateTmpFile)
|
||||||
echo "Failed to create temporary file"
|
echo "Failed to create temporary file"
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|||||||
@@ -1,124 +0,0 @@
|
|||||||
#!/bin/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script install Android sdk and ndk.
|
|
||||||
|
|
||||||
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
|
|
||||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
|
||||||
|
|
||||||
targetFolder="/opt/android"
|
|
||||||
sdkTargetFolder="$targetFolder/sdk"
|
|
||||||
|
|
||||||
basePath="http://ci-files01-hki.intra.qt.io/input/android"
|
|
||||||
|
|
||||||
toolsVersion="r25.2.5"
|
|
||||||
toolsFile="tools_$toolsVersion-linux.zip"
|
|
||||||
ndkVersion="r10e"
|
|
||||||
ndkFile="android-ndk-$ndkVersion-linux-x86_64.zip"
|
|
||||||
sdkBuildToolsVersion="25.0.2"
|
|
||||||
sdkApiLevel="android-21"
|
|
||||||
|
|
||||||
toolsSha1="72df3aa1988c0a9003ccdfd7a13a7b8bd0f47fc1"
|
|
||||||
ndkSha1="f692681b007071103277f6edc6f91cb5c5494a32"
|
|
||||||
|
|
||||||
toolsTargetFile="/tmp/$toolsFile"
|
|
||||||
toolsSourceFile="$basePath/$toolsFile"
|
|
||||||
ndkTargetFile="/tmp/$ndkFile"
|
|
||||||
ndkSourceFile="$basePath/$ndkFile"
|
|
||||||
|
|
||||||
ExceptionDownload=99
|
|
||||||
ExceptionUnzipTools=100
|
|
||||||
ExceptionUnzipNdk=101
|
|
||||||
ExceptionRmTools=102
|
|
||||||
ExceptionRmNdk=103
|
|
||||||
ExceptionSdkManager=104
|
|
||||||
|
|
||||||
try
|
|
||||||
(
|
|
||||||
(DownloadURL "$toolsSourceFile" "$toolsSourceFile" "$toolsSha1" "$toolsTargetFile") || throw $ExceptionDownload
|
|
||||||
(DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile") || throw $ExceptionDownload
|
|
||||||
echo "Unzipping Android NDK to '$targetFolder'"
|
|
||||||
sudo unzip -q "$ndkTargetFile" -d "$targetFolder" || throw $ExceptionUnzipNdk
|
|
||||||
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
|
||||||
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder" || throw $ExceptionUnzipTools
|
|
||||||
rm "$ndkTargetFile" || throw $ExceptionRmNdk
|
|
||||||
rm "$toolsTargetFile" || throw $ExceptionRmTools
|
|
||||||
|
|
||||||
echo "Changing ownership of Android files."
|
|
||||||
sudo chown -R qt:wheel "$targetFolder"
|
|
||||||
|
|
||||||
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
|
||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion" || throw $ExceptionSdkManager
|
|
||||||
|
|
||||||
echo "export ANDROID_SDK_HOME=$sdkTargetFolder" >> ~/.bashrc
|
|
||||||
echo "export ANDROID_NDK_HOME=$targetFolder/android-ndk-$ndkVersion" >> ~/.bashrc
|
|
||||||
echo "export ANDROID_NDK_HOST=linux-x86_64" >> ~/.bashrc
|
|
||||||
echo "export ANDROID_API_VERSION=$sdkApiLevel" >> ~/.bashrc
|
|
||||||
|
|
||||||
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
|
||||||
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
|
||||||
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
|
||||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUnzipTools)
|
|
||||||
echo "Failed to unzip Android SDK Tools."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUnzipNdk)
|
|
||||||
echo "Failed to unzip Android NDK."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionRmTools)
|
|
||||||
echo "Failed to remove temporary tools package '$toolsTargetFile'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionRmNdk)
|
|
||||||
echo "Failed to remove temporary NDK package '$ndkTargetFile'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionSdkManager)
|
|
||||||
echo "Failed to run sdkmanager."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -44,6 +44,12 @@ Download $officialurl $cachedurl $zip
|
|||||||
Verify-Checksum $zip "541F6E7EFD228E46770B8631FFE57097576E4D4E"
|
Verify-Checksum $zip "541F6E7EFD228E46770B8631FFE57097576E4D4E"
|
||||||
|
|
||||||
Extract-Zip $zip C:
|
Extract-Zip $zip C:
|
||||||
|
# TODO: Remove line below after all Windows TIER2 VMs are based on vanilla OS
|
||||||
|
if((Test-Path -Path "C:\CMake" )){
|
||||||
|
try {
|
||||||
|
Rename-Item -ErrorAction 'Stop' "C:\CMake" C:\CMake_old
|
||||||
|
} catch {}
|
||||||
|
}
|
||||||
$defaultinstallfolder = "C:\cmake-" + $version + "-win32-x86"
|
$defaultinstallfolder = "C:\cmake-" + $version + "-win32-x86"
|
||||||
Rename-Item $defaultinstallfolder C:\CMake
|
Rename-Item $defaultinstallfolder C:\CMake
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
# CMake is needed for autotests that verify that Qt can be built with CMake
|
# CMake is needed for autotests that verify that Qt can be built with CMake
|
||||||
|
|
||||||
# shellcheck source=InstallFromCompressedFileFromURL.sh
|
# shellcheck source=../common/InstallFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallFromCompressedFileFromURL.sh"
|
||||||
|
|
||||||
version="3.6.2"
|
version="3.6.2"
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.6.2-Linux-x86_64.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.6.2-Linux-x86_64.tar.gz"
|
||||||
|
|||||||
@@ -28,10 +28,7 @@ function Extract-7Zip
|
|||||||
if (-not (test-path $zipExe)) {
|
if (-not (test-path $zipExe)) {
|
||||||
$zipExe = join-path ${env:ProgramW6432} '7-zip\7z.exe'
|
$zipExe = join-path ${env:ProgramW6432} '7-zip\7z.exe'
|
||||||
if (-not (test-path $zipExe)) {
|
if (-not (test-path $zipExe)) {
|
||||||
$zipExe = "C:\Utils\sevenzip\7z.exe"
|
throw "Could not find 7-zip."
|
||||||
if (-not (test-path $zipExe)) {
|
|
||||||
throw "Could not find 7-zip."
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -36,8 +36,6 @@
|
|||||||
# This script will install Java RE
|
# This script will install Java RE
|
||||||
# Official Java RE 7 downloads require Oracle accounts. Using local mirrors only.
|
# Official Java RE 7 downloads require Oracle accounts. Using local mirrors only.
|
||||||
|
|
||||||
$installdir = "C:\Program Files\Java\jre7"
|
|
||||||
|
|
||||||
$version = "7u7"
|
$version = "7u7"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if( (is64bitWinHost) -eq 1 ) {
|
||||||
$arch = "x64"
|
$arch = "x64"
|
||||||
@@ -55,8 +53,4 @@ Copy-Item $url_cache $javaPackage
|
|||||||
cmd /c "$javaPackage /s SPONSORS=0"
|
cmd /c "$javaPackage /s SPONSORS=0"
|
||||||
echo "Cleaning $javaPackage.."
|
echo "Cleaning $javaPackage.."
|
||||||
Remove-Item -Recurse -Force "$javaPackage"
|
Remove-Item -Recurse -Force "$javaPackage"
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("JAVA_HOME", "$installdir", [EnvironmentVariableTarget]::Machine)
|
|
||||||
Add-Path "$installdir\bin"
|
|
||||||
|
|
||||||
echo "Java = $version $arch" >> ~\versions.txt
|
echo "Java = $version $arch" >> ~\versions.txt
|
||||||
|
|||||||
@@ -1,78 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
##
|
|
||||||
## 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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
|
||||||
|
|
||||||
# This script will install Java SE
|
|
||||||
|
|
||||||
$installdir = "C:\Program Files\Java\jdk1.8.0_144"
|
|
||||||
|
|
||||||
$version = "8u144"
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
|
||||||
$arch = "x64"
|
|
||||||
$sha1 = "adb03bc3f4b40bcb3227687860798981d58e1858"
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$arch = "i586"
|
|
||||||
$sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
|
|
||||||
}
|
|
||||||
|
|
||||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
|
|
||||||
$official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
|
|
||||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
|
||||||
|
|
||||||
echo "Fetching Java SE $version..."
|
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
|
||||||
try {
|
|
||||||
echo "...from local cache"
|
|
||||||
Invoke-WebRequest -UseBasicParsing $url_cache -OutFile $javaPackage
|
|
||||||
} catch {
|
|
||||||
echo "...from oracle.com"
|
|
||||||
$client = new-object System.Net.WebClient
|
|
||||||
$cookie = "oraclelicense=accept-securebackup-cookie"
|
|
||||||
$client.Headers.Add("Cookie", $cookie)
|
|
||||||
$client.DownloadFile($official_url, $javaPackage)
|
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing $official_url -OutFile $javaPackage
|
|
||||||
}
|
|
||||||
|
|
||||||
Verify-Checksum $javaPackage $sha1
|
|
||||||
|
|
||||||
cmd /c "$javaPackage /s SPONSORS=0"
|
|
||||||
echo "Cleaning $javaPackage.."
|
|
||||||
Remove-Item -Recurse -Force "$javaPackage"
|
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("JAVA_HOME", "$installdir", [EnvironmentVariableTarget]::Machine)
|
|
||||||
Add-Path "$installdir\bin"
|
|
||||||
|
|
||||||
echo "Java SE = $version $arch" >> ~\versions.txt
|
|
||||||
@@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
# This script installs 7-Zip
|
# This script installs 7-Zip
|
||||||
|
|
||||||
$version = "16.04"
|
$version = "1604"
|
||||||
$nonDottedVersion = "1604"
|
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if( (is64bitWinHost) -eq 1 ) {
|
||||||
$arch = "-x64"
|
$arch = "-x64"
|
||||||
@@ -47,18 +46,15 @@ else {
|
|||||||
$sha1 = "dd1cb1163c5572951c9cd27f5a8dd550b33c58a4"
|
$sha1 = "dd1cb1163c5572951c9cd27f5a8dd550b33c58a4"
|
||||||
}
|
}
|
||||||
|
|
||||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\7z" + $nonDottedVersion + $arch + ".exe"
|
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\7z" + $version + $arch + ".exe"
|
||||||
$url_official = "http://www.7-zip.org/a/7z" + $nonDottedVersion + $arch + ".exe"
|
$url_official = "http://www.7-zip.org/a/7z" + $version + $arch + ".exe"
|
||||||
$7zPackage = "C:\Windows\Temp\7zip-$nonDottedVersion.exe"
|
$7zPackage = "C:\Windows\Temp\7zip-$version.exe"
|
||||||
$7zTargetLocation = "C:\Utils\sevenzip\"
|
|
||||||
|
|
||||||
Download $url_official $url_cache $7zPackage
|
Download $url_official $url_cache $7zPackage
|
||||||
Verify-Checksum $7zPackage $sha1
|
Verify-Checksum $7zPackage $sha1
|
||||||
Start-Process -FilePath $7zPackage -ArgumentList "/S","/D=$7zTargetLocation" -Wait
|
cmd /c "$7zPackage /S /D=C:\Utils\sevenzip\"
|
||||||
|
|
||||||
echo "Cleaning $7zPackage.."
|
echo "Cleaning $7zPackage.."
|
||||||
Remove-Item -Recurse -Force "$7zPackage"
|
Remove-Item -Recurse -Force "$7zPackage"
|
||||||
|
|
||||||
Add-Path $7zTargetLocation
|
|
||||||
|
|
||||||
echo "7-Zip = $version" >> ~\versions.txt
|
echo "7-Zip = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -33,8 +33,17 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# This script installs CMake 3.6.2
|
# This script removes preinstalled sw.
|
||||||
|
# NOTE! Make sure that ALL software which are removed here have provision script under platrom folders which calls this script
|
||||||
|
|
||||||
# CMake is needed for autotests that verify that Qt can be built with CMake
|
function RemoveDir {
|
||||||
|
targetFolder=$1
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/cmake_linux.sh"
|
if [ -d "$targetFolder" ]; then
|
||||||
|
echo "Removing existing $targetFolder..."
|
||||||
|
sudo rm -fr "$targetFolder"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Android
|
||||||
|
RemoveDir /opt/android
|
||||||
50
coin/provisioning/common/mqtt_broker.ps1
Normal file
50
coin/provisioning/common/mqtt_broker.ps1
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
echo "MQTT: Downloading Paho test broker..."
|
||||||
|
$zip = "c:\users\qt\downloads\pahotest.zip"
|
||||||
|
$externalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/c342c09dadc7a664d0a8befad1ca031f5a0b0bc0.zip"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-c342c09dadc7a664d0a8befad1ca031f5a0b0bc0.zip"
|
||||||
|
$sha1 = "532fe145096cdd8d679f425cbfd883289150c968"
|
||||||
|
|
||||||
|
Download $externalUrl $internalUrl $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
|
echo "MQTT: Installing $zip..."
|
||||||
|
Extract-Zip $zip C:\Utils
|
||||||
|
Remove-Item $zip
|
||||||
|
|
||||||
|
echo "MQTT: Updating environment..."
|
||||||
|
[Environment]::SetEnvironmentVariable("MQTT_TEST_BROKER_LOCATION", "C:\Utils\paho.mqtt.testing-c342c09dadc7a664d0a8befad1ca031f5a0b0bc0\interoperability\startbroker.py", "Machine")
|
||||||
52
coin/provisioning/common/mqtt_broker.sh
Normal file
52
coin/provisioning/common/mqtt_broker.sh
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 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 installs paho testing broker
|
||||||
|
|
||||||
|
# shellcheck source=../common/InstallFromCompressedFileFromURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/InstallFromCompressedFileFromURL.sh"
|
||||||
|
|
||||||
|
CommitSHA="c342c09dadc7a664d0a8befad1ca031f5a0b0bc0"
|
||||||
|
PrimaryUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
|
||||||
|
AltUrl="http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||||
|
SHA1="532fe145096cdd8d679f425cbfd883289150c968"
|
||||||
|
targetFolder="/opt/paho_broker"
|
||||||
|
appPrefix="paho.mqtt.testing-$CommitSHA"
|
||||||
|
|
||||||
|
sudo rm -fr "$targetFolder"
|
||||||
|
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||||
|
|
||||||
|
echo "Adding MQTT broker path to environment"
|
||||||
|
sed -i "1iexport MQTT_TEST_BROKER_LOCATION=$targetFolder/interoperability/startbroker.py" ~/.bashrc
|
||||||
@@ -57,6 +57,11 @@ function DownloadAndInstall
|
|||||||
Remove-Item $package
|
Remove-Item $package
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Remove any leftovers
|
||||||
|
try {
|
||||||
|
Rename-Item -ErrorAction 'Stop' c:\utils\my_sql c:\utils\mysql_deleted
|
||||||
|
} catch {}
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if( (is64bitWinHost) -eq 1 ) {
|
||||||
# Install x64 bit version
|
# Install x64 bit version
|
||||||
$architecture = "x64"
|
$architecture = "x64"
|
||||||
|
|||||||
@@ -2,10 +2,11 @@
|
|||||||
|
|
||||||
$zip = "c:\users\qt\downloads\ninja-1.6.0-win-x86.zip"
|
$zip = "c:\users\qt\downloads\ninja-1.6.0-win-x86.zip"
|
||||||
|
|
||||||
Download https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win.zip \\ci-files01-hki.intra.qt.io\provisioning\ninja\ninja-1.6.0-win-x86.zip $zip
|
Download https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win.zip \\ci-files01-hki.ci.local\provisioning\ninja\ninja-1.6.0-win-x86.zip $zip
|
||||||
Verify-Checksum $zip "E01093F6533818425F8EFB0843CED7DCAABEA3B2"
|
Verify-Checksum $zip "E01093F6533818425F8EFB0843CED7DCAABEA3B2"
|
||||||
|
|
||||||
Extract-Zip $zip C:\Utils\Ninja
|
Extract-Zip $zip C:\Utils\Ninja
|
||||||
Remove-Item $zip
|
Remove-Item $zip
|
||||||
|
|
||||||
Add-Path "C:\Utils\Ninja"
|
$machinePath = [Environment]::GetEnvironmentVariable('Path', [EnvironmentVariableTarget]::Machine)
|
||||||
|
[Environment]::SetEnvironmentVariable("Path", $machinePath + ";C:\Utils\Ninja", [EnvironmentVariableTarget]::Machine)
|
||||||
|
|||||||
@@ -1,85 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script install OpenSSL from sources.
|
|
||||||
# Requires GCC and Perl to be in PATH.
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
|
||||||
|
|
||||||
version="1.0.2g"
|
|
||||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
|
||||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
|
||||||
targetFile="/tmp/openssl-$version.tar.gz"
|
|
||||||
installFolder="/home/qt/"
|
|
||||||
sha="36af23887402a5ea4ebef91df8e61654906f58f2"
|
|
||||||
# Until every VM doing Linux Android builds have provisioned the env variable
|
|
||||||
# OPENSSL_ANDROID_HOME, we can't change the hard coded path that's currently in Coin.
|
|
||||||
# QTQAINFRA-1436
|
|
||||||
opensslHome="${installFolder}openssl-1.0.2"
|
|
||||||
|
|
||||||
ExceptionDownload=99
|
|
||||||
ExceptionTar=100
|
|
||||||
ExceptionConfig=101
|
|
||||||
|
|
||||||
try
|
|
||||||
(
|
|
||||||
(DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile") || throw $ExceptionDownload
|
|
||||||
|
|
||||||
tar -xzf "$targetFile" -C "$installFolder" || throw $ExceptionTar
|
|
||||||
# This rename should be removed once hard coded path from Coin is fixed. (QTQAINFRA-1436)
|
|
||||||
mv "${opensslHome}g" "${opensslHome}"
|
|
||||||
pushd "$opensslHome"
|
|
||||||
perl Configure shared android || throw $ExceptionConfig
|
|
||||||
|
|
||||||
echo "export OPENSSL_ANDROID_HOME=$opensslHome" >> ~/.bashrc
|
|
||||||
echo "OpenSSL for Android = $version" >> ~/versions.txt
|
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionTar)
|
|
||||||
echo "Failed to extract $targetFile"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionConfig)
|
|
||||||
echo "Failed to run 'config'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -48,6 +48,11 @@ if( (is64bitWinHost) -eq 1 ) {
|
|||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
|
||||||
$sha1 = "4da0453cdfda335e064d4437cf5bb9d356054cfd"
|
$sha1 = "4da0453cdfda335e064d4437cf5bb9d356054cfd"
|
||||||
|
|
||||||
|
# Delete any leftovers
|
||||||
|
try {
|
||||||
|
Rename-Item -ErrorAction 'Stop' c:\utils\postgresql c:\utils\postgresql-deleted
|
||||||
|
} catch {}
|
||||||
|
|
||||||
echo "Fetching from URL ..."
|
echo "Fetching from URL ..."
|
||||||
Download $externalUrl $internalUrl $packagex64
|
Download $externalUrl $internalUrl $packagex64
|
||||||
Verify-Checksum $packagex64 $sha1
|
Verify-Checksum $packagex64 $sha1
|
||||||
|
|||||||
@@ -46,12 +46,12 @@ $install_path = "C:\Python36"
|
|||||||
if ( $archVer -eq 64 ) {
|
if ( $archVer -eq 64 ) {
|
||||||
echo "Running in 64 bit system"
|
echo "Running in 64 bit system"
|
||||||
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version-amd64.exe"
|
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version-amd64.exe"
|
||||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/python-$version-amd64.exe"
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/python-$version-amd64.exe"
|
||||||
$sha1 = "bf54252c4065b20f4a111cc39cf5215fb1edccff"
|
$sha1 = "bf54252c4065b20f4a111cc39cf5215fb1edccff"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version.exe"
|
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version.exe"
|
||||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/python-$version.exe"
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/python-$version.exe"
|
||||||
$sha1 = "76c50b747237a0974126dd8b32ea036dd77b2ad1"
|
$sha1 = "76c50b747237a0974126dd8b32ea036dd77b2ad1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.6.1-macosx10.6.pkg"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/python-3.6.1-macosx10.6.pkg"
|
||||||
AltUrl="https://www.python.org/ftp/python/3.6.1/python-3.6.1-macosx10.6.pkg"
|
AltUrl="https://www.python.org/ftp/python/3.6.1/python-3.6.1-macosx10.6.pkg"
|
||||||
SHA1="ae0c749544c2d573c3cc29c4c2d7d9a595db28f9"
|
SHA1="ae0c749544c2d573c3cc29c4c2d7d9a595db28f9"
|
||||||
DestDir="/"
|
DestDir="/"
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
$installer = "c:\users\qt\downloads\rubyinstaller-2.3.1.exe"
|
$installer = "c:\users\qt\downloads\rubyinstaller-2.3.1.exe"
|
||||||
|
|
||||||
Download https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.1.exe http://ci-files01-hki.intra.qt.io/input/ruby/rubyinstaller-2.3.1.exe $installer
|
Download https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.1.exe http://ci-files01-hki.ci.local/input/ruby/rubyinstaller-2.3.1.exe $installer
|
||||||
Verify-Checksum $installer "FF377F6F313849C3B0CD72EEC1EFFA436F0E4A36"
|
Verify-Checksum $installer "FF377F6F313849C3B0CD72EEC1EFFA436F0E4A36"
|
||||||
& $installer /DIR=C:\ruby /VERYSILENT
|
& $installer /DIR=C:\ruby /VERYSILENT
|
||||||
|
|||||||
@@ -43,13 +43,13 @@ if ( $archVer -eq 64 ) {
|
|||||||
echo "Running in 64 bit system"
|
echo "Running in 64 bit system"
|
||||||
$arch = "x64"
|
$arch = "x64"
|
||||||
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe"
|
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe"
|
||||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/vc_redist.x64.exe"
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/vc_redist.x64.exe"
|
||||||
$sha1 = "3155cb0f146b927fcc30647c1a904cd162548c8c"
|
$sha1 = "3155cb0f146b927fcc30647c1a904cd162548c8c"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$arch = "x86"
|
$arch = "x86"
|
||||||
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe"
|
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe"
|
||||||
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/vc_redist.x86.exe"
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/vc_redist.x86.exe"
|
||||||
$sha1 = "bfb74e498c44d3a103ca3aa2831763fb417134d1"
|
$sha1 = "bfb74e498c44d3a103ca3aa2831763fb417134d1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
20
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/003-install-devtoolset6.sh → coin/provisioning/common/vulkansdk.ps1
Executable file → Normal file
20
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/003-install-devtoolset6.sh → coin/provisioning/common/vulkansdk.ps1
Executable file → Normal file
@@ -1,6 +1,4 @@
|
|||||||
#!/bin/bash
|
############################################################################
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
@@ -33,8 +31,18 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
sudo yum-config-manager --enable rhel-server-rhscl7-rpms
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
sudo yum -y install devtoolset-6
|
|
||||||
|
|
||||||
echo "source /opt/rh/devtoolset-6/enable" >> ~/.bashrc
|
# This script will install Vulkan SDK
|
||||||
|
|
||||||
|
$version = "1.0.51.0"
|
||||||
|
$url_cache = "\\ci-files01-hki.ci.local\provisioning\windows\VulkanSDK-" +$version+ "-Installer.exe"
|
||||||
|
$vulkanPackage = "C:\Windows\Temp\vulkan-installer-$version.exe"
|
||||||
|
|
||||||
|
Copy-Item $url_cache $vulkanPackage
|
||||||
|
cmd /c "$vulkanPackage /S"
|
||||||
|
|
||||||
|
echo "Cleaning $vulkanPackage.."
|
||||||
|
Remove-Item -Recurse -Force "$vulkanPackage"
|
||||||
|
|
||||||
|
echo "Vulkan SDK = $version" >> ~\versions.txt
|
||||||
61
coin/provisioning/common/windows_removethemall.ps1
Normal file
61
coin/provisioning/common/windows_removethemall.ps1
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## 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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
Function Remove {
|
||||||
|
Param (
|
||||||
|
[string]$1
|
||||||
|
)
|
||||||
|
If (Test-Path $1){
|
||||||
|
echo "Remove $1"
|
||||||
|
Remove-Item -Recurse -Force $1
|
||||||
|
}Else{
|
||||||
|
echo "'$1' does not exists or already removed !!"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Function Remove-Path {
|
||||||
|
Param (
|
||||||
|
[string]$Path
|
||||||
|
)
|
||||||
|
echo "Remove $path from Path"
|
||||||
|
$name = "Path"
|
||||||
|
$value = ([System.Environment]::GetEnvironmentVariable("Path").Split(";") | ? {$_ -ne "$path"}) -join ";"
|
||||||
|
$type = "Machine"
|
||||||
|
[System.Environment]::SetEnvironmentVariable($name,$value,$type)
|
||||||
|
}
|
||||||
|
|
||||||
|
# Remove Android sdk and ndk
|
||||||
|
dir c:\utils\android* | ForEach { Rename-Item $_ $_"-deleted" }
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_NDK_HOME",$null,"User")
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_SDK_HOME",$null,"User")
|
||||||
10
coin/provisioning/common/winrtrunner.ps1
Normal file
10
coin/provisioning/common/winrtrunner.ps1
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
$zip = "c:\users\qt\downloads\winrtrunner.zip"
|
||||||
|
|
||||||
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/development_releases/prebuilt/winrtrunner/winrtrunner.zip -OutFile $zip
|
||||||
|
Verify-Checksum $zip "C19098A4C9DBD20EDEB4E5E0D3E6A5BBBCA73C42"
|
||||||
|
Extract-Zip $zip C:\Utils\winrtrunner
|
||||||
|
Remove-Item $zip
|
||||||
|
|
||||||
|
[Environment]::SetEnvironmentVariable("CI_WINRTRUNNER_PATH", "C:\Utils\winrtrunner", "Machine")
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
# E.g The Bluetooth features that require Android 21 will disable themselves dynamically when running on an Android 16 device.
|
# E.g The Bluetooth features that require Android 21 will disable themselves dynamically when running on an Android 16 device.
|
||||||
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
targetFolder="/opt/android"
|
targetFolder="/opt/android"
|
||||||
baseUrl="http://ci-files01-hki.intra.qt.io/input/android"
|
baseUrl="http://ci-files01-hki.intra.qt.io/input/android"
|
||||||
|
|
||||||
@@ -78,8 +78,8 @@ function InstallAndroidPackage {
|
|||||||
folderName=$7
|
folderName=$7
|
||||||
name=$8
|
name=$8
|
||||||
|
|
||||||
sudo wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url"
|
sudo wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url" || echo "Failed to download '$url' multiple times"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check
|
echo "$sha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
sudo chmod 755 "$targetFile"
|
sudo chmod 755 "$targetFile"
|
||||||
sudo $extract || echo "Failed to extract $url"
|
sudo $extract || echo "Failed to extract $url"
|
||||||
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
@@ -89,10 +89,10 @@ function InstallAndroidPackage {
|
|||||||
|
|
||||||
if [ -d "$targetFolder" ]; then
|
if [ -d "$targetFolder" ]; then
|
||||||
echo "Removing old Android installation"
|
echo "Removing old Android installation"
|
||||||
sudo rm -fr "$targetFolder"
|
sudo rm -fr "$targetFolder" || ( echo "Can't remove $targetFolder" ; exit 1; )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo mkdir "$targetFolder"
|
sudo mkdir "$targetFolder" || ( echo "Can't create $targetFolder" ; exit 1; )
|
||||||
|
|
||||||
# Install Android SDK
|
# Install Android SDK
|
||||||
echo "Installing Android SDK version $sdkPackage..."
|
echo "Installing Android SDK version $sdkPackage..."
|
||||||
@@ -104,7 +104,7 @@ InstallAndroidPackage "$targetFolder" $ndkPackage $ndkUrl $ndkSha1 $ndkTargetFil
|
|||||||
|
|
||||||
# run update for Android SDK and install SDK API version 21, latest SDK tools, platform-tools and build-tools
|
# run update for Android SDK and install SDK API version 21, latest SDK tools, platform-tools and build-tools
|
||||||
echo "Running Android SDK update for API version 21, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
echo "Running Android SDK update for API version 21, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
||||||
echo "y" |"$targetFolder"/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion
|
echo "y" |"$targetFolder"/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion || echo "Failed to run update"
|
||||||
|
|
||||||
echo 'export ANDROID_API_VERSION=android-21' >> ~/.bashrc
|
echo 'export ANDROID_API_VERSION=android-21' >> ~/.bashrc
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
# This script installs the right ICU version
|
# This script installs the right ICU version
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
icuVersion="56.1"
|
icuVersion="56.1"
|
||||||
icuLocation="/usr/lib64"
|
icuLocation="/usr/lib64"
|
||||||
sha1="f2eab775c04ce5f3bdae6c47d06b62158b5d6753"
|
sha1="f2eab775c04ce5f3bdae6c47d06b62158b5d6753"
|
||||||
@@ -45,10 +45,10 @@ function Install7ZPackageFromURL {
|
|||||||
expectedSha1=$2
|
expectedSha1=$2
|
||||||
targetDirectory=$3
|
targetDirectory=$3
|
||||||
|
|
||||||
targetFile=`mktemp`
|
targetFile=`mktemp` || echo "Failed to create temporary file"
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $url
|
wget --tries=5 --waitretry=5 --output-document=$targetFile $url || echo "Failed to download '$url' multiple times"
|
||||||
echo "$expectedSha1 $targetFile" | sha1sum --check
|
echo "$expectedSha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
sudo /usr/local/bin/7z x -yo$targetDirectory $targetFile
|
sudo /usr/local/bin/7z x -yo$targetDirectory $targetFile || echo "Failed to unzip $url archive"
|
||||||
rm $targetFile
|
rm $targetFile
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ echo "Installing custom ICU devel packages on RHEL"
|
|||||||
|
|
||||||
sha1Dev="82f8b216371b848b8d36ecec7fe7b6e9b0dba0df"
|
sha1Dev="82f8b216371b848b8d36ecec7fe7b6e9b0dba0df"
|
||||||
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64-devel.7z"
|
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64-devel.7z"
|
||||||
tempDir=`mktemp -d`
|
tempDir=`mktemp -d` || echo "Failed to create temporary directory"
|
||||||
trap "sudo rm -fr $tempDir" EXIT
|
trap "sudo rm -fr $tempDir" EXIT
|
||||||
Install7ZPackageFromURL $develPackageURL $sha1Dev $tempDir
|
Install7ZPackageFromURL $develPackageURL $sha1Dev $tempDir
|
||||||
sudo cp -a $tempDir/lib/* /usr/lib64
|
sudo cp -a $tempDir/lib/* /usr/lib64
|
||||||
|
|||||||
6
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/007-qnx_700.sh → coin/provisioning/qtci-linux-RHEL-6.6-x86_64/mqtt_broker.sh
Executable file → Normal file
6
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/007-qnx_700.sh → coin/provisioning/qtci-linux-RHEL-6.6-x86_64/mqtt_broker.sh
Executable file → Normal file
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## 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$
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
## Commercial License Usage
|
## Commercial License Usage
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/qnx_700.sh"
|
source "${BASH_SOURCE%/*}/../common/mqtt_broker.sh"
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
# A copy of the patch must be in the root of the Coin path in
|
# A copy of the patch must be in the root of the Coin path in
|
||||||
# provisioning/qnx/patch-660-4367-RS6069_cpp-headers.zip
|
# provisioning/qnx/patch-660-4367-RS6069_cpp-headers.zip
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
sha1="57a11ffe4434ad567b3c36f7b828dbb468a9e565"
|
sha1="57a11ffe4434ad567b3c36f7b828dbb468a9e565"
|
||||||
|
|
||||||
function InstallZipPackageFromURL {
|
function InstallZipPackageFromURL {
|
||||||
@@ -47,12 +47,12 @@ function InstallZipPackageFromURL {
|
|||||||
expectedSha1=$2
|
expectedSha1=$2
|
||||||
targetDirectory=$3
|
targetDirectory=$3
|
||||||
|
|
||||||
targetFile=`mktemp`
|
targetFile=`mktemp` || echo "Failed to create temporary file"
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $url
|
wget --tries=5 --waitretry=5 --output-document=$targetFile $url || echo "Failed to download '$url' multiple times"
|
||||||
echo "$expectedSha1 $targetFile" | sha1sum --check
|
echo "$expectedSha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
|
|
||||||
tempDir=`mktemp -d`
|
tempDir=`mktemp -d` || echo "Failed to create temporary directory"
|
||||||
/usr/bin/unzip -o -d $tempDir $targetFile
|
/usr/bin/unzip -o -d $tempDir $targetFile || echo "Failed to unzip $url archive"
|
||||||
trap "sudo rm -fr $targetFile $tempDir" EXIT
|
trap "sudo rm -fr $targetFile $tempDir" EXIT
|
||||||
|
|
||||||
sudo cp -rafv $tempDir/patches/660-4367/target/* /opt/qnx660/target/
|
sudo cp -rafv $tempDir/patches/660-4367/target/* /opt/qnx660/target/
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
"${BASH_SOURCE%/*}/../common/linux-removethemall.sh"
|
||||||
18
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh
Normal file
18
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# provides: python development libraries
|
||||||
|
# version: provided by default Linux distribution repository
|
||||||
|
# needed to build pyside
|
||||||
|
sudo yum install -y python-devel python-virtualenv
|
||||||
|
|
||||||
|
# install the EPEL repository which provides python3
|
||||||
|
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
|
sudo rpm -Uvh epel-release-latest-7.noarch.rpm
|
||||||
|
sudo rm -f epel-release-latest-7.noarch.rpm
|
||||||
|
|
||||||
|
# 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
|
||||||
1
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/09-cmake.sh
Normal file
1
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/09-cmake.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
$(dirname $0)/../common/cmake_linux.sh
|
||||||
@@ -35,18 +35,21 @@
|
|||||||
|
|
||||||
# This script installs QNX 7.
|
# This script installs QNX 7.
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
targetFolder="/opt/"
|
targetFolder="/opt/"
|
||||||
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx700.tar.xz"
|
sourceFile="http://ci-files01-hki.ci.local/input/qnx/qnx700.tar.xz"
|
||||||
sha1="949a87c5f00d0756956cb4b1b3b213ecaeee9113"
|
sha1="949a87c5f00d0756956cb4b1b3b213ecaeee9113"
|
||||||
folderName="qnx700"
|
folderName="qnx700"
|
||||||
targetFile="qnx700.tar.xz"
|
targetFile="qnx700.tar.xz"
|
||||||
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$sourceFile"
|
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$sourceFile" || echo "Failed to download '$url' multiple times"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check
|
echo "$sha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
if [ ! -d "$targetFolder" ]; then
|
if [ ! -d "$targetFolder" ]; then
|
||||||
mkdir -p $targetFolder
|
mkdir -p $targetFolder
|
||||||
fi
|
fi
|
||||||
sudo tar -C $targetFolder -Jxf $targetFile
|
if [ -d "$targetFolder/$folderName" ]; then
|
||||||
|
rm -rf $targetFolder/$folderName
|
||||||
|
fi
|
||||||
|
sudo tar -C $targetFolder -Jxf $targetFile|| echo "Failed to extract $targetFile"
|
||||||
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
|
|
||||||
# Verify that we have last file in tar
|
# Verify that we have last file in tar
|
||||||
@@ -57,5 +60,5 @@ fi
|
|||||||
|
|
||||||
rm -rf $targetFile
|
rm -rf $targetFile
|
||||||
# Set env variables
|
# Set env variables
|
||||||
echo "export QNX_700=$targetFolder$folderName" >> ~/.bashrc
|
echo 'export QNX_700=$targetFolder/$folderName' >> ~/.bashrc
|
||||||
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
source "${BASH_SOURCE%/*}/../common/InstallFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallFromCompressedFileFromURL.sh"
|
||||||
|
|
||||||
version="11.4.4"
|
version="11.4.4"
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/integrity/ghs_$version.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/integrity/ghs_$version.tar.gz"
|
||||||
AltUrl="$PrimaryUrl" # we lack an external source for this
|
AltUrl="$PrimaryUrl" # we lack an external source for this
|
||||||
SHA1="4afa3c15e13c91734951b73f6b21388294c5d794"
|
SHA1="4afa3c15e13c91734951b73f6b21388294c5d794"
|
||||||
targetFolder="/opt/ghs"
|
targetFolder="/opt/ghs"
|
||||||
117
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/40-android_linux.sh
Normal file
117
coin/provisioning/qtci-linux-RHEL-7.2-x86_64/40-android_linux.sh
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
#!/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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script install Android sdk and ndk.
|
||||||
|
|
||||||
|
# It also runs update for SDK API level 21, latest SDK tools, latest platform-tools and build-tools version 23.0.3
|
||||||
|
|
||||||
|
# Build-tools version 23.0.3 is the latest usable version for Red Hat 6. Newer version of build-tools, version 24.x.x, requires GLIBC_2.14, which is not available in Red Hat 6.
|
||||||
|
|
||||||
|
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
||||||
|
# E.g The Bluetooth features that require Android 21 will disable themselves dynamically when running on an Android 16 device.
|
||||||
|
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
targetFolder="/opt/android"
|
||||||
|
baseUrl="http://ci-files01-hki.ci.local/input/android"
|
||||||
|
|
||||||
|
# SDK
|
||||||
|
sdkPackage="android-sdk_r24.4.1-linux.tgz"
|
||||||
|
sdkBuildToolsVersion="23.0.3"
|
||||||
|
sdkApiLevel="android-21"
|
||||||
|
sdkUrl="$baseUrl/$sdkPackage"
|
||||||
|
sdkSha1="725bb360f0f7d04eaccff5a2d57abdd49061326d"
|
||||||
|
sdkTargetFile="$targetFolder/$sdkPackage"
|
||||||
|
sdkExtract="tar -C $targetFolder -zxf $sdkTargetFile"
|
||||||
|
sdkFolderName="android-sdk-linux"
|
||||||
|
sdkName="sdk"
|
||||||
|
|
||||||
|
# NDK
|
||||||
|
ndkVersion="r10e"
|
||||||
|
ndkPackage="android-ndk-$ndkVersion-linux-x86_64.zip"
|
||||||
|
ndkUrl="$baseUrl/$ndkPackage"
|
||||||
|
ndkSha1="f692681b007071103277f6edc6f91cb5c5494a32"
|
||||||
|
ndkTargetFile="$targetFolder/$ndkPackage"
|
||||||
|
ndkExtract="unzip $ndkTargetFile -d $targetFolder"
|
||||||
|
ndkFolderName="android-ndk-$ndkVersion"
|
||||||
|
ndkName="ndk"
|
||||||
|
|
||||||
|
function InstallAndroidPackage {
|
||||||
|
targetFolder=$1
|
||||||
|
version=$2
|
||||||
|
url=$3
|
||||||
|
sha1=$4
|
||||||
|
targetFile=$5
|
||||||
|
extract=$6
|
||||||
|
folderName=$7
|
||||||
|
name=$8
|
||||||
|
|
||||||
|
sudo wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url" || echo "Failed to download '$url' multiple times"
|
||||||
|
echo "$sha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
|
sudo chmod 755 "$targetFile"
|
||||||
|
sudo $extract || echo "Failed to extract $url"
|
||||||
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
|
sudo mv "$targetFolder"/"$folderName" "$targetFolder"/"$name" || echo "Failed to rename $name"
|
||||||
|
sudo rm -fr "$targetFolder"/"$version"
|
||||||
|
}
|
||||||
|
|
||||||
|
sudo mkdir "$targetFolder"
|
||||||
|
|
||||||
|
# Install Android SDK
|
||||||
|
echo "Installing Android SDK version $sdkPackage..."
|
||||||
|
InstallAndroidPackage "$targetFolder" $sdkPackage $sdkUrl $sdkSha1 $sdkTargetFile "$sdkExtract" $sdkFolderName $sdkName
|
||||||
|
|
||||||
|
# Install Android NDK
|
||||||
|
echo "Installing Android NDK version $ndkPackage..."
|
||||||
|
InstallAndroidPackage "$targetFolder" $ndkPackage $ndkUrl $ndkSha1 $ndkTargetFile "$ndkExtract" $ndkFolderName $ndkName
|
||||||
|
|
||||||
|
# run update for Android SDK and install SDK API version 18, latest SDK tools, platform-tools and build-tools
|
||||||
|
echo "Running Android SDK update for API version 18, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
||||||
|
echo "y" |"$targetFolder"/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion || echo "Failed to run update"
|
||||||
|
|
||||||
|
# For Qt 5.6, we by default require API levels 10, 11, 16 and 18, but we can override this by setting ANDROID_API_VERSION=android-18
|
||||||
|
# From Qt 5.7 forward, if android-16 is not installed, Qt will automatically use more recent one.
|
||||||
|
# echo 'export ANDROID_API_VERSION=$sdkApiLevel' >> ~/.bashrc
|
||||||
|
|
||||||
|
# Storage version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
|
echo "***** Android SDK *****" >> ~/versions.txt
|
||||||
|
echo "Android SDK Api Level = $sdkApiLevel" >> ~/versions.txt
|
||||||
|
echo "Android SDK Build Tools Version = $sdkBuildToolsVersion" >> ~/versions.txt
|
||||||
|
platformTools="$(grep Pkg.Revision "$targetFolder"/sdk/platform-tools/source.properties | cut -c14-)"
|
||||||
|
echo "Android Platform Tools = $platformTools" >> ~/versions.txt
|
||||||
|
sdkTools="$(grep Pkg.Revision "$targetFolder"/sdk/tools/source.properties | cut -c14-)"
|
||||||
|
echo "Android SDK Tools = $sdkTools" >> ~/versions.txt
|
||||||
|
echo "***** Android NDK *****" >> ~/versions.txt
|
||||||
|
echo "Android NDK Version = $ndkVersion" >> ~/versions.txt
|
||||||
49
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/009-install_icu.sh → coin/provisioning/qtci-linux-RHEL-7.2-x86_64/install_icu.sh
Executable file → Normal file
49
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/009-install_icu.sh → coin/provisioning/qtci-linux-RHEL-7.2-x86_64/install_icu.sh
Executable file → Normal file
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## 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$
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
## Commercial License Usage
|
## Commercial License Usage
|
||||||
@@ -33,41 +33,38 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
set -ex
|
# This script installs the right ICU version
|
||||||
|
|
||||||
# This script will install ICU
|
|
||||||
|
|
||||||
|
set -e
|
||||||
icuVersion="56.1"
|
icuVersion="56.1"
|
||||||
icuLocation="/usr/lib64"
|
icuLocation="/usr/lib64"
|
||||||
sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
|
sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
|
||||||
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
|
|
||||||
|
|
||||||
sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
|
function Install7ZPackageFromURL {
|
||||||
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
|
url=$1
|
||||||
|
expectedSha1=$2
|
||||||
|
targetDirectory=$3
|
||||||
|
|
||||||
|
targetFile=`mktemp` || echo "Failed to create temporary file"
|
||||||
|
wget --tries=5 --waitretry=5 --output-document=$targetFile $url || echo "Failed to download '$url' multiple times"
|
||||||
|
echo "$expectedSha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
|
sudo /usr/local/bin/7z x -yo$targetDirectory $targetFile || echo "Failed to unzip $url archive"
|
||||||
|
rm $targetFile
|
||||||
|
}
|
||||||
|
|
||||||
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
||||||
|
|
||||||
targetFile=`mktemp`
|
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $baseBinaryPackageURL
|
Install7ZPackageFromURL $baseBinaryPackageURL $sha1 "/usr/lib64"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check
|
|
||||||
sudo 7z x -y -o"/usr/lib64" $targetFile
|
|
||||||
sudo rm $targetFile
|
|
||||||
|
|
||||||
echo "Installing custom ICU devel packages on RHEL"
|
echo "Installing custom ICU devel packages on RHEL"
|
||||||
|
|
||||||
tempDir=`mktemp -d`
|
sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
|
||||||
|
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
|
||||||
targetFile=`mktemp`
|
tempDir=`mktemp -d` || echo "Failed to create temporary directory"
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $develPackageURL
|
trap "sudo rm -fr $tempDir" EXIT
|
||||||
echo "$sha1Dev $targetFile" | sha1sum --check
|
Install7ZPackageFromURL $develPackageURL $sha1Dev $tempDir
|
||||||
7z x -y -o$tempDir $targetFile
|
|
||||||
|
|
||||||
sudo cp -a $tempDir/lib/* /usr/lib64
|
sudo cp -a $tempDir/lib/* /usr/lib64
|
||||||
sudo cp -a $tempDir/* /usr/
|
sudo cp -a $tempDir/* /usr/
|
||||||
|
|
||||||
sudo rm $targetFile
|
|
||||||
sudo rm -fr $tempDir
|
|
||||||
|
|
||||||
sudo /sbin/ldconfig
|
sudo /sbin/ldconfig
|
||||||
|
|
||||||
echo "ICU = $icuVersion" >> ~/versions.txt
|
|
||||||
6
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/008-integrity.sh → coin/provisioning/qtci-linux-RHEL-7.2-x86_64/mqtt_broker.sh
Executable file → Normal file
6
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/008-integrity.sh → coin/provisioning/qtci-linux-RHEL-7.2-x86_64/mqtt_broker.sh
Executable file → Normal file
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## 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$
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
## Commercial License Usage
|
## Commercial License Usage
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/integrity.sh"
|
source "${BASH_SOURCE%/*}/../common/mqtt_broker.sh"
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# gstreamer 1 for QtMultimedia
|
||||||
|
# gtk3 style for QtGui/QStyle
|
||||||
|
# libusb1 for tqtc-boot2qt/qdb
|
||||||
|
# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
|
||||||
|
|
||||||
|
sudo yum install -y \
|
||||||
|
gstreamer1-devel gstreamer1-plugins-base-devel \
|
||||||
|
gtk3-devel \
|
||||||
|
libusb1-devel \
|
||||||
|
speech-dispatcher-devel
|
||||||
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
sudo subscription-manager repos --enable rhel-workstation-rhscl-7-rpms
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
#!/bin/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 -e
|
|
||||||
|
|
||||||
sudo yum -y update
|
|
||||||
|
|
||||||
sudo yum -y install git
|
|
||||||
sudo yum -y install zlib-devel
|
|
||||||
sudo yum -y install glib2-devel
|
|
||||||
sudo yum -y install openssl-devel
|
|
||||||
sudo yum -y install freetype-devel
|
|
||||||
sudo yum -y install fontconfig-devel
|
|
||||||
|
|
||||||
# EGL support
|
|
||||||
sudo yum -y install mesa-libEGL-devel
|
|
||||||
sudo yum -y install mesa-libGL-devel
|
|
||||||
|
|
||||||
sudo yum -y install libxkbfile-devel
|
|
||||||
|
|
||||||
# Xinput2
|
|
||||||
sudo yum -y install libXi-devel
|
|
||||||
|
|
||||||
sudo yum -y install python-devel
|
|
||||||
sudo yum -y install mysql-server mysql
|
|
||||||
sudo yum -y install mysql-devel
|
|
||||||
sudo yum -y install postgresql-devel
|
|
||||||
sudo yum -y install cups-devel
|
|
||||||
sudo yum -y install dbus-devel
|
|
||||||
|
|
||||||
# We have to downgrade to an older version of graphite2
|
|
||||||
# to avoid a dependency version mismatch with gtk3-devel package.
|
|
||||||
|
|
||||||
sudo yum -y downgrade graphite2-1.3.6-1.el7_2
|
|
||||||
|
|
||||||
# gstreamer 1 for QtMultimedia
|
|
||||||
sudo yum -y install gstreamer1-devel gstreamer1-plugins-base-devel
|
|
||||||
|
|
||||||
# gtk3 style for QtGui/QStyle
|
|
||||||
sudo yum -y install gtk3-devel
|
|
||||||
|
|
||||||
# libusb1 for tqtc-boot2qt/qdb
|
|
||||||
sudo yum -y install libusb-devel
|
|
||||||
|
|
||||||
# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
|
|
||||||
sudo yum -y install speech-dispatcher-devel
|
|
||||||
|
|
||||||
# Python
|
|
||||||
sudo yum -y install python-devel python-virtualenv
|
|
||||||
|
|
||||||
# WebEngine
|
|
||||||
sudo yum -y install bison
|
|
||||||
sudo yum -y install flex
|
|
||||||
sudo yum -y install gperf
|
|
||||||
sudo yum -y install alsa-lib-devel
|
|
||||||
sudo yum -y install pulseaudio-libs-devel
|
|
||||||
sudo yum -y install libXtst-devel
|
|
||||||
|
|
||||||
# For Android builds
|
|
||||||
sudo yum -y install java-1.8.0-openjdk-devel
|
|
||||||
|
|
||||||
# For receiving shasum
|
|
||||||
sudo yum -y install perl-Digest-SHA
|
|
||||||
|
|
||||||
# INTEGRITY requirements
|
|
||||||
sudo yum -y install glibc.i686
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
#!/bin/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
source /opt/rh/devtoolset-6/enable
|
|
||||||
source "${BASH_SOURCE%/*}/../common/openssl_for_android_linux.sh"
|
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## 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$
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
## Commercial License Usage
|
## Commercial License Usage
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/android_linux.sh"
|
source "${BASH_SOURCE%/*}/../common/mqtt_broker.sh"
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## 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$
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
## Commercial License Usage
|
## Commercial License Usage
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/disable_selinux.sh"
|
source "${BASH_SOURCE%/*}/../common/mqtt_broker.sh"
|
||||||
@@ -32,18 +32,18 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
# build latest qemu to usermode
|
# build latest qemu to usermode
|
||||||
sudo apt-get -y install automake autoconf libtool
|
sudo apt-get -y install automake autoconf libtool
|
||||||
|
|
||||||
tempDir=$(mktemp -d)
|
tempDir=$(mktemp -d) || echo "Failed to create temporary directory"
|
||||||
git clone git://git.qemu.org/qemu.git "$tempDir"
|
git clone git://git.qemu.org/qemu.git "$tempDir"
|
||||||
cd "$tempDir"
|
cd "$tempDir"
|
||||||
|
|
||||||
#latest commit from the master proven to work
|
#latest commit from the master proven to work
|
||||||
git checkout c7f1cf01b8245762ca5864e835d84f6677ae8b1f
|
git checkout c7f1cf01b8245762ca5864e835d84f6677ae8b1f
|
||||||
git submodule update --init pixman
|
git submodule update --init pixman
|
||||||
./configure --target-list=arm-linux-user,aarch64-linux-user --static
|
./configure --target-list=arm-linux-user --static
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
rm -rf "$tempDir"
|
rm -rf "$tempDir"
|
||||||
@@ -51,19 +51,13 @@ rm -rf "$tempDir"
|
|||||||
# Enable binfmt support
|
# Enable binfmt support
|
||||||
sudo apt-get -y install binfmt-support
|
sudo apt-get -y install binfmt-support
|
||||||
|
|
||||||
# Install qemu binfmt for 32bit and 64bit arm architectures
|
# Install qemu binfmt
|
||||||
sudo update-binfmts --package qemu-arm --install arm \
|
sudo update-binfmts --package qemu-arm --install arm \
|
||||||
/usr/local/bin/qemu-arm \
|
/usr/local/bin/qemu-arm \
|
||||||
--magic \
|
--magic \
|
||||||
"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" \
|
"\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" \
|
||||||
--mask \
|
--mask \
|
||||||
"\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
"\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
||||||
sudo update-binfmts --package qemu-aarch64 --install aarch64 \
|
|
||||||
/usr/local/bin/qemu-aarch64 \
|
|
||||||
--magic \
|
|
||||||
"\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00" \
|
|
||||||
--mask \
|
|
||||||
"\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"
|
|
||||||
|
|
||||||
# First test using QFont fails if fonts-noto-cjk is installed. This happens because
|
# First test using QFont fails if fonts-noto-cjk is installed. This happens because
|
||||||
# running fontcache for that font takes > 5 mins when run on QEMU. Running fc-cache
|
# running fontcache for that font takes > 5 mins when run on QEMU. Running fc-cache
|
||||||
|
|||||||
@@ -1,89 +0,0 @@
|
|||||||
#!/bin/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script installs the Yocto toolchain
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
|
||||||
|
|
||||||
echo "Installing Yocto toolchain for 32-bit b2qt..."
|
|
||||||
|
|
||||||
versionARM="2.2.2"
|
|
||||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemuarmv7-2c947f7.sh"
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/morty/$package"
|
|
||||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/morty/$package"
|
|
||||||
SHA1="2583ae29951954cb27f12400fcb4ee94738d1430"
|
|
||||||
yoctoInstaller="/tmp/yocto-toolchain-ARMv7.sh"
|
|
||||||
yoctoLocationARMv7="/opt/yocto-armv7"
|
|
||||||
sysrootARMv7="sysroots/armv7ahf-neon-poky-linux-gnueabi"
|
|
||||||
crosscompileARMv7="sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-"
|
|
||||||
|
|
||||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$yoctoInstaller"
|
|
||||||
chmod +x "$yoctoInstaller"
|
|
||||||
|
|
||||||
/bin/bash "$yoctoInstaller" -y -d "$yoctoLocationARMv7"
|
|
||||||
rm -rf "$yoctoInstaller"
|
|
||||||
|
|
||||||
echo "Installing Yocto toolchain for 64-bit b2qt..."
|
|
||||||
|
|
||||||
versionARM64="2.2.2"
|
|
||||||
package="b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-qemuarm64-2c947f7.sh"
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/boot2qt/morty/$package"
|
|
||||||
AltUrl="http://download.qt.io/development_releases/prebuilt/boot2qt/morty/$package"
|
|
||||||
SHA1="512b5bc1ad62af88d021eb511eeac4648d661fc6"
|
|
||||||
yoctoInstaller="/tmp/yocto-toolchain-ARM64.sh"
|
|
||||||
yoctoLocationARM64="/opt/yocto-arm64"
|
|
||||||
sysrootARM64="sysroots/aarch64-poky-linux"
|
|
||||||
crosscompileARM64="sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-"
|
|
||||||
|
|
||||||
DownloadURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$yoctoInstaller"
|
|
||||||
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 "export QEMUARMV7_TOOLCHAIN_SYSROOT=$yoctoLocationARMv7/$sysrootARMv7" >> ~/.profile
|
|
||||||
echo "export QEMUARMV7_TOOLCHAIN_CROSS_COMPILE=$yoctoLocationARMv7/$crosscompileARMv7" >> ~/.profile
|
|
||||||
echo "export QEMUARM64_TOOLCHAIN_SYSROOT=$yoctoLocationARM64/$sysrootARM64" >> ~/.profile
|
|
||||||
echo "export QEMUARM64_TOOLCHAIN_CROSS_COMPILE=$yoctoLocationARM64/$crosscompileARM64" >> ~/.profile
|
|
||||||
else
|
|
||||||
echo "Error! Couldn't find installation paths for Yocto toolchain. Aborting provisioning." 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Yocto ARMv7 toolchain = $versionARM" >> ~/versions.txt
|
|
||||||
echo "Yocto ARM64 toolchain = $versionARM64" >> ~/versions.txt
|
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## 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$
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
## Commercial License Usage
|
## Commercial License Usage
|
||||||
@@ -33,6 +33,17 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# refresh local certificates
|
sudo apt-get update
|
||||||
sudo subscription-manager refresh
|
sudo apt-get install -y libboost-dev libboost-thread-dev libboost-system-dev libboost-program-options-dev libboost-filesystem-dev libxml2-dev libboost-regex-dev
|
||||||
|
|
||||||
|
TEMPDIR=$(mktemp --directory) || echo "Failed to create temporary directory"
|
||||||
|
trap "sudo rm -fr $TEMPDIR" EXIT
|
||||||
|
cd $TEMPDIR
|
||||||
|
git clone https://github.com/FreeOpcUa/freeopcua.git freeopcua
|
||||||
|
cd freeopcua
|
||||||
|
git checkout ca75e05a8e63d88dbfc259e1251f405106411b66
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../common/mqtt_broker.sh"
|
||||||
@@ -44,5 +44,3 @@ sudo zypper -nq install libXcomposite-devel
|
|||||||
sudo zypper -nq install libXcursor-devel
|
sudo zypper -nq install libXcursor-devel
|
||||||
sudo zypper -nq install libXrandr-devel
|
sudo zypper -nq install libXrandr-devel
|
||||||
sudo zypper -nq install libXtst-devel
|
sudo zypper -nq install libXtst-devel
|
||||||
sudo zypper -nq install mozilla-nspr-devel
|
|
||||||
sudo zypper -nq install mozilla-nss-devel
|
|
||||||
|
|||||||
@@ -1,85 +0,0 @@
|
|||||||
#!/bin/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script install Intel Parallel Studio XE Composer Edition for C++ Linux
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mainStorage="ci-files01-hki.intra.qt.io:/hdd/www/input"
|
|
||||||
localMount="/mnt/storage/"
|
|
||||||
|
|
||||||
iccPackage="parallel_studio_xe_2018_composer_edition_for_cpp.tgz"
|
|
||||||
iccPackageSource="$localMount/intel/$iccPackage"
|
|
||||||
iccInstallPath="/opt/intel"
|
|
||||||
iccTmpPath="/tmp/icc"
|
|
||||||
|
|
||||||
iccLicense="l_icc.lic"
|
|
||||||
iccLicenseSource="$localMount/semisecure/$iccLicense"
|
|
||||||
iccLicenseTarget="/home/qt/$iccLicense"
|
|
||||||
|
|
||||||
iccInstallInstructions="$iccTmpPath/instructions.txt"
|
|
||||||
|
|
||||||
sudo mkdir -p "$localMount"
|
|
||||||
sudo mount "$mainStorage" "$localMount"
|
|
||||||
mkdir -p "$iccTmpPath"
|
|
||||||
tar -zxf "$iccPackageSource" -C "$iccTmpPath" --strip 1
|
|
||||||
|
|
||||||
cp "$iccLicenseSource" "$iccLicenseTarget"
|
|
||||||
|
|
||||||
sudo umount "$localMount"
|
|
||||||
|
|
||||||
cat >"$iccInstallInstructions" <<EOT
|
|
||||||
ACCEPT_EULA=accept
|
|
||||||
CONTINUE_WITH_OPTIONAL_ERROR=yes
|
|
||||||
PSET_INSTALL_DIR=$iccInstallPath
|
|
||||||
CONTINUE_WITH_INSTALLDIR_OVERWRITE=yes
|
|
||||||
PSET_MODE=install
|
|
||||||
ACTIVATION_LICENSE_FILE=$iccLicenseTarget
|
|
||||||
ACTIVATION_TYPE=license_file
|
|
||||||
PHONEHOME_SEND_USAGE_DATA=no
|
|
||||||
ARCH_SELECTED=ALL
|
|
||||||
COMPONENTS=;intel-comp__x86_64;intel-comp-32bit__x86_64;intel-comp-doc__noarch;intel-comp-l-all-common__noarch;intel-comp-l-all-vars__noarch;intel-comp-nomcu-vars__noarch;intel-comp-ps-32bit__x86_64;intel-comp-ps__x86_64;intel-comp-ps-ss__x86_64;intel-comp-ps-ss-bec__x86_64;intel-comp-ps-ss-bec-32bit__x86_64;intel-openmp__x86_64;intel-openmp-32bit__x86_64;intel-openmp-common__noarch;intel-openmp-common-icc__noarch;intel-tbb-libs-32bit__x86_64;intel-tbb-libs__x86_64;intel-idesupport-icc-common-ps__noarch;intel-icc__x86_64;intel-icc-32bit__x86_64;intel-c-comp-common__noarch;intel-icc-common__noarch;intel-icc-common-ps__noarch;intel-icc-common-ps-ss-bec__noarch;intel-icc-doc__noarch;intel-icc-doc-ps__noarch;intel-icc-ps__x86_64;intel-icc-ps-ss__x86_64;intel-icc-ps-ss-bec__x86_64;intel-icc-ps-ss-bec-32bit__x86_64;intel-tbb-devel-32bit__x86_64;intel-tbb-devel__x86_64;intel-tbb-common__noarch;intel-tbb-doc__noarch;intel-ism__noarch;intel-ccompxe__noarch;intel-psxe-common__noarch;intel-psxe-doc__noarch;intel-psxe-common-doc__noarch;intel-ccompxe-doc__noarch;intel-psxe-licensing__noarch;intel-psxe-licensing-doc__noarch;intel-icsxe-pset
|
|
||||||
EOT
|
|
||||||
|
|
||||||
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu)
|
|
||||||
|
|
||||||
# Export LD_LIBRARY_PATH to Coin
|
|
||||||
echo "export ICC64_18_LDLP=$iccInstallPath/lib/intel64" >>~/.bashrc
|
|
||||||
echo "export ICC64_18_PATH=$iccInstallPath/compilers_and_libraries_2018.0.128/linux/bin/intel64:$iccInstallPath/bin" >>~/.bashrc
|
|
||||||
echo "ICC = 18.0.0 20170811" >> ~/versions.txt
|
|
||||||
|
|
||||||
rm -rf "$iccTmpPath"
|
|
||||||
@@ -5,4 +5,4 @@ sudo pkcon -y refresh
|
|||||||
sudo pkcon -y install python-devel python-virtualenv
|
sudo pkcon -y install python-devel python-virtualenv
|
||||||
|
|
||||||
# install python3
|
# install python3
|
||||||
sudo pkcon -y install python3 python3-pip python3-devel python3-virtualenv
|
sudo pkcon -y install libpython3_4m1_0 python3-base python3 python3-pip python3-devel python3-virtualenv
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../common/mqtt_broker.sh"
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
# shellcheck source=../common/try_catch.sh
|
# shellcheck source=../common/try_catch.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/InstallPKGFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallPKGFromURL.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/macos_10.12_sierra/XZ.pkg"
|
||||||
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
|
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
|
||||||
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
|
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
|
||||||
DestDir="/"
|
DestDir="/"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ ExceptionRemoveTmpFile=106
|
|||||||
ExceptionDisableAutoUpdate=107
|
ExceptionDisableAutoUpdate=107
|
||||||
|
|
||||||
|
|
||||||
url=http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/jdk-8u102-macosx-x64.dmg
|
url=http://ci-files01-hki.ci.local/input/mac/macos_10.12_sierra/jdk-8u102-macosx-x64.dmg
|
||||||
url_alt=http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-macosx-x64.dmg
|
url_alt=http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-macosx-x64.dmg
|
||||||
targetFile=/tmp/jdk-8u102-macosx-x64.dmg
|
targetFile=/tmp/jdk-8u102-macosx-x64.dmg
|
||||||
expectedSha1=1405af955f14e32aae187b5754a716307db22104
|
expectedSha1=1405af955f14e32aae187b5754a716307db22104
|
||||||
|
|||||||
@@ -48,4 +48,4 @@ source "${BASH_SOURCE%/*}/../common/try_catch.sh"
|
|||||||
# shellcheck source=../common/install_xcode.sh
|
# shellcheck source=../common/install_xcode.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/install_xcode.sh"
|
source "${BASH_SOURCE%/*}/../common/install_xcode.sh"
|
||||||
|
|
||||||
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_8.3.3.xz 8.3.3
|
InstallXCode /net/ci-files01-hki.ci.local/hdd/www/input/mac/Xcode_8.3.3.xz 8.3.3
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
|
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||||
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||||
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
||||||
appPrefix=""
|
appPrefix=""
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
|||||||
|
|
||||||
psqlVersion="9.6.0"
|
psqlVersion="9.6.0"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/Postgres-$psqlVersion.zip"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/macos_10.12_sierra/Postgres-$psqlVersion.zip"
|
||||||
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/$psqlVersion/Postgres-$psqlVersion.zip"
|
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/$psqlVersion/Postgres-$psqlVersion.zip"
|
||||||
SHA1="5078e44663787006ca55fa3b5e2be598bed82eb5"
|
SHA1="5078e44663787006ca55fa3b5e2be598bed82eb5"
|
||||||
appPrefix=""
|
appPrefix=""
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ source "${BASH_SOURCE%/*}/../common/try_catch.sh"
|
|||||||
targetFolder="/opt/android"
|
targetFolder="/opt/android"
|
||||||
sdkTargetFolder="$targetFolder/sdk"
|
sdkTargetFolder="$targetFolder/sdk"
|
||||||
|
|
||||||
basePath="/net/ci-files01-hki.intra.qt.io/hdd/www/input/android"
|
basePath="/net/ci-files01-hki.ci.local/hdd/www/input/android"
|
||||||
|
|
||||||
toolsVersion="r25.2.5"
|
toolsVersion="r25.2.5"
|
||||||
toolsFile="tools_$toolsVersion-macosx.zip"
|
toolsFile="tools_$toolsVersion-macosx.zip"
|
||||||
@@ -79,15 +79,15 @@ try
|
|||||||
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion" || throw $ExceptionSdkManager
|
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion" || throw $ExceptionSdkManager
|
||||||
|
|
||||||
echo "export ANDROID_SDK_HOME=$sdkTargetFolder" >> ~/.bashrc
|
echo "export ANDROID_SDK_ROOT=$sdkTargetFolder" >> ~/.bashrc
|
||||||
echo "export ANDROID_NDK_HOME=$targetFolder/android-ndk-$ndkVersion" >> ~/.bashrc
|
echo "export ANDROID_NDK_HOME=$targetFolder/android-ndk-$ndkVersion" >> ~/.bashrc
|
||||||
echo "export ANDROID_NDK_HOST=darwin-x86_64" >> ~/.bashrc
|
echo "export ANDROID_NDK_HOST=darwin-x86_64" >> ~/.bashrc
|
||||||
echo "export ANDROID_API_VERSION=$sdkApiLevel" >> ~/.bashrc
|
echo "export ANDROID_API_VERSION=$sdkApiLevel" >> ~/.bashrc
|
||||||
|
|
||||||
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
echo "Android SDK tools = $toolsVersion" >> ~/version.txt
|
||||||
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/version.txt
|
||||||
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
echo "Android SDK API level = $sdkApiLevel" >> ~/version.txt
|
||||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
echo "Android NDK = $ndkVersion" >> ~/version.txt
|
||||||
)
|
)
|
||||||
catch || {
|
catch || {
|
||||||
case $ex_code in
|
case $ex_code in
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ source "${BASH_SOURCE%/*}/../common/InstallFromCompressedFileFromURL.sh"
|
|||||||
|
|
||||||
opensslVersion="1.0.2k"
|
opensslVersion="1.0.2k"
|
||||||
opensslFile="openssl-$opensslVersion.tar.gz"
|
opensslFile="openssl-$opensslVersion.tar.gz"
|
||||||
opensslDlUrl="http://ci-files01-hki.intra.qt.io/input/openssl/$opensslFile"
|
opensslDlUrl="http://ci-files01-hki.ci.local/input/openssl/$opensslFile"
|
||||||
opensslAltDlUrl="https://www.openssl.org/source/$opensslFile"
|
opensslAltDlUrl="https://www.openssl.org/source/$opensslFile"
|
||||||
opensslSha1="5f26a624479c51847ebd2f22bb9f84b3b44dcb44"
|
opensslSha1="5f26a624479c51847ebd2f22bb9f84b3b44dcb44"
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
# shellcheck source=../common/try_catch.sh
|
# shellcheck source=../common/try_catch.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/InstallPKGFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallPKGFromURL.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/osx_10.11_el_capitan/XZ.pkg"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/osx_10.11_el_capitan/XZ.pkg"
|
||||||
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
|
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
|
||||||
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
|
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
|
||||||
DestDir="/"
|
DestDir="/"
|
||||||
|
|||||||
@@ -50,4 +50,4 @@ source "${BASH_SOURCE%/*}/../common/try_catch.sh"
|
|||||||
# shellcheck source=../common/install_xcode.sh
|
# shellcheck source=../common/install_xcode.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/install_xcode.sh"
|
source "${BASH_SOURCE%/*}/../common/install_xcode.sh"
|
||||||
|
|
||||||
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_8.2.xz 8.2
|
InstallXCode /net/ci-files01-hki.ci.local/hdd/www/input/mac/Xcode_8.2.xz 8.2
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
|
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/osx_10.11_el_capitan/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/osx_10.11_el_capitan/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||||
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||||
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
||||||
appPrefix=""
|
appPrefix=""
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
|
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/osx_10.11_el_capitan/Postgres-9.6.0.zip"
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mac/osx_10.11_el_capitan/Postgres-9.6.0.zip"
|
||||||
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/9.6.0/Postgres-9.6.0.zip"
|
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/9.6.0/Postgres-9.6.0.zip"
|
||||||
SHA1="5078e44663787006ca55fa3b5e2be598bed82eb5"
|
SHA1="5078e44663787006ca55fa3b5e2be598bed82eb5"
|
||||||
appPrefix=""
|
appPrefix=""
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\windows_removethemall.ps1"
|
||||||
1
coin/provisioning/qtci-windows-10-x86/09-vulkansdk.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/09-vulkansdk.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\vulkansdk.ps1"
|
||||||
1
coin/provisioning/qtci-windows-10-x86/mqtt_broker.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/mqtt_broker.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\mqtt_broker.ps1"
|
||||||
1
coin/provisioning/qtci-windows-10-x86/winrtrunner.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/winrtrunner.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\winrtrunner.ps1"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\windows_removethemall.ps1"
|
||||||
27
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/001-systemsetup.sh → coin/provisioning/qtci-windows-10-x86_64/05-mingw53.ps1
Executable file → Normal file
27
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/001-systemsetup.sh → coin/provisioning/qtci-windows-10-x86_64/05-mingw53.ps1
Executable file → Normal file
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
@@ -33,19 +31,18 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
set -e
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
# This script installs MinGW 5.3
|
||||||
source $BASEDIR/../common/network_test_server_ip.txt
|
|
||||||
|
|
||||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
|
||||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
|
||||||
echo "Set DISPLAY"
|
|
||||||
echo 'export DISPLAY=":0"' >> ~/.bashrc
|
|
||||||
# for current session
|
|
||||||
export DISPLAY=:0
|
|
||||||
|
|
||||||
# disable Automatic screen lock
|
$zip = "c:\users\qt\downloads\i686-5.3.0-release-posix-dwarf-rt_v4-rev0.7z"
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
||||||
# disable blank screen power saving
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/development_releases/prebuilt/mingw_32/i686-5.3.0-release-posix-dwarf-rt_v4-rev0.7z -OutFile $zip
|
||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
Verify-Checksum $zip "d4f21d25f3454f8efdada50e5ad799a0a9e07c6a"
|
||||||
|
Extract-7Zip $zip C:\
|
||||||
|
Rename-Item -path C:\mingw32 -newName C:\MinGW530
|
||||||
|
|
||||||
|
[Environment]::SetEnvironmentVariable("MINGW530", "C:\MinGW530", "Machine")
|
||||||
|
echo "MinGW = 5.3.0" >> ~/versions.txt
|
||||||
|
del $zip
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
$zip = "c:\users\qt\downloads\qnx700.7z"
|
$zip = "c:\users\qt\downloads\qnx700.7z"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.intra.qt.io/input/qnx/qnx700.7z -OutFile $zip
|
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.ci.local/input/qnx/qnx700.7z -OutFile $zip
|
||||||
Verify-Checksum $zip "2eab8bcf993056f79c9e2585c9c05e05658ba8bb"
|
Verify-Checksum $zip "2eab8bcf993056f79c9e2585c9c05e05658ba8bb"
|
||||||
Extract-7Zip $zip C:\
|
Extract-7Zip $zip C:\
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\vulkansdk.ps1"
|
||||||
1
coin/provisioning/qtci-windows-10-x86_64/mqtt_broker.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86_64/mqtt_broker.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\mqtt_broker.ps1"
|
||||||
33
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/004-p7zip.sh → coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
Executable file → Normal file
33
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/004-p7zip.sh → coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
Executable file → Normal file
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
@@ -32,24 +30,23 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
|
||||||
|
|
||||||
name="p7zip"
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
version="7-11"
|
|
||||||
package="epel-release-$version.noarch.rpm"
|
|
||||||
primaryUrl="https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/$package"
|
|
||||||
cacheUrl="http://ci-files01-hki.intra.qt.io/input/rhel7/$package"
|
|
||||||
sha1="5512b80e5b71f2370d8419fa16a0bc14c5edf854"
|
|
||||||
targetFile="/tmp/$package"
|
|
||||||
|
|
||||||
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
$version = "11_2_2"
|
||||||
|
$openglPackage = "C:\Windows\SysWOW64\opengl32.dll"
|
||||||
|
|
||||||
sudo rpm -ivh "$targetFile"
|
$openglUrl = "\\ci-files01-hki.intra.qt.io\provisioning\mesa3d\windows\32bit\opengl32.dll"
|
||||||
sudo yum -y install "$name"
|
$openglSha1 = "690730f973aa39bd80648e026248394fde07a753"
|
||||||
sudo rm "$targetFile"
|
|
||||||
|
|
||||||
# Link 7za to 7z so we can use existing installation scripts
|
echo "Take ownership of existing opengl32.dll from SysWOW64"
|
||||||
sudo ln -s /usr/bin/7za /usr/bin/7z
|
takeown /f $openglPackage
|
||||||
|
icacls $openglPackage /grant Administrators:F
|
||||||
echo "$name = $version" >> ~/versions.txt
|
echo "Remove existing opengl32.dll from SysWOW64"
|
||||||
|
Remove-Item -Recurse -Force $openglPackage
|
||||||
|
echo "Add new opengl32.dll to SysWOW64"
|
||||||
|
Invoke-WebRequest -UseBasicParsing $openglUrl -OutFile $openglPackage
|
||||||
|
Verify-Checksum $openglPackage $openglSha1
|
||||||
|
|
||||||
|
# Store version information to ~/versions.txt
|
||||||
|
echo "OpenGL x86 = $version" >> ~/versions.txt
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\patch_qnx.ps1"
|
|
||||||
1
coin/provisioning/qtci-windows-10-x86_64/winrtrunner.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86_64/winrtrunner.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\winrtrunner.ps1"
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\allow-remote-desktop-access.ps1"
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\disable-uac.ps1"
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\windows_removethemall.ps1"
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\disable-sleep.ps1"
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\install-notepad++.ps1"
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\install-sevenzip.ps1"
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\disable-windows-updates.ps1"
|
|
||||||
@@ -1,36 +1,3 @@
|
|||||||
############################################################################
|
|
||||||
##
|
|
||||||
## 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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
# This script installs Android sdk and ndk
|
# This script installs Android sdk and ndk
|
||||||
32
coin/provisioning/qtci-windows-7-x86/07-android_openssl.ps1
Normal file
32
coin/provisioning/qtci-windows-7-x86/07-android_openssl.ps1
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
|
# OpenSSL need to be configured from sources for Android build in windows 7
|
||||||
|
# Msys need to be installed to target machine
|
||||||
|
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||||
|
|
||||||
|
$version = "1.0.2j"
|
||||||
|
$zip = "c:\users\qt\downloads\openssl-$version.tar.gz"
|
||||||
|
$sha1 = "bdfbdb416942f666865fa48fe13c2d0e588df54f"
|
||||||
|
$destination = "C:\Utils\openssl-android-master"
|
||||||
|
|
||||||
|
Download https://www.openssl.org/source/openssl-$version.tar.gz \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-$version.tar.gz $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
|
C:\Utils\sevenzip\7z.exe x $zip -oC:\Utils
|
||||||
|
C:\Utils\sevenzip\7z.exe x C:\Utils\openssl-$version.tar -oC:\Utils
|
||||||
|
Remove-Item $destination -Force -Recurse
|
||||||
|
Rename-Item C:\Utils\openssl-$version $destination
|
||||||
|
Remove-Item $zip
|
||||||
|
Remove-Item C:\Utils\openssl-$version.tar
|
||||||
|
|
||||||
|
set CC=C:\utils\android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-gcc
|
||||||
|
set AR=C:\utils\android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-ar
|
||||||
|
set ANDROID_DEV=C:\utils\android-ndk-r10e\platforms\android-18\arch-arm\usr
|
||||||
|
$env:Path = $env:Path + ";C:\msys\1.0\bin"
|
||||||
|
|
||||||
|
echo "Configuring OpenSSL $version for Android..."
|
||||||
|
cd $destination
|
||||||
|
C:\msys\1.0\bin\bash.exe -c "perl Configure shared android"
|
||||||
|
|
||||||
|
# Following command is needed when using version 1.1.0. With version 1.1.0 msys is not needed.
|
||||||
|
# C:\mingw530\bin\mingw32-make.exe include\openssl\opensslconf.h
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\install-git.ps1"
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\install-jdk.ps1"
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
. "$PSScriptRoot\..\common\install-dependencywalker.ps1"
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user