Compare commits

...

100 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
60ed5a6769 Update submodules on '5.12' in qt/qt5
Change-Id: I1ff53e5054293b41b4149946c8ef8c62ddfc28c9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-20 01:30:55 +00:00
Qt Submodule Update Bot
015bd9ae21 Update submodules on '5.12' in qt/qt5
Change-Id: Iadf4786824f8e45e77ff68db7a390a3365e991a0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-19 01:30:59 +00:00
Qt Submodule Update Bot
02555bb10e Update submodules on '5.12' in qt/qt5
Change-Id: If71b9255aeeae212c5eabd01e9957f7a9c5475bc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-16 01:30:55 +00:00
Qt Submodule Update Bot
64319e99ae Update submodules on '5.12' in qt/qt5
Change-Id: I50601372a2c43c45f611196f81e4c93d07f8cba0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-13 01:30:58 +00:00
Qt Submodule Update Bot
afddc85fbf Update submodules on '5.12' in qt/qt5
Change-Id: I3aadd63dabad231718a4cc608a5e5957783a8e5c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-11 01:30:54 +00:00
Qt Submodule Update Bot
7a9ee81491 Update submodules on '5.12' in qt/qt5
Change-Id: Ib0126ff0aef5d34ae0821988733994aa1c51823a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-10 06:27:21 +00:00
Qt Submodule Update Bot
95ad16ac1f Update submodules on '5.12' in qt/qt5
Change-Id: I40dec6aea255691d2f0551385f89a76796210364
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-11-03 01:30:55 +00:00
Qt Submodule Update Bot
35eed4e1b7 Update submodules on '5.12' in qt/qt5
Change-Id: I01dc82230e5f32d1b9909395980f64b217506251
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-31 01:30:53 +00:00
Qt Submodule Update Bot
137305d176 Update submodules on '5.12' in qt/qt5
Change-Id: Ia9ecceee6d6f7683f5ec71d037c6c56c8cc688ba
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-24 01:30:54 +00:00
Qt Submodule Update Bot
22894b1443 Update submodules on '5.12' in qt/qt5
Change-Id: Ie207ad3d2b444e08ffaf9b16c1702d757a18f351
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-20 01:30:52 +00:00
Qt Submodule Update Bot
d801149ff0 Update submodules on '5.12' in qt/qt5
Change-Id: I16dad82506cfa0c2c9fe84772788fe3d7788ea7c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-16 01:30:54 +00:00
Qt Submodule Update Bot
a873ff3acc Update submodules on '5.12' in qt/qt5
Change-Id: Ic64ef09ea44f950ee436f0cc6454f96878069870
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-08 01:30:55 +00:00
Qt Submodule Update Bot
7281b76040 Update submodules on '5.12' in qt/qt5
Change-Id: I0ec52fdc8a53a970fbb46d25555823e0314fb0a2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-07 01:30:54 +00:00
Tony Sarajärvi
3a9dd29a17 Disable LSO from the network adapters on Windows
Disabling LSO from the adapter gives us huge performance boosts
on Windows. In our tests 2 VMs within the same hosts had transfer
speeds of 30 Mbit/s with this enabled, and 2Gbit/s with this disabled.

Change-Id: Id794e7559c9e9005043361289a3db246a8528dd4
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 97aa7a0031)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-06 04:29:46 +00:00
Qt Submodule Update Bot
5dd4a7761d Update submodules on '5.12' in qt/qt5
Change-Id: I2f65dcddb6c10775710427a45d8c8172f6e6d199
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-02 01:30:54 +00:00
Qt Submodule Update Bot
7480f53363 Update submodules on '5.12' in qt/qt5
Change-Id: I12fd72c215e43f64c85fef64a12e6e6d6f1d5a6a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-09-23 05:05:29 +00:00
Heikki Halmet
4488ca1498 08-pythondev build should not execute external script in SLES 12
The important bits of the script were copied and modified.

Change-Id: I5766646d00cb4ff93ca93d80c2e7d97f11521418
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2021-09-23 08:05:25 +03:00
Qt Submodule Update Bot
b453f6f221 Update submodules on '5.12' in qt/qt5
Change-Id: I3f81b08f07ec175ff70dbf639737006f48e6407f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-08-03 01:30:51 +00:00
Qt Submodule Update Bot
6239bc2f88 Update submodules on '5.12' in qt/qt5
Change-Id: Iee6cbad5ab74f488dc7ec9140f0cd5011803f07e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-07-28 01:30:52 +00:00
Qt Submodule Update Bot
335c756b09 Update submodules on '5.12' in qt/qt5
Change-Id: I96ff779d2969cfff97a8bf8dcd227ed1aa90687b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-07-21 01:30:56 +00:00
Qt Submodule Update Bot
b5db8add1f Update submodules on '5.12' in qt/qt5
Change-Id: I1768b58b7b1293c2ae6dfe2b324c3d964f062d5b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-07-12 01:30:46 +00:00
Qt Submodule Update Bot
088fd18580 Update submodules on '5.12' in qt/qt5
Change-Id: I2251d9a04218c5a59d2a451f2281e1a2b4a3e710
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-07-08 01:30:48 +00:00
Qt Submodule Update Bot
29829798ae Update submodules on '5.12' in qt/qt5
Change-Id: I11a785819c2e118d03c311964ae0dc7fa2731036
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-07-01 01:30:48 +00:00
Heikki Halmet
d16e56b075 Provisioning: Disable RunTime broker
On some cases RunTime broker might eat huge amount of CPU

Change-Id: Ie01b4e1a48e2f9e7e0deb9970160ffc92854d79b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 3444b91634)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-06-29 08:39:45 +00:00
Qt Submodule Update Bot
d84c627ce1 Update submodules on '5.12' in qt/qt5
Change-Id: I6b76760bc96642356161fef17c19935d9b0c3820
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-24 01:30:47 +00:00
Qt Submodule Update Bot
32c7ae83e7 Update submodules on '5.12' in qt/qt5
Change-Id: Ie565dcb25c89ea8c1dfd1527f781f09c425bba0f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-22 01:30:47 +00:00
Qt Submodule Update Bot
abc8ca3799 Update submodules on '5.12' in qt/qt5
Change-Id: I7bb2bc229d5cc4868544e7be2cc00501aaf232c3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-21 01:30:45 +00:00
Qt Submodule Update Bot
1cc007e5c2 Update submodules on '5.12' in qt/qt5
Change-Id: I55305d66a1b1c3f315a55612b6072683bd7c4b2c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-17 01:30:48 +00:00
Qt Submodule Update Bot
22c576fabe Update submodules on '5.12' in qt/qt5
Change-Id: Ib47fcfe0f50c8c8dd9dcef57209ed40235c49f46
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-10 01:31:01 +00:00
Qt Submodule Update Bot
2b0161a39a Update submodules on '5.12' in qt/qt5
Change-Id: I8ac59e125e12a40d23a7e9f7e3550bf952c37c4d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-05 01:31:02 +00:00
Qt Submodule Update Bot
a11452bdcc Update submodules on '5.12' in qt/qt5
Change-Id: I01689acad879b8e6b4f94949498523aa3d8c1c19
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-06-03 01:30:49 +00:00
Heikki Halmet
dc969c1ce4 Provisioning: Fix nodejs installation
Task-number: QTBUG-93178
Change-Id: I27f4b1aa6f382cb6c9cc97f960fe1d0b81e47fbd
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9e0334389b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-05-25 16:42:11 +00:00
Qt Submodule Update Bot
014db862e3 Update submodules on '5.12' in qt/qt5
Change-Id: Icc57a6d6cdc251a397a383283912ef37173b5b5d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-05-22 01:30:47 +00:00
Qt Submodule Update Bot
47a8764361 Update submodules on '5.12' in qt/qt5
Change-Id: I98f6c1926bb6a3efca033e23988bdb7cabca614f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-05-20 01:30:53 +00:00
Heikki Halmet
79c668b948 Provisioning: Temporary fix for installing Conan packages in Windows
Task-number: QTQAINFRA-4443
Change-Id: Iba4b240edaf4a3ec8732ddbe1ae4ac5c1166b676
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 99a81d0c6c)
2021-05-16 07:58:37 +03:00
Heikki Halmet
61edc6dab4 Provisioning: Upgrade OpenSSL version to 1.1.1k
Change-Id: I539d6da1953a40190fbfc8ff80f8e8332d797b1f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 0e9f489192)
2021-05-16 07:58:36 +03:00
Qt Submodule Update Bot
18ddaecc22 Update submodules on '5.12' in qt/qt5
Change-Id: I885296d4bf8ba8ea041781b7c0715a013b3b7f56
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-05-09 01:30:45 +00:00
Qt Submodule Update Bot
415931b469 Update submodules on '5.12' in qt/qt5
Change-Id: I4be547ac24cc09ec5029400a58232a62d496921d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-05-07 01:30:46 +00:00
Qt Submodule Update Bot
23b62295a5 Update submodules on '5.12' in qt/qt5
Change-Id: Ie9653d2922043e9faf853125d0a777c9984a2617
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-05-05 01:30:57 +00:00
Heikki Halmet
0607b95757 Provisioning: Activate SLES and enable modules
Pick-to: 5.12.7
Pick-to: 5.12.10
Task-number: QTQAINFRA-4437
Change-Id: Icfe15e028634eeef85671b2becefe98123f567f8
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-05-03 08:19:57 +03:00
Liang Qi
77c6124574 provisioning: update python to 3.7 on macos
Task-number: QTQAINFRA-3271
Change-Id: Ic1645a8b5bc94b0ce6ff58352891af0beabd7649
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit ecf2f4f38c)
2021-04-29 07:06:03 +03:00
Heikki Halmet
81f028ea89 Provisioning: Upgrade python 3.6 version to 3.6.2 in Windows
typing.NoReturn is not included in python 3.6.1 version. We need at
least 3.6.2 version

Pick-to: 5.12.10
Pick-to: 5.15
Task-number: QTQAINFRA-4433
Change-Id: Ifa9d45b4a3e06f4455221bb76087b600c1f1e06a
Reviewed-by: Dan Ackers <dan.ackers@qt.io>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-04-29 07:06:01 +03:00
Qt Submodule Update Bot
24828e019f Update submodules on '5.12' in qt/qt5
Change-Id: Ib9d0bd7cb2be268eca50ac7ddd7da304f505ff0d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-21 01:30:53 +00:00
Qt Submodule Update Bot
e2c965d63c Update submodules on '5.12' in qt/qt5
Change-Id: Iefbb31ab68ce709e0f1bdb35f3be0c0c8cacf06b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-17 01:30:44 +00:00
Qt Submodule Update Bot
7b27e4df65 Update submodules on '5.12' in qt/qt5
Change-Id: Ie02d878df4db33863a31aa5cff1051514cb5ee92
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-16 11:41:46 +00:00
Qt Submodule Update Bot
586623a7bd Update submodules on '5.12' in qt/qt5
Change-Id: Ia615c5a1a209da34d72d27be4ec410c5af94eb13
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-14 01:31:03 +00:00
Heikki Halmet
dc0ba63a36 Provisioning: Install Nodejs using pkg instead of Brew
Openssl is one of Nodejs dependencies when installing it via
Homebrew which is causing issues with actual openssl source build during
provisioning

Task-number: QTQAINFRA-4402
Change-Id: I711c0f2bb7faebb3e5cbe2f415f34b2ac2d38a66
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 26c97222c1)
2021-04-12 07:21:41 +03:00
Qt Submodule Update Bot
e613cf3f20 Update submodules on '5.12' in qt/qt5
Change-Id: Iff793d3ce57838ee19c427bbc9f7fec42ab2b94c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-10 01:30:44 +00:00
Qt Submodule Update Bot
b5d8877609 Update submodules on '5.12' in qt/qt5
Change-Id: I7be3b5cc62ae72ac72593a6446f3e4a84b40f184
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-07 01:31:08 +00:00
Qt Submodule Update Bot
0f66ed1f6e Update submodules on '5.12' in qt/qt5
Change-Id: Ic4d273c4a8c6a8649525eba2d721ab620a85ff22
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-04-02 01:30:47 +00:00
Heikki Halmet
ba149a162b Provisioning: Reset Time Zone for macOS 10.13
Setting Time Zone for macOS 10.13 seems to be flaky. Let's reset it. If
it still fails to set it then exit the script execution.

Task-number: QTBUG-92174
Change-Id: I07b28d0511d8fc097a1da43b78de9a5131f6bfa7
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-03-30 11:29:50 +03:00
Qt Submodule Update Bot
e2f83926b1 Update submodules on '5.12' in qt/qt5
Change-Id: I80f5bd53611e1c3524b7632624473ee8dbdf1f55
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-26 01:30:44 +00:00
Qt Submodule Update Bot
ceb7c71d46 Update submodules on '5.12' in qt/qt5
Change-Id: I61e242b349dd307b5ad7f963545c0a9ef1f372da
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-25 01:30:45 +00:00
Qt Submodule Update Bot
f25db1ef51 Update submodules on '5.12' in qt/qt5
Change-Id: Ied5a5459e01f2f8f5f62040f733b17c4074292b8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-23 01:31:05 +00:00
Qt Submodule Update Bot
ab41ea785b Update submodules on '5.12' in qt/qt5
Change-Id: I8412750f59b7d49e95b773d5d41c941c6c723bdf
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-17 01:32:12 +00:00
Qt Submodule Update Bot
24ebf2f933 Update submodules on '5.12' in qt/qt5
Change-Id: I70aae73b3f43ede6c7a7b7a8146dcd990367bb8e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-15 01:30:45 +00:00
Qt Submodule Update Bot
628b13fbcb Update submodules on '5.12' in qt/qt5
Change-Id: I57729ce620493708e432c72d1d6bd7ca77eb2e83
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-14 01:30:47 +00:00
Qt Submodule Update Bot
470ddd250e Update submodules on '5.12' in qt/qt5
Change-Id: Ifbe9efda7fa535e948f7fc55a24c5b3485e80a79
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-10 01:30:43 +00:00
Qt Submodule Update Bot
5d057f12da Update submodules on '5.12' in qt/qt5
Change-Id: I3fb0a3bdb9591cb6e21aefa8c013fc08f497aa7c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-07 01:30:52 +00:00
Qt Submodule Update Bot
2ba9a54fcd Update submodules on '5.12' in qt/qt5
Change-Id: Ib49481c475d4a7c3b933d9ddced48768bec3c34a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-04 01:30:55 +00:00
Qt Submodule Update Bot
e85a598cb8 Update submodules on '5.12' in qt/qt5
Change-Id: I7b0f096e00a8861b8d9c516d04ea776cfb179b6a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-03-02 01:30:47 +00:00
Qt Submodule Update Bot
e0b77db165 Update submodules on '5.12' in qt/qt5
Change-Id: I4fd3b112181a5ab5909edb4be07d63348a40489f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-02-26 01:30:46 +00:00
Heikki Halmet
b66e4773c8 Provisioning: get-pip.py address changed for python 2.7
For python27 get-pip file's location has been changed and we
need to use two different get-pip files for different python
versions.
Let's also cache these python files and use cache as primary
url.

Task-number: QTQAINFRA-4210
Change-Id: Iebc00f6f319bb914f7548d4737e13fed9ac2b292
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 6d20944daf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-02-09 09:37:08 +00:00
Heikki Halmet
17c654f600 Provisioning: Latest pip versions don't support Python 2 anymore
We can't upgrade pip anymore to the latest version.
pip 20.3 was the last version of pip that supported Python 2

Task-number: QTQAINFRA-4235
Change-Id: I2add6939614f282416a39b00734bc1d22906de47
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit d6e3aa0869)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-02-09 09:37:06 +00:00
Heikki Halmet
d45b374657 Provisioning: Use prebuilt Android openssl if available
Android openssl configuration is flaky. Some cases it can't find perl.
Let's use prebuilt package from local cache. If not available then
download sources and configure it.

Task-number: QTQAINFRA-3993
Change-Id: I4b15cba763d88d85dfe7908fa22c2ce5f461f5cc
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 25dbd78d3f)
2021-01-24 09:53:01 +02:00
Heikki Halmet
105f54c090 Provisioning: Add --ignore-signature to ICC installation
ICC installation fails when checking digital signature

Task-number: QTQAINFRA-4174
Change-Id: Idcbca27a852abbd0824938f825807121a4f60c3e
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit d238c03742)
2021-01-20 20:17:04 +02:00
Qt Submodule Update Bot
8eac420c82 Update submodules on '5.12' in qt/qt5
Change-Id: Id34b46d880d7e1ceb9467ff201f8921d64622308
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-14 01:30:45 +00:00
Heikki Halmet
e3c294489f Provisioning: Remove brew cask list query
brew cask list --versions don't work anymore with macOS 10.13:
Calling brew cask list is disabled!

Pick-to: 5.15
Pick-to: 5.12.7
Change-Id: I44d64bea36577212d0d8ff1fbd4f40111b8cadee
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-01-12 12:55:29 +02:00
Heikki Halmet
c470301c34 Provisioning: Install p7zip using --build-from-source parameter
brew install p7zip isn't working anymore with macOS 10.13 and 10.12.
Let's use --build-from-source parameter with brew installation

Pick-to: 5.12.7
Task-number: QTQAINFRA-4128
Change-Id: Ib1a2db1cd3176955cca450e5ebe0d0fc1bee3aa4
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-01-12 12:55:28 +02:00
Qt Submodule Update Bot
3269e11daf Update submodules on '5.12' in qt/qt5
Change-Id: I91b75fafbf8581c60d80e94007f8225ec2e2d19e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-09 01:30:45 +00:00
Qt Submodule Update Bot
ff6a104779 Update submodules on '5.12' in qt/qt5
Change-Id: I44198ad50d46e0b32cbe0dd559c4e655cdc2f6da
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-07 01:30:44 +00:00
Qt Submodule Update Bot
8ab903270d Update submodules on '5.12' in qt/qt5
Change-Id: I114cb628cbd58f6f542492ce8c8e453ce6f92f0e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-06 01:30:44 +00:00
Qt Submodule Update Bot
ebff5a6e88 Update submodules on '5.12' in qt/qt5
Change-Id: I222ff155617184d31b863392a0258d9e5ae6aff9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-03 01:30:42 +00:00
Heikki Halmet
5d4d997cbe Provisioning: Remove signing tools script
Tools aren't needed anymore

Change-Id: Iac4dd282dbbd67b62d843925751903e57c934000
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 5d7dae8dcb)
2020-12-23 07:39:50 +02:00
Qt Submodule Update Bot
f1413031eb Update submodules on '5.12' in qt/qt5
Change-Id: I87ca8ed8616ef9e5c95e2555d8b96c7320cf158d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-12-23 01:30:56 +00:00
Heikki Halmet
9a00450454 Update macOS 10.13 Tier1 image
Software updates are disabled from tier1 image.
It seems, that without this macOS 10.13 keep on crashing.
This is related to QTQAINFRA-4104

Change-Id: I92f0039102d93268358301bfb789765ca39fd1ae
Reviewed-by: Toni Saario <toni.saario@qt.io>
2020-12-18 15:48:04 +00:00
Qt Submodule Update Bot
441808dd7e Update submodules on '5.12' in qt/qt5
Change-Id: Ib36da966ba637da2ed2afa8b36f916ab3604f80b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-12-17 01:30:43 +00:00
Qt Submodule Update Bot
d6c4c05d73 Update submodules on '5.12' in qt/qt5
Change-Id: Ia5fe53e8db55a131e347f0ecd5e33f1f469a1f99
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-12-13 01:30:44 +00:00
Heikki Halmet
883b9a4192 Provisioning: Install Azure tool
Task-number: QTQAINFRA-4042
Change-Id: I8e29190f4caf8b766cced40042bfe60ec2601a8e
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit cdea442a3a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2020-12-11 10:06:50 +00:00
Heikki Halmet
5888d1c9ba Provisioning: Install Dotnet SDK 2.1
Dotnet is needed for Azure installation

Task-number: QTQAINFRA-4042
Change-Id: I6dd9d965f536d28554bbce6e76b19a3861f55ff2
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 8846d0d52d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2020-12-11 10:06:49 +00:00
Qt Submodule Update Bot
1c4a6278a9 Update submodules on '5.12' in qt/qt5
Change-Id: I0005a92cf6848e5ea354521d6b1775e9ab4924e4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-12-06 01:30:48 +00:00
Qt Submodule Update Bot
c2794ca2c8 Update submodules on '5.12' in qt/qt5
Change-Id: I91eff698627e0044b51176877a7f39c3fc6bb02d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-12-04 01:30:47 +00:00
Qt Submodule Update Bot
87be3766b5 Update submodules on '5.12' in qt/qt5
Change-Id: I3ec9a1a24de0550a7580da7784062e55c24dbe75
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-30 01:30:43 +00:00
Qt Submodule Update Bot
48ef335026 Update submodules on '5.12' in qt/qt5
Change-Id: Ic33cd5ab3d2d272535f3b9dfa117285773d690a8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-26 01:30:47 +00:00
Qt Submodule Update Bot
535ded71b2 Update submodules on '5.12' in qt/qt5
Change-Id: I5c6ccf465d7ca7c900e6b24addd5d3e3ba28b600
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-23 01:30:48 +00:00
Qt Submodule Update Bot
12e6aa411d Update submodules on '5.12' in qt/qt5
Change-Id: Ic183aa0dea9693542ee2374b0d95697b703e8151
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-18 01:30:50 +00:00
Qt Submodule Update Bot
da20fc31bf Update submodules on '5.12' in qt/qt5
Change-Id: I9fab53e5e9df63a29c5b1f05ab6cb18a656161d6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-14 01:30:47 +00:00
Qt Submodule Update Bot
39aee521e5 Update submodules on '5.12' in qt/qt5
Change-Id: I8cfca3fb29bc4f0fd507e4bbfebdc75279a40e27
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-13 01:30:58 +00:00
Qt Submodule Update Bot
b599c81ecc Update submodules on '5.12' in qt/qt5
Change-Id: I408544221ef7fba9cc307e16e19ec5cabb9807fc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-12 01:31:07 +00:00
Heikki Halmet
9390cd1b70 Provisioning: Install Microsoft Visual C++ Redistributable
Script will install  Microsoft Visual C++ Redistributable for
Visual Studio 2015, 2017 and 2019

Change-Id: I4366855c8d5679e3b7b201d79a82e47199b3ad8c
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 01752b6e21)
2020-11-04 18:44:18 +02:00
Johanna Äijälä
3693ea212c Provisioning: update Squish installation to 6.6.1
Update Squish installation to Qt5.12 based Squish 6.6.1.
Also update scripts to the new style, where pre-installed
Squish archives are used. The old style did the Squish
installation from a scratch.

Change-Id: I298ecee5e66d48c9e02d2cd4bc8d01311df65261
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2020-11-03 07:29:49 +02:00
Heikki Halmet
08a384605a Upgrade msys2 package and the installation script
This change will upgrade the msys2 package

Change also updates the script to use cached
prebuilt package if available.

This will also remove unneeded x86 installation

Task-number: QTQAINFRA-3986
Change-Id: Ia6299f9d4750376676276a75613e7f1098de4102
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 134c2a1cb0)
2020-11-03 07:29:46 +02:00
Heikki Halmet
9de232ba66 Provisioning: Add system GCC versions to versions.txt
Currently GCC versions which comes with the system are missing from
versions.txt. This change will add those

Task-number: QTQAINFRA-3933
Change-Id: I1934e6257acf92d72dcb382884aad60503b7b32f
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit dff15e0a71)
2020-11-03 08:29:44 +03:00
Heikki Halmet
a7b8f5abd8 Provisioning: Retry python installation if failure occurs
Python installation is flaky and we haven't be able to determine the
root cause for it. Re-running the installation might help.
(Might) because we can't reproduce this manually.

Task-number: QTQAINFRA-3875
Change-Id: Id46d250a02e01007f03dfbb886d75b23c23a6216
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 6e3cb240df)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2020-11-03 08:29:42 +03:00
Heikki Halmet
26457902b1 Provisioning: Install colorlog
Needed by packaging scripts

Task-number: QTQAINFRA-3918
Change-Id: I30861ecb5f12f79683ad2fec58484b97dee31d7f
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit c053e70593)
2020-11-03 07:29:40 +02:00
Qt Submodule Update Bot
1f9d85b328 Update submodules on '5.12' in qt/qt5
Change-Id: I29c6ec7eeb1f74ff14d7cbda38c5fd34503a9559
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-10-22 01:30:54 +00:00
Heikki Halmet
3b07ea9741 Provisioning: Enable access to SMB server in Windows 10 x64
Windows don't allow insecure guest login anymore by default. It need
to be enabled through Group Policy restrictions

Task-number: QTQAINFRA-3980
Change-Id: I767e9c87ca3ee4737e312142ecefb94ee2b2b828
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit 586856e180)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2020-10-21 23:52:37 +00:00
Heikki Halmet
448a19766e Provisioning: Enable access to SMB server
Windows don't allow insecure guest login anymore by default. It need
to be enabled through Group Policy restrictions

Task-number: QTQAINFRA-3974
Change-Id: I5fd918882c51c01985cd4c1b9f9ed4dec62e07dd
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 90a6ab728f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2020-10-20 14:39:09 +00:00
Qt Submodule Update Bot
8a34affd78 Update submodules on '5.12' in qt/qt5
Change-Id: I367d5f4856883d1b8a5df559830ef4543d7a0432
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-10-19 01:30:46 +00:00
Qt Submodule Update Bot
e1b7adc2bd Update submodules on '5.12' in qt/qt5
Change-Id: Iddda853dfef929e93a6f54422f8b4dbc466195ce
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-10-16 01:30:51 +00:00
92 changed files with 671 additions and 512 deletions

View File

@@ -99,7 +99,7 @@
Features: ['Packaging']
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Compiler: 'Clang'
Features: ['Packaging']
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -separate-debug-info -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
@@ -113,28 +113,28 @@
Compiler: 'Clang'
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'IOS_ANY'
Target arch: 'multi'
Compiler: 'Clang'
Features: ['Packaging', 'DisableTests']
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -no-icu -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -static -xplatform macx-ios-clang'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'TvOS_ANY'
Target arch: 'multi'
Compiler: 'Clang'
Features: ['DisableTests']
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -xplatform macx-tvos-clang'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'WatchOS_ANY'
Target arch: 'multi'
Compiler: 'Clang'
Features: ['DisableTests']
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -xplatform macx-watchos-clang'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'Clang'

View File

@@ -10,7 +10,7 @@ Configurations:
Environment variables: ['TARGET_ARCHITECTURE=amd64_x86', 'PATH=%PATH%;%CI_JOM_PATH%;C:\Utils\gnuwin32\bin;']
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat', 'amd64_x86']
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Compiler: 'Clang'
Features: ['Packaging', 'DisableTests']
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -static -no-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -no-cups -no-freetype -prefix /Users/qt/work/install'

View File

@@ -67,7 +67,7 @@
Features: ['Packaging', 'DisableTests']
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch arm64-v8a'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'Android_ANY'
Target arch: 'armv7'
Compiler: 'Clang'
@@ -75,7 +75,7 @@
Features: ['Packaging', 'DisableTests']
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch armeabi-v7a'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'Android_ANY'
Target arch: 'arm64'
Compiler: 'Clang'
@@ -83,7 +83,7 @@
Features: ['Packaging', 'DisableTests']
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch arm64-v8a'
-
Template: 'qtci-macos-10.13-x86_64-2'
Template: 'qtci-macos-10.13-x86_64-3'
Target os: 'QNX_700'
Target arch: 'x86'
Compiler: 'GCC'

View File

@@ -41,6 +41,7 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="1.1.1k"
exports_file="/tmp/export.sh"
# source previously made environmental variables.
if uname -a |grep -q "Ubuntu"; then
@@ -53,11 +54,10 @@ else
rm -rf "$exports_file"
fi
version="1.1.1g"
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
targetFile="/tmp/openssl-$version.tar.gz"
sha="b213a293f2127ec3e323fb3cfc0c9807664fd997"
sha="bad9dc4ae6dcc1855085463099b5dacb0ec6130b"
opensslHome="${HOME}/openssl/android/openssl-${version}"
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
mkdir -p "${HOME}/openssl/android/"

View File

@@ -44,8 +44,6 @@ sw_vers >> ~/versions.txt
echo "***** All installed packages *****" >> ~/versions.txt
echo "***** HomeBrew *****" >> ~/versions.txt
brew list --versions >> ~/versions.txt
echo "***** HomeBrew Casks*****" >> ~/versions.txt
brew cask list --versions >> ~/versions.txt
echo "***** Apple's installer *****" >> ~/versions.txt
pkgutil --pkgs >> ~/versions.txt
echo "*********************************************" >> ~/versions.txt

View File

@@ -0,0 +1,50 @@
#!/usr/bin/env bash
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
##
## $QT_BEGIN_LICENSE:LGPL21$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see http://www.qt.io/terms-conditions. For further
## information use the contact form at http://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 2.1 or version 3 as published by the Free
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
## following information to ensure the GNU Lesser General Public License
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
##
## As a special exception, The Qt Company gives you certain additional
## rights. These rights are described in The Qt Company LGPL Exception
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
##
## $QT_END_LICENSE$
##
#############################################################################
# shellcheck source=./../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# This script will install Nodejs
version="14.16.1"
urlCache="http://ci-files01-hki.ci.local/input/nodejs/node-v$version.pkg"
urlOffcial="https://nodejs.org/dist/v$version/node-v$version.pkg"
sha1="4720274971c40fe51b2c647060f77c45fb4949a7"
DownloadURL $urlCache $urlOffcial $sha1 "/tmp/node-v$version.pkg"
sudo installer -pkg "/tmp/node-v$version.pkg" -target /
echo "Nodejs = $version" >> ~/versions.txt

View File

@@ -1,11 +1,18 @@
#!/usr/bin/env bash
# shellcheck source=../unix/DownloadURL.sh
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
function InstallPip {
python=$1
# Will install pip utility for python
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
if [[ $python == "python2.7" ]]; then
DownloadURL "http://ci-files01-hki.intra.qt.io/input/mac/python27/get-pip.py" "https://bootstrap.pypa.io/2.7/get-pip.py" "c4c5f74586cffe49804f167d95d1710b9750ddf0"
else
DownloadURL "http://ci-files01-hki.intra.qt.io/input/mac/get-pip.py" "https://bootstrap.pypa.io/get-pip.py" "209ddf0bb8d1cf06a1f17dd9f21970c76b3d2be2"
fi
sudo "$python" get-pip.py
rm get-pip.py
}

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2019 The Qt Company Ltd.
## Copyright (C) 2017 Pelagicore AG
## Contact: http://www.qt.io/licensing/
##
@@ -43,23 +43,23 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# shellcheck source=./pip.sh
source "${BASH_SOURCE%/*}/pip.sh"
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.6.1-macosx10.6.pkg"
AltUrl="https://www.python.org/ftp/python/3.6.1/python-3.6.1-macosx10.6.pkg"
SHA1="ae0c749544c2d573c3cc29c4c2d7d9a595db28f9"
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.7.4-macosx10.9.pkg"
AltUrl="https://www.python.org/ftp/python/3.7.4/python-3.7.4-macosx10.9.pkg"
SHA1="ef8a6b1abba6a6e8553916a881af440705653fa8"
DestDir="/"
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
InstallPip python3.6
InstallPip python3.7
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install virtualenv wheel
/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3 install virtualenv wheel
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.6/bin"
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.6/bin"
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.7/bin"
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.7/bin"
# Install all needed packages in a special wheel cache directory
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../shared/requirements.txt
/Library/Frameworks/Python.framework/Versions/3.7/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../shared/requirements.txt
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
echo "python3 = 3.6.1" >> ~/versions.txt
echo "python3 = 3.7.4" >> ~/versions.txt

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -42,11 +42,11 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
version="1.1.1g"
version="1.1.1k"
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
targetFile="/tmp/openssl-$version.tar.gz"
sha="b213a293f2127ec3e323fb3cfc0c9807664fd997"
sha="bad9dc4ae6dcc1855085463099b5dacb0ec6130b"
opensslHome="${HOME}/openssl-${version}"
opensslSource="${opensslHome}-src"
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -33,141 +33,93 @@
##
#############################################################################
# shellcheck source=./DownloadURL.sh
source "${BASH_SOURCE%/*}/DownloadURL.sh"
set -ex
# This script will install squish package for Linux and Mac.
# This script will fetch and extract pre-buildt squish package for Linux and Mac.
# Squish is need by Release Test Automation (RTA)
version="6.4.3"
# Branch version without dot
version="6.6.1"
qtBranch="512x"
squishFolder="/opt/squish"
squishUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/$qtBranch/"
squishFile="squish-$version-qt$qtBranch-linux64.run"
installFolder="/opt"
squishFolder="$installFolder/squish"
preBuildCacheUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/jenkins_build/stable"
licenseUrl="http://ci-files01-hki.intra.qt.io/input/squish/coin/$qtBranch/.squish-3-license"
licenseSHA="e000d2f95b30b82f405b9dcbeb233cd43710a41a"
if uname -a |grep -q Darwin; then
squishFile="squish-$version-qt$qtBranch-macx86_64.dmg"
compressedFolder="prebuild-squish-$version-$qtBranch-macx86_64.tar.gz"
sha1="18d683c8702ec47528e36f8e352bc64b07e7996a"
else
compressedFolder="prebuild-squish-$version-$qtBranch-linux64.tar.gz"
sha1="9cb84b7c8d920ced056ce94ce75b0879c29fba22"
fi
squishLicenseUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
squishLicenseFile=".squish-3-license.tar.gz"
mountFolder="/tmp/squish"
sudo mkdir "$mountFolder"
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
if [ -d "$squishFolder" ]; then
echo "Move old squish to /tmp"
sudo mv "$squishFolder" "/tmp/squish_$(date)"
# Check which platform
if uname -a |grep -q Darwin; then
usersGroup="staff"
squishLicenseDir="/Users/qt"
elif uname -a |grep -q "el7"; then
usersGroup="qt"
squishLicenseDir="/root"
elif uname -a |grep -q "Ubuntu"; then
usersGroup="users"
squishLicenseDir="/home/qt"
else
usersGroup="users"
squishLicenseDir="/root"
fi
if [ -f "/etc/profile.d/squish_env.sh" ]; then
echo "Remove /etc/profile.d/squish_env.sh"
sudo rm -f "/etc/profile.d/squish_env.sh"
export SQUISH_LICENSEKEY_DIR=$HOME
targetFileMount="$mountFolder"/"$compressedFolder"
echo "Mounting $preBuildCacheUrl to $mountFolder"
sudo mount "$preBuildCacheUrl" "$mountFolder"
echo "Create $installFolder if needed"
if [ ! -d "$installFolder" ]; then
sudo mkdir "$installFolder"
fi
function MountAndInstall {
url=$1
targetDirectory=$2
targetFile=$3
VerifyHash "$targetFileMount" "$sha1"
# Check which platform
if uname -a |grep -q Darwin; then
usersGroup="staff"
mountFolder="/Volumes"
squishLicenseDir="/Users/qt"
elif uname -a |grep -q "el7"; then
usersGroup="qt"
mountFolder="/tmp"
squishLicenseDir="/root"
elif uname -a |grep -q "Ubuntu"; then
usersGroup="users"
mountFolder="/tmp"
squishLicenseDir="/home/qt"
else
usersGroup="users"
mountFolder="/tmp"
squishLicenseDir="/root"
fi
echo "Uncompress $compressedFolder"
sudo tar -xzf "$targetFileMount" --directory "$installFolder"
function UnMount {
echo "Unmounting $mountFolder"
sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder"
}
echo "Unmounting $mountFolder"
sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder"
targetFileMount="$mountFolder"/"$targetFile"
echo "Mounting $url to $mountFolder"
sudo mount "$url" "$mountFolder"
echo "Create $targetDirectory if needed"
if [ ! -d "/opt" ]; then
sudo mkdir "/opt"
fi
if [ ! -d "$targetDirectory" ]; then
sudo mkdir "$targetDirectory"
fi
echo "Uncompress $targetFile"
if [[ $targetFile == *.tar.gz ]]; then
if [[ $targetFile == .squish-3-license.* ]]; then
target="$squishLicenseDir"
# Squish license need to be exists also in users home directory, because squish check it before it starts running tests
sudo tar -xzf "$targetFileMount" --directory "$HOME"
else
target="$targetDirectory"
fi
sudo tar -xzf "$targetFileMount" --directory "$target"
UnMount
elif [[ $targetFile == *.dmg ]]; then
echo "'dmg-file', no need to uncompress"
sudo cp $targetFileMount /tmp
UnMount
sudo hdiutil attach "/tmp/$targetFile"
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
mountFolder="/Volumes/froglogic Squish"
UnMount
elif [[ $targetFile == *.run ]]; then
echo "'run-file', no need to uncompress"
sudo cp $targetFileMount $targetDirectory
UnMount
sudo chmod +x $targetDirectory/$targetFile
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
sudo rm -fr "$targetDirectory/$targetFile"
if uname -a |grep -q "Ubuntu"; then
sudo mkdir /usr/lib/tcl8.6
sudo cp "$targetDirectory/package/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
fi
else
exit 1
fi
echo "Changing ownerships"
sudo chown -R qt:$usersGroup "$targetDirectory"
sudo chown qt:$usersGroup "$HOME/.squish-3-license"
}
echo "Set commands for environment variables in .bashrc"
sudo mv "$installFolder/rta_squish_$version" "$squishFolder"
if uname -a |grep -q "Ubuntu"; then
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.profile
echo "export PATH=\$PATH:$squishFolder/squish-$version/bin" >> ~/.profile
else
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.bashrc
echo "export PATH=\$PATH:$squishFolder/squish-$version/bin" >> ~/.bashrc
if [ ! -e "/usr/lib/tcl8.6" ]; then
sudo mkdir /usr/lib/tcl8.6
sudo cp "$squishFolder/squish_for_qt/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
fi
fi
echo "Installing squish license to home directory.."
MountAndInstall "$squishLicenseUrl" "$squishFolder" "$squishLicenseFile"
DownloadURL "$licenseUrl" "$licenseUrl" "$licenseSHA" "$HOME/.squish-3-license"
echo "Installing squish $version.."
MountAndInstall "$squishUrl" "$squishFolder" "$squishFile"
echo "Changing ownerships"
sudo chown -R qt:$usersGroup "$squishFolder"
sudo chown qt:$usersGroup "$HOME/.squish-3-license"
echo "Installing provisioning scripts 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"
echo "Set commands for environment variables in .bashrc"
if uname -a |grep -q "Ubuntu"; then
echo "export SQUISH_PATH=$squishFolder/squish_for_qt" >> ~/.profile
echo "export PATH=\$PATH:$squishFolder/squish_for_qt/bin" >> ~/.profile
else
echo "Squish test failed! Package wasn't installed correctly."
echo "export SQUISH_PATH=$squishFolder/squish_for_qt" >> ~/.bashrc
echo "export PATH=\$PATH:$squishFolder/squish_for_qt/bin" >> ~/.bashrc
fi
echo "Verifying Squish"
if "$squishFolder/squish_for_qt/bin/squishrunner" --testsuite "$squishFolder/suite_test_squish" | grep "Squish test run successfully" ; then
echo "Squish for Qt installation tested successfully"
else
echo "Squish for Qt test failed! Package wasn't installed correctly."
exit 1
fi

View File

@@ -1,6 +1,6 @@
############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -45,30 +45,57 @@ if (Is64BitWinHost) {
# Msys need to be installed to target machine
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
$version = "1.1.1g"
$version = "1.1.1k"
$zip = Get-DownloadLocation ("openssl-$version.tar.gz")
$sha1 = "b213a293f2127ec3e323fb3cfc0c9807664fd997"
$prebuilt_zip = Get-DownloadLocation ("openssl-android-master-$version.zip")
$sha1 = "bad9dc4ae6dcc1855085463099b5dacb0ec6130b"
$prebuilt_sha1 = "07fad2a44ffa90261a779782bd64fe2304487945"
$destination = "C:\Utils\openssl-android-master"
$prebuilt_url = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-android-master-$version.zip"
# msys unix style paths
$ndkPath = "/c/Utils/Android/android-ndk-r19c"
$openssl_path = "/c/Utils/openssl-android-master"
$cc_path = "$ndkPath/toolchains/llvm/prebuilt/windows-x86_64/bin"
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
if ((Test-Path $prebuilt_url)) {
Download $prebuilt_url $prebuilt_url $prebuilt_zip
Verify-Checksum $prebuilt_zip $prebuilt_sha1
Extract-7Zip $prebuilt_zip C:\Utils
Remove $prebuilt_zip
} else {
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
Extract-7Zip $zip C:\Utils\tmp
Extract-7Zip C:\Utils\tmp\openssl-$version.tar C:\Utils\tmp
Move-Item C:\Utils\tmp\openssl-${version} $destination
Remove-Item -Path $zip
Extract-7Zip $zip C:\Utils\tmp
Extract-7Zip C:\Utils\tmp\openssl-$version.tar C:\Utils\tmp
Move-Item C:\Utils\tmp\openssl-${version} $destination
Remove "$zip"
Write-Host "Configuring OpenSSL $version for Android..."
Push-Location $destination
# $ must be escaped in powershell...
Start-Process -NoNewWindow -Wait -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang $openssl_path/Configure shared android-arm`"")
Start-Process -NoNewWindow -Wait -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang make -f $openssl_path/Makefile build_generated`"")
Pop-Location
Write-Host "Configuring OpenSSL $version for Android..."
Push-Location $destination
# $ must be escaped in powershell...
function CheckExitCode {
param (
$p
)
if ($p.ExitCode) {
Write-host "Process failed with exit code: $($p.ExitCode)"
exit 1
}
}
$configure = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang $openssl_path/Configure shared android-arm`"")
CheckExitCode $configure
$make = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang make -f $openssl_path/Makefile build_generated`"")
CheckExitCode $make
Pop-Location
Remove-item C:\Utils\tmp -Recurse -Confirm:$false
}
Set-EnvironmentVariable "OPENSSL_ANDROID_HOME" "$destination"
Remove-item C:\Utils\tmp -Recurse -Confirm:$false
Write-Output "Android OpenSSL = $version" >> ~/versions.txt

View File

@@ -1,7 +1,6 @@
#############################################################################
############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Copyright (C) 2019 Konstantin Tokarev <annulen@yandex.ru>
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -30,75 +29,26 @@
##
## $QT_END_LICENSE$
##
#############################################################################
############################################################################
. "$PSScriptRoot\helpers.ps1"
$scriptsPath = "C:\Python36\Scripts"
# This is temporary solution for installing packages provided by Conan until we have fixed Conan setup for this
Run-Executable "$scriptsPath\pip3.exe" "install -r $PSScriptRoot\conan_requirements.txt"
Write-Output "Conan = 1.29.0" >> ~\versions.txt
$url_conan = "\\ci-files01-hki.intra.qt.io\provisioning\windows\.conan.zip"
$url_conan_home = "\\ci-files01-hki.intra.qt.io\provisioning\windows\.conanhome.zip"
$sha1_conan_compressed = "1abbe43e7a29ddd9906328702b5bc5231deeb721"
$sha1_conanhome_compressed = "f44c2ae21cb1c7dc139572e399b7b0eaf492af03"
$conan_compressed = "C:\.conan.zip"
$conanhome_compressed = "C:\.conanhome.zip"
# Use Qt Project repository by default
Run-Executable "$scriptsPath\conan.exe" "remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert --force"
Download $url_conan $url_conan $conan_compressed
Verify-Checksum $conan_compressed $sha1_conan_compressed
Extract-7Zip $conan_compressed C:\
Set-EnvironmentVariable "CI_CONAN_BUILDINFO_DIR" "C:\Utils\conanbuildinfos"
Download $url_conan_home $url_conan_home $conanhome_compressed
Verify-Checksum $conanhome_compressed $sha1_conanhome_compressed
Extract-7Zip $conanhome_compressed C:\Users\qt
function Run-Conan-Install
{
Param (
[string]$ConanfilesDir,
[string]$BuildinfoDir,
[string]$Arch,
[string]$Compiler,
[string]$CompilerVersion,
[string]$CompilerRuntime,
[string]$CompilerLibcxx,
[string]$CompilerException,
[string]$CompilerThreads
)
if ($CompilerRuntime) {
$extraArgs += " -s compiler.runtime=$CompilerRuntime"
}
if ($CompilerLibcxx) {
$extraArgs += " -s compiler.libcxx=$CompilerLibcxx"
}
if ($CompilerException) {
$extraArgs += " -s compiler.exception=$CompilerException"
}
if ($CompilerThreads) {
$extraArgs += " -s compiler.threads=$CompilerThreads"
}
$manifestsDir = "$PSScriptRoot\conan_manifests"
$buildinfoRoot = "C:\Utils\conanbuildinfos"
Get-ChildItem -Path "$ConanfilesDir\*.txt" |
ForEach-Object {
$conanfile = $_.FullName
$outpwd = "$buildinfoRoot\$BuildinfoDir\$($_.BaseName)"
New-Item $outpwd -Type directory -Force | Out-Null
for ($i = 1; $i -le 5; $i++) {
try {
Push-Location $outpwd
Run-Executable "$scriptsPath\conan.exe" "install --no-imports --verify $manifestsDir", `
'-s', ('compiler="' + $Compiler + '"'), `
"-s os=Windows -s arch=$Arch -s compiler.version=$CompilerVersion $extraArgs $conanfile"
break;
} catch {
if ($i -eq 5) {
throw "Could not install conan content"
}
} finally {
Pop-Location
}
}
Copy-Item -Path $conanfile -Destination "$outpwd\conanfile.txt"
}
}
Remove $conan_compressed
Remove $conanhome_compressed

View File

@@ -0,0 +1 @@
Disable-NetAdapterLso Ethernet

View File

@@ -1,7 +1,6 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2017 Pelagicore AG
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -31,14 +30,11 @@
## $QT_END_LICENSE$
##
#############################################################################
. "$PSScriptRoot\helpers.ps1"
. "$PSScriptRoot\..\common\windows\helpers.ps1"
# This script will install Azure singtool using Dotnet SDK
$dotnet = "C:\Program Files\dotnet\dotnet.exe"
# Signing tools are needed to sign offline installers when releasing
$version = "2.0.17"
Run-Executable "$dotnet" "tool install --global AzureSignTool --version $version"
$url = "http://ci-files01-hki.intra.qt.io/input/semisecure/sign/sign.zip"
$destination = "C:\Windows\temp\sign.zip"
Download $url $url $destination
Extract-7Zip "$destination" "C:\Utils"
Remove-Item -Path "$destination"

View File

@@ -0,0 +1,59 @@
#############################################################################
##
## Copyright (C) 2020 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 Dotnet SDK which is required for Azure installation
$version = "2.1"
if (Is64BitWinHost) {
$urlCache = "http://ci-files01-hki.intra.qt.io/input/windows/dotnet-sdk-2.1.809-win-x64.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/c980b6fb-e570-4c73-b344-e4dae6573777/f844ac1a4c6ea5de7227a701786126fd/dotnet-sdk-2.1.809-win-x64.exe"
$sha1 = "343e80c2ab558a30696dbe03ad2288bf435d5cd8"
} else {
$urlCache = "http://ci-files01-hki.intra.qt.io/input/windows/dotnet-sdk-2.1.809-win-x86.exe"
$urlOfficial = "https://download.visualstudio.microsoft.com/download/pr/cf86a2f3-f6b2-4959-8e41-cf84b0d2f294/a61e834f56abe2dc2e12599e1a60c10b/dotnet-sdk-2.1.809-win-x86.exe"
$sha1 = "b38a4e1392f17aed110508a1687f1c65b9d86161"
}
$installer = "C:\Windows\Temp\dotnet-sdk-$version.exe"
Write-Host "Installing Dotnet SDK $version"
Download $urlOfficial $urlCache $installer
Verify-Checksum $installer $sha1
Run-Executable "$installer" "/install /passive"
Prepend-Path "C:\Program Files\dotnet"
Remove $installer
Write-Output "Dotnet SDK = $version" >> ~/versions.txt

View File

@@ -33,40 +33,50 @@
. "$PSScriptRoot\helpers.ps1"
$version = "20181211"
# This script will installs msys2
$version = "20200903"
$prog = "msys2"
if (Is64BitWinHost) {
$arch = "x86_64"
$sha1 = "d689ff74fd060934bd7aaf458a11db67833463c2"
$folder = "msys64"
} else {
$arch = "i686"
$sha1 = "928f9d1537d1a77dc7f2adab74fb438e7d11a98e"
$folder = "msys32"
}
$arch = "x86_64"
$sha1 = "5a1644585fac2d58855d48b4ba4a92579a14cf03"
$sha1_prebuilt = "d86d45d72228f53f7ae060771bc95b6f54c703c8"
$folder = "msys64"
$package_prebuilt = $folder + "_" + $version + "_prebuilt.7z"
$package = $prog + "-base-" + $arch + "-" + $version + ".tar.xz"
$url_cache_prebuilt = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package_prebuilt"
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
$url_official = "http://repo.msys2.org/distrib/$arch/$package"
$PackagePath = "C:\Windows\Temp\$package"
$TargetLocation = "C:\Utils"
Download $url_official $url_cache $PackagePath
Verify-Checksum $PackagePath $sha1
Extract-tar_gz $PackagePath $TargetLocation
$bash = "$TargetLocation\$folder\usr\bin\bash"
if ((Test-Path $url_cache_prebuilt)) {
$PackagePath = "C:\Windows\Temp\$package_prebuilt"
Download $url_cache_prebuilt $url_cache_prebuilt $PackagePath
Verify-Checksum $PackagePath $sha1_prebuilt
Extract-7Zip $PackagePath $TargetLocation
} else {
$PackagePath = "C:\Windows\Temp\$package"
Download $url_official $url_cache $PackagePath
Verify-Checksum $PackagePath $sha1
Extract-tar_gz $PackagePath $TargetLocation
$msys = "$TargetLocation\$folder\msys2_shell.cmd"
# install perl
Run-Executable "$bash" "`"-l`" `"-c`" `"rm -rf /etc/pacman.d/gnupg;pacman-key --init;pacman-key --populate msys2;pacman -S --noconfirm perl make`""
Run-Executable "$bash" "`"-l`" `"-c`" `"yes | cpan -i Text::Template Test::More`""
# install perl
# Run these without 'Run-Executable' function. When using the function the gpg-agent will lock the needed tmp*.tmp file.
cmd /c "$msys `"-l`" `"-c`" `"rm -rf /etc/pacman.d/gnupg;pacman-key --init;pacman-key --populate msys2;pacman -S --noconfirm perl make`""
Start-Sleep -s 60
cmd /c "$msys `"-l`" `"-c`" `"echo y | cpan -i Text::Template Test::More`""
# Sometimes gpg-agent won't get killed after the installation process. If that happens the provisioning will won't continue and it will hang until timeout. So we need make sure it will be killed.
# Let's sleep for awhile and wait that msys installation is finished. Otherwise the installation might start up gpg-agent or dirmngr after the script has passed the killing process.
Start-Sleep -s 360
if (Get-Process -Name "gpg-agent" -ErrorAction SilentlyContinue) { Stop-Process -Force -Name gpg-agent }
if (Get-Process -Name "dirmngr" -ErrorAction SilentlyContinue) { Stop-Process -Force -Name dirmngr }
}
Write-Host "Cleaning $PackagePath.."
Remove-Item -Recurse -Force -Path "$PackagePath"
# pacman-key launches gpg-agent and dirmngr in the background, see https://github.com/Alexpux/MSYS2-pacman/issues/56
Stop-Process -Name "gpg-agent" -ErrorAction Ignore
Stop-Process -Name "dirmngr" -ErrorAction Ignore
Write-Output "MSYS2 = $version" >> ~\versions.txt

View File

@@ -1,6 +1,6 @@
#############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -36,7 +36,7 @@
# This script installs OpenSSL $version.
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
$version = "1_1_1g"
$version = "1_1_1k"
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
@@ -47,7 +47,7 @@ if (Is64BitWinHost) {
$installFolder = "C:\openssl"
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
$sha1 = "7643561c372720f55de51454a707ede334db086e"
$sha1 = "ab5367a1f46a3779a870fe2c1a99e03f8ffa3041"
Write-Host "Fetching from URL ..."
Download $externalUrl $internalUrl $packagex64
@@ -74,7 +74,7 @@ if (Is64BitWinHost) {
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
$sha1 = "c7d4b096c2413d1af819ccb291214fa3c4cece07"
$sha1 = "49f5b7fe01d686f706071c9a00d19bd69f2e7371"
Write-Host "Fetching from URL ..."
Download $externalUrl $internalUrl $packagex86

View File

@@ -1,6 +1,6 @@
#############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -54,8 +54,30 @@ $internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\python-$versio
Write-Host "Fetching from URL..."
Download $externalUrl $internalUrl $package
Verify-Checksum $package $sha1
Write-Host "Installing $package..."
Run-Executable "msiexec" "/passive /i $package TARGETDIR=$targetDir ALLUSERS=1"
# Python installation is flaky, but seems to pass with second run if error occurs.
$stop = $false
[int]$retry = "0"
do {
try {
# /levx = e:'All error messages' v:'Verbose' x:'Extra debugging info'
Run-Executable "msiexec" "/passive /i $package /levx C:\Windows\Temp\Python_log.log TARGETDIR=$targetDir ALLUSERS=1"
$stop = $true
}
catch {
Get-Content C:\Windows\Temp\Python_log.log -Tail 50
if ($retry -gt 2) {
Write-Host "Python installation failed!"
throw
}
else {
Write-Host "Couldn't install python, retrying in 30 seconds"
Start-Sleep -s 30
$retry = $retry + 1
}
}
}
while ($stop -ne $true)
# 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
Write-Host "Changing allowZip64 value to 'True'..."

View File

@@ -1,6 +1,6 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Copyright (C) 2017 Pelagicore AG
## Contact: http://www.qt.io/licensing/
##
@@ -40,7 +40,7 @@ param(
)
. "$PSScriptRoot\helpers.ps1"
$version = "3.6.1"
$version = "3.6.2"
$package = "C:\Windows\temp\python-$version.exe"
# check bit version
@@ -48,11 +48,11 @@ if ( $archVer -eq 64 ) {
Write-Host "Installing 64 bit Python"
$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"
$sha1 = "bf54252c4065b20f4a111cc39cf5215fb1edccff"
$sha1 = "bcf9bda733a9153811209c62d628c41ab6cedbe2"
} else {
$externalUrl = "https://www.python.org/ftp/python/$version/python-$version.exe"
$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/python-$version.exe"
$sha1 = "76c50b747237a0974126dd8b32ea036dd77b2ad1"
$sha1 = "cd9744b142eca832f9534390676e6cfb84bf655d"
}
Write-Host "Fetching from URL..."

View File

@@ -1,6 +1,6 @@
#############################################################################
##
## Copyright (C) 2018 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -33,122 +33,48 @@
. "$PSScriptRoot\helpers.ps1"
# This script will install squish package for Windows.
# This script will pre-installed squish package for Windows.
# 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.4.3"
# Qt branch without dot (*.*)
$version = "6.6.1"
$qtBranch = "512x"
# So far Squish built with Qt5.12 works also with 5.13, 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"
$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin"
$squishBranchUrl = "$squishUrl\$qtBranch"
$testSuite = "suite_test_squish"
$testSuiteUrl = "$squishUrl\$testSuite.7z"
$squishPackage = "C:\Utils\rta_squish"
$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\jenkins_build\stable"
$licenseUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin"
# Squish license
$licensePackage = ".squish-3-license"
Write-Host "Installing Squish license to home directory"
Copy-Item $licenseUrl\$licensePackage ~\$licensePackage
if (Is64BitWinHost) {
$arch = "x64"
} else {
$arch = "x86"
}
$OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName
Function DownloadAndInstallSquish {
Param (
[string]$version,
[string]$bit,
[string]$squishPackage
)
# MinGW x86 available only with Qt5.11, to be updated when Squish is supporting 5.13
if ("$bit" -eq "win32" -and $squishPackage.StartsWith("mingw")) {
$qtBranch = "511x"
}
$SquishUrl = $squishBranchUrl + "\squish-" + $version + "-qt" + $qtBranch + "-" + $bit + "-" + $squishPackage + ".exe"
$SquishInstaller = "$targetDir\$squishPackage.exe"
$SquishParameters = "unattended=1 targetdir=$targetDir\$squishPackage"
Write-Host "Fetching from URL $squishUrl"
Copy-Item "$SquishUrl" "$SquishInstaller"
Write-Host "Installing Squish"
Run-Executable "$SquishInstaller" "$SquishParameters"
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 {
Param (
[string]$squishUrl
)
Write-Host "Installing Squish license to home directory"
Copy-Item $squishUrl\$licensePackage ~\$licensePackage
}
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"
Write-Host "Download and install Test Suite for squish"
Copy-Item $testSuiteUrl $targetDir/$testSuite.7z
Extract-7Zip $targetDir/$testSuite.7z $targetDir
DownloadSquishLicence $squishUrl
if ($OSVersion -eq "Windows 10 Enterprise") {
$winVersion = "win10"
if (Is64BitWinHost) {
DownloadAndInstallSquish $version win64 "msvc14"
DownloadAndInstallSquish $version win64 "msvc141"
DownloadAndInstallSquish $version win64 "mingw_gcc73_posix_seh"
$sha1 = "13cb5b6a71d915213fac4273c99c83406b03985f"
} else {
DownloadAndInstallSquish $version win32 "mingw_gcc53_posix_dwarf"
$sha1 = "33484220762110b2fce1a1f9042f27358cb23929"
}
DownloadAndInstallSquish $version win32 "msvc141"
} elseif ($OSVersion -eq "Windows 8.1 Enterprise") {
if (Is64BitWinHost) {
DownloadAndInstallSquish $version win64 "msvc14"
}
DownloadAndInstallSquish $version win32 "msvc141"
} elseif ($OSVersion -eq "Windows 7 Enterprise") {
if (Is64BitWinHost) {
DownloadAndInstallSquish $version win64 "msvc14"
} else {
DownloadAndInstallSquish $version win32 "mingw_gcc53_posix_dwarf"
}
DownloadAndInstallSquish $version win32 "msvc141"
$winVersion = "win7"
$sha1 = "05d6255b090eace35cf1e899ea203e9182cccccd"
}
$squishArchive = "prebuild-squish-$version-$qtBranch-$winVersion-$arch.zip"
Copy-Item "$squishUrl\$squishArchive" "C:\Utils"
Verify-Checksum "C:\Utils\$squishArchive" $sha1
Extract-7Zip "C:\Utils\$squishArchive" "C:\Utils"
Rename-Item "$squishPackage" "$targetDir"
Write-Host "Verifying Squish Installation for following targets:"
get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { $_.FullName }
get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { if (cmd /c $_.FullName --testsuite "$targetDir\suite_test_squish" |Select-String -Pattern "Squish test run successfully") { Write-Host "Squish tested successfully"} else { [Environment]::Exit(1) } }

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2018 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -44,3 +44,5 @@ installPackages+=(openssl-devel)
sudo yum -y install "${installPackages[@]}"
gccVersion="$(gcc --version |grep gcc |cut -b 11-16)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -122,9 +122,12 @@ sudo ln -s /opt/rh/rh-python36/root/usr/bin/python3 /usr/local/bin/python3
sudo ln -s /opt/rh/rh-python36/root/usr/bin/pip3 /usr/local/bin/pip3
# We shouldn't use yum to install virtualenv. The one found from package repo is not
# working, but we can use installed pip
sudo pip install --upgrade pip
sudo pip install --upgrade "pip < 21.0"
sudo pip install virtualenv wheel
# Needed by packaging scripts
sudo /usr/local/bin/pip3 install colorlog --user
sudo /usr/local/bin/pip3 install wheel
# Install all needed packages in a special wheel cache directory
/usr/local/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
@@ -132,3 +135,7 @@ sudo /usr/local/bin/pip3 install wheel
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
gccVersion="$(gcc --version |grep gcc |cut -b 11-16)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -0,0 +1,50 @@
#!/usr/bin/env bash
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
##
## $QT_BEGIN_LICENSE:LGPL21$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see http://www.qt.io/terms-conditions. For further
## information use the contact form at http://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 2.1 or version 3 as published by the Free
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
## following information to ensure the GNU Lesser General Public License
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
##
## As a special exception, The Qt Company gives you certain additional
## rights. These rights are described in The Qt Company LGPL Exception
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
##
## $QT_END_LICENSE$
##
#############################################################################
set -e
curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/suse_rk.sh -o "/tmp/suse_rk.sh" &>/dev/null
sudo chmod 755 /tmp/suse_rk.sh
/tmp/suse_rk.sh
# Activate these modules
# sudo SUSEConnect -p PackageHub/12.4/x86_64
sudo SUSEConnect -p sle-module-toolchain/12/x86_64
sudo SUSEConnect -p sle-sdk/12.4/x86_64
sudo SUSEConnect -p sle-module-legacy/12/x86_64
# This is needed by Nodejs and QtWebEngine
sudo SUSEConnect -p sle-module-web-scripting/12/x86_64
sudo rm -f /tmp/suse_rk.sh

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -94,3 +94,5 @@ sudo zypper -nq install libfreetds freetds-devel
# sqlite2 support
sudo zypper -nq install sqlite2 sqlite2-devel
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -41,12 +41,45 @@ set -ex
sudo zypper -nq install python-devel
wget -q https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh
sed -i 's/12.3/12.4/g' build_python3.sh
bash build_python3.sh
# Selected installation instructions coming from:
# https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Python3/build_python3.sh
export PACKAGE_NAME="python"
export PACKAGE_VERSION="3.7.2"
(
export
python3 --version
sudo zypper install -y gcc gcc-c++ make ncurses patch wget tar zlib-devel zlib libffi-devel libopenssl-devel
printf -- 'Configuration and Installation started \n'
#Downloading Source code
wget "https://www.python.org/ftp/${PACKAGE_NAME}/${PACKAGE_VERSION}/Python-${PACKAGE_VERSION}.tar.xz"
tar -xvf "Python-${PACKAGE_VERSION}.tar.xz"
#Configure and Build
cd "Python-${PACKAGE_VERSION}"
./configure --prefix=/usr/local --exec-prefix=/usr/local
make
sudo make install
export PATH="/usr/local/bin:${PATH}"
printf -- '\nInstalled python successfully \n'
#Cleanup
cd -
rm "Python-${PACKAGE_VERSION}.tar.xz"
#Verify python installation
if command -V "$PACKAGE_NAME"${PACKAGE_VERSION:0:1} >/dev/null
then
printf -- "%s installation completed. Please check the Usage to start the service.\n" "$PACKAGE_NAME"
else
printf -- "Error while installing %s, exiting with 127 \n" "$PACKAGE_NAME"
exit 127
fi
)
python3 --version | fgrep "$PACKAGE_VERSION"
pip3 install --user wheel
pip3 install --user virtualenv

View File

@@ -76,7 +76,7 @@ ARCH_SELECTED=ALL
COMPONENTS=;intel-comp__x86_64;intel-comp-32bit__x86_64;intel-comp-doc__noarch;intel-comp-l-all-common__noarch;intel-comp-l-all-vars__noarch;intel-comp-nomcu-vars__noarch;intel-comp-ps-32bit__x86_64;intel-comp-ps__x86_64;intel-comp-ps-ss__x86_64;intel-comp-ps-ss-bec__x86_64;intel-comp-ps-ss-bec-32bit__x86_64;intel-openmp__x86_64;intel-openmp-32bit__x86_64;intel-openmp-common__noarch;intel-openmp-common-icc__noarch;intel-tbb-libs-32bit__x86_64;intel-tbb-libs__x86_64;intel-idesupport-icc-common-ps__noarch;intel-icc__x86_64;intel-icc-32bit__x86_64;intel-c-comp-common__noarch;intel-icc-common__noarch;intel-icc-common-ps__noarch;intel-icc-common-ps-ss-bec__noarch;intel-icc-doc__noarch;intel-icc-doc-ps__noarch;intel-icc-ps__x86_64;intel-icc-ps-ss__x86_64;intel-icc-ps-ss-bec__x86_64;intel-icc-ps-ss-bec-32bit__x86_64;intel-tbb-devel-32bit__x86_64;intel-tbb-devel__x86_64;intel-tbb-common__noarch;intel-tbb-doc__noarch;intel-ism__noarch;intel-ccompxe__noarch;intel-psxe-common__noarch;intel-psxe-doc__noarch;intel-psxe-common-doc__noarch;intel-ccompxe-doc__noarch;intel-psxe-licensing__noarch;intel-psxe-licensing-doc__noarch;intel-icsxe-pset
EOT
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu)
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu --ignore-signature)
# Export LD_LIBRARY_PATH to Coin
echo "export ICC64_18_LDLP=$iccInstallPath/lib/intel64" >>~/.bashrc

View File

@@ -0,0 +1,48 @@
#!/usr/bin/env bash
#############################################################################
##
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
##
## $QT_BEGIN_LICENSE:LGPL21$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see http://www.qt.io/terms-conditions. For further
## information use the contact form at http://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 2.1 or version 3 as published by the Free
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
## following information to ensure the GNU Lesser General Public License
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
##
## As a special exception, The Qt Company gives you certain additional
## rights. These rights are described in The Qt Company LGPL Exception
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
##
## $QT_END_LICENSE$
##
#############################################################################
set -e
curl --retry 5 --retry-delay 10 --retry-max-time 60 http://ci-files01-hki.intra.qt.io/input/semisecure/suse_rk.sh -o "/tmp/suse_rk.sh" &>/dev/null
sudo chmod 755 /tmp/suse_rk.sh
/tmp/suse_rk.sh
# Activate these modules
sudo SUSEConnect -p sle-module-desktop-applications/15/x86_64
sudo SUSEConnect -p sle-module-development-tools/15/x86_64
# This is needed by Nodejs and QtWebEngine
sudo SUSEConnect -p sle-module-web-scripting/15/x86_64
sudo rm -f /tmp/suse_rk.sh

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -95,3 +95,12 @@ sudo zypper -nq install unixODBC-devel unixODBC
# sqlite support
sudo zypper -nq install sqlite3 sqlite3-devel
# Java - needed by RTA jenkins
sudo zypper -nq install java
# open-vm-tools requires update. Version in tier1 is broken and causes segfault on boot.
sudo zypper -nq update open-vm-tools
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -76,7 +76,7 @@ ARCH_SELECTED=ALL
COMPONENTS=;intel-comp__x86_64;intel-comp-32bit__x86_64;intel-comp-doc__noarch;intel-comp-l-all-common__noarch;intel-comp-l-all-vars__noarch;intel-comp-nomcu-vars__noarch;intel-comp-ps-32bit__x86_64;intel-comp-ps__x86_64;intel-comp-ps-ss__x86_64;intel-comp-ps-ss-bec__x86_64;intel-comp-ps-ss-bec-32bit__x86_64;intel-openmp__x86_64;intel-openmp-32bit__x86_64;intel-openmp-common__noarch;intel-openmp-common-icc__noarch;intel-tbb-libs-32bit__x86_64;intel-tbb-libs__x86_64;intel-idesupport-icc-common-ps__noarch;intel-icc__x86_64;intel-icc-32bit__x86_64;intel-c-comp-common__noarch;intel-icc-common__noarch;intel-icc-common-ps__noarch;intel-icc-common-ps-ss-bec__noarch;intel-icc-doc__noarch;intel-icc-doc-ps__noarch;intel-icc-ps__x86_64;intel-icc-ps-ss__x86_64;intel-icc-ps-ss-bec__x86_64;intel-icc-ps-ss-bec-32bit__x86_64;intel-tbb-devel-32bit__x86_64;intel-tbb-devel__x86_64;intel-tbb-common__noarch;intel-tbb-doc__noarch;intel-ism__noarch;intel-ccompxe__noarch;intel-psxe-common__noarch;intel-psxe-doc__noarch;intel-psxe-common-doc__noarch;intel-ccompxe-doc__noarch;intel-psxe-licensing__noarch;intel-psxe-licensing-doc__noarch;intel-icsxe-pset
EOT
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu)
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu --ignore-signature)
# Export LD_LIBRARY_PATH to Coin
echo "export ICC64_18_LDLP=$iccInstallPath/lib/intel64" >>~/.bashrc

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -56,3 +56,5 @@ sudo apt-get update
echo "Installing packages"
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
gccVersion="$(gcc --version |grep gcc |cut -b 13-17)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -186,3 +186,6 @@ pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
gccVersion="$(gcc --version |grep gcc |cut -b 13-17)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -67,3 +67,6 @@ sudo zypper -nq install libpulse-devel
# cups
sudo zypper -nq install cups-devel
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
echo "GCC = $gccVersion" >> versions.txt

View File

@@ -76,7 +76,7 @@ ARCH_SELECTED=ALL
COMPONENTS=;intel-comp__x86_64;intel-comp-32bit__x86_64;intel-comp-doc__noarch;intel-comp-l-all-common__noarch;intel-comp-l-all-vars__noarch;intel-comp-nomcu-vars__noarch;intel-comp-ps-32bit__x86_64;intel-comp-ps__x86_64;intel-comp-ps-ss__x86_64;intel-comp-ps-ss-bec__x86_64;intel-comp-ps-ss-bec-32bit__x86_64;intel-openmp__x86_64;intel-openmp-32bit__x86_64;intel-openmp-common__noarch;intel-openmp-common-icc__noarch;intel-tbb-libs-32bit__x86_64;intel-tbb-libs__x86_64;intel-idesupport-icc-common-ps__noarch;intel-icc__x86_64;intel-icc-32bit__x86_64;intel-c-comp-common__noarch;intel-icc-common__noarch;intel-icc-common-ps__noarch;intel-icc-common-ps-ss-bec__noarch;intel-icc-doc__noarch;intel-icc-doc-ps__noarch;intel-icc-ps__x86_64;intel-icc-ps-ss__x86_64;intel-icc-ps-ss-bec__x86_64;intel-icc-ps-ss-bec-32bit__x86_64;intel-tbb-devel-32bit__x86_64;intel-tbb-devel__x86_64;intel-tbb-common__noarch;intel-tbb-doc__noarch;intel-ism__noarch;intel-ccompxe__noarch;intel-psxe-common__noarch;intel-psxe-doc__noarch;intel-psxe-common-doc__noarch;intel-ccompxe-doc__noarch;intel-psxe-licensing__noarch;intel-psxe-licensing-doc__noarch;intel-icsxe-pset
EOT
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu)
(cd "$iccTmpPath" && sudo ./install.sh --silent $iccInstallInstructions --ignore-cpu --ignore-signature)
# Export LD_LIBRARY_PATH to Coin
echo "export ICC64_18_LDLP=$iccInstallPath/lib/intel64" >>~/.bashrc

View File

@@ -4,4 +4,4 @@
set -ex
brew update
brew install p7zip
brew install --build-from-source p7zip

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2019 The Qt Company Ltd.
## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -97,4 +97,16 @@ echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
sudo systemsetup settimezone GMT
# Setting Time Zone seems to be flaky in macOS 10.13. Checking that Time Zone is correct. If not, reset it.
if [[ $(sudo systemsetup -gettimezone) = *GMT* ]]; then
echo "Time Zone is GMT"
else
echo "Wrong Time Zone. Reset Time Zone to GMT"
sleep 5
sudo systemsetup settimezone GMT
if [[ $(sudo systemsetup -gettimezone) != *GMT* ]]; then
echo "Couldn't set Time Zone!"
exit 1
fi
fi
sudo rm -f "$targetFile"

View File

@@ -4,4 +4,4 @@
set -ex
brew update
brew install p7zip
brew install --build-from-source p7zip

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
"$BASEDIR/../common/macos/nodejs.sh"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"

View File

@@ -0,0 +1,2 @@
# Allow SMB client guest logons to SMB server.
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /V AllowInsecureGuestAuth /T REG_dWORD /D 1 /F

View File

@@ -1,17 +1 @@
. "$PSScriptRoot\..\common\windows\conan.ps1"
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir MSVC2015-x86 `
-Arch x86 `
-Compiler "Visual Studio" `
-CompilerVersion 14 `
-CompilerRuntime MD
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir MSVC2017-x86 `
-Arch x86 `
-Compiler "Visual Studio" `
-CompilerVersion 15 `
-CompilerRuntime MD

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"

View File

@@ -0,0 +1,4 @@
# Disable RunTime Broker
# The RunTime Broker is a Windows system process, which helps to manage app permissions on your pc between Windows apps and ensures apps are behaving themselves.
# Coordinates execution of background work for WinRT application. If this service is stopped or disabled, then background work might not be triggered.
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TimeBrokerSvc" /V Start /T REG_dWORD /D 4 /F

View File

@@ -0,0 +1,2 @@
# Allow SMB client guest logons to SMB server.
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /V AllowInsecureGuestAuth /T REG_dWORD /D 1 /F

View File

@@ -0,0 +1,48 @@
############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
##
## $QT_BEGIN_LICENSE:LGPL21$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see http://www.qt.io/terms-conditions. For further
## information use the contact form at http://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 2.1 or version 3 as published by the Free
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
## following information to ensure the GNU Lesser General Public License
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
##
## As a special exception, The Qt Company gives you certain additional
## rights. These rights are described in The Qt Company LGPL Exception
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
##
## $QT_END_LICENSE$
##
#############################################################################
. "$PSScriptRoot\..\common\windows\helpers.ps1"
# This script will install VC Redistributable
$sha1 = "a55510a8c9708b2c68b39cd50bbcaf86e2c885f0"
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VC_redist.x64.exe"
# https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
$url_official = "https://aka.ms/vs/16/release/vc_redist.x64.exe"
$package = "C:\Windows\Temp\vc_redist.x64.exe"
Download $url_official $url_cache $package
Verify-Checksum $package $sha1
Run-Executable "$package" "/install /quiet /norestart"
Remove-Item -Recurse -Force -Path $package

View File

@@ -1,53 +1 @@
. "$PSScriptRoot\..\common\windows\conan.ps1"
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir MSVC2015-x86_64 `
-Arch x86_64 `
-Compiler "Visual Studio" `
-CompilerVersion 14 `
-CompilerRuntime MD
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir MSVC2015-x86 `
-Arch x86 `
-Compiler "Visual Studio" `
-CompilerVersion 14 `
-CompilerRuntime MD
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir MSVC2017-x86_64 `
-Arch x86_64 `
-Compiler "Visual Studio" `
-CompilerVersion 15 `
-CompilerRuntime MD
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir MSVC2017-x86 `
-Arch x86 `
-Compiler "Visual Studio" `
-CompilerVersion 15 `
-CompilerRuntime MD
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir Mingw73-x86 `
-Arch x86 `
-Compiler "gcc" `
-CompilerVersion 8 `
-CompilerLibcxx "libstdc++" `
-CompilerException "dwarf2" `
-CompilerThreads "posix"
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir Mingw-x86_64 `
-Arch x86_64 `
-Compiler "gcc" `
-CompilerVersion 8 `
-CompilerLibcxx "libstdc++" `
-CompilerException "seh" `
-CompilerThreads "posix"

View File

@@ -0,0 +1,2 @@
. "$PSScriptRoot\..\common\windows\install-dotnet.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\install-azure-tool.ps1"

View File

@@ -1,11 +1 @@
. "$PSScriptRoot\..\common\windows\conan.ps1"
Run-Conan-Install `
-ConanfilesDir "$PSScriptRoot\conanfiles" `
-BuildinfoDir Mingw-x86 `
-Arch x86 `
-Compiler "gcc" `
-CompilerVersion 8 `
-CompilerLibcxx "libstdc++" `
-CompilerException "dwarf2" `
-CompilerThreads "posix"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"

View File

@@ -0,0 +1 @@
. "$PSScriptRoot\..\common\windows\disable-netadapterlso.ps1"

2
qt3d

Submodule qt3d updated: 648daeb819...e04a70eb3b

2
qtbase

Submodule qtbase updated: 991fb57e78...1d5a2e924b

2
qtdoc

Submodule qtdoc updated: a4e9fea17e...8cfc85c8b5

2
qtqa

Submodule qtqa updated: bb9309475c...a6a4b6091b

Submodule qtscxml updated: c307d59a3e...a5482507a4

2
qtsvg

Submodule qtsvg updated: efa920382e...85485845bd

Submodule qttools updated: 850e110146...9ff3504a43