mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-24 13:47:46 +08:00
Compare commits
448 Commits
wip/qtsafe
...
wip/qt3d-r
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32eee8f17a | ||
|
|
a25629abfb | ||
|
|
cca980f401 | ||
|
|
7b7e0410fd | ||
|
|
4ab6c1dace | ||
|
|
eb1ca70def | ||
|
|
e28ed4a3a4 | ||
|
|
02127d3654 | ||
|
|
bdbc314b2a | ||
|
|
6c295ac7f0 | ||
|
|
b4b1bfe1a6 | ||
|
|
6b243aa278 | ||
|
|
e09cd7630f | ||
|
|
7c3689778e | ||
|
|
e9faaf8239 | ||
|
|
e57ef7c949 | ||
|
|
15ae235e51 | ||
|
|
6f6efe15fd | ||
|
|
b317ad8096 | ||
|
|
45709cec07 | ||
|
|
275f53c681 | ||
|
|
32c5bc52ce | ||
|
|
0cd3312bd4 | ||
|
|
2a27a539e7 | ||
|
|
407d64d584 | ||
|
|
b496b5f4d2 | ||
|
|
9dbf3d46ba | ||
|
|
b6c915e4c5 | ||
|
|
a2b5c37d7a | ||
|
|
ea52430c66 | ||
|
|
3a0c2b894c | ||
|
|
9cc1220a43 | ||
|
|
081601ba0e | ||
|
|
e7a999ce4d | ||
|
|
426708026e | ||
|
|
d7b03bf0bc | ||
|
|
1c8ff381be | ||
|
|
d75411d6e5 | ||
|
|
36e5f25e56 | ||
|
|
1f510d9514 | ||
|
|
f5ef436426 | ||
|
|
b1f1bf5560 | ||
|
|
b1b04fcb1a | ||
|
|
1989bc105d | ||
|
|
39a109c884 | ||
|
|
4d9ab7c72c | ||
|
|
8cd324b216 | ||
|
|
ab7772a73d | ||
|
|
c740458cd8 | ||
|
|
80b8954591 | ||
|
|
b1c3eeb213 | ||
|
|
c7562fa8ef | ||
|
|
f5af9f119b | ||
|
|
41369b6282 | ||
|
|
889cdbf4a8 | ||
|
|
7a018aeb8b | ||
|
|
8d04f876e7 | ||
|
|
e3699c5a6f | ||
|
|
93e31c1281 | ||
|
|
ce1479c1d3 | ||
|
|
d93baa38d0 | ||
|
|
cd87f148dd | ||
|
|
b8c0fb552f | ||
|
|
5586a17eff | ||
|
|
eccb53c607 | ||
|
|
9bf79e6bab | ||
|
|
1125bbae42 | ||
|
|
d14d8f0cac | ||
|
|
5cc5f606a9 | ||
|
|
c5ddbdb86b | ||
|
|
e48317193f | ||
|
|
8115be2811 | ||
|
|
13051ee1d2 | ||
|
|
0e870f5594 | ||
|
|
38e6ddc9ee | ||
|
|
2671e05023 | ||
|
|
795981e720 | ||
|
|
4d4159f7b7 | ||
|
|
6a06c4b4fe | ||
|
|
6c8307abf6 | ||
|
|
83f2a25f17 | ||
|
|
e8a60ed41b | ||
|
|
c404097600 | ||
|
|
3d6736a7f1 | ||
|
|
c1e2307d02 | ||
|
|
081861de18 | ||
|
|
8375a33d4a | ||
|
|
cd347c86af | ||
|
|
6df84f8984 | ||
|
|
cfc44559ef | ||
|
|
f9e9dd1393 | ||
|
|
ba30e967d0 | ||
|
|
2e6af2bba7 | ||
|
|
c79d285ffa | ||
|
|
24e1a15d40 | ||
|
|
2074cadecd | ||
|
|
1616d89eea | ||
|
|
7f6fd7621b | ||
|
|
0029642f18 | ||
|
|
daeaec9b3c | ||
|
|
9fdc8fe5e9 | ||
|
|
9af755a79e | ||
|
|
d4edeff8aa | ||
|
|
3c23dc4846 | ||
|
|
9e74a1e5b7 | ||
|
|
bb9547048b | ||
|
|
7c19a3f83b | ||
|
|
9f50ae280f | ||
|
|
fe06923553 | ||
|
|
dbe27bc9cc | ||
|
|
c8b3ed182d | ||
|
|
8f73d37425 | ||
|
|
9dd5f6d861 | ||
|
|
a01e7f3d40 | ||
|
|
8552003532 | ||
|
|
8197e80155 | ||
|
|
794913dde7 | ||
|
|
5085220907 | ||
|
|
de4e9c2169 | ||
|
|
f1eca9bbff | ||
|
|
ab021d4bb4 | ||
|
|
9ae91ae3f8 | ||
|
|
418cb4c4f5 | ||
|
|
b59f4207a3 | ||
|
|
488dc5c36e | ||
|
|
3cb40d34d3 | ||
|
|
f6d18ec9b3 | ||
|
|
a6feaec287 | ||
|
|
1b5f8cec03 | ||
|
|
2f9a2f65e5 | ||
|
|
a98b0f3d79 | ||
|
|
90261c1df5 | ||
|
|
250dd8c84e | ||
|
|
1c6abfae01 | ||
|
|
4492fd3268 | ||
|
|
5d7972b73b | ||
|
|
85f874388c | ||
|
|
863252be49 | ||
|
|
64c79b27d6 | ||
|
|
eebc0133f0 | ||
|
|
209cb73a36 | ||
|
|
400371faba | ||
|
|
23b4bcf6c5 | ||
|
|
237b308d47 | ||
|
|
280b08eb73 | ||
|
|
8a47814c91 | ||
|
|
8fae7aa66d | ||
|
|
9494b39329 | ||
|
|
5bbeaf6c0d | ||
|
|
b85b272c26 | ||
|
|
04d1ee1df4 | ||
|
|
00e3a0149a | ||
|
|
9cb66c0114 | ||
|
|
940ef0a4cc | ||
|
|
3410bab278 | ||
|
|
95609c6657 | ||
|
|
3230cdb138 | ||
|
|
7a052f4183 | ||
|
|
984b15d758 | ||
|
|
bb9739773c | ||
|
|
764294fcb8 | ||
|
|
686e3ff1b5 | ||
|
|
b038a8c2bd | ||
|
|
e926cd7556 | ||
|
|
52b163092a | ||
|
|
140c6479b5 | ||
|
|
399cface18 | ||
|
|
cb6709ce5c | ||
|
|
08c88de5c8 | ||
|
|
51a87054d6 | ||
|
|
8c790cd2bc | ||
|
|
9c1ce66737 | ||
|
|
b20224fe60 | ||
|
|
f6f00fdce1 | ||
|
|
f6f5cc70e9 | ||
|
|
c3b33afc32 | ||
|
|
5e31866727 | ||
|
|
b1a212b52e | ||
|
|
54d8396d68 | ||
|
|
3a3c6fb2b3 | ||
|
|
ae17b63db2 | ||
|
|
acbedcc314 | ||
|
|
3ba940924d | ||
|
|
8eed3b5be4 | ||
|
|
91739f5fe3 | ||
|
|
c64b2415d3 | ||
|
|
884490eaae | ||
|
|
bcaeff8210 | ||
|
|
060d0bdec1 | ||
|
|
5186a96b47 | ||
|
|
ea28c00dd6 | ||
|
|
443328fa9f | ||
|
|
c77d4946b2 | ||
|
|
355252621c | ||
|
|
5611fe34b0 | ||
|
|
e30de965b9 | ||
|
|
b2b076782f | ||
|
|
f2dbac41cf | ||
|
|
456a4d6453 | ||
|
|
9d73a2b304 | ||
|
|
6cd75cce72 | ||
|
|
d212f48b67 | ||
|
|
25a0f1fa08 | ||
|
|
0687514221 | ||
|
|
532f1dea57 | ||
|
|
3279652635 | ||
|
|
9a160d28d5 | ||
|
|
f322d6047a | ||
|
|
0e4931a8af | ||
|
|
4cd14f4625 | ||
|
|
d10baa6d3a | ||
|
|
f1422dc64b | ||
|
|
e33f38acef | ||
|
|
29456af9b9 | ||
|
|
704b2387de | ||
|
|
13be05c06d | ||
|
|
b032d87632 | ||
|
|
282a4f0a35 | ||
|
|
61cd31a5e3 | ||
|
|
250e07e99a | ||
|
|
a434f14bd9 | ||
|
|
351a519340 | ||
|
|
485244b016 | ||
|
|
18b5dbf7df | ||
|
|
3504be0d83 | ||
|
|
3c3d56c0cc | ||
|
|
c0b7daeb10 | ||
|
|
282899453d | ||
|
|
953dc011b2 | ||
|
|
352b30a15d | ||
|
|
e32dd4fe58 | ||
|
|
fc840c3459 | ||
|
|
052b4b5844 | ||
|
|
b6a1e9f07e | ||
|
|
5f57762934 | ||
|
|
dc1560dbef | ||
|
|
45528e6874 | ||
|
|
4319f7da72 | ||
|
|
21e7344389 | ||
|
|
7c66e59832 | ||
|
|
f2f9b14cee | ||
|
|
762530ba70 | ||
|
|
b22fccf5ba | ||
|
|
e33ef922ba | ||
|
|
b55370e356 | ||
|
|
5ee73db243 | ||
|
|
1c7ba877cc | ||
|
|
6e4f2f8433 | ||
|
|
da80efa880 | ||
|
|
c2d188f225 | ||
|
|
4175522924 | ||
|
|
ab25cb7af6 | ||
|
|
19872ea843 | ||
|
|
271fedaf88 | ||
|
|
de5d8f3b4f | ||
|
|
a8e3c392b2 | ||
|
|
29f29e6ea8 | ||
|
|
dc6c54cb2d | ||
|
|
a8178a1888 | ||
|
|
d196866f31 | ||
|
|
01b9b9051b | ||
|
|
2fe8d370e6 | ||
|
|
22e4664eb0 | ||
|
|
84899eca4c | ||
|
|
7139f29749 | ||
|
|
eba433c126 | ||
|
|
04727e9936 | ||
|
|
2a39f8e5fe | ||
|
|
7a37b90702 | ||
|
|
f51fd755b5 | ||
|
|
d3c2de907d | ||
|
|
a417fd37e0 | ||
|
|
5fa40393c5 | ||
|
|
cb327e54bd | ||
|
|
c8b8ee9c00 | ||
|
|
7a96b8dfd4 | ||
|
|
0bc8941e0c | ||
|
|
a7ebfbda72 | ||
|
|
62efcd0c0a | ||
|
|
66f9718ebb | ||
|
|
dc0d045c17 | ||
|
|
357de3ea13 | ||
|
|
1bba397539 | ||
|
|
730e2c9b0b | ||
|
|
5df4ec2ec9 | ||
|
|
ba6ae3be9a | ||
|
|
6b7ee9a8f0 | ||
|
|
b6249e89fa | ||
|
|
146bda6468 | ||
|
|
b5e287b93b | ||
|
|
a4adb7f7d6 | ||
|
|
b3d3adc541 | ||
|
|
2e75f02a3f | ||
|
|
2ee0364139 | ||
|
|
9236cd01a2 | ||
|
|
ae6ea5349f | ||
|
|
f5dfdedb2d | ||
|
|
547a0ded90 | ||
|
|
df7255ce44 | ||
|
|
3bcc9a9181 | ||
|
|
def11da274 | ||
|
|
475fc2c2ad | ||
|
|
44eaaf374a | ||
|
|
eccfaf1f50 | ||
|
|
c2c45640e0 | ||
|
|
a0e1f4f480 | ||
|
|
1f4d727570 | ||
|
|
f8712c099d | ||
|
|
adcdf7b49f | ||
|
|
6e54086be5 | ||
|
|
2b7b098700 | ||
|
|
f1db104ff9 | ||
|
|
ed0f440974 | ||
|
|
eb3b287df1 | ||
|
|
8baf4c994e | ||
|
|
beb73056c3 | ||
|
|
bc16944191 | ||
|
|
fdfe9e05ba | ||
|
|
9a9d798ce4 | ||
|
|
f60bc7aa9d | ||
|
|
f113a65c6e | ||
|
|
5a4b7a56b8 | ||
|
|
e6ddce15c3 | ||
|
|
5d6f3486bc | ||
|
|
208baeb301 | ||
|
|
47bf73f4d0 | ||
|
|
35db040229 | ||
|
|
062b29b311 | ||
|
|
26fda37639 | ||
|
|
4096e387f0 | ||
|
|
90272a84ae | ||
|
|
b0eddcbae6 | ||
|
|
94ce420956 | ||
|
|
f1a9b684bf | ||
|
|
59ee506fe6 | ||
|
|
0aecf8a1df | ||
|
|
4a4589d878 | ||
|
|
d068364935 | ||
|
|
037335f4bf | ||
|
|
5a7288d9b2 | ||
|
|
70f20ec55e | ||
|
|
f90790b3ed | ||
|
|
dc66b1f7e1 | ||
|
|
59cd433253 | ||
|
|
d18655ef5a | ||
|
|
081ee56cd0 | ||
|
|
88a5b96c50 | ||
|
|
6cbd3faac0 | ||
|
|
22a2a8a6b9 | ||
|
|
c41dd34de7 | ||
|
|
ef983c6a3b | ||
|
|
ee8327928d | ||
|
|
1099b1ddce | ||
|
|
cdab32be23 | ||
|
|
9a096e6841 | ||
|
|
ae9f6019bc | ||
|
|
cf0a8af55d | ||
|
|
35a3ba35ef | ||
|
|
7983297c8b | ||
|
|
e9c5f633e0 | ||
|
|
1643c95635 | ||
|
|
1cfc052b9d | ||
|
|
36d633f2fd | ||
|
|
214a38f974 | ||
|
|
892b1977c5 | ||
|
|
90ddfaf35f | ||
|
|
452814565e | ||
|
|
f07e18248f | ||
|
|
ce1627df92 | ||
|
|
b77ab20bf0 | ||
|
|
d82fe5cacf | ||
|
|
bfec1f8e3b | ||
|
|
804bfd8700 | ||
|
|
5d5a6d3a87 | ||
|
|
0c66e761be | ||
|
|
99af319684 | ||
|
|
1d965fc599 | ||
|
|
356b20feed | ||
|
|
c4a807ca85 | ||
|
|
f02c2e2fde | ||
|
|
b7d9431716 | ||
|
|
fd76acc661 | ||
|
|
5141ac6418 | ||
|
|
3e9b7b16c9 | ||
|
|
2ef18dac6c | ||
|
|
a1f173fc67 | ||
|
|
eb89f13583 | ||
|
|
dd3d32d13c | ||
|
|
cc8a7501f3 | ||
|
|
92b8f50bfa | ||
|
|
87df3502a7 | ||
|
|
664ce64f24 | ||
|
|
0dbc2a3aaf | ||
|
|
eb6ce241f0 | ||
|
|
4ad6292028 | ||
|
|
bf09762570 | ||
|
|
cf92d02d8a | ||
|
|
4bddc8d3f6 | ||
|
|
6a44181e8c | ||
|
|
8007941af0 | ||
|
|
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 |
95
.gitmodules
vendored
95
.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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtenginio"]
|
[submodule "qtenginio"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
@@ -211,101 +211,108 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 5.9
|
branch = 5.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtpurchasing"]
|
[submodule "qtpurchasing"]
|
||||||
depends = qtbase qtandroidextras
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative qtandroidextras
|
||||||
path = qtpurchasing
|
path = qtpurchasing
|
||||||
url = ../qtpurchasing.git
|
url = ../qtpurchasing.git
|
||||||
branch = 5.9
|
branch = 5.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
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.11.1
|
||||||
status = preview
|
status = addon
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebview
|
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth.git
|
url = ../qtnetworkauth.git
|
||||||
branch = 5.9
|
branch = 5.11.1
|
||||||
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.11.1
|
||||||
|
status = preview
|
||||||
|
[submodule "qtwebglplugin"]
|
||||||
|
depends = qtbase qtwebsockets
|
||||||
|
recommends = qtdeclarative
|
||||||
|
path = qtwebglplugin
|
||||||
|
url = ../qtwebglplugin.git
|
||||||
|
branch = 5.11.1
|
||||||
status = preview
|
status = preview
|
||||||
|
|||||||
@@ -1,25 +1,27 @@
|
|||||||
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-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
||||||
qtci-windows-7-x86-3 Mingw53 DeveloperBuild Release OpenGLDynamic
|
qtci-windows-7-x86-3 Mingw53 DeveloperBuild Release OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 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-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
|
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC NoWidgets ForceDebugInfo
|
qtci-linux-Ubuntu-16.04-x86_64-2 GCC NoWidgets ForceDebugInfo
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
qtci-linux-Ubuntu-16.04-x86_64-2 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-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests SystemSQLite
|
||||||
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.4-x86_64 GCC Packaging Release NoUseGoldLinker ForceDebugInfo SeparateDebugInfo
|
||||||
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.11-x86_64-3 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 multi Clang Release DisableTests Static
|
||||||
|
qtci-macos-10.12-x86_64-8 TvOS_ANY multi Clang Release DisableTests
|
||||||
|
qtci-macos-10.12-x86_64-8 WatchOS_ANY multi Clang Release DisableTests
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC Release
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC Release
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC Release
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC Release
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-2 GCC TestOnly LicenseCheck
|
qtci-linux-Ubuntu-16.04-x86_64-2 GCC TestOnly LicenseCheck
|
||||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
|
||||||
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-8.1-x86_64 x86 MSVC2013 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-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 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-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-10-x86_64-10 Mingw73 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-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 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.4-x86_64 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
@@ -14,11 +12,12 @@ qtci-windows-7-x86-3 Android_ANY armv7 Mingw53 Packagin
|
|||||||
qtci-windows-7-x86-3 Android_ANY x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-3 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-macos-10.12-x86_64-8 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
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-windows-10-x86_64-10 QNX_700 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-10-x86_64-10 QNX_660 x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-10-x86_64-10 QNX_700 armv8 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-windows-10-x86_64-10 QNX_700 x86_64 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv8 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86_64 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
|
||||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
|
|||||||
6
coin/platform_configs/tqtc-qt-rta.txt
Normal file
6
coin/platform_configs/tqtc-qt-rta.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Template Target OS Target arch Compiler Features
|
||||||
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
|
qtci-windows-7-x86_64-4 MSVC2013 Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-8.1-x86_64 MSVC2013 Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-10-x86-3 MSVC2017 Release ForceDebugInfo OpenGLDynamic
|
||||||
|
|
||||||
@@ -37,8 +37,11 @@
|
|||||||
|
|
||||||
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
||||||
|
|
||||||
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
# shellcheck source=../unix/check_and_set_proxy.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/check_and_set_proxy.sh"
|
source "${BASH_SOURCE%/*}/../unix/check_and_set_proxy.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
targetFolder="/opt/android"
|
targetFolder="/opt/android"
|
||||||
@@ -78,10 +81,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
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."
|
||||||
|
# shellcheck disable=SC2031
|
||||||
if [ "$http_proxy" != "" ]; then
|
if [ "$http_proxy" != "" ]; then
|
||||||
proxy_host=$(echo $proxy | cut -d'/' -f3 | cut -d':' -f1)
|
proxy_host=$(echo "$proxy" | cut -d'/' -f3 | cut -d':' -f1)
|
||||||
proxy_port=$(echo $proxy | cut -d':' -f3)
|
proxy_port=$(echo "$proxy" | cut -d':' -f3)
|
||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host=$proxy_host --proxy_port=$proxy_port "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||||
else
|
else
|
||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||||
fi
|
fi
|
||||||
@@ -91,7 +95,14 @@ SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
|||||||
SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
||||||
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2129
|
||||||
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
||||||
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
||||||
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
||||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
cd "$sdkTargetFolder/tools/bin"
|
||||||
|
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
||||||
|
echo "no" | ./avdmanager create avd -n x86emulator -k "system-images;android-21;google_apis;x86" -c 2048M -f
|
||||||
|
# Purely informative, show the list of avd devices
|
||||||
|
./avdmanager list avd
|
||||||
|
|||||||
@@ -37,7 +37,9 @@
|
|||||||
|
|
||||||
# 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=../unix/InstallFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="3.6.2"
|
version="3.6.2"
|
||||||
@@ -50,3 +52,6 @@ appPrefix="cmake-$version-Linux-x86_64"
|
|||||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||||
|
|
||||||
SetEnvVar "PATH" "$targetFolder/bin:\$PATH"
|
SetEnvVar "PATH" "$targetFolder/bin:\$PATH"
|
||||||
|
|
||||||
|
echo "CMake = $version" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -40,5 +40,5 @@ echo "Disable Network Time Protocol (NTP)"
|
|||||||
if uname -a |grep -q "Ubuntu"; then
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
sudo timedatectl set-ntp false
|
sudo timedatectl set-ntp false
|
||||||
else
|
else
|
||||||
systemctl &>/dev/null && sudo systemctl disable ntpd || sudo /sbin/chkconfig ntpd off
|
(systemctl &>/dev/null && sudo systemctl disable ntpd) || sudo /sbin/chkconfig ntpd off
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# We need to disable selinux while we are overwriting some binaries
|
# We need to disable selinux while we are overwriting some binaries
|
||||||
# required by it. If this is not done, ICU provisioning will create
|
# required by it. If this is not done, ICU provisioning will create
|
||||||
# template that is not booting.
|
# template that is not booting.
|
||||||
|
|||||||
@@ -34,7 +34,10 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# This script installs FBX SDK
|
# This script installs FBX SDK
|
||||||
|
|
||||||
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
@@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
# This script installs INTEGRITY
|
# This script installs INTEGRITY
|
||||||
|
|
||||||
|
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="11.4.4"
|
version="11.4.4"
|
||||||
|
|||||||
73
coin/provisioning/common/linux/open62541.sh
Executable file
73
coin/provisioning/common/linux/open62541.sh
Executable file
@@ -0,0 +1,73 @@
|
|||||||
|
#!/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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
set +e
|
||||||
|
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
|
||||||
|
# We need to source to be able to use cmake in the shell
|
||||||
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
|
source ~/.profile
|
||||||
|
else
|
||||||
|
source ~/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
TEMPDIR=$(mktemp --directory) || echo "Failed to create temporary directory"
|
||||||
|
# shellcheck disable=SC2064
|
||||||
|
trap "sudo rm -fr $TEMPDIR" EXIT
|
||||||
|
cd "$TEMPDIR"
|
||||||
|
|
||||||
|
sudo pip install --upgrade pip
|
||||||
|
sudo pip install six
|
||||||
|
|
||||||
|
git clone https://github.com/open62541/open62541.git open62541
|
||||||
|
cd open62541
|
||||||
|
git checkout 8845e493d7751fd4eee3917b540e5346646b9cf7
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DLIB_INSTALL_DIR:PATH=/usr/local/lib/open62541 ..
|
||||||
|
make
|
||||||
|
|
||||||
|
sudo make install
|
||||||
|
sudo /sbin/ldconfig
|
||||||
|
|
||||||
|
SetEnvVar "QTOPCUA_OPEN62541_LIB_PATH" "/usr/local/lib/open62541"
|
||||||
|
SetEnvVar "QTOPCUA_OPEN62541_INCLUDE_PATH" "/usr/local/include/open62541"
|
||||||
|
|
||||||
@@ -36,15 +36,17 @@
|
|||||||
# This script install OpenSSL from sources.
|
# This script install OpenSSL from sources.
|
||||||
# Requires GCC and Perl to be in PATH.
|
# Requires GCC and Perl to be in PATH.
|
||||||
|
|
||||||
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="1.0.2g"
|
version="1.0.2o"
|
||||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||||
targetFile="/tmp/openssl-$version.tar.gz"
|
targetFile="/tmp/openssl-$version.tar.gz"
|
||||||
installFolder="/home/qt/"
|
installFolder="/home/qt/"
|
||||||
sha="36af23887402a5ea4ebef91df8e61654906f58f2"
|
sha="a47faaca57b47a0d9d5fb085545857cc92062691"
|
||||||
# Until every VM doing Linux Android builds have provisioned the env variable
|
# 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.
|
# OPENSSL_ANDROID_HOME, we can't change the hard coded path that's currently in Coin.
|
||||||
# QTQAINFRA-1436
|
# QTQAINFRA-1436
|
||||||
@@ -54,7 +56,7 @@ DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
|||||||
|
|
||||||
tar -xzf "$targetFile" -C "$installFolder"
|
tar -xzf "$targetFile" -C "$installFolder"
|
||||||
# This rename should be removed once hard coded path from Coin is fixed. (QTQAINFRA-1436)
|
# This rename should be removed once hard coded path from Coin is fixed. (QTQAINFRA-1436)
|
||||||
mv "${opensslHome}g" "${opensslHome}"
|
mv "${opensslHome}o" "${opensslHome}"
|
||||||
pushd "$opensslHome"
|
pushd "$opensslHome"
|
||||||
|
|
||||||
echo "Running configure"
|
echo "Running configure"
|
||||||
|
|||||||
66
coin/provisioning/common/linux/qnx_660.sh
Executable file
66
coin/provisioning/common/linux/qnx_660.sh
Executable file
@@ -0,0 +1,66 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs QNX 6.6.0.
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
targetFolder="/opt/"
|
||||||
|
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/linux/qnx660.tar.gz"
|
||||||
|
sha1="E292CCAEF447AC1AA4DAD7802D604A5531ACD8D0"
|
||||||
|
folderName="qnx660"
|
||||||
|
targetFile="qnx660.tar.gz"
|
||||||
|
wget --tries=5 --waitretry=5 --progress=dot:giga --output-document="$targetFile" "$sourceFile"
|
||||||
|
echo "$sha1 $targetFile" | sha1sum --check
|
||||||
|
if [ ! -d "$targetFolder" ]; then
|
||||||
|
mkdir -p $targetFolder
|
||||||
|
fi
|
||||||
|
sudo tar -C $targetFolder -xvzf $targetFile
|
||||||
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
|
|
||||||
|
# Verify that we have last file in tar
|
||||||
|
if [ ! -f $targetFolder/$folderName/qnx660-env.sh ]; then
|
||||||
|
echo "Installation failed!"
|
||||||
|
exit -1
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf $targetFile
|
||||||
|
|
||||||
|
# Set env variables
|
||||||
|
SetEnvVar "QNX_660" "$targetFolder$folderName"
|
||||||
|
|
||||||
|
echo "QNX SDP = 6.6.0" >> ~/versions.txt
|
||||||
@@ -37,6 +37,7 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
targetFolder="/opt/"
|
targetFolder="/opt/"
|
||||||
@@ -44,7 +45,7 @@ sourceFile="http://ci-files01-hki.intra.qt.io/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 --progress=dot:giga --output-document="$targetFile" "$sourceFile"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check
|
echo "$sha1 $targetFile" | sha1sum --check
|
||||||
if [ ! -d "$targetFolder" ]; then
|
if [ ! -d "$targetFolder" ]; then
|
||||||
mkdir -p $targetFolder
|
mkdir -p $targetFolder
|
||||||
@@ -59,6 +60,7 @@ if [ ! -f $targetFolder/$folderName/qnxsdp-env.sh ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $targetFile
|
rm -rf $targetFile
|
||||||
|
|
||||||
# Set env variables
|
# Set env variables
|
||||||
SetEnvVar "QNX_700" "$targetFolder$folderName"
|
SetEnvVar "QNX_700" "$targetFolder$folderName"
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# shellcheck source=DownloadURL.sh
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
|
||||||
function InstallAppFromCompressedFileFromURL {
|
function InstallAppFromCompressedFileFromURL {
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ function InstallPKGFromURL {
|
|||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt"
|
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt"
|
||||||
)
|
)
|
||||||
echo "Checking SHA1 on PKG '$targetFile'"
|
echo "Checking SHA1 on PKG '$targetFile'"
|
||||||
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
echo "$expectedSha1 *$targetFile" > "$targetFile.sha1"
|
||||||
/usr/bin/shasum --check $targetFile.sha1
|
/usr/bin/shasum --check "$targetFile.sha1"
|
||||||
echo "Run installer on PKG"
|
echo "Run installer on PKG"
|
||||||
sudo installer -package "$targetFile" -target "$targetDirectory"
|
sudo installer -package "$targetFile" -target "$targetDirectory"
|
||||||
echo "Removing file '$targetFile'"
|
echo "Removing file '$targetFile'"
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ targetFolder="/tmp"
|
|||||||
targetFile="$targetFolder/$fileName"
|
targetFile="$targetFolder/$fileName"
|
||||||
installer="$targetFolder/fbx20161_2_fbxsdk_clang_macos.pkg"
|
installer="$targetFolder/fbx20161_2_fbxsdk_clang_macos.pkg"
|
||||||
|
|
||||||
ExceptionExtractPrimaryUrl=100
|
|
||||||
|
|
||||||
echo "Extracting '$cachedUrl'"
|
echo "Extracting '$cachedUrl'"
|
||||||
tar -xzf "$cachedUrl" -C "$targetFolder" || (
|
tar -xzf "$cachedUrl" -C "$targetFolder" || (
|
||||||
echo "Failed to uncompress from '$cachedUrl'"
|
echo "Failed to uncompress from '$cachedUrl'"
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
@@ -44,19 +45,19 @@ function InstallCommandLineTools {
|
|||||||
packageName=$4
|
packageName=$4
|
||||||
version=$5
|
version=$5
|
||||||
|
|
||||||
DownloadURL $url $url_alt $expectedSha1 /tmp/$packageName
|
DownloadURL "$url" "$url_alt" "$expectedSha1" "/tmp/$packageName"
|
||||||
echo "Mounting $packageName"
|
echo "Mounting $packageName"
|
||||||
hdiutil attach /tmp/$packageName
|
hdiutil attach "/tmp/$packageName"
|
||||||
cd "/Volumes/Command Line Developer Tools"
|
cd "/Volumes/Command Line Developer Tools"
|
||||||
echo "Installing"
|
echo "Installing"
|
||||||
sudo installer -verbose -pkg *.pkg -target /
|
sudo installer -verbose -pkg ./*.pkg -target /
|
||||||
cd /
|
cd /
|
||||||
# Let's fait for 5 second before unmounting. Sometimes resource is busy and cant be unmounted
|
# Let's fait for 5 second before unmounting. Sometimes resource is busy and cant be unmounted
|
||||||
sleep 3
|
sleep 3
|
||||||
echo "Unmounting"
|
echo "Unmounting"
|
||||||
umount /Volumes/Command\ Line\ Developer\ Tools/
|
umount /Volumes/Command\ Line\ Developer\ Tools/
|
||||||
echo "Removing $packageName"
|
echo "Removing $packageName"
|
||||||
rm /tmp/$packageName
|
rm "/tmp/$packageName"
|
||||||
|
|
||||||
echo "Command Line Tools = $version" >> ~/versions.txt
|
echo "Command Line Tools = $version" >> ~/versions.txt
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
# shellcheck source=./InstallPKGFromURL.sh
|
# shellcheck source=./InstallPKGFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
||||||
# shellcheck source=./../unix/SetEnvVar.sh
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
# shellcheck source=./pip.sh
|
# shellcheck source=./pip.sh
|
||||||
source "${BASH_SOURCE%/*}/pip.sh"
|
source "${BASH_SOURCE%/*}/pip.sh"
|
||||||
@@ -49,7 +49,7 @@ DestDir="/"
|
|||||||
|
|
||||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||||
|
|
||||||
InstallPip /Library/Frameworks/Python.framework/Versions/2.7/bin/python
|
InstallPip python2.7
|
||||||
|
|
||||||
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip install virtualenv
|
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip install virtualenv
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
# shellcheck source=./InstallPKGFromURL.sh
|
# shellcheck source=./InstallPKGFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
||||||
# shellcheck source=./../unix/SetEnvVar.sh
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
# shellcheck source=./pip.sh
|
# shellcheck source=./pip.sh
|
||||||
source "${BASH_SOURCE%/*}/pip.sh"
|
source "${BASH_SOURCE%/*}/pip.sh"
|
||||||
@@ -50,7 +50,7 @@ DestDir="/"
|
|||||||
|
|
||||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||||
|
|
||||||
InstallPip /Library/Frameworks/Python.framework/Versions/3.6/bin/python3
|
InstallPip python3.6
|
||||||
|
|
||||||
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install virtualenv
|
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install virtualenv
|
||||||
|
|
||||||
|
|||||||
@@ -45,5 +45,6 @@
|
|||||||
# /usr/local/bin/sha1sum -> /usr/bin/shasum5.18
|
# /usr/local/bin/sha1sum -> /usr/bin/shasum5.18
|
||||||
|
|
||||||
[ -d /usr/local/bin ] || sudo mkdir -p /usr/local/bin
|
[ -d /usr/local/bin ] || sudo mkdir -p /usr/local/bin
|
||||||
|
# shellcheck disable=SC2012
|
||||||
SHASUM_TOOLNAME=$(ls -r /usr/bin/shasum?.* | head -n1)
|
SHASUM_TOOLNAME=$(ls -r /usr/bin/shasum?.* | head -n1)
|
||||||
sudo ln -s "${SHASUM_TOOLNAME}" /usr/local/bin/sha1sum
|
sudo ln -s "${SHASUM_TOOLNAME}" /usr/local/bin/sha1sum
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
proxy="http://proxy.intra.qt.io:3128"
|
proxy=http://proxy.intra.qt.io:3128
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libclang_version="4.0"
|
libclang_version="6.0"
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ function DownloadURL {
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo "Checking SHA1 on PKG '$targetFile'"
|
echo "Checking SHA1 on PKG '$targetFile'"
|
||||||
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
echo "$expectedSha1 *$targetFile" > "$targetFile.sha1"
|
||||||
sha1sum --check $targetFile.sha1
|
sha1sum --check "$targetFile.sha1"
|
||||||
rm -f $targetFile.sha1
|
rm -f "$targetFile.sha1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../shared/http_proxy.txt
|
||||||
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
||||||
|
|
||||||
(wget -q -e "http_proxy=$proxy" --spider proxy.intra.qt.io && echo "Setting http_proxy to $proxy" && export http_proxy=$proxy) || echo "Proxy not detected at $proxy"
|
(wget -q -e "http_proxy=$proxy" --spider proxy.intra.qt.io && echo "Setting http_proxy to $proxy" && export http_proxy=$proxy) || echo "Proxy not detected at $proxy"
|
||||||
|
|||||||
@@ -40,10 +40,13 @@
|
|||||||
# In case of Linux, we expect to get the values as args
|
# In case of Linux, we expect to get the values as args
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# shellcheck source=./check_and_set_proxy.sh
|
||||||
source "${BASH_SOURCE%/*}/check_and_set_proxy.sh"
|
source "${BASH_SOURCE%/*}/check_and_set_proxy.sh"
|
||||||
|
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
. $BASEDIR/../shared/sw_versions.txt
|
# shellcheck source=../shared/sw_versions.txt
|
||||||
|
. "$BASEDIR/../shared/sw_versions.txt"
|
||||||
url=$1
|
url=$1
|
||||||
sha1=$2
|
sha1=$2
|
||||||
version=$3
|
version=$3
|
||||||
@@ -53,7 +56,7 @@ if [ $# -eq 0 ]
|
|||||||
echo "Using macOS defaults"
|
echo "Using macOS defaults"
|
||||||
version=$libclang_version
|
version=$libclang_version
|
||||||
url="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${version//\./}-mac.7z"
|
url="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${version//\./}-mac.7z"
|
||||||
sha1="4781d154b274b2aec99b878c364f0ea80ff00a80"
|
sha1="10e48167b61726b20517172f8aff80fa1d9a379b"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
zip="libclang.7z"
|
zip="libclang.7z"
|
||||||
@@ -61,10 +64,16 @@ destination="/usr/local/libclang-$version"
|
|||||||
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$zip" "$url"
|
curl --fail -L --retry 5 --retry-delay 5 -o "$zip" "$url"
|
||||||
echo "$sha1 $zip" | sha1sum --check
|
echo "$sha1 $zip" | sha1sum --check
|
||||||
7z x $zip -o/tmp/
|
7z x "$zip" -o/tmp/
|
||||||
rm -rf $zip
|
rm -rf "$zip"
|
||||||
|
|
||||||
sudo mv /tmp/libclang $destination
|
sudo mv /tmp/libclang "$destination"
|
||||||
|
|
||||||
echo "export LLVM_INSTALL_DIR=$destination" >> ~/.bash_profile
|
echo "export LLVM_INSTALL_DIR=$destination" >> ~/.bash_profile
|
||||||
echo "libClang = $version" >> ~/versions.txt
|
echo "libClang = $version" >> ~/versions.txt
|
||||||
|
|
||||||
|
if [ "$version" == "6.0" ]; then
|
||||||
|
# This is a hacked static build of libclang which requires special
|
||||||
|
# handling on the qdoc side.
|
||||||
|
SetEnvVar "QDOC_USE_STATIC_LIBCLANG" "1"
|
||||||
|
fi
|
||||||
|
|||||||
55
coin/provisioning/common/unix/mqtt_broker.sh
Normal file
55
coin/provisioning/common/unix/mqtt_broker.sh
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
#!/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=./InstallFromCompressedFileFromURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
CommitSHA="c342c09dadc7a664d0a8befad1ca031f5a0b0bc0"
|
||||||
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||||
|
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$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"
|
||||||
|
SetEnvVar "MQTT_TEST_BROKER_LOCATION" "$targetFolder/interoperability/startbroker.py"
|
||||||
|
|
||||||
|
echo "MQTT_BROKER = $CommitSHA" >> ~/versions.txt
|
||||||
@@ -51,6 +51,9 @@ fi
|
|||||||
squishLicenseUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
|
squishLicenseUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
|
||||||
squishLicenseFile=".squish-3-license.tar.gz"
|
squishLicenseFile=".squish-3-license.tar.gz"
|
||||||
|
|
||||||
|
testSuite="suite_test_squish"
|
||||||
|
testSuiteUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
|
||||||
|
|
||||||
# These checks can be removed when Vanilla OS for all linux and Mac are in
|
# These checks can be removed when Vanilla OS for all linux and Mac are in
|
||||||
if [ -d "$squishFolder" ]; then
|
if [ -d "$squishFolder" ]; then
|
||||||
echo "Move old squish to /tmp"
|
echo "Move old squish to /tmp"
|
||||||
@@ -90,7 +93,7 @@ function MountAndInstall {
|
|||||||
targetFileMount="$mountFolder"/"$targetFile"
|
targetFileMount="$mountFolder"/"$targetFile"
|
||||||
|
|
||||||
echo "Mounting $url to $mountFolder"
|
echo "Mounting $url to $mountFolder"
|
||||||
sudo mount "$url" $mountFolder
|
sudo mount "$url" "$mountFolder"
|
||||||
echo "Create $targetDirectory if needed"
|
echo "Create $targetDirectory if needed"
|
||||||
if [ ! -d "/opt" ]; then
|
if [ ! -d "/opt" ]; then
|
||||||
sudo mkdir "/opt"
|
sudo mkdir "/opt"
|
||||||
@@ -109,19 +112,19 @@ function MountAndInstall {
|
|||||||
fi
|
fi
|
||||||
sudo tar -xzf "$targetFileMount" --directory "$target"
|
sudo tar -xzf "$targetFileMount" --directory "$target"
|
||||||
echo "Unmounting $mountFolder"
|
echo "Unmounting $mountFolder"
|
||||||
sudo umount $mountFolder
|
sudo umount "$mountFolder"
|
||||||
elif [[ $targetFile == *.dmg ]]; then
|
elif [[ $targetFile == *.dmg ]]; then
|
||||||
echo "'dmg-file', no need to uncompress"
|
echo "'dmg-file', no need to uncompress"
|
||||||
sudo cp $targetFileMount /tmp
|
sudo cp "$targetFileMount" /tmp
|
||||||
sudo umount $mountFolder
|
sudo umount "$mountFolder"
|
||||||
sudo hdiutil attach "/tmp/$targetFile"
|
sudo hdiutil attach "/tmp/$targetFile"
|
||||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory"
|
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory"
|
||||||
sudo hdiutil unmount /Volumes/froglogic\ Squish/
|
sudo hdiutil unmount /Volumes/froglogic\ Squish/
|
||||||
elif [[ $targetFile == *.run ]]; then
|
elif [[ $targetFile == *.run ]]; then
|
||||||
echo "'run-file', no need to uncompress"
|
echo "'run-file', no need to uncompress"
|
||||||
sudo cp $targetFileMount $targetDirectory
|
sudo cp "$targetFileMount" "$targetDirectory"
|
||||||
sudo umount $mountFolder
|
sudo umount "$mountFolder"
|
||||||
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
sudo "$targetDirectory/$targetFile" unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||||
sudo rm -fr "$targetDirectory/$targetFile"
|
sudo rm -fr "$targetDirectory/$targetFile"
|
||||||
if uname -a |grep -q "Ubuntu"; then
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
sudo mkdir /usr/lib/tcl8.6
|
sudo mkdir /usr/lib/tcl8.6
|
||||||
@@ -140,10 +143,10 @@ echo "Set commands for environment variables in .bashrc"
|
|||||||
|
|
||||||
if uname -a |grep -q "Ubuntu"; then
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.profile
|
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.profile
|
||||||
echo "export PATH=\$PATH:$quishFolder/squish-$version/bin" >> ~/.profile
|
echo "export PATH=\$PATH:$squishFolder/squish-$version/bin" >> ~/.profile
|
||||||
else
|
else
|
||||||
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.bashrc
|
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.bashrc
|
||||||
echo "export PATH=\$PATH:$quishFolder/squish-$version/bin" >> ~/.bashrc
|
echo "export PATH=\$PATH:$squishFolder/squish-$version/bin" >> ~/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing squish license to home directory.."
|
echo "Installing squish license to home directory.."
|
||||||
@@ -151,3 +154,14 @@ MountAndInstall "$squishLicenseUrl" "$squishFolder" "$squishLicenseFile"
|
|||||||
|
|
||||||
echo "Installing squish $version.."
|
echo "Installing squish $version.."
|
||||||
MountAndInstall "$squishUrl" "$squishFolder" "$squishFile"
|
MountAndInstall "$squishUrl" "$squishFolder" "$squishFile"
|
||||||
|
|
||||||
|
echo "Installing test suite for squish"
|
||||||
|
MountAndInstall "$testSuiteUrl" "$squishFolder" "$testSuite.tar.gz"
|
||||||
|
|
||||||
|
echo "Verifying Squish Installation"
|
||||||
|
if "$squishFolder/package/bin/squishrunner" --testsuite "$squishFolder/$testSuite" | grep "Squish test run successfully" ; then
|
||||||
|
echo "Squish installation tested successfully"
|
||||||
|
else
|
||||||
|
echo "Squish test failed! Package wasn't installed correctly."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|||||||
@@ -2,18 +2,12 @@
|
|||||||
|
|
||||||
$scriptsPath = "C:\Python27\Scripts"
|
$scriptsPath = "C:\Python27\Scripts"
|
||||||
|
|
||||||
& "$scriptsPath\pip.exe" install --upgrade conan==0.24.0
|
Run-Executable "$scriptsPath\pip.exe" "install --upgrade conan==0.24.0"
|
||||||
|
|
||||||
# Use Qt Project repository by default
|
# Use Qt Project repository by default
|
||||||
& "$scriptsPath\conan.exe" remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert
|
Run-Executable "$scriptsPath\conan.exe" "remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert"
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_CONAN_BUILDINFO_DIR", "C:\Utils\conanbuildinfos", "Machine")
|
Set-EnvironmentVariable "CI_CONAN_BUILDINFO_DIR" "C:\Utils\conanbuildinfos"
|
||||||
|
|
||||||
function Start-Process-Logged
|
|
||||||
{
|
|
||||||
Write-Host "Start-Process", $args
|
|
||||||
Start-Process @args
|
|
||||||
}
|
|
||||||
|
|
||||||
function Run-Conan-Install
|
function Run-Conan-Install
|
||||||
{
|
{
|
||||||
@@ -43,20 +37,24 @@ function Run-Conan-Install
|
|||||||
$outpwd = "C:\Utils\conanbuildinfos\$($BuildinfoDir)\$($_.BaseName)"
|
$outpwd = "C:\Utils\conanbuildinfos\$($BuildinfoDir)\$($_.BaseName)"
|
||||||
New-Item $outpwd -Type directory -Force
|
New-Item $outpwd -Type directory -Force
|
||||||
|
|
||||||
$process = Start-Process-Logged `
|
for ($i = 1; $i -le 5; $i++) {
|
||||||
"$scriptsPath\conan.exe" `
|
try {
|
||||||
-WorkingDirectory $outpwd `
|
Push-Location $outpwd
|
||||||
-ArgumentList "install -f $conanfile --no-imports --verify $manifestsDir", `
|
Run-Executable "$scriptsPath\conan.exe" "install -f $conanfile --no-imports --verify $manifestsDir", `
|
||||||
'-s', ('compiler="' + $Compiler + '"'), `
|
'-s', ('compiler="' + $Compiler + '"'), `
|
||||||
"-s os=Windows -s arch=$Arch -s compiler.version=$CompilerVersion $extraArgs" `
|
"-s os=Windows -s arch=$Arch -s compiler.version=$CompilerVersion $extraArgs" `
|
||||||
-NoNewWindow -Wait -Verbose `
|
break;
|
||||||
-PassThru # Return process object
|
} catch {
|
||||||
|
if ($i -eq 5) {
|
||||||
if ($process.ExitCode -ne 0) {
|
throw "Could not install conan content"
|
||||||
Write-Host "conan exited with code $($process.ExitCode)"
|
}
|
||||||
Exit(1)
|
} finally {
|
||||||
|
Pop-Location
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Copy-Item -Path $conanfile -Destination "$outpwd\conanfile.txt"
|
Copy-Item -Path $conanfile -Destination "$outpwd\conanfile.txt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-Output "Conan = 0.24.0" >> ~\versions.txt
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\Qt3DStudio-3rdparty-win64-CI.zip"
|
$zip = Get-DownloadLocation "Qt3DStudio-3rdparty-win64-CI.zip"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip -OutFile $zip
|
$url = "http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
|
||||||
|
|
||||||
|
Download $url $url $zip
|
||||||
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
||||||
Extract-Zip $zip C:\Utils\Qt3DStudio3rdparty
|
Extract-7Zip $zip C:\Utils\Qt3DStudio3rdparty
|
||||||
Remove-Item $zip
|
Remove-Item -Path $zip
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("QT3DSTUDIO_3RDPARTY_DIR", "C:/Utils/Qt3DStudio3rdparty", "Machine")
|
Set-EnvironmentVariable "QT3DSTUDIO_3RDPARTY_DIR" "C:/Utils/Qt3DStudio3rdparty"
|
||||||
|
|||||||
@@ -30,7 +30,8 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script allows the Windows Remote Desktop Access
|
# This script allows the Windows Remote Desktop Access
|
||||||
|
|
||||||
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
|
Run-Executable "reg.exe" "add `"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server`" /v fDenyTSConnections /t REG_DWORD /d 0 /f"
|
||||||
|
|||||||
@@ -39,31 +39,33 @@
|
|||||||
# Msys need to be installed to target machine
|
# 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
|
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||||
|
|
||||||
$version = "1.0.2j"
|
$version = "1.0.2o"
|
||||||
$zip = "c:\users\qt\downloads\openssl-$version.tar.gz"
|
$zip = Get-DownloadLocation ("openssl-$version.tar.gz")
|
||||||
$sha1 = "bdfbdb416942f666865fa48fe13c2d0e588df54f"
|
$sha1 = "a47faaca57b47a0d9d5fb085545857cc92062691"
|
||||||
$destination = "C:\Utils\openssl-android-master"
|
$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
|
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
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
C:\Utils\sevenzip\7z.exe x $zip -oC:\Utils
|
Extract-7Zip $zip C:\Utils
|
||||||
C:\Utils\sevenzip\7z.exe x C:\Utils\openssl-$version.tar -oC:\Utils
|
Extract-7Zip C:\Utils\openssl-$version.tar C:\Utils
|
||||||
Rename-Item C:\Utils\openssl-$version $destination
|
Rename-Item C:\Utils\openssl-$version $destination
|
||||||
Remove-Item $zip
|
Remove-Item -Path $zip
|
||||||
Remove-Item C:\Utils\openssl-$version.tar
|
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-EnvironmentVariable "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-EnvironmentVariable "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
|
Set-EnvironmentVariable "ANDROID_DEV" "C:\utils\android-ndk-r10e\platforms\android-18\arch-arm\usr"
|
||||||
|
|
||||||
# Make sure configure for openssl has a "make" and "perl" available
|
# Make sure configure for openssl has a "make" and "perl" available
|
||||||
$env:PATH = $env:PATH + ";C:\msys\1.0\bin;C:\strawberry\perl\bin"
|
$env:PATH = $env:PATH + ";C:\msys\1.0\bin;C:\strawberry\perl\bin"
|
||||||
|
|
||||||
echo "Configuring OpenSSL $version for Android..."
|
Write-Host "Configuring OpenSSL $version for Android..."
|
||||||
pushd $destination
|
Push-Location $destination
|
||||||
C:\msys\1.0\bin\bash.exe -c "c:/strawberry/perl/bin/perl Configure shared android"
|
Run-Executable "C:\msys\1.0\bin\bash.exe" "-c `"c:/strawberry/perl/bin/perl Configure shared android`""
|
||||||
popd
|
Pop-Location
|
||||||
|
|
||||||
# Following command is needed when using version 1.1.0. With version 1.1.0 msys is not needed.
|
# 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
|
# C:\mingw530\bin\mingw32-make.exe include\openssl\opensslconf.h
|
||||||
|
|
||||||
|
Write-Output "Android OpenSSL = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -66,27 +66,23 @@ function Install($1, $2, $3, $4) {
|
|||||||
|
|
||||||
Download $offcialUrl $cacheUrl $zip
|
Download $offcialUrl $cacheUrl $zip
|
||||||
Verify-Checksum $zip "$checksum"
|
Verify-Checksum $zip "$checksum"
|
||||||
Extract-Zip $zip C:\Utils
|
Extract-7Zip $zip C:\Utils
|
||||||
}
|
}
|
||||||
|
|
||||||
function SdkUpdate ($1, $2) {
|
function SdkUpdate ($1, $2) {
|
||||||
echo "Running Android SDK update for $1..."
|
Write-Host "Running Android SDK update for $1..."
|
||||||
cmd /c "echo y |$1\tools\android update sdk --no-ui --all --filter $2"
|
cmd /c "echo y |$1\tools\android update sdk --no-ui --all --filter $2"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Installing Android ndk $nkdVersion"
|
Write-Host "Installing Android ndk $nkdVersion"
|
||||||
Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
|
Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
|
||||||
echo "Set environment variable ANDROID_NDK_HOME=$ndkFolder"
|
Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolder
|
||||||
[Environment]::SetEnvironmentVariable("ANDROID_NDK_HOME", $ndkFolder, "Machine")
|
Set-EnvironmentVariable "ANDROID_NDK_ROOT" $ndkFolder
|
||||||
echo "Set environment variable ANDROID_NDK_ROOT=$ndkFolder"
|
|
||||||
[Environment]::SetEnvironmentVariable("ANDROID_NDK_ROOT", $ndkFolder, "Machine")
|
|
||||||
|
|
||||||
#echo "Installing Android sdk $sdkVersion"
|
#Write-Host "Installing Android sdk $sdkVersion"
|
||||||
Install $sdkCachedUrl $sdkZip $sdkChecksum $sdkOfficialUrl
|
Install $sdkCachedUrl $sdkZip $sdkChecksum $sdkOfficialUrl
|
||||||
echo "Set environment variable ANDROID_SDK_HOME=$sdkFolder"
|
Set-EnvironmentVariable "ANDROID_SDK_HOME" $sdkFolder
|
||||||
[Environment]::SetEnvironmentVariable("ANDROID_SDK_HOME", $sdkFolder, "Machine")
|
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
|
||||||
echo "Set environment variable ANDROID_API_VERSION $sdkApiLevel"
|
|
||||||
[Environment]::SetEnvironmentVariable("ANDROID_API_VERSION", $sdkApiLevel, "Machine")
|
|
||||||
|
|
||||||
# SDK update
|
# SDK update
|
||||||
SdkUpdate $sdkFolder $sdkApiLevel
|
SdkUpdate $sdkFolder $sdkApiLevel
|
||||||
@@ -94,5 +90,17 @@ SdkUpdate $sdkFolder tools
|
|||||||
SdkUpdate $sdkFolder platform-tools
|
SdkUpdate $sdkFolder platform-tools
|
||||||
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
||||||
|
|
||||||
# kill adb. This process prevent's provisioning to continue
|
# kill adb. This process prevents provisioning to continue
|
||||||
taskkill /im adb.exe /f
|
$p = Get-Process -Name "adb" -ErrorAction:SilentlyContinue
|
||||||
|
if ($p -ne $null) {
|
||||||
|
Write-Host "Stopping adb.exe"
|
||||||
|
Stop-Process -Force $p
|
||||||
|
} else {
|
||||||
|
Write-Host "adb.exe not running"
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Output "Android SDK tools= $sdkVersion" >> ~/versions.txt
|
||||||
|
Write-Output "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
||||||
|
Write-Output "Android SDK Api Level = $sdkApiLevel" >> ~/versions.txt
|
||||||
|
Write-Output "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -36,21 +36,21 @@
|
|||||||
$majorminorversion = "3.6"
|
$majorminorversion = "3.6"
|
||||||
$version = "3.6.2"
|
$version = "3.6.2"
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\cmake-" + $version + "-win32-x86.zip"
|
$zip = Get-DownloadLocation ("cmake-" + $version + "-win32-x86.zip")
|
||||||
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
|
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
|
||||||
$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
|
$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
|
||||||
|
|
||||||
echo "Removing old cmake"
|
Write-Host "Removing old cmake"
|
||||||
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
Download $officialurl $cachedurl $zip
|
Download $officialurl $cachedurl $zip
|
||||||
Verify-Checksum $zip "541F6E7EFD228E46770B8631FFE57097576E4D4E"
|
Verify-Checksum $zip "541F6E7EFD228E46770B8631FFE57097576E4D4E"
|
||||||
|
|
||||||
Extract-Zip $zip C:
|
Extract-7Zip $zip C:
|
||||||
$defaultinstallfolder = "C:\cmake-" + $version + "-win32-x86"
|
$defaultinstallfolder = "C:\cmake-" + $version + "-win32-x86"
|
||||||
Rename-Item $defaultinstallfolder C:\CMake
|
Rename-Item $defaultinstallfolder C:\CMake
|
||||||
|
|
||||||
Add-Path "C:\CMake\bin"
|
Add-Path "C:\CMake\bin"
|
||||||
|
|
||||||
echo "CMake = $version" >> ~\versions.txt
|
Write-Output "CMake = $version" >> ~\versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -30,17 +30,6 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script will install QNX 6.6.0
|
Get-WmiObject Win32_OSRecoveryConfiguration -EnableAllPrivileges | Set-WmiInstance -Arguments @{ AutoReboot=$False }
|
||||||
|
|
||||||
$version = "6.6.0"
|
|
||||||
$nondottedversion = $version -replace '[.]',''
|
|
||||||
$targetFolder = "c:"
|
|
||||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\qnx" + $nondottedversion + ".zip"
|
|
||||||
|
|
||||||
Get-ChildItem $url_cache | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o"C:\"}
|
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("QNX_660", "$targetFolder", "Machine")
|
|
||||||
echo "QNX = $version" >> ~\versions.txt
|
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# Disable the NTP from syncing
|
# Disable the NTP from syncing
|
||||||
w32tm /config /syncfromflags:NO
|
Run-Executable "w32tm.exe" "/config /syncfromflags:NO"
|
||||||
|
|||||||
@@ -30,10 +30,11 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script prevents Windows from going to sleep
|
# This script prevents Windows from going to sleep
|
||||||
|
|
||||||
powercfg -change -monitor-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -monitor-timeout-ac 0"
|
||||||
powercfg -change -standby-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -standby-timeout-ac 0"
|
||||||
powercfg -change -disk-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -disk-timeout-ac 0"
|
||||||
powercfg -change -hibernate-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -hibernate-timeout-ac 0"
|
||||||
|
|||||||
@@ -30,7 +30,8 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script disables the Windows UAC
|
# This script disables the Windows UAC
|
||||||
|
|
||||||
C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
|
Run-Executable "reg.exe" "ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f"
|
||||||
|
|||||||
@@ -2,4 +2,7 @@
|
|||||||
#
|
#
|
||||||
# If disabled manually, windows will automatically enable it after
|
# If disabled manually, windows will automatically enable it after
|
||||||
# some period of time. Disabling it speeds up the builds.
|
# some period of time. Disabling it speeds up the builds.
|
||||||
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ if ($service.Status -eq "Stopped") {
|
|||||||
Write-Host "Windows Update service already stopped."
|
Write-Host "Windows Update service already stopped."
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Stopping Windows Update service."
|
Write-Host "Stopping Windows Update service."
|
||||||
stop-service wuauserv
|
Stop-Service -Name "wuauserv" -Force
|
||||||
}
|
}
|
||||||
|
|
||||||
$startup = Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "wuauserv"} | Select -ExpandProperty "StartMode"
|
$startup = Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "wuauserv"} | Select -ExpandProperty "StartMode"
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ $exe = "C:\Windows\Temp\$package"
|
|||||||
|
|
||||||
Download $officialUrl $cachedUrl $exe
|
Download $officialUrl $cachedUrl $exe
|
||||||
|
|
||||||
echo "Installing DirectX SDK"
|
Write-Host "Installing DirectX SDK"
|
||||||
cmd /c "$exe /u"
|
Run-Executable $exe "/u"
|
||||||
|
|
||||||
Remove-Item $exe
|
Remove-Item -Path $exe
|
||||||
|
|
||||||
echo "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt
|
Write-Output "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt
|
||||||
|
|||||||
39
coin/provisioning/common/windows/exceutequeueditems.ps1
Normal file
39
coin/provisioning/common/windows/exceutequeueditems.ps1
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
|
||||||
|
|
||||||
|
if( (is64bitWinHost) -eq 1 ) {
|
||||||
|
Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
|
||||||
|
}
|
||||||
@@ -51,18 +51,16 @@ $sha1 = "3690400625672bef6369bcf90dcde4d78b493b24"
|
|||||||
#$targetFile = "C:\Windows\Temp\$packageName"
|
#$targetFile = "C:\Windows\Temp\$packageName"
|
||||||
$targetFolder = "C:\Program Files\"
|
$targetFolder = "C:\Program Files\"
|
||||||
|
|
||||||
#echo "Downloading '$installerName'"
|
#Write-Host "Downloading '$installerName'"
|
||||||
#Download $officialUrl $cacheUrl $targetFile
|
#Download $officialUrl $cacheUrl $targetFile
|
||||||
#Verify-Checksum $targetFile $sha1
|
#Verify-Checksum $targetFile $sha1
|
||||||
|
|
||||||
echo "Extracting '$cacheUrl'"
|
Write-Host "Extracting '$cacheUrl'"
|
||||||
#Extract-7Zip $cacheUrl $targetFolder
|
Extract-7Zip $cacheUrl $targetFolder
|
||||||
Start-Process -FilePath "C:\Utils\sevenzip\7z.exe" -ArgumentList "x -y `"$cacheUrl`" -o`"$targetFolder`"" -Wait
|
|
||||||
|
|
||||||
#Remove-Item -Recurse -Force "$packageName"
|
#Remove-Item -Recurse -Force "$packageName"
|
||||||
|
|
||||||
echo "Adding environment variables."
|
Set-EnvironmentVariable "FBXSDK" "$targetFolder\Autodesk\FBX\FBX SDK\2016.1.2"
|
||||||
[Environment]::SetEnvironmentVariable("FBXSDK", "$targetFolder\Autodesk\FBX\FBX SDK\2016.1.2", [EnvironmentVariableTarget]::Machine)
|
|
||||||
|
|
||||||
echo "FBX SDK = $version" >> ~\versions.txt
|
Write-Output "FBX SDK = $version" >> ~\versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -5,13 +5,32 @@ function Verify-Checksum
|
|||||||
[string]$Expected=$(throw("Checksum required")),
|
[string]$Expected=$(throw("Checksum required")),
|
||||||
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
||||||
)
|
)
|
||||||
|
Write-Host "Verifying checksum of $File"
|
||||||
$fs = new-object System.IO.FileStream $File, "Open"
|
$fs = new-object System.IO.FileStream $File, "Open"
|
||||||
$algo = [type]"System.Security.Cryptography.$Algorithm"
|
$algo = [type]"System.Security.Cryptography.$Algorithm"
|
||||||
$crypto = $algo::Create()
|
$crypto = $algo::Create()
|
||||||
$hash = [BitConverter]::ToString($crypto.ComputeHash($fs)).Replace("-", "")
|
$hash = [BitConverter]::ToString($crypto.ComputeHash($fs)).Replace("-", "")
|
||||||
$fs.Close()
|
$fs.Close()
|
||||||
if ($hash -ne $Expected) {
|
if ($hash -ne $Expected) {
|
||||||
Write-Error "Checksum verification failed, got: '$hash' expected: '$Expected'"
|
throw "Checksum verification failed, got: '$hash' expected: '$Expected'"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Run-Executable
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$Executable=$(throw("You must specify a program to run.")),
|
||||||
|
[string[]]$Arguments
|
||||||
|
)
|
||||||
|
if ([string]::IsNullOrEmpty($Arguments)) {
|
||||||
|
Write-Host "Running `"$Executable`""
|
||||||
|
$p = Start-Process -FilePath "$Executable" -Wait -PassThru
|
||||||
|
} else {
|
||||||
|
Write-Host "Running `"$Executable`" with arguments `"$Arguments`""
|
||||||
|
$p = Start-Process -FilePath "$Executable" -ArgumentList $Arguments -Wait -PassThru
|
||||||
|
}
|
||||||
|
if ($p.ExitCode -ne 0) {
|
||||||
|
throw "Process $($Executable) exited with exit code $($p.ExitCode)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -19,66 +38,27 @@ function Extract-7Zip
|
|||||||
{
|
{
|
||||||
Param (
|
Param (
|
||||||
[string]$Source,
|
[string]$Source,
|
||||||
[string]$Destination
|
[string]$Destination,
|
||||||
|
[string]$Filter
|
||||||
)
|
)
|
||||||
echo "Extracting '$Source' to '$Destination'..."
|
Write-Host "Extracting '$Source' to '$Destination'..."
|
||||||
|
|
||||||
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
||||||
$zipExe = join-path (${env:ProgramFiles(x86)}, ${env:ProgramFiles} -ne $null)[0] '7-zip\7z.exe'
|
$zipExe = join-path (${env:ProgramFiles(x86)}, ${env:ProgramFiles}, ${env:ProgramW6432} -ne $null)[0] '7-zip\7z.exe'
|
||||||
if (-not (test-path $zipExe)) {
|
if (-not (test-path $zipExe)) {
|
||||||
$zipExe = join-path ${env:ProgramW6432} '7-zip\7z.exe'
|
$zipExe = "C:\Utils\sevenzip\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 {
|
||||||
$zipExe = "7z.exe"
|
$zipExe = "7z.exe"
|
||||||
}
|
}
|
||||||
|
|
||||||
& $zipExe x $Source "-o$Destination" -y
|
if ([string]::IsNullOrEmpty($Filter)) {
|
||||||
}
|
Run-Executable "$zipExe" "x -y `"-o$Destination`" `"$Source`""
|
||||||
|
} else {
|
||||||
function Extract-Zip
|
Run-Executable "$zipExe" "x -y -aoa `"-o$Destination`" `"$Source`" $Filter"
|
||||||
{
|
|
||||||
Param (
|
|
||||||
[string]$Source,
|
|
||||||
[string]$Destination
|
|
||||||
)
|
|
||||||
echo "Extracting '$Source' to '$Destination'..."
|
|
||||||
|
|
||||||
New-Item -ItemType Directory -Force -Path $Destination
|
|
||||||
$shell = new-object -com shell.application
|
|
||||||
$zipfile = $shell.Namespace($Source)
|
|
||||||
$destinationFolder = $shell.Namespace($Destination)
|
|
||||||
$destinationFolder.CopyHere($zipfile.Items(), 16)
|
|
||||||
}
|
|
||||||
|
|
||||||
function Extract-Dev-Folders-From-Zip
|
|
||||||
{
|
|
||||||
Param (
|
|
||||||
[string]$package,
|
|
||||||
[string]$zipDir,
|
|
||||||
[string]$installPath
|
|
||||||
)
|
|
||||||
|
|
||||||
$shell = new-object -com shell.application
|
|
||||||
|
|
||||||
echo "Extracting contents of $package"
|
|
||||||
foreach ($subDir in "lib", "include", "bin", "share") {
|
|
||||||
$zip = $shell.Namespace($package + "\" + $zipDir + "\" + $subDir)
|
|
||||||
if ($zip) {
|
|
||||||
Write-Host "Extracting $subDir from zip archive"
|
|
||||||
} else {
|
|
||||||
Write-Host "$subDir is missing from zip archive - skipping"
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
$destDir = $installPath + "\" + $subdir
|
|
||||||
New-Item $destDir -type directory
|
|
||||||
$destinationFolder = $shell.Namespace($destDir)
|
|
||||||
$destinationFolder.CopyHere($zip.Items(), 16)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -88,6 +68,17 @@ function BadParam
|
|||||||
throw("You must specify $Description")
|
throw("You must specify $Description")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Get-DefaultDownloadLocation
|
||||||
|
{
|
||||||
|
return $env:USERPROFILE + "\downloads\"
|
||||||
|
}
|
||||||
|
|
||||||
|
function Get-DownloadLocation
|
||||||
|
{
|
||||||
|
Param ([string]$TargetName = $(BadParam("a target filename")))
|
||||||
|
return (Get-DefaultDownloadLocation) + $TargetName
|
||||||
|
}
|
||||||
|
|
||||||
function Download
|
function Download
|
||||||
{
|
{
|
||||||
Param (
|
Param (
|
||||||
@@ -97,12 +88,14 @@ function Download
|
|||||||
)
|
)
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
try {
|
try {
|
||||||
|
Write-Host "Downloading from cached location ($CachedUrl) to $Destination"
|
||||||
if ($CachedUrl.StartsWith("http")) {
|
if ($CachedUrl.StartsWith("http")) {
|
||||||
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
|
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
|
||||||
} else {
|
} else {
|
||||||
Copy-Item $CachedUrl $Destination
|
Copy-Item $CachedUrl $Destination
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
|
Write-Host "Cached download failed: Downloading from official location: $OfficialUrl"
|
||||||
Invoke-WebRequest -UseBasicParsing $OfficialUrl -OutFile $Destination
|
Invoke-WebRequest -UseBasicParsing $OfficialUrl -OutFile $Destination
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -112,42 +105,33 @@ function Add-Path
|
|||||||
Param (
|
Param (
|
||||||
[string]$Path
|
[string]$Path
|
||||||
)
|
)
|
||||||
echo "Adding $Path to Path"
|
Write-Host "Adding $Path to Path"
|
||||||
|
|
||||||
$oldPath = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
|
$oldPath = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
|
||||||
[Environment]::SetEnvironmentVariable("Path", $oldPath + ";$Path", [EnvironmentVariableTarget]::Machine)
|
[Environment]::SetEnvironmentVariable("Path", $oldPath + ";$Path", [EnvironmentVariableTarget]::Machine)
|
||||||
|
$Env:PATH = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
|
||||||
}
|
}
|
||||||
|
|
||||||
function is64bitWinHost
|
function Set-EnvironmentVariable
|
||||||
{
|
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64")) {
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Function Execute-Command
|
|
||||||
{
|
{
|
||||||
Param (
|
Param (
|
||||||
[string]$command
|
[string]$Key = $(BadParam("a key")),
|
||||||
|
[string]$Value = $(BadParam("a value."))
|
||||||
)
|
)
|
||||||
Try {
|
Write-Host "Setting environment variable `"$($Key)`" to `"$($Value)`""
|
||||||
echo "Executing command '$command'..."
|
|
||||||
$process = Start-Process -FilePath "cmd" -ArgumentList "/c $command" -PassThru -Wait -WindowStyle Hidden
|
[Environment]::SetEnvironmentVariable($Key, $Value, [EnvironmentVariableTarget]::Machine)
|
||||||
if ($process.ExitCode) {throw "Error running command: '$command'"}
|
|
||||||
}
|
|
||||||
Catch {
|
|
||||||
$_.Exception.Message
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function isProxyEnabled {
|
function Is64BitWinHost
|
||||||
|
{
|
||||||
|
return [environment]::Is64BitOperatingSystem
|
||||||
|
}
|
||||||
|
|
||||||
|
function IsProxyEnabled {
|
||||||
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyEnable
|
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyEnable
|
||||||
}
|
}
|
||||||
|
|
||||||
function getProxy {
|
function Get-Proxy {
|
||||||
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyServer
|
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyServer
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,53 +37,11 @@
|
|||||||
|
|
||||||
$version = "53_1"
|
$version = "53_1"
|
||||||
|
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64")) {
|
if (Is64BitWinHost) {
|
||||||
|
|
||||||
$url_official_2013 = "http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2013/icu_" + $version + "_msvc_2013_64_devel.7z"
|
|
||||||
$url_cache_2013 = "\\ci-files01-hki.intra.qt.io/provisioning/windows/icu_" + $version + "_msvc_2013_64_devel.7z"
|
|
||||||
$sha1_2013 = "7267CF8C5BD39C4218F2CCFE31ECA81B7644ED6F"
|
|
||||||
|
|
||||||
$icuPackage_msvc2013_64 = "C:\Windows\Temp\icu-$version-msvc2013_64.7z"
|
|
||||||
|
|
||||||
if (!(Test-Path C:\Utils\icu_"$version"_msvc_2013_64_devel\)) {
|
|
||||||
echo "Fetching from URL ..."
|
|
||||||
Download $url_official_2013 $url_cache_2013 $icuPackage_msvc2013_64
|
|
||||||
Verify-Checksum $icuPackage_msvc2013_64 $sha1_2013
|
|
||||||
Get-ChildItem $icuPackage_msvc2013_64 | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o""C:\Utils\icu_"$version"_msvc_2013_64_devel\""}
|
|
||||||
|
|
||||||
echo "Cleaning $icuPackage_msvc2013_64..."
|
|
||||||
Remove-Item -Recurse -Force $icuPackage_msvc2013_64
|
|
||||||
|
|
||||||
echo "ICU MSVC2013 = $version" >> ~\versions.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
# FIXME: do we really want to have it per MSVC version? What about MSVC2015?
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2013", "C:\\Utils\\icu_53_1_msvc_2013_64_devel\\icu53_1", "Machine")
|
|
||||||
|
|
||||||
# FIXME: do we really want to use the 4.8.2 ICU build?
|
# FIXME: do we really want to use the 4.8.2 ICU build?
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_Mingw49", "C:\Utils\icu_53_1_Mingw_builds_4_8_2_posix_seh_64_devel\icu53_1", "Machine")
|
Set-EnvironmentVariable "CI_ICU_PATH_Mingw49" "C:\Utils\icu_53_1_Mingw_builds_4_8_2_posix_seh_64_devel\icu53_1"
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
$url_official_2013_32 = "http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2013/icu_" + $version + "_msvc_2013_32_devel.7z"
|
|
||||||
$url_cache_2013_32 = "\\ci-files01-hki.intra.qt.io/provisioning/windows/icu_" + $version + "_msvc_2013_32_devel.7z"
|
|
||||||
$sha1_2013_32 = "D745A5F0F6A3817AE989501A01A5A0BA53FDB800"
|
|
||||||
|
|
||||||
$icuPackage_msvc2013_32 = "C:\Windows\Temp\icu-$version-msvc2013_32.7z"
|
|
||||||
|
|
||||||
if (!(Test-Path C:\Utils\icu_"$version"_msvc_2013_32_devel\)) {
|
|
||||||
echo "Fetching from URL ..."
|
|
||||||
Download $url_official_2013_32 $url_cache_2013_32 $icuPackage_msvc2013_32
|
|
||||||
Verify-Checksum $icuPackage_msvc2013_32 $sha1_2013_32
|
|
||||||
Get-ChildItem $icuPackage_msvc2013_32 | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o""C:\Utils\icu_"$version"_msvc_2013_32_devel\""}
|
|
||||||
|
|
||||||
echo "Cleaning $icuPackage_msvc2013_32..."
|
|
||||||
Remove-Item -Recurse -Force $icuPackage_msvc2013_32
|
|
||||||
|
|
||||||
echo "ICU MSVC2013 = $version" >> ~\versions.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
# FIXME: do we really want to have it per MSVC version? What about MSVC2015?
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2013", "C:\\Utils\\icu_53_1_msvc_2013_32_devel\\icu53_1", "Machine")
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-Output "ICU = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -36,11 +36,10 @@
|
|||||||
# This script will install Dependency Walker 2.2.6000
|
# This script will install Dependency Walker 2.2.6000
|
||||||
|
|
||||||
$version = "2.2.6000"
|
$version = "2.2.6000"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "_x64"
|
$arch = "_x64"
|
||||||
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "_x86"
|
$arch = "_x86"
|
||||||
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
|
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
|
||||||
}
|
}
|
||||||
@@ -49,15 +48,15 @@ $url_official = "http://www.dependencywalker.com/depends22" + $arch + ".zip"
|
|||||||
$dependsPackage = "C:\Windows\Temp\depends-$version.zip"
|
$dependsPackage = "C:\Windows\Temp\depends-$version.zip"
|
||||||
|
|
||||||
$TARGETDIR = "C:\Utils\dependencywalker"
|
$TARGETDIR = "C:\Utils\dependencywalker"
|
||||||
if(!(Test-Path -Path $TARGETDIR )){
|
if (!(Test-Path -Path $TARGETDIR )) {
|
||||||
New-Item -ItemType directory -Path $TARGETDIR
|
New-Item -ItemType directory -Path $TARGETDIR
|
||||||
}
|
}
|
||||||
Download $url_official $url_cache $dependsPackage
|
Download $url_official $url_cache $dependsPackage
|
||||||
Verify-Checksum $dependsPackage $sha1
|
Verify-Checksum $dependsPackage $sha1
|
||||||
|
|
||||||
Get-ChildItem $dependsPackage | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname "-o$TARGETDIR"}
|
Extract-7Zip $dependsPackage $TARGETDIR
|
||||||
|
|
||||||
echo "Cleaning $dependsPackage.."
|
Write-Host "Cleaning $dependsPackage.."
|
||||||
Remove-Item -Recurse -Force "$dependsPackage"
|
Remove-Item -Recurse -Force -Path "$dependsPackage"
|
||||||
|
|
||||||
echo "Dependency Walker = $version" >> ~\versions.txt
|
Write-Output "Dependency Walker = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -35,11 +35,10 @@
|
|||||||
# Install Git version 2.13.0
|
# Install Git version 2.13.0
|
||||||
|
|
||||||
$version = "2.13.0"
|
$version = "2.13.0"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "-64-bit"
|
$arch = "-64-bit"
|
||||||
$sha1 = "E1D7C6E5E16ACAF3C108064A2ED158F604FA29A7"
|
$sha1 = "E1D7C6E5E16ACAF3C108064A2ED158F604FA29A7"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "-32-bit"
|
$arch = "-32-bit"
|
||||||
$sha1 = "03c7df2e4ef61ea6b6f9c0eb7e6d5151d9682aec"
|
$sha1 = "03c7df2e4ef61ea6b6f9c0eb7e6d5151d9682aec"
|
||||||
}
|
}
|
||||||
@@ -47,11 +46,11 @@ $gitPackage = "C:\Windows\Temp\Git-" + $version + $arch + ".exe"
|
|||||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
|
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
|
||||||
$url_official = "https://github.com/git-for-windows/git/releases/download/v" + $version + ".windows.1/Git-" + $version + $arch + ".exe"
|
$url_official = "https://github.com/git-for-windows/git/releases/download/v" + $version + ".windows.1/Git-" + $version + $arch + ".exe"
|
||||||
|
|
||||||
echo "Fetching Git $version..."
|
Write-Host "Fetching Git $version..."
|
||||||
Download $url_official $url_cache $gitPackage
|
Download $url_official $url_cache $gitPackage
|
||||||
Verify-Checksum $gitPackage $sha1
|
Verify-Checksum $gitPackage $sha1
|
||||||
echo "Installing Git $version..."
|
Write-Host "Installing Git $version..."
|
||||||
cmd /c "$gitPackage /SILENT /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh""
|
Run-Executable "$gitPackage" "/SILENT /COMPONENTS=`"icons,ext\reg\shellhere,assoc,assoc_sh`""
|
||||||
remove-item $gitPackage
|
Remove-Item -Path $gitPackage
|
||||||
|
|
||||||
echo "Git = $version" >> ~\versions.txt
|
Write-Output "Git = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -38,11 +38,10 @@
|
|||||||
$installdir = "C:\Program Files\Java\jdk1.8.0_144"
|
$installdir = "C:\Program Files\Java\jdk1.8.0_144"
|
||||||
|
|
||||||
$version = "8u144"
|
$version = "8u144"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "x64"
|
$arch = "x64"
|
||||||
$sha1 = "adb03bc3f4b40bcb3227687860798981d58e1858"
|
$sha1 = "adb03bc3f4b40bcb3227687860798981d58e1858"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "i586"
|
$arch = "i586"
|
||||||
$sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
|
$sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
|
||||||
}
|
}
|
||||||
@@ -51,28 +50,31 @@ $url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jdk-" + $version
|
|||||||
$official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/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"
|
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||||
|
|
||||||
echo "Fetching Java SE $version..."
|
Write-Host "Fetching Java SE $version..."
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
try {
|
try {
|
||||||
echo "...from local cache"
|
Write-Host "...from local cache"
|
||||||
Invoke-WebRequest -UseBasicParsing $url_cache -OutFile $javaPackage
|
Download $url_cache $url_cache $javaPackage
|
||||||
} catch {
|
} catch {
|
||||||
echo "...from oracle.com"
|
Write-Host "...from oracle.com"
|
||||||
$client = new-object System.Net.WebClient
|
$client = new-object System.Net.WebClient
|
||||||
$cookie = "oraclelicense=accept-securebackup-cookie"
|
$cookie = "oraclelicense=accept-securebackup-cookie"
|
||||||
$client.Headers.Add("Cookie", $cookie)
|
$client.Headers.Add("Cookie", $cookie)
|
||||||
$client.DownloadFile($official_url, $javaPackage)
|
$client.DownloadFile($official_url, $javaPackage)
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing $official_url -OutFile $javaPackage
|
Download $official_url $official_url $javaPackage
|
||||||
}
|
}
|
||||||
|
|
||||||
Verify-Checksum $javaPackage $sha1
|
Verify-Checksum $javaPackage $sha1
|
||||||
|
|
||||||
cmd /c "$javaPackage /s SPONSORS=0"
|
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||||
echo "Cleaning $javaPackage.."
|
Write-Host "Cleaning $javaPackage.."
|
||||||
Remove-Item -Recurse -Force "$javaPackage"
|
Remove-Item -Recurse -Force -Path "$javaPackage"
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("JAVA_HOME", "$installdir", [EnvironmentVariableTarget]::Machine)
|
Write-Host "Remove Java update from startup"
|
||||||
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /v SunJavaUpdateSched /f
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "JAVA_HOME" "$installdir"
|
||||||
Add-Path "$installdir\bin"
|
Add-Path "$installdir\bin"
|
||||||
|
|
||||||
echo "Java SE = $version $arch" >> ~\versions.txt
|
Write-Output "Java SE = $version $arch" >> ~\versions.txt
|
||||||
|
|||||||
@@ -55,14 +55,13 @@ function InstallMinGW
|
|||||||
Download $url_official $url_cache $mingwPackage
|
Download $url_official $url_cache $mingwPackage
|
||||||
Verify-Checksum $mingwPackage $sha1
|
Verify-Checksum $mingwPackage $sha1
|
||||||
|
|
||||||
Get-ChildItem $mingwPackage | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname "-o$TARGETDIR"}
|
Extract-7Zip $mingwPackage $TARGETDIR
|
||||||
|
|
||||||
echo "Adding MinGW environment variable."
|
Set-EnvironmentVariable "$envvar" ("$targetdir\mingw" + $win_arch.Substring($win_arch.get_Length()-2))
|
||||||
[Environment]::SetEnvironmentVariable("$envvar", "$targetdir\mingw32", [EnvironmentVariableTarget]::Machine)
|
|
||||||
|
|
||||||
echo "Cleaning $mingwPackage.."
|
Write-Host "Cleaning $mingwPackage.."
|
||||||
Remove-Item -Recurse -Force "$mingwPackage"
|
Remove-Item -Recurse -Force -Path "$mingwPackage"
|
||||||
|
|
||||||
echo "MinGW = $version $release" >> ~\versions.txt
|
Write-Output "MinGW = $version $release" >> ~\versions.txt
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,11 +36,10 @@
|
|||||||
# This script will install Notepad++
|
# This script will install Notepad++
|
||||||
|
|
||||||
$version = "7.3"
|
$version = "7.3"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = ".x64"
|
$arch = ".x64"
|
||||||
$sha1 = "E7306DF1D6E81801FB4BE0868610DB70E979B0AA"
|
$sha1 = "E7306DF1D6E81801FB4BE0868610DB70E979B0AA"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = ""
|
$arch = ""
|
||||||
$sha1 = "d4c403675a21cc381f640b92e596bae3ef958dc6"
|
$sha1 = "d4c403675a21cc381f640b92e596bae3ef958dc6"
|
||||||
}
|
}
|
||||||
@@ -50,13 +49,12 @@ $nppPackage = "C:\Windows\Temp\npp-$version.exe"
|
|||||||
|
|
||||||
Download $url_official $url_cache $nppPackage
|
Download $url_official $url_cache $nppPackage
|
||||||
Verify-Checksum $nppPackage $sha1
|
Verify-Checksum $nppPackage $sha1
|
||||||
cmd /c "$nppPackage /S"
|
Run-Executable "$nppPackage" "/S"
|
||||||
|
|
||||||
echo "Cleaning $nppPackage.."
|
Write-Host "Cleaning $nppPackage.."
|
||||||
Remove-Item -Recurse -Force "$nppPackage"
|
Remove-Item -Recurse -Force -Path "$nppPackage"
|
||||||
|
|
||||||
echo "Notepad++ = $version" >> ~\versions.txt
|
Write-Output "Notepad++ = $version" >> ~\versions.txt
|
||||||
|
|
||||||
|
Write-Host "Disabling auto updates."
|
||||||
Rename-Item -Path "C:\Program Files\Notepad++\updater" -NewName "updater_disabled"
|
Rename-Item -Path "C:\Program Files\Notepad++\updater" -NewName "updater_disabled"
|
||||||
|
|
||||||
echo "Auto-updating disabled."
|
|
||||||
|
|||||||
@@ -36,11 +36,10 @@
|
|||||||
# This script will install Ruby
|
# This script will install Ruby
|
||||||
|
|
||||||
$version = "2.4.2-2"
|
$version = "2.4.2-2"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "-x64"
|
$arch = "-x64"
|
||||||
$sha1 = "c961c2752a183487bc42ed24beb7e931230fa7d5"
|
$sha1 = "c961c2752a183487bc42ed24beb7e931230fa7d5"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "-x86"
|
$arch = "-x86"
|
||||||
$sha1 = "2639a481c3b5ad11f57d5523cc41ca884286089e"
|
$sha1 = "2639a481c3b5ad11f57d5523cc41ca884286089e"
|
||||||
}
|
}
|
||||||
@@ -50,9 +49,9 @@ $rubyPackage = "C:\Windows\Temp\rubyinstaller-$version.exe"
|
|||||||
|
|
||||||
Download $url_official $url_cache $rubyPackage
|
Download $url_official $url_cache $rubyPackage
|
||||||
Verify-Checksum $rubyPackage $sha1
|
Verify-Checksum $rubyPackage $sha1
|
||||||
Start-Process -FilePath $rubyPackage -ArgumentList "/dir=C:\Ruby-$version$arch /tasks=modpath /verysilent" -Wait
|
Run-Executable $rubyPackage "/dir=C:\Ruby-$version$arch /tasks=modpath /verysilent"
|
||||||
|
|
||||||
echo "Cleaning $rubyPackage.."
|
Write-Host "Cleaning $rubyPackage.."
|
||||||
Remove-Item -Recurse -Force "$rubyPackage"
|
Remove-Item -Recurse -Force -Path "$rubyPackage"
|
||||||
|
|
||||||
echo "Ruby = $version" >> ~\versions.txt
|
Write-Output "Ruby = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -38,11 +38,10 @@
|
|||||||
$version = "16.04"
|
$version = "16.04"
|
||||||
$nonDottedVersion = "1604"
|
$nonDottedVersion = "1604"
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "-x64"
|
$arch = "-x64"
|
||||||
$sha1 = "338A5CC5200E98EDD644FC21807FDBE59910C4D0"
|
$sha1 = "338A5CC5200E98EDD644FC21807FDBE59910C4D0"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = ""
|
$arch = ""
|
||||||
$sha1 = "dd1cb1163c5572951c9cd27f5a8dd550b33c58a4"
|
$sha1 = "dd1cb1163c5572951c9cd27f5a8dd550b33c58a4"
|
||||||
}
|
}
|
||||||
@@ -54,11 +53,11 @@ $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
|
Run-Executable $7zPackage "/S","/D=$7zTargetLocation"
|
||||||
|
|
||||||
echo "Cleaning $7zPackage.."
|
Write-Host "Cleaning $7zPackage.."
|
||||||
Remove-Item -Recurse -Force "$7zPackage"
|
Remove-Item -Recurse -Force -Path "$7zPackage"
|
||||||
|
|
||||||
Add-Path $7zTargetLocation
|
Add-Path $7zTargetLocation
|
||||||
|
|
||||||
echo "7-Zip = $version" >> ~\versions.txt
|
Write-Output "7-Zip = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -36,23 +36,23 @@
|
|||||||
# This script installs Strawberry Perl
|
# This script installs Strawberry Perl
|
||||||
|
|
||||||
$version = "5.26.0.1"
|
$version = "5.26.0.1"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "-64bit"
|
$arch = "-64bit"
|
||||||
$sha1 = "2AE2EDA36A190701399130CBFEE04D00E9BA036D"
|
$sha1 = "2AE2EDA36A190701399130CBFEE04D00E9BA036D"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "-32bit"
|
$arch = "-32bit"
|
||||||
$sha1 = "b50b688a879f33941433774b2813bfd4b917e4ee"
|
$sha1 = "b50b688a879f33941433774b2813bfd4b917e4ee"
|
||||||
}
|
}
|
||||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\strawberry-perl-" + $version + $arch + ".msi"
|
$installer_name = "strawberry-perl-" + $version + $arch + ".msi"
|
||||||
$url_official = "http://strawberryperl.com/download/" + $version + "/strawberry-perl-" + $version + $arch + ".msi"
|
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $installer_name
|
||||||
$strawberryPackage = "C:\Windows\Temp\strawberry-installer-$version.msi"
|
$url_official = "http://strawberryperl.com/download/" + $version + "/" + $installer_name
|
||||||
|
$strawberryPackage = "C:\Windows\Temp\" + $installer_name
|
||||||
|
|
||||||
Download $url_official $url_cache $strawberryPackage
|
Download $url_official $url_cache $strawberryPackage
|
||||||
Verify-Checksum $strawberryPackage $sha1
|
Verify-Checksum $strawberryPackage $sha1
|
||||||
cmd /c "$strawberryPackage /QB INSTALLDIR=C:\strawberry REBOOT=REALLYSUPPRESS"
|
Run-Executable "$strawberryPackage" "/QB INSTALLDIR=C:\strawberry REBOOT=REALLYSUPPRESS"
|
||||||
|
|
||||||
echo "Cleaning $strawberryPackage.."
|
Write-Host "Cleaning $strawberryPackage.."
|
||||||
Remove-Item -Recurse -Force "$strawberryPackage"
|
Remove-Item -Recurse -Force -Path "$strawberryPackage"
|
||||||
|
|
||||||
echo "strawberry = $version" >> ~\versions.txt
|
Write-Output "strawberry = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\jom_1_1_2.zip"
|
$zip = Get-DownloadLocation "jom_1_1_2.zip"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_2.zip -OutFile $zip
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_2.zip -OutFile $zip
|
||||||
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
||||||
Extract-Zip $zip C:\Utils\Jom
|
Extract-7Zip $zip C:\Utils\Jom
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_JOM_PATH", "C:\Utils\Jom", "Machine")
|
Set-EnvironmentVariable "CI_JOM_PATH" "C:\Utils\Jom"
|
||||||
|
|
||||||
|
Write-Output "Jom = 1.1.2" >> ~/versions.txt
|
||||||
|
|||||||
@@ -1,32 +1,94 @@
|
|||||||
param([Int32]$archVer=32)
|
param(
|
||||||
|
[Int32]$archVer=32,
|
||||||
|
[string]$toolchain="vs2015",
|
||||||
|
[bool]$setDefault=$true
|
||||||
|
)
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
||||||
# The Clang library (C-bindings), version 3.9 or higher is required for building.
|
# The Clang library (C-bindings), version 3.9 or higher is required for building.
|
||||||
|
|
||||||
|
# Starting from Qt 5.11 QDoc requires Clang to parse C++
|
||||||
|
|
||||||
Get-Content "$PSScriptRoot\..\shared\sw_versions.txt" | Foreach-Object {
|
Get-Content "$PSScriptRoot\..\shared\sw_versions.txt" | Foreach-Object {
|
||||||
$var = $_.Split('=')
|
$var = $_.Split('=')
|
||||||
New-Variable -Name $var[0] -Value $var[1]
|
New-Variable -Name $var[0] -Value $var[1] -Force
|
||||||
$libclang_version = $libclang_version -replace '["."]'
|
$libclang_version = $libclang_version -replace '["."]'
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $archVer -eq 64 ) {
|
$zip = Get-DownloadLocation "libclang.7z"
|
||||||
$sha1 = "dc42beb0efff130c4d7dfef3c97adf26f1ab04e0"
|
$baseDestination = "C:\Utils\libclang-" + $libclang_version + "-" + $toolchain
|
||||||
$url = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-windows-vs2015_64.7z"
|
|
||||||
} else {
|
function setURL() {
|
||||||
$sha1 = "64e826c00ae632fbb28655e6e1fa9194980e1205"
|
$script:url = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
|
||||||
$url = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-windows-vs2015_32.7z"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\libclang.7z"
|
$toolchainSuffix = ""
|
||||||
$destination = "C:\Utils\libclang-" + $libclang_version
|
|
||||||
|
|
||||||
Download $url $url $zip
|
if ( $toolchain -eq "vs2015" ) {
|
||||||
Verify-Checksum $zip $sha1
|
if ( $archVer -eq 64 ) {
|
||||||
|
$sha1 = "37afa18d243a50c05bee5c6e16b409ed526ec17a"
|
||||||
|
$destination = $baseDestination + "-64"
|
||||||
|
|
||||||
C:\Utils\sevenzip\7z.exe x $zip -oC:\Utils\
|
setURL
|
||||||
Rename-Item C:\Utils\libclang $destination
|
Download $url $url $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("LLVM_INSTALL_DIR", $destination, [EnvironmentVariableTarget]::Machine)
|
Extract-7Zip $zip C:\Utils\
|
||||||
del $zip
|
Rename-Item C:\Utils\libclang $destination
|
||||||
echo "libClang = $libclang_version" >> ~/versions.txt
|
Remove-Item -Force -Path $zip
|
||||||
|
}
|
||||||
|
|
||||||
|
$archVer=32
|
||||||
|
$sha1 = "812b6089c6da99ced9ebebbd42923bd96590519d"
|
||||||
|
$destination = $baseDestination + "-32"
|
||||||
|
|
||||||
|
setURL
|
||||||
|
Download $url $url $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
|
Extract-7Zip $zip C:\Utils\
|
||||||
|
Rename-Item C:\Utils\libclang $destination
|
||||||
|
Remove-Item -Force -Path $zip
|
||||||
|
$toolchainSuffix = "msvc"
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $toolchain -eq "mingw" ) {
|
||||||
|
if ( $archVer -eq 64 ) {
|
||||||
|
$sha1 = "1233e6c008b90d89483df0291a597a0bac426d29"
|
||||||
|
$destination = $baseDestination + "-64"
|
||||||
|
|
||||||
|
setURL
|
||||||
|
Download $url $url $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
|
Extract-7Zip $zip C:\Utils\
|
||||||
|
Rename-Item C:\Utils\libclang $destination
|
||||||
|
Remove-Item -Force -Path $zip
|
||||||
|
}
|
||||||
|
|
||||||
|
$archVer=32
|
||||||
|
$sha1 = "2d6ceab0e1a05e2b19fe615c57b64d36977b4933"
|
||||||
|
$destination = $baseDestination + "-32"
|
||||||
|
|
||||||
|
setURL
|
||||||
|
Download $url $url $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
|
Extract-7Zip $zip C:\Utils\
|
||||||
|
Rename-Item C:\Utils\libclang $destination
|
||||||
|
Remove-Item -Force -Path $zip
|
||||||
|
$toolchainSuffix = "mingw"
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( $setDefault ) {
|
||||||
|
Set-EnvironmentVariable "LLVM_INSTALL_DIR" ($baseDestination + "-_ARCH_")
|
||||||
|
}
|
||||||
|
Set-EnvironmentVariable ("LLVM_INSTALL_DIR_" + $toolchainSuffix) ($baseDestination + "-_ARCH_")
|
||||||
|
Write-Output "libClang = $libclang_version" >> ~/versions.txt
|
||||||
|
|
||||||
|
if ( $libclang_version -eq "60" ) {
|
||||||
|
# This is a hacked static build of libclang which requires special
|
||||||
|
# handling on the qdoc side.
|
||||||
|
Set-EnvironmentVariable "QDOC_USE_STATIC_LIBCLANG" "1"
|
||||||
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$archive = "C:\users\qt\downloads\libusb-1.0.21-ife3db79196-msvc2015.7z"
|
$archive = Get-DownloadLocation "libusb-1.0.21-ife3db79196-msvc2015.7z"
|
||||||
$libusb_location = "C:\Utils\libusb-1.0"
|
$libusb_location = "C:\Utils\libusb-1.0"
|
||||||
|
|
||||||
Copy-Item \\ci-files01-hki.intra.qt.io\provisioning\libusb-1.0\libusb-1.0.21-ife3db79196-msvc2015.7z $archive
|
Copy-Item \\ci-files01-hki.intra.qt.io\provisioning\libusb-1.0\libusb-1.0.21-ife3db79196-msvc2015.7z $archive
|
||||||
@@ -44,4 +44,6 @@ Verify-Checksum $archive "396a3224c306480f24a583850d923d06aa4377c1"
|
|||||||
Extract-7Zip $archive $libusb_location
|
Extract-7Zip $archive $libusb_location
|
||||||
|
|
||||||
# Tell qt-apps/qdb build system where to find libusb
|
# Tell qt-apps/qdb build system where to find libusb
|
||||||
[Environment]::SetEnvironmentVariable("LIBUSB_PATH", $libusb_location, "Machine")
|
Set-EnvironmentVariable "LIBUSB_PATH" $libusb_location
|
||||||
|
|
||||||
|
Write-Output "libusb = libusb-1.0.21" >> ~/versions.txt
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# This is needed e.g. for Android NDK installation for Windows 7 x86
|
# This is needed e.g. for Android NDK installation for Windows 7 x86
|
||||||
echo "Increase value of MaxMemoryPerShellMB to avoid 'out of memory' exception"
|
Write-Host "Increase value of MaxMemoryPerShellMB to avoid 'out of memory' exception"
|
||||||
set-item wsman:localhost\Shell\MaxMemoryPerShellMB 2048
|
set-item wsman:localhost\Shell\MaxMemoryPerShellMB 2048
|
||||||
|
|||||||
@@ -47,17 +47,19 @@ function Extract-Mesa
|
|||||||
[string]$targetFolder
|
[string]$targetFolder
|
||||||
)
|
)
|
||||||
Write-Host "Installing Mesa from $downloadUrl to $targetFolder"
|
Write-Host "Installing Mesa from $downloadUrl to $targetFolder"
|
||||||
$localArchivePath = "C:\Windows\temp\opengl32sw.7z"
|
Write-Host "Downloading $downloadUrl to $package"
|
||||||
Invoke-WebRequest -UseBasicParsing $downloadUrl -OutFile $localArchivePath
|
Invoke-WebRequest -UseBasicParsing $downloadUrl -OutFile $package
|
||||||
Verify-Checksum $localArchivePath $sha1
|
Verify-Checksum $package $sha1
|
||||||
Get-ChildItem $package | % {& "C:\Utils\sevenzip\7z.exe" "x" "-y" $_.fullname "-o$targetFolder"}
|
Extract-7Zip $package $targetFolder
|
||||||
Remove-Item $localArchivePath
|
Write-Host "Removing $package"
|
||||||
|
Remove-Item -Path $package
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( Test-Path C:\Windows\SysWOW64 ) {
|
if (Is64BitWinHost) {
|
||||||
Extract-Mesa $mesaOpenglUrl_64 $mesaOpenglSha1_64 "C:\Windows\System32"
|
Extract-Mesa $mesaOpenglUrl_64 $mesaOpenglSha1_64 "C:\Windows\System32"
|
||||||
Extract-Mesa $mesaOpenglUrl_32 $mesaOpenglSha1_32 "C:\Windows\SysWOW64"
|
Extract-Mesa $mesaOpenglUrl_32 $mesaOpenglSha1_32 "C:\Windows\SysWOW64"
|
||||||
} else {
|
} else {
|
||||||
Extract-Mesa $mesaOpenglUrl_32 $mesaOpenglSha1_32 "C:\Windows\system32"
|
Extract-Mesa $mesaOpenglUrl_32 $mesaOpenglSha1_32 "C:\Windows\system32"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-Output "Mesa llvmpipe = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2016 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 test suite of the Qt Toolkit.
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
@@ -31,21 +31,19 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# Patch QNX SDK due to issues in the standard library.
|
|
||||||
# The patches are available here:
|
|
||||||
# http://www.qnx.com/download/feature.html?programid=27555
|
|
||||||
# A copy of the patch must be in the root of the Coin path in
|
|
||||||
# provisioning/qnx/patch-660-4367-RS6069_cpp-headers.zip
|
|
||||||
|
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\patch-660-4367-RS6069_cpp-headers.zip"
|
Write-Host "MQTT: Downloading Paho test broker..."
|
||||||
$sha1 = "57A11FFE4434AD567B3C36F7B828DBB468A9E565"
|
$zip = Get-DownloadLocation "pahotest.zip"
|
||||||
$tempDir = "C:\temp\qnx_path"
|
$externalUrl = "http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-c342c09dadc7a664d0a8befad1ca031f5a0b0bc0.zip"
|
||||||
|
$internalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/c342c09dadc7a664d0a8befad1ca031f5a0b0bc0.zip"
|
||||||
|
$sha1 = "532fe145096cdd8d679f425cbfd883289150c968"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.intra.qt.io/input/qnx/patch-660-4367-RS6069_cpp-headers.zip -OutFile $zip
|
Download $externalUrl $internalUrl $zip
|
||||||
Verify-Checksum $zip $sha1
|
Verify-Checksum $zip $sha1
|
||||||
Extract-Zip $zip $tempDir
|
|
||||||
Copy-Item $tempDir\patches\660-4367\target\* C:\qnx660\target\ -recurse -force
|
Write-Host "MQTT: Installing $zip..."
|
||||||
Remove-Item $tempDir -recurse
|
Extract-7Zip $zip C:\Utils
|
||||||
|
Remove-Item -Path $zip
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "MQTT_TEST_BROKER_LOCATION" "C:\Utils\paho.mqtt.testing-c342c09dadc7a664d0a8befad1ca031f5a0b0bc0\interoperability\startbroker.py"
|
||||||
50
coin/provisioning/common/windows/msvc-2013-update5.ps1
Normal file
50
coin/provisioning/common/windows/msvc-2013-update5.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 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\helpers.ps1"
|
||||||
|
|
||||||
|
# Install Visual Studio 2013 update 5
|
||||||
|
|
||||||
|
$version = "2013 Update 5 (KB2829760)"
|
||||||
|
$package = "C:\Windows\Temp\vs12-kb2829760.exe"
|
||||||
|
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VS2013.5.exe"
|
||||||
|
|
||||||
|
Write-Host "Fetching patch for Visual Studio $version..."
|
||||||
|
Copy-Item $url_cache $package
|
||||||
|
|
||||||
|
Write-Host "Installing Update 5 for Visual Studio $version..."
|
||||||
|
Run-Executable "$package" "/norestart /passive"
|
||||||
|
|
||||||
|
Write-Host "Removing $package ..."
|
||||||
|
Remove-Item $package
|
||||||
|
|
||||||
|
Write-Output "Visual Studio = $version" >> ~\versions.txt
|
||||||
@@ -36,25 +36,32 @@
|
|||||||
# Original download page: https://msdn.microsoft.com/en-us/library/mt752379.aspx
|
# Original download page: https://msdn.microsoft.com/en-us/library/mt752379.aspx
|
||||||
|
|
||||||
$version = "2015 update3 (KB3165756)"
|
$version = "2015 update3 (KB3165756)"
|
||||||
$package = "C:\Windows\Temp\vs14-kb3165756.exe"
|
$packagePath = "C:\Windows\Temp"
|
||||||
|
$package = $packagePath + "\vs14-kb3165756.exe"
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/vs14-kb3165756.exe"
|
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/vs14-kb3165756.exe"
|
||||||
$url_official = "http://go.microsoft.com/fwlink/?LinkID=816878"
|
$url_official = "http://go.microsoft.com/fwlink/?LinkID=816878"
|
||||||
$sha1 = "6a21d9b291ca75d44baad95e278fdc0d05d84c02"
|
$sha1 = "6a21d9b291ca75d44baad95e278fdc0d05d84c02"
|
||||||
$preparedPackage="\\ci-files01-hki.intra.qt.io\provisioning\windows\vs14-kb3165756-update"
|
$preparedPackage = "\\ci-files01-hki.intra.qt.io\provisioning\windows\vs14-kb3165756-update"
|
||||||
|
|
||||||
if (Test-Path $preparedPackage) {
|
if (Test-Path $preparedPackage) {
|
||||||
echo "Using prepared package"
|
# The prepared package contains updated packages so that not everything has to be downloaded
|
||||||
pushd $preparedPackage
|
Write-Host "Using prepared package"
|
||||||
$commandLine = "$preparedPackage\vs14-kb3165756.exe"
|
Copy-Item -Recurse $preparedPackage $packagePath
|
||||||
|
# Remove the whole downloaded folder
|
||||||
|
$toRemove = $packagePath + "\vs14-kb3165756-update"
|
||||||
|
$executable = "$toRemove\vs14-kb3165756.exe"
|
||||||
} else {
|
} else {
|
||||||
echo "Fetching patch for Visual Studio $version..."
|
Write-Host "Fetching patch for Visual Studio $version..."
|
||||||
Download $url_official $url_cache $package
|
Download $url_official $url_cache $package
|
||||||
Verify-Checksum $package $sha1
|
$executable = $package
|
||||||
$commandLine = $package
|
# Remove the downloaded executable
|
||||||
|
$toRemove = $executable
|
||||||
}
|
}
|
||||||
echo "Installing patch for Visual Studio $version..."
|
|
||||||
. $commandLine /norestart /passive
|
|
||||||
|
|
||||||
if ($commandLine.StartsWith("C:\Windows")) {
|
Verify-Checksum $executable $sha1
|
||||||
remove-item $package
|
Write-Host "Installing patch for Visual Studio $version..."
|
||||||
}
|
Run-Executable $executable "/norestart /passive"
|
||||||
|
|
||||||
|
Remove-Item -Force -Recurse -Path $toRemove
|
||||||
|
|
||||||
|
Write-Output "Visual Studio = $version" >> ~\versions.txt
|
||||||
|
|||||||
@@ -37,8 +37,11 @@
|
|||||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||||
|
|
||||||
$version = "5.6.11"
|
$version = "5.6.11"
|
||||||
$packagex64 = "C:\Windows\temp\mysql-$version-winx64.zip"
|
$baseNameX64 = "mysql-$version-winx64"
|
||||||
$packagex86 = "C:\Windows\temp\mysql-$version-win32.zip"
|
$packagex64 = "C:\Windows\temp\$baseNameX64.zip"
|
||||||
|
$baseNameX86 = "mysql-$version-win32"
|
||||||
|
$packagex86 = "C:\Windows\temp\$baseNameX86.zip"
|
||||||
|
$installFolder = "C:\Utils\my_sql"
|
||||||
|
|
||||||
function DownloadAndInstall
|
function DownloadAndInstall
|
||||||
{
|
{
|
||||||
@@ -48,43 +51,33 @@ function DownloadAndInstall
|
|||||||
[string]$installPath
|
[string]$installPath
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "Fetching from URL ..."
|
Write-Host "Fetching from URL ..."
|
||||||
Copy-Item $internalUrl $package
|
Copy-Item $internalUrl $package
|
||||||
|
|
||||||
$zipDir = [io.path]::GetFileNameWithoutExtension($package)
|
$zipDir = [io.path]::GetFileNameWithoutExtension($package)
|
||||||
Extract-Dev-Folders-From-Zip $package $zipDir $installPath
|
Extract-7Zip $package $installPath "$zipDir\lib $zipDir\bin $zipDir\share $zipDir\include"
|
||||||
|
|
||||||
Remove-Item $package
|
Remove-Item -Path $package
|
||||||
}
|
}
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
# Install x64 bit version
|
# Install x64 bit version
|
||||||
$architecture = "x64"
|
$architecture = "x64"
|
||||||
$installFolder = "C:\Utils\my_sql\my_sql"
|
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-winx64.zip"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-winx64.zip"
|
||||||
|
|
||||||
DownloadAndInstall $internalUrl $packagex64 $installFolder
|
DownloadAndInstall $internalUrl $packagex64 $installFolder
|
||||||
|
|
||||||
echo "Set environment variables ..."
|
Set-EnvironmentVariable "MYSQL_INCLUDE_x64" "$installFolder\$baseNameX64\include"
|
||||||
[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x64", "$installFolder\include", "Machine")
|
Set-EnvironmentVariable "MYSQL_LIB_x64" "$installFolder\$baseNameX64\lib"
|
||||||
[Environment]::SetEnvironmentVariable("MYSQL_LIB_x64", "$installFolder\lib", "Machine")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install x86 bit version
|
# Install x86 bit version
|
||||||
$architecture = "x86"
|
$architecture = "x86"
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-win32.zip"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-win32.zip"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
|
||||||
$installFolder = "C:\Utils\my_sql\my_sql$architecture"
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$installFolder = "C:\Utils\my_sql\my_sql"
|
|
||||||
}
|
|
||||||
|
|
||||||
DownloadAndInstall $internalUrl $packagex86 $installFolder
|
DownloadAndInstall $internalUrl $packagex86 $installFolder
|
||||||
|
|
||||||
echo "Set environment variables ..."
|
Set-EnvironmentVariable "MYSQL_INCLUDE_x86" "$installFolder\$baseNameX86\include"
|
||||||
[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x86", "$installFolder\include", "Machine")
|
Set-EnvironmentVariable "MYSQL_LIB_x86" "$installFolder\$baseNameX86\lib"
|
||||||
[Environment]::SetEnvironmentVariable("MYSQL_LIB_x86", "$installFolder\lib", "Machine")
|
|
||||||
|
|
||||||
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
echo "MySQL = $version" >> ~/versions.txt
|
Write-Output "MySQL = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\ninja-1.6.0-win-x86.zip"
|
$zip = Get-DownloadLocation "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.intra.qt.io\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-7Zip $zip C:\Utils\Ninja
|
||||||
Remove-Item $zip
|
Remove-Item -Path $zip
|
||||||
|
|
||||||
Add-Path "C:\Utils\Ninja"
|
Add-Path "C:\Utils\Ninja"
|
||||||
|
|
||||||
|
Write-Output "Ninja = 1.6.0" >> ~/versions.txt
|
||||||
|
|||||||
@@ -36,38 +36,37 @@
|
|||||||
# This script installs OpenSSL $version.
|
# This script installs OpenSSL $version.
|
||||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||||
|
|
||||||
$version = "1_0_2j"
|
$version = "1_0_2o"
|
||||||
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
|
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
|
||||||
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
|
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
|
|
||||||
# Install x64 bit version
|
# Install x64 bit version
|
||||||
$architecture = "x64"
|
$architecture = "x64"
|
||||||
$installFolder = "C:\openssl"
|
$installFolder = "C:\openssl"
|
||||||
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
|
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
|
||||||
$sha1 = "b1660dbdcc77e1b3d81d780c7167be1c75384d44"
|
$sha1 = "86c71a28eda53fa406b957dd37491d616344b464"
|
||||||
|
|
||||||
echo "Fetching from URL ..."
|
Write-Host "Fetching from URL ..."
|
||||||
Download $externalUrl $internalUrl $packagex64
|
Download $externalUrl $internalUrl $packagex64
|
||||||
Verify-Checksum $packagex64 $sha1
|
Verify-Checksum $packagex64 $sha1
|
||||||
echo "Installing $packagex64 ..."
|
Write-Host "Installing $packagex64 ..."
|
||||||
cmd /c "$packagex64 /SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
Run-Executable "$packagex64" "/SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
||||||
|
|
||||||
echo "Remove downloaded $packagex64 ..."
|
Write-Host "Remove downloaded $packagex64 ..."
|
||||||
Remove-Item $packagex64
|
Remove-Item -Path $packagex64
|
||||||
|
|
||||||
echo "Set $architecture environment variables ..."
|
Set-EnvironmentVariable "OPENSSL_CONF_x64" "$installFolder\bin\openssl.cfg"
|
||||||
[Environment]::SetEnvironmentVariable("OPENSSL_CONF_x64", "$installFolder\bin\openssl.cfg", "Machine")
|
Set-EnvironmentVariable "OPENSSL_INCLUDE_x64" "$installFolder\include"
|
||||||
[Environment]::SetEnvironmentVariable("OPENSSL_INCLUDE_x64", "$installFolder\include", "Machine")
|
Set-EnvironmentVariable "OPENSSL_LIB_x64" "$installFolder\lib"
|
||||||
[Environment]::SetEnvironmentVariable("OPENSSL_LIB_x64", "$installFolder\lib", "Machine")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install x86 bit version
|
# Install x86 bit version
|
||||||
$architecture = "x86"
|
$architecture = "x86"
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$installFolder = "C:\openssl$architecture"
|
$installFolder = "C:\openssl$architecture"
|
||||||
} else {
|
} else {
|
||||||
$installFolder = "C:\openssl"
|
$installFolder = "C:\openssl"
|
||||||
@@ -75,21 +74,20 @@ if( (is64bitWinHost) -eq 1 ) {
|
|||||||
|
|
||||||
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
|
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
|
||||||
$sha1 = "29b31d20545214ab4e4c57afb20be2338c317cc3"
|
$sha1 = "bfc14fc03bd1d4dd03bf5459f62969d6b0ee96fe"
|
||||||
|
|
||||||
echo "Fetching from URL ..."
|
Write-Host "Fetching from URL ..."
|
||||||
Download $externalUrl $internalUrl $packagex86
|
Download $externalUrl $internalUrl $packagex86
|
||||||
Verify-Checksum $packagex86 $sha1
|
Verify-Checksum $packagex86 $sha1
|
||||||
echo "Installing $packagex86 ..."
|
Write-Host "Installing $packagex86 ..."
|
||||||
cmd /c "$packagex86 /SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
Run-Executable "$packagex86" "/SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
||||||
|
|
||||||
echo "Remove downloaded $packagex86 ..."
|
Write-Host "Remove downloaded $packagex86 ..."
|
||||||
Remove-Item $packagex86
|
Remove-Item -Path $packagex86
|
||||||
|
|
||||||
echo "Set $architecture environment variables ..."
|
Set-EnvironmentVariable "OPENSSL_CONF_x86" "$installFolder\bin\openssl.cfg"
|
||||||
[Environment]::SetEnvironmentVariable("OPENSSL_CONF_x86", "$installFolder\bin\openssl.cfg", "Machine")
|
Set-EnvironmentVariable "OPENSSL_INCLUDE_x86" "$installFolder\include"
|
||||||
[Environment]::SetEnvironmentVariable("OPENSSL_INCLUDE_x86", "$installFolder\include", "Machine")
|
Set-EnvironmentVariable "OPENSSL_LIB_x86" "$installFolder\lib"
|
||||||
[Environment]::SetEnvironmentVariable("OPENSSL_LIB_x86", "$installFolder\lib", "Machine")
|
|
||||||
|
|
||||||
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
echo "OpenSSL = $version" >> ~/versions.txt
|
Write-Output "OpenSSL = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -40,26 +40,25 @@ $version = "9.1.9-1"
|
|||||||
$packagex64 = "C:\Windows\temp\postgresql-$version-windows-x64-binaries.zip"
|
$packagex64 = "C:\Windows\temp\postgresql-$version-windows-x64-binaries.zip"
|
||||||
$packagex86 = "C:\Windows\temp\postgresql-$version-windows-binaries.zip"
|
$packagex86 = "C:\Windows\temp\postgresql-$version-windows-binaries.zip"
|
||||||
|
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
# Install x64 bit versions
|
# Install x64 bit versions
|
||||||
$architecture = "x64"
|
$architecture = "x64"
|
||||||
$installFolder = "C:\Utils\postgresql\pgsql"
|
$installFolder = "C:\Utils\postgresql"
|
||||||
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip"
|
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip"
|
||||||
$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"
|
||||||
|
|
||||||
echo "Fetching from URL ..."
|
Write-Host "Fetching from URL ..."
|
||||||
Download $externalUrl $internalUrl $packagex64
|
Download $externalUrl $internalUrl $packagex64
|
||||||
Verify-Checksum $packagex64 $sha1
|
Verify-Checksum $packagex64 $sha1
|
||||||
echo "Installing $packagex64 ..."
|
Write-Host "Installing $packagex64 ..."
|
||||||
Extract-Dev-Folders-From-Zip $packagex64 "pgsql" $installFolder
|
Extract-7Zip $packagex64 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\include"
|
||||||
|
|
||||||
echo "Remove downloaded $packagex64 ..."
|
Write-Host "Remove downloaded $packagex64 ..."
|
||||||
Remove-Item $packagex64
|
Remove-Item -Path $packagex64
|
||||||
|
|
||||||
echo "Set $architecture environment variables ..."
|
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x64" "$installFolder\pgsql\include"
|
||||||
[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x64", "$installFolder\include", "Machine")
|
Set-EnvironmentVariable "POSTGRESQL_LIB_x64" "$installFolder\pgsql\lib"
|
||||||
[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x64", "$installFolder\lib", "Machine")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install x86 bit version
|
# Install x86 bit version
|
||||||
@@ -67,26 +66,24 @@ $architecture = "x86"
|
|||||||
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip"
|
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip"
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
|
||||||
$sha1 = "eb4f01845e1592800edbb74f60944b6c0aca51a9"
|
$sha1 = "eb4f01845e1592800edbb74f60944b6c0aca51a9"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$installFolder = "C:\Utils\postgresql$architecture\pgsql"
|
$installFolder = "C:\Utils\postgresql$architecture"
|
||||||
}
|
} else {
|
||||||
else {
|
$installFolder = "C:\Utils\postgresql"
|
||||||
$installFolder = "C:\Utils\postgresql\pgsql"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
echo "Fetching from URL..."
|
Write-Host "Fetching from URL..."
|
||||||
Download $externalUrl $internalUrl $packagex86
|
Download $externalUrl $internalUrl $packagex86
|
||||||
Verify-Checksum $packagex86 $sha1
|
Verify-Checksum $packagex86 $sha1
|
||||||
echo "Installing $packagex86 ..."
|
Write-Host "Installing $packagex86 ..."
|
||||||
Extract-Dev-Folders-From-Zip $packagex86 "pgsql" $installFolder
|
Extract-7Zip $packagex86 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\include"
|
||||||
|
|
||||||
echo "Remove downloaded $packagex86 ..."
|
Write-Host "Remove downloaded $packagex86 ..."
|
||||||
Remove-Item $packagex86
|
Remove-Item -Path $packagex86
|
||||||
|
|
||||||
echo "Set $architecture environment variables ..."
|
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x86" "$installFolder\pgsql\include"
|
||||||
[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x86", "$installFolder\include", "Machine")
|
Set-EnvironmentVariable "POSTGRESQL_LIB_x86" "$installFolder\pgsql\lib"
|
||||||
[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x86", "$installFolder\lib", "Machine")
|
|
||||||
|
|
||||||
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
echo "PostgreSQL = $version" >> ~/versions.txt
|
Write-Output "PostgreSQL = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -30,17 +30,20 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
# This script installs Python $version.
|
# This script installs Python $version.
|
||||||
# Python is required for building Qt 5 from source.
|
# Python is required for building Qt 5 from source.
|
||||||
|
param(
|
||||||
|
[Int32]$archVer=32,
|
||||||
|
[string]$targetDir="C:\Python27"
|
||||||
|
)
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$version = "2.7.13"
|
$version = "2.7.13"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if ( $archVer -eq 64 ) {
|
||||||
$arch = ".amd64"
|
$arch = ".amd64"
|
||||||
$sha1 = "d9113142bae8829365c595735e1ad1f9f5e2894c"
|
$sha1 = "d9113142bae8829365c595735e1ad1f9f5e2894c"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = ""
|
$arch = ""
|
||||||
$sha1 = "7e3b54236dbdbea8fe2458db501176578a4d59c0"
|
$sha1 = "7e3b54236dbdbea8fe2458db501176578a4d59c0"
|
||||||
}
|
}
|
||||||
@@ -48,23 +51,36 @@ $package = "C:\Windows\temp\python-$version.msi"
|
|||||||
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version" + $arch + ".msi"
|
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version" + $arch + ".msi"
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\python-$version" + $arch + ".msi"
|
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\python-$version" + $arch + ".msi"
|
||||||
|
|
||||||
echo "Fetching from URL..."
|
Write-Host "Fetching from URL..."
|
||||||
Download $externalUrl $internalUrl $package
|
Download $externalUrl $internalUrl $package
|
||||||
Verify-Checksum $package $sha1
|
Verify-Checksum $package $sha1
|
||||||
echo "Installing $package..."
|
Write-Host "Installing $package..."
|
||||||
cmd /c "msiexec /passive /i $package ALLUSERS=1"
|
Run-Executable "msiexec" "/passive /i $package TARGETDIR=$targetDir ALLUSERS=1"
|
||||||
|
|
||||||
# We need to change allowZip64 from 'False' to 'True' to be able to create ZIP files that use the ZIP64 extensions when the zipfile is larger than 2 GB
|
# We need to change allowZip64 from 'False' to 'True' to be able to create ZIP files that use the ZIP64 extensions when the zipfile is larger than 2 GB
|
||||||
echo "Chancing allowZip64 value to 'True'..."
|
Write-Host "Changing allowZip64 value to 'True'..."
|
||||||
(Get-Content C:\Python27\lib\zipfile.py) | ForEach-Object { $_ -replace "allowZip64=False", "allowZip64=True" } | Set-Content C:\Python27\lib\zipfile.py
|
(Get-Content $targetDir\lib\zipfile.py) | ForEach-Object { $_ -replace "allowZip64=False", "allowZip64=True" } | Set-Content $targetDir\lib\zipfile.py
|
||||||
echo "Remove $package..."
|
Write-Host "Remove $package..."
|
||||||
del $package
|
Remove-Item -Path $package
|
||||||
|
|
||||||
Add-Path "C:\Python27;C:\Python27\Scripts"
|
# When installing 32 bit python to 64 bit host, we want to keep only default python in path
|
||||||
|
# For cross-compilation we export some helper env variable
|
||||||
|
if (($archVer -eq 32) -And (Is64BitWinHost)) {
|
||||||
|
Set-EnvironmentVariable "PYTHON2_32_PATH" "$targetDir"
|
||||||
|
Set-EnvironmentVariable "PIP2_32_PATH" "$targetDir\Scripts"
|
||||||
|
} else {
|
||||||
|
Add-Path "$targetDir;$targetDir\Scripts"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Run-Executable "$targetDir\python.exe" "-m ensurepip"
|
||||||
|
|
||||||
C:\Python27\python.exe -m ensurepip
|
|
||||||
# Install python virtual env
|
# Install python virtual env
|
||||||
#if ( isProxyEnabled ) {
|
if (IsProxyEnabled) {
|
||||||
# echo "Using proxy with pip"
|
$proxy = Get-Proxy
|
||||||
# $pip_args = "--proxy=" + (getProxy)
|
Write-Host "Using proxy ($proxy) with pip"
|
||||||
#}
|
$pip_args = "--proxy=$proxy"
|
||||||
C:\Python27\Scripts\pip.exe install virtualenv
|
}
|
||||||
|
Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install virtualenv"
|
||||||
|
|
||||||
|
Write-Output "Python-$archVer = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -32,43 +32,54 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
param([Int32]$archVer=32)
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
# This script installs Python $version.
|
# This script installs Python $version.
|
||||||
# Python3 is required for building some qt modules.
|
# Python3 is required for building some qt modules.
|
||||||
|
param(
|
||||||
|
[Int32]$archVer=32,
|
||||||
|
[string]$install_path = "C:\Python36"
|
||||||
|
)
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$version = "3.6.1"
|
$version = "3.6.1"
|
||||||
$package = "C:\Windows\temp\python-$version.exe"
|
$package = "C:\Windows\temp\python-$version.exe"
|
||||||
$install_path = "C:\Python36"
|
|
||||||
|
|
||||||
# check bit version
|
# check bit version
|
||||||
if ( $archVer -eq 64 ) {
|
if ( $archVer -eq 64 ) {
|
||||||
echo "Running in 64 bit system"
|
Write-Host "Installing 64 bit Python"
|
||||||
$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.intra.qt.io/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.intra.qt.io/input/windows/python-$version.exe"
|
||||||
$sha1 = "76c50b747237a0974126dd8b32ea036dd77b2ad1"
|
$sha1 = "76c50b747237a0974126dd8b32ea036dd77b2ad1"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Fetching from URL..."
|
Write-Host "Fetching from URL..."
|
||||||
Download $externalUrl $internalUrl $package
|
Download $externalUrl $internalUrl $package
|
||||||
Verify-Checksum $package $sha1
|
Verify-Checksum $package $sha1
|
||||||
echo "Installing $package..."
|
Write-Host "Installing $package..."
|
||||||
cmd /c "$package /q TargetDir=$install_path"
|
Run-Executable "$package" "/q TargetDir=$install_path"
|
||||||
echo "Remove $package..."
|
Write-Host "Remove $package..."
|
||||||
del $package
|
Remove-Item -Path $package
|
||||||
|
|
||||||
|
# For cross-compilation we export some helper env variable
|
||||||
|
if (($archVer -eq 32) -And (Is64BitWinHost)) {
|
||||||
|
Set-EnvironmentVariable "PYTHON3_32_PATH" "$install_path"
|
||||||
|
Set-EnvironmentVariable "PIP3_32_PATH" "$install_path\Scripts"
|
||||||
|
} else {
|
||||||
|
Set-EnvironmentVariable "PYTHON3_PATH" "$install_path"
|
||||||
|
Set-EnvironmentVariable "PIP3_PATH" "$install_path\Scripts"
|
||||||
|
}
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("PYTHON3_PATH", "$install_path", [EnvironmentVariableTarget]::Machine)
|
|
||||||
[Environment]::SetEnvironmentVariable("PIP3_PATH", "$install_path\Scripts", [EnvironmentVariableTarget]::Machine)
|
|
||||||
|
|
||||||
# Install python virtual env
|
# Install python virtual env
|
||||||
#if ( isProxyEnabled ) {
|
if (IsProxyEnabled) {
|
||||||
# echo "Using proxy with pip"
|
$proxy = Get-Proxy
|
||||||
# $pip_args = "--proxy=" + (getProxy)
|
Write-Host "Using proxy ($proxy) with pip"
|
||||||
#}
|
$pip_args = "--proxy=$proxy"
|
||||||
cmd /c "$install_path\Scripts\pip3.exe install virtualenv"
|
}
|
||||||
|
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv"
|
||||||
|
|
||||||
|
Write-Output "Python3-$archVer = $version" >> ~/versions.txt
|
||||||
|
|
||||||
|
|||||||
@@ -35,28 +35,25 @@ $n = Get-Content "$PSScriptRoot\..\shared\http_proxy.txt"
|
|||||||
$n = $n.Split('=')
|
$n = $n.Split('=')
|
||||||
New-Variable -Name $n[0] -Value $n[1]
|
New-Variable -Name $n[0] -Value $n[1]
|
||||||
|
|
||||||
if (([string]::IsNullOrEmpty($proxy)) -or ($proxy -eq '""')) {
|
if ([string]::IsNullOrEmpty($proxy)) {
|
||||||
echo "No proxy is defined."
|
Write-Host "No proxy is defined."
|
||||||
}
|
} else {
|
||||||
else {
|
Write-Host "Checking proxy @ $proxy"
|
||||||
echo "Checking proxy @ $proxy"
|
|
||||||
$proxy = $proxy -replace '"', ""
|
$proxy = $proxy -replace '"', ""
|
||||||
$webclient = New-Object System.Net.WebClient
|
$webclient = New-Object System.Net.WebClient
|
||||||
$proxy_obj = New-Object System.Net.WebProxy($proxy)
|
$proxy_obj = New-Object System.Net.WebProxy($proxy)
|
||||||
$webclient.proxy = $proxy_obj
|
$webclient.proxy = $proxy_obj
|
||||||
try {
|
try {
|
||||||
$webpage = $webclient.DownloadData("http://proxy.intra.qt.io")
|
$webpage = $webclient.DownloadData("http://proxy.intra.qt.io")
|
||||||
}
|
} catch {
|
||||||
catch {
|
|
||||||
$ErrorMessage = $_.Exception.Message
|
$ErrorMessage = $_.Exception.Message
|
||||||
$FailedItem = $_.Exception.ItemName
|
$FailedItem = $_.Exception.ItemName
|
||||||
$iserror = $true
|
$iserror = $true
|
||||||
}
|
}
|
||||||
if ($iserror -eq $true) {
|
if ($iserror -eq $true) {
|
||||||
echo "Testing download with proxy does not work: $ErrorMessage, $FailedItem. Not setting proxy."
|
Write-Host "Testing download with proxy does not work: $ErrorMessage, $FailedItem. Not setting proxy."
|
||||||
}
|
} else {
|
||||||
else {
|
Write-Host "Setting proxy to: $proxy"
|
||||||
echo "Setting proxy to: $proxy"
|
|
||||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Value "$proxy"
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyServer -Value "$proxy"
|
||||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 1
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 1
|
||||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride -Value 10.215
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyOverride -Value 10.215
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
## Copyright (C) 2018 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 provisioning scripts of the Qt Toolkit.
|
||||||
@@ -33,140 +33,117 @@
|
|||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
|
||||||
# This script will install squish package for Windows.
|
# This script will install squish package for Windows.
|
||||||
# Squish is need by Release Test Automation (RTA)
|
# Squish is need by Release Test Automation (RTA)
|
||||||
|
# NOTE! Make sure 64bit versions are always installed before 32bit,
|
||||||
|
# because they use same folder name before a rename
|
||||||
|
|
||||||
$version = "6.3.0"
|
$version = "6.3.0"
|
||||||
|
|
||||||
# Qt branch without dot (*.*)
|
# Qt branch without dot (*.*)
|
||||||
$qtBranch = "59x"
|
$qtBranch = "59x"
|
||||||
|
# So far Squish built with Qt5.9 works also with 5.10 and 5.11, but we have to be prepared that on some point
|
||||||
|
# the compatibility breaks, and we may need to have separate Squish packages for different Qt versions.
|
||||||
|
|
||||||
$targetDir = "C:\Utils\squish"
|
$targetDir = "C:\Utils\squish"
|
||||||
$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin"
|
$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin"
|
||||||
$squishBranchUrl = "$squishUrl\$qtBranch"
|
$squishBranchUrl = "$squishUrl\$qtBranch"
|
||||||
|
$testSuite = "suite_test_squish"
|
||||||
|
$testSuiteUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin\$testSuite.7z"
|
||||||
|
|
||||||
# Squish license
|
# Squish license
|
||||||
$licensePackage = ".squish-3-license"
|
$licensePackage = ".squish-3-license"
|
||||||
|
|
||||||
$OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName
|
$OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName
|
||||||
|
|
||||||
# This can be removed when using vanilla os
|
|
||||||
if((Test-Path -Path "$targetDir" )){
|
|
||||||
try {
|
|
||||||
echo "Renaming old Squish"
|
|
||||||
echo "Rename-Item -ErrorAction 'Stop' $targetDir $targetDir_deleted"
|
|
||||||
Rename-Item -ErrorAction 'Stop' "$targetDir" squish_deleted
|
|
||||||
} catch {}
|
|
||||||
}
|
|
||||||
|
|
||||||
Function DownloadAndInstallSquish {
|
Function DownloadAndInstallSquish {
|
||||||
|
|
||||||
Param (
|
Param (
|
||||||
[string]$version,
|
[string]$version,
|
||||||
[string]$squishBranchUrl,
|
|
||||||
[string]$qtBranch,
|
|
||||||
[string]$bit,
|
[string]$bit,
|
||||||
[string]$targetDir,
|
|
||||||
[string]$squishPackage
|
[string]$squishPackage
|
||||||
)
|
)
|
||||||
|
|
||||||
$SquishUrl = $squishBranchUrl + "\squish-" + $version + "-qt" + $qtBranch + "-" + $bit + "-" + $squishPackage + ".exe"
|
$SquishUrl = $squishBranchUrl + "\squish-" + $version + "-qt" + $qtBranch + "-" + $bit + "-" + $squishPackage + ".exe"
|
||||||
$SquishInstaller = "$targetDir\$squishPackage.exe"
|
$SquishInstaller = "$targetDir\$squishPackage.exe"
|
||||||
$SquishParameters = "unattended=1 targetdir=$targetDir\$squishPackage"
|
$SquishParameters = "unattended=1 targetdir=$targetDir\$squishPackage"
|
||||||
$Command = "$SquishInstaller $SquishParameters"
|
|
||||||
|
|
||||||
echo "Fetching from URL ..."
|
Write-Host "Fetching from URL $squishUrl"
|
||||||
Copy-Item "$SquishUrl" "$SquishInstaller"
|
Copy-Item "$SquishUrl" "$SquishInstaller"
|
||||||
echo "Installing Squish"
|
Write-Host "Installing Squish"
|
||||||
Execute-Command $Command
|
Run-Executable "$SquishInstaller" "$SquishParameters"
|
||||||
remove-item $SquishInstaller
|
Remove-Item -Path $SquishInstaller
|
||||||
|
if ("$bit" -eq "win64") {
|
||||||
|
if ($squishPackage.StartsWith("mingw")) {
|
||||||
|
$squishPackage64bit = "mingw_64"
|
||||||
|
} else {
|
||||||
|
$squishPackage64bit = "$squishPackage`_64"
|
||||||
|
}
|
||||||
|
Rename-Item $targetDir\$squishPackage $targetDir\$squishPackage64bit
|
||||||
|
TestSquish $squishPackage64bit
|
||||||
|
} else {
|
||||||
|
if ($squishPackage.StartsWith("mingw")) {
|
||||||
|
Rename-Item $targetDir\$squishPackage $targetDir\mingw
|
||||||
|
TestSquish mingw
|
||||||
|
} else {
|
||||||
|
TestSquish $squishPackage
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Function DownloadSquishLicence {
|
Function DownloadSquishLicence {
|
||||||
|
|
||||||
Param (
|
Param (
|
||||||
[string]$licensePackage,
|
[string]$squishUrl
|
||||||
[string]$squishUrl,
|
|
||||||
[string]$targetDir
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# This can be removed when using vanilla os
|
Write-Host "Installing Squish license to home directory"
|
||||||
if ($Env:SQUISH_LICENSEKEY_DIR)
|
|
||||||
{
|
|
||||||
echo "Removing SQUISH_LICENSEKEY_DIR env variable"
|
|
||||||
Remove-Item Env:\SQUISH_LICENSEKEY_DIR
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "Installing Squish license to home directory"
|
|
||||||
Copy-Item $squishUrl\$licensePackage ~\$licensePackage
|
Copy-Item $squishUrl\$licensePackage ~\$licensePackage
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Creating $targetDir"
|
Function TestSquish {
|
||||||
|
Param (
|
||||||
|
[string]$squishPackage
|
||||||
|
)
|
||||||
|
|
||||||
|
Write-Host "Verifying Squish Installation"
|
||||||
|
if (cmd /c "$targetDir\$squishPackage\bin\squishrunner.exe --testsuite $targetDir\$testSuite" |Select-String -Pattern "Squish test run successfully") {
|
||||||
|
Write-Host "Squish installation tested successfully!"
|
||||||
|
} else {
|
||||||
|
Write-Host "Squish test failed! $squishPackage wasn't installed correctly."
|
||||||
|
[Environment]::Exit(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Host "Creating $targetDir"
|
||||||
New-Item -ErrorAction Ignore -ItemType directory -Path "$targetDir"
|
New-Item -ErrorAction Ignore -ItemType directory -Path "$targetDir"
|
||||||
|
|
||||||
DownloadSquishLicence $licensePackage $squishUrl $targetDir
|
Write-Host "Download and install Test Suite for squish"
|
||||||
|
Copy-Item $testSuiteUrl $targetDir/$testSuite.7z
|
||||||
|
Extract-7Zip $targetDir/$testSuite.7z $targetDir
|
||||||
|
|
||||||
if(($OSVersion -eq "Windows 10 Enterprise") -or ($OSVersion -eq "Windows 8.1 Enterprise"))
|
DownloadSquishLicence $squishUrl
|
||||||
{
|
|
||||||
# Squish for MinGW
|
|
||||||
$squishPackageMingw = "mingw_gcc53_posix_dwarf"
|
|
||||||
echo "Installing $squishPackageMingw"
|
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win32 $targetDir $squishPackageMingw
|
|
||||||
mv $targetDir\$squishPackageMingw $targetDir\mingw
|
|
||||||
|
|
||||||
# Squish for Visual Studio 2015
|
if ($OSVersion -eq "Windows 10 Enterprise") {
|
||||||
$squishPackage = "msvc14"
|
|
||||||
$squishPackage64bit = "msvc14_64"
|
|
||||||
|
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64"))
|
if (Is64BitWinHost) {
|
||||||
{
|
DownloadAndInstallSquish $version win64 msvc14
|
||||||
echo "Installing $squishPackage_64"
|
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win64 $targetDir $squishPackage
|
|
||||||
mv $targetDir\$squishPackage $targetDir\$squishPackage64bit
|
|
||||||
}
|
}
|
||||||
|
DownloadAndInstallSquish $version win32 "mingw_gcc53_posix_dwarf"
|
||||||
|
DownloadAndInstallSquish $version win32 "msvc14"
|
||||||
|
|
||||||
echo "Installing $squishPackage"
|
} elseif ($OSVersion -eq "Windows 8.1 Enterprise") {
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win32 $targetDir $squishPackage
|
|
||||||
}
|
if (Is64BitWinHost) {
|
||||||
if($OSVersion -eq "Windows 8.1 Enterprise")
|
DownloadAndInstallSquish $version win64 "msvc12"
|
||||||
{
|
DownloadAndInstallSquish $version win64 "msvc14"
|
||||||
# Squish for Visual Studio 2013
|
}
|
||||||
$squishPackage64bit = "msvc12_64"
|
DownloadAndInstallSquish $version win32 "msvc14"
|
||||||
|
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64"))
|
} elseif ($OSVersion -eq "Windows 7 Enterprise") {
|
||||||
{
|
|
||||||
echo "Installing $squishPackage_64"
|
if (Is64BitWinHost) {
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win64 $targetDir $squishPackage
|
DownloadAndInstallSquish $version win64 "msvc12"
|
||||||
mv $targetDir\$squishPackage $targetDir\$squishPackage64bit
|
DownloadAndInstallSquish $version win64 "msvc14"
|
||||||
}
|
}
|
||||||
else
|
DownloadAndInstallSquish $version win32 "mingw_gcc53_posix_dwarf"
|
||||||
{
|
DownloadAndInstallSquish $version win32 "msvc14"
|
||||||
echo "Change secret file to normal one"
|
|
||||||
attrib -h C:\Users\qt\.squish-3-license
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
# Windows 7
|
|
||||||
|
|
||||||
# Squish for MinGW
|
|
||||||
$squishPackageMingw = "mingw_gcc53_posix_dwarf"
|
|
||||||
echo "Installing $squishPackageMingw"
|
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win32 $targetDir $squishPackageMingw
|
|
||||||
mv $targetDir\$squishPackageMingw $targetDir\mingw
|
|
||||||
|
|
||||||
# Squish for Visual Studio 2015
|
|
||||||
$squishPackage = "msvc14"
|
|
||||||
$squishPackage64bit = "msvc14_64"
|
|
||||||
|
|
||||||
echo "Installing $squishPackage"
|
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win32 $targetDir $squishPackage
|
|
||||||
|
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64"))
|
|
||||||
{
|
|
||||||
echo "Installing $squishPackage64bit"
|
|
||||||
DownloadAndInstallSquish $version $squishBranchUrl $qtBranch win64 $targetDir $squishPackage
|
|
||||||
mv $targetDir\$squishPackage $targetDir\$squishPackage64bit
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,9 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
echo "Disabling proxy"
|
Write-Host "Disabling proxy"
|
||||||
|
# A bit-mask is needed to disable "Automatically detect settings" from LAN
|
||||||
|
# settings that disturb and re-enable proxy even after disabling it.
|
||||||
$dcs = (Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections").DefaultConnectionSettings
|
$dcs = (Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections").DefaultConnectionSettings
|
||||||
$dcs[8] = $_ -band 0xF7
|
$dcs[8] = $_ -band 0xF7
|
||||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name DefaultConnectionSettings -Value $dcs
|
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name DefaultConnectionSettings -Value $dcs
|
||||||
|
|||||||
@@ -32,21 +32,18 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
param([Int32]$archVer=32)
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script installs Visual C++ Redistributable for Visual Studio 2015
|
# This script installs Visual C++ Redistributable for Visual Studio 2015
|
||||||
# This is a dependency of the current python3 version
|
# This is a dependency of the current python3 version
|
||||||
|
|
||||||
# check bit version
|
if (Is64BitWinHost) {
|
||||||
if ( $archVer -eq 64 ) {
|
Write-Host "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.intra.qt.io/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.intra.qt.io/input/windows/vc_redist.x86.exe"
|
||||||
@@ -55,10 +52,10 @@ else {
|
|||||||
|
|
||||||
$package = "C:\Windows\temp\vc_redist.$arch.exe"
|
$package = "C:\Windows\temp\vc_redist.$arch.exe"
|
||||||
|
|
||||||
echo "Fetching from URL..."
|
Write-Host "Fetching from URL..."
|
||||||
Download $externalUrl $internalUrl $package
|
Download $externalUrl $internalUrl $package
|
||||||
Verify-Checksum $package $sha1
|
Verify-Checksum $package $sha1
|
||||||
echo "Installing $package..."
|
Write-Host "Installing $package..."
|
||||||
Start-Process -FilePath $package -ArgumentList "/q" -Wait
|
Run-Executable $package "/q"
|
||||||
echo "Remove $package..."
|
Write-Host "Remove $package..."
|
||||||
del $package
|
Remove-Item -Force -Path $package
|
||||||
|
|||||||
48
coin/provisioning/common/windows/vulkansdk.ps1
Normal file
48
coin/provisioning/common/windows/vulkansdk.ps1
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## 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\helpers.ps1"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
Run-Executable $vulkanPackage "/S"
|
||||||
|
|
||||||
|
Write-Host "Cleaning $vulkanPackage.."
|
||||||
|
Remove-Item -Recurse -Force -Path "$vulkanPackage"
|
||||||
|
|
||||||
|
Write-Output "Vulkan SDK = $version" >> ~\versions.txt
|
||||||
@@ -2,4 +2,13 @@
|
|||||||
#
|
#
|
||||||
# In order to run auto tests for UWP, we have to enable developer mode on Windows 10 machines.
|
# In order to run auto tests for UWP, we have to enable developer mode on Windows 10 machines.
|
||||||
# https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
|
# https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
|
||||||
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /V AllowDevelopmentWithoutDevLicense /T REG_DWORD /D 1 /F
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
if (Is64BitWinHost) {
|
||||||
|
$bitness = "/reg:64"
|
||||||
|
} else {
|
||||||
|
$bitness = "/reg:32"
|
||||||
|
}
|
||||||
|
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock`" /V AllowDevelopmentWithoutDevLicense /T REG_DWORD /D 1 /F $bitness"
|
||||||
|
|||||||
50
coin/provisioning/common/windows/win10sdk.ps1
Normal file
50
coin/provisioning/common/windows/win10sdk.ps1
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# This script will install Windows 10 SDK
|
||||||
|
|
||||||
|
$url_cache = "\\ci-files01-hki.ci.local\provisioning\windows\winsdksetup.exe"
|
||||||
|
$url_official = "https://download.microsoft.com/download/8/C/3/8C37C5CE-C6B9-4CC8-8B5F-149A9C976035/windowssdk/winsdksetup.exe"
|
||||||
|
$package = "C:\Windows\Temp\winsdksetup.exe"
|
||||||
|
$sha1 = "db237323f1779fb143e7cdc558e4345e7004489e"
|
||||||
|
|
||||||
|
Copy-Item $url_cache $package
|
||||||
|
Verify-Checksum $package $sha1
|
||||||
|
Run-Executable $package "/features + /q"
|
||||||
|
|
||||||
|
Write-Host "Cleaning $package.."
|
||||||
|
Remove-Item -Recurse -Force -Path "$package"
|
||||||
|
|
||||||
|
Write-Output "Windows 10 SDK = 10.0.16229.91" >> ~\versions.txt
|
||||||
12
coin/provisioning/common/windows/winrtrunner.ps1
Normal file
12
coin/provisioning/common/windows/winrtrunner.ps1
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
$zip = Get-DownloadLocation "winrtrunner.zip"
|
||||||
|
$url = "http://download.qt.io/development_releases/prebuilt/winrtrunner/winrtrunner_2018-05-24.zip"
|
||||||
|
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winrtrunner\winrtrunner_2018-05-24.zip"
|
||||||
|
|
||||||
|
Download $url $url_cache $zip
|
||||||
|
Verify-Checksum $zip "b83f2166b5799910a661d1db02771edf94880785"
|
||||||
|
Extract-7Zip $zip C:\Utils\winrtrunner
|
||||||
|
Remove-Item -Path $zip
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "CI_WINRTRUNNER_PATH" "C:\Utils\winrtrunner"
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# Disable the windows search indexing service
|
# Disable the windows search indexing service
|
||||||
sc.exe config WSearch start= disabled
|
Run-Executable "sc.exe" "config WSearch start= disabled"
|
||||||
|
|||||||
@@ -35,8 +35,10 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2031
|
||||||
if [ "$http_proxy" != "" ]; then
|
if [ "$http_proxy" != "" ]; then
|
||||||
echo "proxy=$proxy" | sudo tee -a /etc/yum.conf
|
echo "proxy=$proxy" | sudo tee -a /etc/yum.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/disable-ntp_linux.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
|
||||||
|
|||||||
49
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/03-install-rhel-epel.sh
Executable file
49
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/03-install-rhel-epel.sh
Executable file
@@ -0,0 +1,49 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# shellcheck source=../common/unix/DownloadURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||||
|
|
||||||
|
package="epel-release-6-8.noarch.rpm"
|
||||||
|
primaryUrl="https://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/e/$package"
|
||||||
|
cacheUrl="http://ci-files01-hki.intra.qt.io/input/rhel6/$package"
|
||||||
|
sha1="2b2767a5ae0de30b9c7b840f2e34f5dd9deaf19a"
|
||||||
|
targetFile="/tmp/$package"
|
||||||
|
|
||||||
|
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
||||||
|
|
||||||
|
sudo rpm -ivh "$targetFile"
|
||||||
|
rm "$targetFile"
|
||||||
|
|
||||||
@@ -1,11 +1,43 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
. $BASEDIR/../common/shared/sw_versions.txt
|
# With RHEL 6.6 we are using different lib clang than others
|
||||||
VERSION=$libclang_version
|
VERSION=4.0
|
||||||
URL="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${VERSION//\./}-linux-Rhel6.6-gcc4.9-x86_64.7z"
|
URL="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${VERSION//\./}-linux-Rhel6.6-gcc4.9-x86_64.7z"
|
||||||
SHA1="c7466109628418a6aa3db8b3f5825f847f1c4952"
|
SHA1="c7466109628418a6aa3db8b3f5825f847f1c4952"
|
||||||
|
|
||||||
$BASEDIR/../common/unix/libclang.sh "$URL" "$SHA1" "$VERSION"
|
"$BASEDIR/../common/unix/libclang.sh" "$URL" "$SHA1" "$VERSION"
|
||||||
|
|||||||
@@ -7,11 +7,6 @@ set -ex
|
|||||||
|
|
||||||
sudo yum install -y python-devel python-virtualenv
|
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-6.noarch.rpm
|
|
||||||
sudo rpm -Uvh epel-release-latest-6.noarch.rpm
|
|
||||||
sudo rm -f epel-release-latest-6.noarch.rpm
|
|
||||||
|
|
||||||
# install python3
|
# install python3
|
||||||
sudo yum install -y python34-devel
|
sudo yum install -y python34-devel
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
$(dirname $0)/../common/linux/cmake_linux.sh
|
"$(dirname "$0")/../common/linux/cmake_linux.sh"
|
||||||
|
|||||||
37
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/22-mqtt_broker.sh
Executable file
37
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/22-mqtt_broker.sh
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# shellcheck source=../common/unix/mqtt_broker.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
||||||
@@ -45,27 +45,28 @@ function Install7ZPackageFromURL {
|
|||||||
expectedSha1=$2
|
expectedSha1=$2
|
||||||
targetDirectory=$3
|
targetDirectory=$3
|
||||||
|
|
||||||
targetFile=`mktemp`
|
targetFile=$(mktemp)
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $url
|
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url"
|
||||||
echo "$expectedSha1 $targetFile" | sha1sum --check
|
echo "$expectedSha1 $targetFile" | sha1sum --check
|
||||||
sudo /usr/local/bin/7z x -yo$targetDirectory $targetFile
|
sudo /usr/local/bin/7z x -yo"$targetDirectory" "$targetFile"
|
||||||
rm $targetFile
|
rm "$targetFile"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
||||||
|
|
||||||
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64.7z"
|
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64.7z"
|
||||||
Install7ZPackageFromURL $baseBinaryPackageURL $sha1 "/usr/lib64"
|
Install7ZPackageFromURL "$baseBinaryPackageURL" "$sha1" "/usr/lib64"
|
||||||
|
|
||||||
echo "Installing custom ICU devel packages on RHEL"
|
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)
|
||||||
|
# shellcheck disable=SC2064
|
||||||
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
|
||||||
sudo cp -a $tempDir/* /usr/
|
sudo cp -a "$tempDir"/* /usr/
|
||||||
|
|
||||||
sudo /sbin/ldconfig
|
sudo /sbin/ldconfig
|
||||||
|
|
||||||
|
|||||||
@@ -39,9 +39,10 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck disable=SC2129
|
||||||
echo "*********************************************" >> ~/versions.txt
|
echo "*********************************************" >> ~/versions.txt
|
||||||
echo "***** All installed RPM packages *****" >> ~/versions.txt
|
echo "***** All installed RPM packages *****" >> ~/versions.txt
|
||||||
rpm -q -a | sort >> ~/versions.txt
|
rpm -q -a | sort >> ~/versions.txt
|
||||||
echo "*********************************************" >> ~/versions.txt
|
echo "*********************************************" >> ~/versions.txt
|
||||||
|
|
||||||
$(dirname $0)/../common/linux/version.sh
|
"$(dirname "$0")/../common/linux/version.sh"
|
||||||
|
|||||||
@@ -36,7 +36,8 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
source $BASEDIR/../common/shared/network_test_server_ip.txt
|
# shellcheck source=../common/shared/network_test_server_ip.txt
|
||||||
|
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
||||||
|
|
||||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
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 "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/unix/DownloadURL.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||||
|
|
||||||
package="epel-release-7-11.noarch.rpm"
|
package="epel-release-7-11.noarch.rpm"
|
||||||
|
|||||||
@@ -84,6 +84,17 @@ installPackages+=(perl-Digest-SHA)
|
|||||||
installPackages+=(glibc.i686)
|
installPackages+=(glibc.i686)
|
||||||
# Enable Qt Bluetooth
|
# Enable Qt Bluetooth
|
||||||
installPackages+=(bluez-libs-devel)
|
installPackages+=(bluez-libs-devel)
|
||||||
|
# QtWebKit
|
||||||
|
installPackages+=(libxml2-devel)
|
||||||
|
installPackages+=(libxslt-devel)
|
||||||
|
# For building Wayland from source
|
||||||
|
installPackages+=(libffi-devel)
|
||||||
|
# QtWayland
|
||||||
|
installPackages+=(mesa-libwayland-egl)
|
||||||
|
installPackages+=(mesa-libwayland-egl-devel)
|
||||||
|
installPackages+=(libwayland-client)
|
||||||
|
installPackages+=(libwayland-cursor)
|
||||||
|
installPackages+=(libwayland-server)
|
||||||
|
|
||||||
sudo yum -y install "${installPackages[@]}"
|
sudo yum -y install "${installPackages[@]}"
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
. $BASEDIR/../common/shared/sw_versions.txt
|
# shellcheck source=../common/shared/sw_versions.txt
|
||||||
|
. "$BASEDIR/../common/shared/sw_versions.txt"
|
||||||
VERSION=$libclang_version
|
VERSION=$libclang_version
|
||||||
URL="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${VERSION//\./}-linux-Rhel7.2-gcc5.3-x86_64.7z"
|
URL="https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_${VERSION//\./}-linux-Rhel7.2-gcc5.3-x86_64.7z"
|
||||||
SHA1="bbdbbc0296f42310077539b7247d285386119ef4"
|
SHA1="71194c4d6065a62ac1a891123df79fd9da311bf0"
|
||||||
|
|
||||||
$BASEDIR/../common/unix/libclang.sh "$URL" "$SHA1" "$VERSION"
|
"$BASEDIR/../common/unix/libclang.sh" "$URL" "$SHA1" "$VERSION"
|
||||||
|
|||||||
@@ -39,4 +39,5 @@ set -ex
|
|||||||
|
|
||||||
# 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=../common/linux/cmake_linux.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/cmake_linux.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/cmake_linux.sh"
|
||||||
|
|||||||
@@ -35,4 +35,5 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/qnx_700.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/qnx_700.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/qnx_700.sh"
|
||||||
|
|||||||
@@ -35,4 +35,5 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/integrity.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/integrity.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/integrity.sh"
|
||||||
|
|||||||
@@ -35,4 +35,5 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/disable_selinux.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/disable_selinux.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/disable_selinux.sh"
|
||||||
|
|||||||
@@ -34,8 +34,10 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
source /opt/rh/devtoolset-4/enable
|
source /opt/rh/devtoolset-4/enable
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/openssl_for_android_linux.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/openssl_for_android_linux.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/openssl_for_android_linux.sh"
|
||||||
|
|||||||
37
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/22-mqtt_broker.sh
Executable file
37
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/22-mqtt_broker.sh
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# shellcheck source=../common/unix/mqtt_broker.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
||||||
@@ -3,4 +3,4 @@
|
|||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
$BASEDIR/../common/linux/fbx_linux.sh
|
"$BASEDIR/../common/linux/fbx_linux.sh"
|
||||||
|
|||||||
@@ -47,26 +47,26 @@ develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/
|
|||||||
|
|
||||||
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
||||||
|
|
||||||
targetFile=`mktemp`
|
targetFile=$(mktemp)
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $baseBinaryPackageURL
|
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$baseBinaryPackageURL"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check
|
echo "$sha1 $targetFile" | sha1sum --check
|
||||||
sudo 7z x -y -o"/usr/lib64" $targetFile
|
sudo 7z x -y -o/usr/lib64 "$targetFile"
|
||||||
sudo rm $targetFile
|
sudo rm "$targetFile"
|
||||||
|
|
||||||
echo "Installing custom ICU devel packages on RHEL"
|
echo "Installing custom ICU devel packages on RHEL"
|
||||||
|
|
||||||
tempDir=`mktemp -d`
|
tempDir=$(mktemp -d)
|
||||||
|
|
||||||
targetFile=`mktemp`
|
targetFile=$(mktemp)
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $develPackageURL
|
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$develPackageURL"
|
||||||
echo "$sha1Dev $targetFile" | sha1sum --check
|
echo "$sha1Dev $targetFile" | sha1sum --check
|
||||||
7z x -y -o$tempDir $targetFile
|
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 "$targetFile"
|
||||||
sudo rm -fr $tempDir
|
sudo rm -fr "$tempDir"
|
||||||
|
|
||||||
sudo /sbin/ldconfig
|
sudo /sbin/ldconfig
|
||||||
|
|
||||||
|
|||||||
@@ -35,4 +35,5 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/android_linux.sh
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
|
source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
|
||||||
|
|||||||
37
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/50-open62541.sh
Executable file
37
coin/provisioning/qtci-linux-RHEL-7.4-x86_64/50-open62541.sh
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/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$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/open62541.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/open62541.sh"
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user