aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/cmake.ps1
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: Add Windows 11 on ARM as non-blocking in CITero Heikkinen2024-05-141-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 2022 is the first msvc having natively support for building and debugging ARM64 apps. [CI Platforms] Provisioning needed to take new Get-CpuArchitecture helpers.ps1 function into use in several installations. Requirements for other branches - Get-CpuArchitecture helpers.ps1 function - Skip qtwebengine with Windows 11 ARM (QTBUG-124632) List of excluded installations in Windows on ARM: - Could be added later - MinGW - QTQAINFRA-6079 - DirectX SDK for RTA - libclang - mcuexpresso - fbx for msvc2022 - Ruby - For python - conan - emsdk - Not supported yet - FFmpeg - Msys2 (for FFmpeg QTBUG-124399) - MySQL - PostgreSQL - Java JDK - Strawberry Perl Task-number: QTQAINFRA-6109 Task-number: QTQAINFRA-5855 Pick-to: 6.7 Change-Id: I4130e78add53f8a6e05eb41b7617b3f9ca802178 Reviewed-by: Simo Fält <simo.falt@qt.io>
* CMake: Update provisioned CMake to version 3.27.7Alexandru Croitor2023-11-151-3/+3
| | | | | | | | | | We want access to the debugger, and also to be in sync with the CMake shipped with the Qt SDK. Task-number: QTBUG-118138 Change-Id: I4b43b9543e8e6ef23c9608a8e1c623ee16edfbd5 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2023-06-121-38/+2
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.5 6.6 Task-number: QTBUG-67283 Task-number: QTBUG-108364 Change-Id: If26e4d35c780db4a7982bb84872b251dad24716e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Correct the domain of ci-files01-hkiTony Sarajärvi2023-06-121-1/+1
| | | | | | | | | It's hasn't been .intra.qt.io for quite some time, it has worked through an alias we have on the DNS server. Change-Id: I0bc17668dacfea64c276bb553e75e4be16e97659 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
* CMake: Update provisioned CMake to version 3.24.2Alexandru Croitor2022-11-261-3/+3
| | | | | | | | | | | | | | | | | | | | Needed to fix iOS Xcode generator builds when using Xcode 14. Otherwise compiler identification fails due to a code-signing error. We hit it in our iOS MinimalStaticTests configuration. error: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. (in target 'CompilerIdCXX' from project 'CompilerIdCXX') See https://gitlab.kitware.com/cmake/cmake/-/issues/23719 Amends eee152ca704d501189905122a904255f581b3256 Fixes: QTQAINFRA-5044 Change-Id: Idabd78e6e28816a8fc4dd7e627de82f2c622c54e Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Provisioning: Update cmake to 3.21.3 to enable Android buildSimo Fält2022-04-041-2/+2
| | | | | | | | To avoid https://gitlab.kitware.com/cmake/cmake/-/issues/22634. Pick-to: 6.2 6.3 Change-Id: I1227218514174843353b5bd5d831d89ed1ca89b4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Replace LGPL2.1 only header with LGPL3 oneKai Köhne2021-12-191-13/+19
| | | | | | | | | This is in line with e.g. qtbase. Also remove outdated/unreferenced license files. Pick-to: 6.3 Change-Id: I5d3370ab453610f9c8165ff9e57db7ad4a785370 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* CMake: Update provisioned CMake to version 3.21.1Alexandru Croitor2021-08-061-3/+3
| | | | | | | | Task-number: QTBUG-95018 Task-number: QTBUG-95229 Pick-to: 6.2 Change-Id: Ibed6ff323ca1633444ed29423ce1e94c99e68f77 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Update provisioned CMake to version 3.20.5Alexandru Croitor2021-07-091-7/+7
| | | | | | | Pick-to: 6.2 Change-Id: Id09eedf75b02b28dd94b0e3f858a05ebe8875679 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* CMake: Update provisioned CMake to version 3.19.2Cristian Adam2020-12-221-2/+2
| | | | | | Pick-to: 6.0 Change-Id: I9544eb3ba08b60d027e895031b93731c1e8d00af Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Provisioning: Use Remove function when removing items in WindowsHeikki Halmet2020-11-211-1/+1
| | | | | | | | | | | Sometimes items are locked by some windows process so that they can't be removed. This will fail provisioning instantly. Let's give the removing process more time by retrying if it will fail on first attempt Change-Id: Ic5c16c0d920ed0625d0c6830323d0bc6ba2cd608 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* CMake: Update provisioned CMake to version 3.19.0Alexandru Croitor2020-11-201-2/+2
| | | | | | Pick-to: 6.0.0 6.0 Change-Id: I9c5be93146882d5593bbe46811a653d6b2a88aee Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Update provisioned CMake to version 3.19.0-rc2Alexandru Croitor2020-11-121-3/+3
| | | | | | | | | | | | We want to be able to build qdoc and lupdate on MSVC with Ninja Multi-Config. Task-number: QTBUG-85411 Task-number: QTBUG-88139 Task-number: QTBUG-87315 Change-Id: I53b705535981b67c817f4d49d435e8f2a0553f74 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* CMake: Update provisioned CMake to version 3.18.3Cristian Adam2020-09-251-3/+3
| | | | | | | | | | | | | | | This version should fix the iOS PCH builds and Ninja Multi-Config, as well as the issues with AUTOMOC and Ninja. Temporarily explicitly disable the pkg_config feature on Windows hosts, because otherwise the configuration will break. The FindPkgConfig module in 3.18 has some additional behavior for checking if the found pkg-config works, and that's not handled by our qt_build_internals_disable_pkg_config_if_needed function in qtbase. Fixes: QTBUG-86862 Change-Id: I80514d3d7896ae09ab252aed10e86725fae0cc9c Reviewed-by: Toni Saario <toni.saario@qt.io>
* CMake: Update provisioned CMake version to 3.17.4Alexandru Croitor2020-08-211-2/+2
| | | | | | | | | | | | | | | | | | This CMake version among other things, fixes a bug with Ninja Multi-Config writing into the same response file on Windows, which can cause wrong libraries to be linked (mixing Debug and Release libs). Also disable PCH for iOS configs, because that seems to be broken again. We can't upgrade to 3.18.2 because that breaks iOS PCH in a different way than 3.17.4, and because of an AUTOMOC regression introduced when using Ninja Multi-Config. Fixes: QTBUG-85586 Change-Id: I04c08d3a8bfb88433f2d50f4d41d11fc0df3d7ec Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Update provisioned CMake version to 3.17.2Alexandru Croitor2020-05-261-2/+2
| | | | | | | | | | | This should fix the ninja deps issue we had on Windows with the Ninja Multi-Config generator, where calling ninja a second time to rebuild the project failed. More details at https://gitlab.kitware.com/cmake/cmake/-/issues/20723 Change-Id: I0029e57fbc704120d2241499a87cad0ad40c2e50 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update provisioned CMake version to 3.17.0-rc2Alexandru Croitor2020-03-091-3/+3
| | | | | | | | We want to test debug_and_release builds with CMake as soon as possible. Change-Id: I7d4c0a4e33adc26129844ff34ea8df6b149e184f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update CMake to version 3.16.0-rc4Liang Qi2019-11-291-3/+3
| | | | | | Change-Id: I4fc1f412888e1915ae2110320c18fb39a9600b94 Reviewed-by: Qt CMake Build Bot Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Update CMake to version 3.15.5Leander Beernaert2019-11-121-2/+2
| | | | | | | | Update required as there's a bug with setting the CXX_STANDARD on android. Updating to this version fixes the issue. Change-Id: I50b0bc2941e0919232b46bbf5b28133149878649 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update cmake sha1 for WindowsJędrzej Nowacki2019-06-061-1/+1
| | | | | | | | It amends a6d159c9e714a6b743ae13b96e2ebcd241c50a01. Seems that I computed sha1 for a wrong file. Change-Id: Ie524b2c825189a91cd6b809ff7991af20bd301b1 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* Bump cmake to 3.15-rc1 on WindowsJędrzej Nowacki2019-06-061-3/+3
| | | | | | | Same as for the recent Linux and macOS change. Change-Id: Ic7ae30333f8cd58925f697c19ca046ceac49cd32 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Provisioning: install latest cmake - 3.14.1 on WindowsLiang Qi2019-05-031-4/+4
| | | | | Change-Id: I461589be02c26e048d5975d59600376022d728fd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove hardcoded download pathMaurice Kalinowski2018-05-251-1/+1
| | | | | | | | | | | | | Previously all files got downloaded to a hardcoded path, including the username for the CI machines. Usually, it does not fit the username of a local development machine, complicating to reproduce bugs. Introduce Get-(Default)DownloadLocation functions in helpers to specify the default download location. This helps to run the provisioning scripts on a local machine. Change-Id: I761a92bf5e3e774358756a95dddb9a5d6ee54db9 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* windows provisioning: Do not use Windows builtin way of extracting zipsOliver Wolff2018-04-291-1/+1
| | | | | | | | | | The builtin way of Windows for handling zip files is much slower than using 7zip. A small benchmark (not representative, just extracting the android ndk) showed 11 minutes using Extract-Zip vs 2,5 minutes using Extract-7Zip on my machine. Change-Id: I5198aabb5b75860ead687581fc5e368eb75e48ae Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Unify Windows provisioning scripts & improve error handlingv5.11.0-beta1Oliver Wolff2018-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | While Coin should also see exit codes != 0 as error, we should stick to one way of handling script errors. As Power Shell cmdlets signal an error by throwing an exception we should do the same (and that approach also works in Coin). Additionally extracting 7zip files was unified across scripts by using the existing helper function instead of reinventing the wheel again and again. A similar helper function was introduced for starting an external application (and handling its errors). Also echo and other "cmd" commands were replaced by their PowerShell equivalents to have a unified approach across our Windows provisioning scripts. Change-Id: I70129ce38692f1396c33c13b33a2918485fa5271 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Split Common folder based on operating system familiesHeikki Halmet2018-01-101-0/+56
This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>