aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/windows')
-rw-r--r--coin/provisioning/common/windows/3dstudio_3rdparty.ps14
-rw-r--r--coin/provisioning/common/windows/allow-remote-desktop-access.ps134
-rw-r--r--coin/provisioning/common/windows/android-openssl.ps1141
-rw-r--r--coin/provisioning/common/windows/android.ps1104
-rw-r--r--coin/provisioning/common/windows/change-language-settings.ps14
-rw-r--r--coin/provisioning/common/windows/cmake.ps174
-rw-r--r--coin/provisioning/common/windows/conan.ps1114
-rw-r--r--coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/5a523494e1f78e9c3900ce2f09380672c297a203/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/e493e4ecb2fa207a4d212307e7d30a35fc0dde29/conanmanifest.txt)90
-rw-r--r--coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/5df173d8cb73784907692ca167e7d2e8316b10c7/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/1fab1e9a646ef41ee7e947ef7a9524b08e3ef34d/conanmanifest.txt)90
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/2b3cb3bb931646fe98ad49632435cdd3ed213435/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/8f06876bcdec0570dded47fecf362dd95832bd6e/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/export/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/export/conanmanifest.txt)4
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1655126cc73fa38b3abf5795b2008935595969ae/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/793aa46df280f94646f5e993f5e3553e18ec8ae9/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt12
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/1955c51c7e0a6365c20c2d798832186de95c0213/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/22d88c0e3f63872fe31c5fa40fc8085250867c11/conanmanifest.txt)16
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/852e73d42d44dff3fe4b6ed5d6a4546250ec180e/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/260f4ea2f609c699c16e114aec312888ec0a10b0/conanmanifest.txt)16
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/export/conanmanifest.txt6
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/7e451536519482997336e237346b93d95b87eb32/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/ae932df57acef9c094443d5579df1a9b72790e1a/conanmanifest.txt)26
-rw-r--r--coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/d4099b870b7e1ab748c13f5751cb2d32f893a78f/conanmanifest.txt (renamed from coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/b06e2211adc32e230f2d9e729d1dcad2648782e8/conanmanifest.txt)26
-rw-r--r--coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/export/conanmanifest.txt7
-rw-r--r--coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/package/5a14faea650589a68f33a6a5b0207a4a852a5f1d/conanmanifest.txt9
-rw-r--r--coin/provisioning/common/windows/conan_requirements.txt33
-rw-r--r--coin/provisioning/common/windows/disable-autoreboot.ps134
-rw-r--r--coin/provisioning/common/windows/disable-defragment.ps134
-rw-r--r--coin/provisioning/common/windows/disable-netadapterlso.ps14
-rw-r--r--coin/provisioning/common/windows/disable-sleep.ps134
-rw-r--r--coin/provisioning/common/windows/disable-uac.ps134
-rw-r--r--coin/provisioning/common/windows/disable-windefender.ps134
-rw-r--r--coin/provisioning/common/windows/disable-windows-module-installer.ps14
-rw-r--r--coin/provisioning/common/windows/disable-windows-updates.ps134
-rw-r--r--coin/provisioning/common/windows/dxsdk.ps14
-rw-r--r--[-rwxr-xr-x]coin/provisioning/common/windows/emsdk.ps1152
-rw-r--r--coin/provisioning/common/windows/exceutequeueditems.ps161
-rw-r--r--coin/provisioning/common/windows/fbx_windows.ps136
-rw-r--r--coin/provisioning/common/windows/grpc.ps1122
-rw-r--r--coin/provisioning/common/windows/helpers.ps1108
-rw-r--r--coin/provisioning/common/windows/icu.ps147
-rw-r--r--coin/provisioning/common/windows/install-azure-tool.ps110
-rw-r--r--coin/provisioning/common/windows/install-breakpad.ps142
-rw-r--r--coin/provisioning/common/windows/install-dependencywalker.ps170
-rw-r--r--coin/provisioning/common/windows/install-dotnet.ps129
-rw-r--r--coin/provisioning/common/windows/install-ffmpeg.ps1169
-rw-r--r--coin/provisioning/common/windows/install-git.ps144
-rw-r--r--coin/provisioning/common/windows/install-gnuwin32.ps136
-rw-r--r--coin/provisioning/common/windows/install-jdk.ps181
-rw-r--r--coin/provisioning/common/windows/install-jq.ps131
-rw-r--r--coin/provisioning/common/windows/install-mcuxpresso.ps116
-rw-r--r--coin/provisioning/common/windows/install-mingw.ps163
-rw-r--r--coin/provisioning/common/windows/install-msys2.ps1102
-rw-r--r--coin/provisioning/common/windows/install-notepad++.ps171
-rw-r--r--coin/provisioning/common/windows/install-openssh.ps148
-rw-r--r--coin/provisioning/common/windows/install-protobuf.ps164
-rw-r--r--coin/provisioning/common/windows/install-ruby.ps138
-rw-r--r--coin/provisioning/common/windows/install-sccache.ps135
-rw-r--r--coin/provisioning/common/windows/install-sed.ps138
-rw-r--r--coin/provisioning/common/windows/install-sevenzip.ps170
-rw-r--r--coin/provisioning/common/windows/install-stm32cubeprogrammer.ps120
-rw-r--r--coin/provisioning/common/windows/install-strawberry-perl.ps144
-rw-r--r--coin/provisioning/common/windows/install-vcpkg-ports-android.ps123
-rw-r--r--coin/provisioning/common/windows/install-vcpkg-ports.ps126
-rw-r--r--coin/provisioning/common/windows/install-vcpkg.ps158
-rw-r--r--coin/provisioning/common/windows/install_telegraf.ps185
-rw-r--r--coin/provisioning/common/windows/jom.ps12
-rw-r--r--coin/provisioning/common/windows/libclang-v100-dyn.ps150
-rw-r--r--coin/provisioning/common/windows/libclang.ps153
-rw-r--r--coin/provisioning/common/windows/libusb.ps141
-rw-r--r--coin/provisioning/common/windows/longpath.ps12
-rw-r--r--coin/provisioning/common/windows/mesa_llvmpipe.ps148
-rw-r--r--coin/provisioning/common/windows/mimersql.ps131
-rw-r--r--coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps120
-rw-r--r--coin/provisioning/common/windows/mqtt_broker.ps138
-rw-r--r--coin/provisioning/common/windows/msvc-2013-update5.ps138
-rw-r--r--coin/provisioning/common/windows/msys.ps14
-rw-r--r--coin/provisioning/common/windows/mysql.ps194
-rw-r--r--coin/provisioning/common/windows/ninja.ps162
-rw-r--r--coin/provisioning/common/windows/nodejs.ps179
-rw-r--r--coin/provisioning/common/windows/opcua_unifiedautomation.ps140
-rw-r--r--coin/provisioning/common/windows/openssl-arm64.ps163
-rw-r--r--coin/provisioning/common/windows/openssl.ps149
-rw-r--r--coin/provisioning/common/windows/postgresql.ps150
-rw-r--r--coin/provisioning/common/windows/protobuf.ps1118
-rw-r--r--coin/provisioning/common/windows/python.ps192
-rw-r--r--coin/provisioning/common/windows/python3.ps1102
-rw-r--r--coin/provisioning/common/windows/qnx710.ps156
-rw-r--r--coin/provisioning/common/windows/set-network-test-server.ps134
-rw-r--r--coin/provisioning/common/windows/set-proxy.ps134
-rw-r--r--coin/provisioning/common/windows/share-test-folders.ps140
-rw-r--r--coin/provisioning/common/windows/squish-coco.ps136
-rw-r--r--coin/provisioning/common/windows/squishInstall.ps168
-rw-r--r--coin/provisioning/common/windows/telegraf_password.ps138
-rw-r--r--coin/provisioning/common/windows/unset-proxy.ps134
-rw-r--r--coin/provisioning/common/windows/update-msvc2019.ps1102
-rw-r--r--coin/provisioning/common/windows/vc_redist.ps140
-rw-r--r--coin/provisioning/common/windows/vcpkg/vcpkg.json12
-rw-r--r--coin/provisioning/common/windows/vulkansdk.ps144
-rw-r--r--coin/provisioning/common/windows/win10sdk.ps138
-rw-r--r--coin/provisioning/common/windows/winrtrunner.ps14
109 files changed, 2223 insertions, 2478 deletions
diff --git a/coin/provisioning/common/windows/3dstudio_3rdparty.ps1 b/coin/provisioning/common/windows/3dstudio_3rdparty.ps1
index 049fdc1b..afbc7ff1 100644
--- a/coin/provisioning/common/windows/3dstudio_3rdparty.ps1
+++ b/coin/provisioning/common/windows/3dstudio_3rdparty.ps1
@@ -2,11 +2,11 @@
$zip = Get-DownloadLocation "Qt3DStudio-3rdparty-win64-CI.zip"
-$url = "http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
+$url = "http://ci-files01-hki.ci.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
Download $url $url $zip
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
Extract-7Zip $zip C:\Utils\Qt3DStudio3rdparty
-Remove-Item -Path $zip
+Remove "$zip"
Set-EnvironmentVariable "QT3DSTUDIO_3RDPARTY_DIR" "C:/Utils/Qt3DStudio3rdparty"
diff --git a/coin/provisioning/common/windows/allow-remote-desktop-access.ps1 b/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
index cbf514ba..b17f443c 100644
--- a/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
+++ b/coin/provisioning/common/windows/allow-remote-desktop-access.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script allows the Windows Remote Desktop Access
diff --git a/coin/provisioning/common/windows/android-openssl.ps1 b/coin/provisioning/common/windows/android-openssl.ps1
index 010e7e76..3542c907 100644
--- a/coin/provisioning/common/windows/android-openssl.ps1
+++ b/coin/provisioning/common/windows/android-openssl.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Requires: 7z, perl and msys
@@ -45,47 +15,88 @@ 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"
-$zip = Get-DownloadLocation ("openssl-$version.tar.gz")
-$sha1 = "b213a293f2127ec3e323fb3cfc0c9807664fd997"
-$destination = "C:\Utils\openssl-android-master"
+$openssl_version = "3.0.7"
+$ndk_version_latest = "r26b"
+$ndk_version_default = "$ndk_version_latest"
+$openssl_compressed = Get-DownloadLocation ("openssl-${openssl_version}.tar.gz")
+$openssl_sha1 = "f20736d6aae36bcbfa9aba0d358c71601833bf27"
+$prebuilt_sha1_ndk_latest = "ea925d5a5b696916fb3650403a2eb3189c52b5ce"
+$prebuilt_sha1_ndk_default = "$prebuilt_sha1_ndk_latest"
+$destination_prefix = "C:\Utils\prebuilt-openssl-${openssl_version}-for-android-ndk"
-# msys unix style paths
-$ndkPath = "/c/Utils/Android/android-ndk-r20"
-$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
+function Install($1, $2) {
+ $ndk_version = $1
+ $prebuilt_sha1 = $2
-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
+ # msys unix style paths
+ $openssl_path = "/c/Utils/openssl-android-master"
+ $ndk_path = "/c/Utils/Android/android-ndk-${ndk_version}"
+ $cc_path = "$ndk_path/toolchains/llvm/prebuilt/windows-x86_64/bin"
-Write-Host "Configuring OpenSSL $version for Android..."
-Push-Location $destination
-# $ must be escaped in powershell...
+ $prebuilt_url_openssl = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\prebuilt-openssl-${openssl_version}-for-android-ndk-${ndk_version}.zip"
+ $prebuilt_zip_openssl = Get-DownloadLocation ("prebuilt-openssl-${openssl_version}-for-android-ndk-${ndk_version}.zip")
-function CheckExitCode {
+ if ((Test-Path $prebuilt_url_openssl)) {
+ Write-Host "Install prebuilt OpenSSL for Android"
+ Download $prebuilt_url_openssl $prebuilt_url_openssl $prebuilt_zip_openssl
+ Verify-Checksum $prebuilt_zip_openssl $prebuilt_sha1
+ Extract-7Zip $prebuilt_zip_openssl C:\Utils
+ Remove $prebuilt_zip_openssl
+ } else {
+ Write-Host "Build OpenSSL for Android from sources"
+ # openssl-${openssl_version}_fixes-ndk_root.tar.gz package includes fixes from https://github.com/openssl/openssl/pull/17322 and string ANDROID_NDK_HOME is replaced with ANDROID_NDK_ROOT in Configurations/15-android.conf
+ Download \\ci-files01-hki.ci.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz \\ci-files01-hki.ci.qt.io\provisioning\openssl\openssl-${openssl_version}.tar.gz $openssl_compressed
+ Verify-Checksum $openssl_compressed $openssl_sha1
- param (
- $p
- )
+ Extract-7Zip $openssl_compressed C:\Utils\tmp
+ Extract-7Zip C:\Utils\tmp\openssl-${openssl_version}.tar C:\Utils\tmp
+ Move-Item C:\Utils\tmp\openssl-${openssl_version} ${destination}-${ndk_version}
+ Remove "$openssl_compressed"
- if ($p.ExitCode) {
- Write-host "Process failed with exit code: $($p.ExitCode)"
- exit 1
+ Write-Host "Configuring OpenSSL $openssl_version for Android..."
+ Push-Location ${destination}-${ndk_version}
+ # $ must be escaped in powershell...
+
+ function CheckExitCode {
+
+ param (
+ $p
+ )
+
+ if ($p.ExitCode) {
+ Write-host "Process failed with exit code: $($p.ExitCode)"
+ exit 1
+ }
+ }
+
+ # ANDROID_NDK_ROOT needs to be in environment variables before running this script
+ # Set-EnvironmentVariable "ANDROID_NDK_ROOT" "C:\Utils\Android\android-ndk-r26b"
+
+ $make_install = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"yes | pacman -S make`"")
+ CheckExitCode $make_install
+
+ $configure = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_ROOT=$ndk_path 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_ROOT=$ndk_path 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
}
-}
-$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
+# Install NDK Default version
+Install $ndk_version_default $prebuilt_sha1_ndk_default
-Pop-Location
+if (Test-Path -Path ${destination_prefix}-${ndk_version_latest}) {
+ Write-Host "OpenSSL for Android Latest version is the same than Default. Installation done."
+} else {
+ # Install NDK Latest version
+ Install $ndk_version_latest $prebuilt_sha1_ndk_latest
+}
-Set-EnvironmentVariable "OPENSSL_ANDROID_HOME" "$destination"
-Remove-item C:\Utils\tmp -Recurse -Confirm:$false
-Write-Output "Android OpenSSL = $version" >> ~/versions.txt
+Set-EnvironmentVariable "OPENSSL_ANDROID_HOME_DEFAULT" "${destination_prefix}-${ndk_version_default}"
+Set-EnvironmentVariable "OPENSSL_ANDROID_HOME_LATEST" "${destination_prefix}-${ndk_version_latest}"
+Write-Output "Android OpenSSL = $openssl_version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/android.ps1 b/coin/provisioning/common/windows/android.ps1
index 2cf18cdc..b594238c 100644
--- a/coin/provisioning/common/windows/android.ps1
+++ b/coin/provisioning/common/windows/android.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -40,23 +10,27 @@
# That's why we need to use Andoid-21 API version in Qt 5.9.
# NDK
-$ndkVersion = "r20"
-$ndkCachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersion-windows-x86_64.zip"
-$ndkOfficialUrl = "https://dl.google.com/android/repository/android-ndk-$ndkVersion-windows-x86_64.zip"
-$ndkChecksum = "36e1dc77fad08ad2498fb94b13ad8caf26bbd9df"
-$ndkFolder = "c:\Utils\Android\android-ndk-$ndkVersion"
-$ndkZip = "c:\Windows\Temp\android_ndk_$ndkVersion.zip"
+$ndkVersionLatest = "r26b"
+$ndkVersionDefault = $ndkVersionLatest
+$ndkChecksumLatest = "17453c61a59e848cffb8634f2c7b322417f1732e"
+$ndkChecksumDefault = $ndkChecksumLatest
+$ndkCachedUrlLatest = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-ndk-$ndkVersionLatest-windows.zip"
+$ndkOfficialUrlLatest = "https://dl.google.com/android/repository/android-ndk-$ndkVersionLatest-windows.zip"
+$ndkCachedUrlDefault = "\\ci-files01-hki.ci.qt.io\provisioning\android\android-ndk-$ndkVersionDefault-windows.zip"
+$ndkOfficialUrlDefault = "https://dl.google.com/android/repository/android-ndk-$ndkVersionDefault-windows.zip"
+$ndkZip = "C:\Windows\Temp\android_ndk.zip"
# SDK
-$toolsVersion = "26.1.1"
-$toolsFile = "sdk-tools-windows-4333796.zip"
+$toolsVersion = "2.1"
+$toolsFile = "commandlinetools-win-6609375_latest.zip"
$sdkApi = "ANDROID_API_VERSION"
-$sdkApiLevel = "android-28"
-$sdkBuildToolsVersion = "28.0.3"
-$toolsCachedUrl= "\\ci-files01-hki.intra.qt.io\provisioning\android\$toolsFile"
+$sdkApiLevel = "android-34"
+$sdkBuildToolsVersion = "34.0.0"
+$toolsCachedUrl= "\\ci-files01-hki.ci.qt.io\provisioning\android\$toolsFile"
$toolsOfficialUrl = "https://dl.google.com/android/repository/$toolsFile"
-$toolsChecksum = "aa298b5346ee0d63940d13609fe6bec621384510"
-$toolsFolder = "c:\Utils\Android\tools"
+$toolsChecksum = "e2e19c2ff584efa87ef0cfdd1987f92881323208"
+$cmdFolder = "c:\Utils\Android\cmdline-tools"
+
$sdkZip = "c:\Windows\Temp\$toolsFile"
function Install($1, $2, $3, $4) {
@@ -64,19 +38,39 @@ function Install($1, $2, $3, $4) {
$zip = $2
$checksum = $3
$offcialUrl = $4
+ $tempExtractDir = "C:\Windows\Temp\android_extract"
Download $offcialUrl $cacheUrl $zip
Verify-Checksum $zip "$checksum"
- Extract-7Zip $zip C:\Utils\Android
+ Extract-7Zip $zip $tempExtractDir
+ $baseDirectory = (Get-ChildItem $tempExtractDir -Attributes D | Select-Object -First 1).Name
+ Move-Item -Path ($tempExtractDir + "\" + $baseDirectory) -Destination "C:\Utils\Android\$baseDirectory" -Force
+ Remove $zip
+
+ return "C:\Utils\Android\$baseDirectory"
}
-Write-Host "Installing Android NDK $nkdVersion"
-Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
-Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolder
-Set-EnvironmentVariable "ANDROID_NDK_ROOT" $ndkFolder
+New-Item -ItemType Directory -Path C:\Utils\Android\
+New-Item -ItemType Directory -Path C:\Windows\Temp\android_extract
+Write-Host "Installing Android NDK $ndkVersionDefault"
+$ndkFolderDefault = Install $ndkCachedUrlDefault $ndkZip $ndkChecksumDefault $ndkOfficialUrlDefault
+Set-EnvironmentVariable "ANDROID_NDK_ROOT_DEFAULT" $ndkFolderDefault
+# To be used by vcpkg
+Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolderDefault
+$env:ANDROID_NDK_HOME = "$ndkFolderDefault"
+
+if ($ndkVersionDefault -eq $ndkVersionLatest) {
+ Write-Host "Android Latest version is the same than Default. NDK installation done."
+} else {
+ Write-Host "Installing Android NDK $nkdVersionLatest"
+ $ndkFolderLatest = Install $ndkCachedUrlLatest $ndkZip $ndkChecksumLatest $ndkOfficialUrlLatest
+ Set-EnvironmentVariable "ANDROID_NDK_ROOT_LATEST" $ndkFolderLatest
+}
-Install $toolsCachedUrl $sdkZip $toolsChecksum $sdkOfficialUrl
-Set-EnvironmentVariable "ANDROID_SDK_HOME" C:\Utils\Android
+$toolsFolder = Install $toolsCachedUrl $sdkZip $toolsChecksum $toolsOfficialUrl
+New-Item -ItemType directory -Path $cmdFolder
+Move-Item -Path $toolsFolder -Destination $cmdFolder\
+Set-EnvironmentVariable "ANDROID_SDK_ROOT" "C:\Utils\Android"
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
if (IsProxyEnabled) {
@@ -98,8 +92,8 @@ Out-File -FilePath C:\Utils\Android\licenses\android-sdk-license -Encoding utf8
# Attempt to catch all errors of sdkmanager.bat, even when hidden behind a pipeline.
$ErrorActionPreference = "Stop"
-cd $toolsFolder\bin\
-$sdkmanager_args += "platforms;$sdkApiLevel", "platform-tools", "build-tools;$sdkBuildToolsVersion"
+cd $cmdFolder\tools\bin\
+$sdkmanager_args += "platforms;$sdkApiLevel", "platform-tools", "build-tools;$sdkBuildToolsVersion", "--sdk_root=C:\Utils\Android"
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat @sdkmanager_args | Out-Null'
Invoke-Expression $command
$command = 'for($i=0;$i -lt 6;$i++) { $response += "y`n"}; $response | .\sdkmanager.bat --licenses'
@@ -109,4 +103,4 @@ cmd /c "dir C:\Utils\android"
Write-Output "Android SDK tools= $toolsVersion" >> ~/versions.txt
Write-Output "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
Write-Output "Android SDK Api Level = $sdkApiLevel" >> ~/versions.txt
-Write-Output "Android NDK = $ndkVersion" >> ~/versions.txt
+Write-Output "Android NDK = $ndkVersionDefault" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/change-language-settings.ps1 b/coin/provisioning/common/windows/change-language-settings.ps1
new file mode 100644
index 00000000..d1a87ff3
--- /dev/null
+++ b/coin/provisioning/common/windows/change-language-settings.ps1
@@ -0,0 +1,4 @@
+Write-Host "Change locale and language settings"
+Set-WinSystemLocale -SystemLocale en-US
+Set-WinUILanguageOverride -Language en-US
+Set-WinUserLanguageList en-US -Force
diff --git a/coin/provisioning/common/windows/cmake.ps1 b/coin/provisioning/common/windows/cmake.ps1
index 5d61549a..af1e2872 100644
--- a/coin/provisioning/common/windows/cmake.ps1
+++ b/coin/provisioning/common/windows/cmake.ps1
@@ -1,53 +1,45 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-$majorminorversion = "3.17"
-$version = "3.17.2"
-
-$zip = Get-DownloadLocation ("cmake-" + $version + "-win32-x86.zip")
-$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
-$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
+$majorminorversion = "3.27"
+$version = "3.27.7"
+
+$cpu_arch = Get-CpuArchitecture
+Write-Host "Installing CMake for architecture $cpu_arch"
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $sha1 = "52ee08671dcb478c5ec6e862f41717f65047c598"
+ $majorminorversion = "3.29"
+ $version = "3.29.2"
+ Break
+ }
+ x64 {
+ $arch = "i386"
+ $sha1 = "b6147215a5f9cd1138b012265229fbf2224d02c6"
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+
+$filename = "cmake-" + $version + "-windows-" + $arch
+$filename_zip = $filename + ".zip"
+
+$zip = Get-DownloadLocation ($filename_zip)
+$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/" + $filename_zip
+$cachedurl = "https://ci-files01-hki.ci.qt.io/input/cmake/" + $filename_zip
Write-Host "Removing old cmake"
-Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
+Remove "C:\CMake"
Download $officialurl $cachedurl $zip
-Verify-Checksum $zip "d4a1d60fccaee7f9a8ceb1ed4fb576a63103a69f"
+Verify-Checksum $zip $sha1
Extract-7Zip $zip C:
-$defaultinstallfolder = "C:\cmake-" + $version + "-win32-x86"
+$defaultinstallfolder = "C:\" + $filename
Rename-Item $defaultinstallfolder C:\CMake
Add-Path "C:\CMake\bin"
diff --git a/coin/provisioning/common/windows/conan.ps1 b/coin/provisioning/common/windows/conan.ps1
index e7e0de22..22247897 100644
--- a/coin/provisioning/common/windows/conan.ps1
+++ b/coin/provisioning/common/windows/conan.ps1
@@ -1,97 +1,37 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Copyright (C) 2019 Konstantin Tokarev <annulen@yandex.ru>
-## 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$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-$scriptsPath = "C:\Python36\Scripts"
+$scriptsPath = [System.Environment]::GetEnvironmentVariable('PIP3_PATH', [System.EnvironmentVariableTarget]::Machine)
+$version = "1.39.0"
+Run-Executable "$scriptsPath\pip3.exe" "install conan==$version"
+Write-Output "Conan = $version" >> ~\versions.txt
-Run-Executable "$scriptsPath\pip3.exe" "install -r $PSScriptRoot\conan_requirements.txt"
-Write-Output "Conan = 1.22.2" >> ~\versions.txt
+# Add conan to path.
+Add-Path $scriptsPath
+Set-EnvironmentVariable "CONAN_REVISIONS_ENABLED" "1"
+Set-EnvironmentVariable "CONAN_V2_MODE" "1"
-# Use Qt Project repository by default
-Run-Executable "$scriptsPath\conan.exe" "remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert --force"
+# This is temporary solution for installing packages provided by Conan until we have fixed Conan setup for this
-Set-EnvironmentVariable "CI_CONAN_BUILDINFO_DIR" "C:\Utils\conanbuildinfos"
+$url_conan = "\\ci-files01-hki.ci.qt.io\provisioning\windows\.conan.zip"
+$url_conan_home = "\\ci-files01-hki.ci.qt.io\provisioning\windows\.conanhome.zip"
+$sha1_conan_compressed = "1abbe43e7a29ddd9906328702b5bc5231deeb721"
+$sha1_conanhome_compressed = "f44c2ae21cb1c7dc139572e399b7b0eaf492af03"
+$conan_compressed = "C:\.conan.zip"
+$conanhome_compressed = "C:\.conanhome.zip"
-function Run-Conan-Install
-{
- Param (
- [string]$ConanfilesDir,
- [string]$BuildinfoDir,
- [string]$Arch,
- [string]$Compiler,
- [string]$CompilerVersion,
- [string]$CompilerRuntime,
- [string]$CompilerLibcxx,
- [string]$CompilerException,
- [string]$CompilerThreads
- )
+Download $url_conan $url_conan $conan_compressed
+Verify-Checksum $conan_compressed $sha1_conan_compressed
+Extract-7Zip $conan_compressed C:\
- if ($CompilerRuntime) {
- $extraArgs += " -s compiler.runtime=$CompilerRuntime"
- }
+Download $url_conan_home $url_conan_home $conanhome_compressed
+Verify-Checksum $conanhome_compressed $sha1_conanhome_compressed
+Extract-7Zip $conanhome_compressed C:\Users\qt
- if ($CompilerLibcxx) {
- $extraArgs += " -s compiler.libcxx=$CompilerLibcxx"
- }
+Remove $conan_compressed
+Remove $conanhome_compressed
- if ($CompilerException) {
- $extraArgs += " -s compiler.exception=$CompilerException"
- }
-
- if ($CompilerThreads) {
- $extraArgs += " -s compiler.threads=$CompilerThreads"
- }
-
- $manifestsDir = "$PSScriptRoot\conan_manifests"
- $buildinfoRoot = "C:\Utils\conanbuildinfos"
-
- # Make up to 5 attempts for all download operations in conan
- $env:CONAN_RETRY = "5"
-
- Get-ChildItem -Path "$ConanfilesDir\*.txt" |
- ForEach-Object {
- $conanfile = $_.FullName
- $outpwd = "$buildinfoRoot\$BuildinfoDir\$($_.BaseName)"
- New-Item $outpwd -Type directory -Force | Out-Null
-
- 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"
- Pop-Location
-
- Copy-Item -Path $conanfile -Destination "$outpwd\conanfile.txt"
- }
-}
+# Remove existing settings file to generate a new.
+Remove "C:\Users\qt\.conan\settings.yml"
diff --git a/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/e493e4ecb2fa207a4d212307e7d30a35fc0dde29/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/5a523494e1f78e9c3900ce2f09380672c297a203/conanmanifest.txt
index b8dd8f97..2640cf1e 100644
--- a/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/e493e4ecb2fa207a4d212307e7d30a35fc0dde29/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/5a523494e1f78e9c3900ce2f09380672c297a203/conanmanifest.txt
@@ -1,33 +1,33 @@
-1582256998
-bin/derb.exe: db2e978367ccf635ff7ecc7d1514778e
-bin/escapesrc.exe: 647ffe2234275d13cffef8b84f052700
-bin/genbrk.exe: fceaae69a437fdcd4ed1f79bdeac6f13
-bin/genccode.exe: 81e45377e293edabeb321ba3ab339abb
-bin/gencfu.exe: 78036b67e099cc312da25d80f9c8b6cf
-bin/gencmn.exe: 4f73ec63d48e3935e0fa67313a7d8f8f
-bin/gencnval.exe: 38519687874be469d38e8aadc74d5dc7
-bin/gendict.exe: be263dfa3e3267340bb4a8815bd4f72e
-bin/gennorm2.exe: 8e51f5820ec15ed33edb293d5d154138
-bin/genrb.exe: 0a911668227dec1fca18e7299d737d59
-bin/gensprep.exe: a96ab9a47ea6e80869c2f732d66296e6
-bin/icu-config: 4d315b6fa7b53efaf8974aaceb0c7a18
-bin/icudt.dll: a8b8ce26bbfb30b99d97a5ced4d016ed
-bin/icudt65.dll: d134d26eb54ba7d5b637c16c974737fb
-bin/icuin.dll: 5bb19d323881787da00a706f86b7a77a
-bin/icuin65.dll: 5bb19d323881787da00a706f86b7a77a
-bin/icuinfo.exe: d9e0c244e7a939c48c2fa2536ea3c836
-bin/icuio.dll: 98c919ca7fc813e8dc5f645fcc914e5b
-bin/icuio65.dll: 98c919ca7fc813e8dc5f645fcc914e5b
-bin/icupkg.exe: 5b9542ec3f054880d2ec484516fae931
-bin/icutest.dll: e94878f59e7de6f7b2cc52476540c578
-bin/icutest65.dll: e94878f59e7de6f7b2cc52476540c578
-bin/icutu.dll: 22d3955eeabe583ef8f339d43ee32e3f
-bin/icutu65.dll: 22d3955eeabe583ef8f339d43ee32e3f
-bin/icuuc.dll: 7871b100e82744b16a608d01df837485
-bin/icuuc65.dll: 7871b100e82744b16a608d01df837485
-bin/makeconv.exe: 3fae3578534581895353052e4268c8e8
-bin/pkgdata.exe: 3a91ebe880d28e02b72b69bef2508337
-conaninfo.txt: 81e378c465132a1385850c1d3d4394ed
+1599824441
+bin/derb.exe: bdf63b2f5b550979a89e67cffc8825dc
+bin/escapesrc.exe: 137b889673457a447f351f5e874eac3d
+bin/genbrk.exe: bb3294c7064cb973f2ca07ee553f0420
+bin/genccode.exe: 820b92ed20fb38886dea4447f12911af
+bin/gencfu.exe: aa4365ba9562fa1bbc4416fbbac63fb2
+bin/gencmn.exe: 178c5b5cff63d0e0fe9b47a4a0afb5a2
+bin/gencnval.exe: 71a8bdcb6532c752fb4e106fa602c200
+bin/gendict.exe: 420fcd1d350c9ed1ef451c8e77f023dc
+bin/gennorm2.exe: 85cd1fa266ff3a0455760b12a9689fc1
+bin/genrb.exe: 480231b78483ccb146b6815a811efac3
+bin/gensprep.exe: 0abbaf32db163eab36b6fdb6930c1532
+bin/icu-config: 524e7418a34b9f37fa3d720538887dcf
+bin/icudt.dll: 56532bd6f97572f1ff2f5c269c200cfa
+bin/icudt65.dll: 09337a242c43e958c75c630e76f58626
+bin/icuin.dll: ccf458a6762ea1248b633f260f60570b
+bin/icuin65.dll: ccf458a6762ea1248b633f260f60570b
+bin/icuinfo.exe: 4274c1a2507c370533ce1151533d5e20
+bin/icuio.dll: 5c92afa27046b497ea879c5bf4d10577
+bin/icuio65.dll: 5c92afa27046b497ea879c5bf4d10577
+bin/icupkg.exe: d679b1024f2e26c1f8a1b77e7258e98f
+bin/icutest.dll: 562c79d8df0fc5048f4546917b2738f2
+bin/icutest65.dll: 562c79d8df0fc5048f4546917b2738f2
+bin/icutu.dll: e45504e5c6ccde54658a7df8bd88108d
+bin/icutu65.dll: e45504e5c6ccde54658a7df8bd88108d
+bin/icuuc.dll: d8e8d4d51a9fd6a9849fa4ca5812f0bb
+bin/icuuc65.dll: d8e8d4d51a9fd6a9849fa4ca5812f0bb
+bin/makeconv.exe: 6b4805b126655a2b95428b10cf08b25f
+bin/pkgdata.exe: 6455bddfee736917790fcad7d326f8c1
+conaninfo.txt: 411145de18abdd9c818ab023e965129b
include/unicode/alphaindex.h: 1be039746e3da3f7baa9421062373468
include/unicode/appendable.h: 48b3a0a4c3044ad5f2af18f1ab48c8ff
include/unicode/basictz.h: 57fe3c53d6b1a2bf5d1f40ec51efd7a1
@@ -215,21 +215,21 @@ include/unicode/utypes.h: 47eb8ff3f909dafa9bee14f8bb224342
include/unicode/uvernum.h: a91a8e07c665891ed234de3a58302663
include/unicode/uversion.h: 0b8f75f3d1c816ee3359dde5be390d17
include/unicode/vtzone.h: 615f12cb0d05441d0872aa677db80a90
-lib/icu/65.1/Makefile.inc: dfca695719fce3f4802048877b7e5ef5
-lib/icu/65.1/pkgdata.inc: 8a01d365fe1a225f3168d4659ea48705
-lib/icu/Makefile.inc: dfca695719fce3f4802048877b7e5ef5
-lib/icu/current/Makefile.inc: dfca695719fce3f4802048877b7e5ef5
-lib/icu/current/pkgdata.inc: 8a01d365fe1a225f3168d4659ea48705
-lib/icu/pkgdata.inc: 8a01d365fe1a225f3168d4659ea48705
-lib/libicudt.dll.a: 4297604f481c4f41cd69f1c0d41544a8
-lib/libicuin.dll.a: 78136e54cf3ad942dddc32b3d8c42aab
-lib/libicuio.dll.a: 681e068e1ebbb2665b222bd3894c8f96
-lib/libicutest.dll.a: 2d7d50cebf7a15c2bd05995ff9dc2e38
-lib/libicutu.dll.a: e08a3d12905cb703179a11e250fe4f61
-lib/libicuuc.dll.a: e92fdef67e56c164ec5c6d47ae97be6b
-lib/pkgconfig/icu-i18n.pc: eed957ffe006f4fb042981c0f7e0451a
-lib/pkgconfig/icu-io.pc: 43c8fc7b90303c819b1669ca99e10dde
-lib/pkgconfig/icu-uc.pc: 3e8708649f2ea8ebd74f0c75655bdd66
+lib/icu/65.1/Makefile.inc: 82a9c670eb96bb7e73a660f769fb3503
+lib/icu/65.1/pkgdata.inc: 2d256010da2bbf625c500da0c9826d93
+lib/icu/Makefile.inc: 82a9c670eb96bb7e73a660f769fb3503
+lib/icu/current/Makefile.inc: 82a9c670eb96bb7e73a660f769fb3503
+lib/icu/current/pkgdata.inc: 2d256010da2bbf625c500da0c9826d93
+lib/icu/pkgdata.inc: 2d256010da2bbf625c500da0c9826d93
+lib/libicudt.dll.a: 2c21378a274a52b0cfc497029e57fc32
+lib/libicuin.dll.a: 36ed05dc4117699bf26d988dedab065e
+lib/libicuio.dll.a: 194a2f912ad715fa5a5ff70186c2809e
+lib/libicutest.dll.a: ff4d7834bd6190801772795c206fb9bf
+lib/libicutu.dll.a: d3e8cae651dddd4da2f960fdbde04c1f
+lib/libicuuc.dll.a: b371571253da468a123ad696382d9bef
+lib/pkgconfig/icu-i18n.pc: 7f34faeff3f9ad63e1ffd6526897f8d9
+lib/pkgconfig/icu-io.pc: 50afb654ad3f618eef1052195687b7cb
+lib/pkgconfig/icu-uc.pc: 2bc7002eccc3f2c53a1270cdc04a30d6
licenses/LICENSE: 8bc5d32052a96f214cbdd1e53dfc935d
share/icu/65.1/LICENSE: 8bc5d32052a96f214cbdd1e53dfc935d
share/icu/65.1/config/mh-mingw: 95446b7c74bc210a824c787c9bd47a93
diff --git a/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/1fab1e9a646ef41ee7e947ef7a9524b08e3ef34d/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/5df173d8cb73784907692ca167e7d2e8316b10c7/conanmanifest.txt
index afff694d..04612903 100644
--- a/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/1fab1e9a646ef41ee7e947ef7a9524b08e3ef34d/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/icu/65.1/qtproject/stable/package/5df173d8cb73784907692ca167e7d2e8316b10c7/conanmanifest.txt
@@ -1,33 +1,33 @@
-1582257415
-bin/derb.exe: 430c27da15e7c5d4c6eb60e0b1e6fb8f
-bin/escapesrc.exe: 9a59fded291dd4ea4cbfe3b7a1c80080
-bin/genbrk.exe: 56897185781522cd685e4af4ca102a3b
-bin/genccode.exe: c99c94069e8a0098bc4db9914a7f6e7a
-bin/gencfu.exe: e23c79026bb78c1991c7f7a8425fad13
-bin/gencmn.exe: 8fba64b78d2ab6f5bcd6c723da1f57ad
-bin/gencnval.exe: 14c87059b1c39a72879837cabb3eb84d
-bin/gendict.exe: 1380f639d83e4d1f21b55ba2495d4a41
-bin/gennorm2.exe: 914fa6268d94fe08969d7104dc55218f
-bin/genrb.exe: 22e6461a351f1bf391d181f78a6ef54b
-bin/gensprep.exe: 4bccca6db929a0b19fff1c5a37873b16
-bin/icu-config: 9250dfdf7faa8c4d08dfa6cf4f40e2d1
-bin/icudt.dll: 8a2d4864a89ed94a0e16eaab44d3a4c2
-bin/icudt65.dll: aa62d2fd6b59bd61116910583e3dd41d
-bin/icuin.dll: 05cc7ab8708577d53395eb242a0dcc6d
-bin/icuin65.dll: 05cc7ab8708577d53395eb242a0dcc6d
-bin/icuinfo.exe: 3700aeeae9229fff4fe501ae415b5c36
-bin/icuio.dll: f2c286ef97baf5ddc7c8110dbd9e6b4c
-bin/icuio65.dll: f2c286ef97baf5ddc7c8110dbd9e6b4c
-bin/icupkg.exe: c03f0c24917039bc98a3b7616c9b141e
-bin/icutest.dll: 9db214eb296a087b0385f07c21e15b6f
-bin/icutest65.dll: 9db214eb296a087b0385f07c21e15b6f
-bin/icutu.dll: f8df0b65efc4fffc30850b6fd6513eeb
-bin/icutu65.dll: f8df0b65efc4fffc30850b6fd6513eeb
-bin/icuuc.dll: 81bebc9772571cf4c591512707de7f6f
-bin/icuuc65.dll: 81bebc9772571cf4c591512707de7f6f
-bin/makeconv.exe: ef7aa77bd42300c98ea2676e095356d0
-bin/pkgdata.exe: 4f957c0e9d26523d6977c47879ccb20a
-conaninfo.txt: 87f571b59f21d0be18bbbb1a53c6b2f2
+1599824772
+bin/derb.exe: 68f722afeee75e9e4ea733789eba324d
+bin/escapesrc.exe: 5ad48603ddefa7d75f9589db693311a0
+bin/genbrk.exe: cb5487bd37da74c470576d584803a0fd
+bin/genccode.exe: 80d139a2b22c5c6a7c2ae6801cd8a3ee
+bin/gencfu.exe: a9f417b50cd8237299100d349d78758e
+bin/gencmn.exe: cf1a794d018ea5a93db501c4a17d0945
+bin/gencnval.exe: 2f9cf00a1c6d6ff40f6cc1d2420f2ac9
+bin/gendict.exe: bda284e8eb469caad6ff4320060bd63d
+bin/gennorm2.exe: 643cc388bf9f49a1c22274070237e4b5
+bin/genrb.exe: 900294bcf2ba376e8a53dd0681efba84
+bin/gensprep.exe: f04c5265bb68e10eb86bbe812348a18a
+bin/icu-config: 7ff0a51957bda1eec9b2ea457e7bacab
+bin/icudt.dll: 1e1a6b8fbf1093c1b4fab982c4b62c39
+bin/icudt65.dll: 91e49d019e10d91cccada5b136f68dec
+bin/icuin.dll: a67701e7309fae5371c5f656f0deabea
+bin/icuin65.dll: a67701e7309fae5371c5f656f0deabea
+bin/icuinfo.exe: 7fd856803068da1b6d736f88d5578444
+bin/icuio.dll: e53d31b6899dbcec1eb77da207c8e1cc
+bin/icuio65.dll: e53d31b6899dbcec1eb77da207c8e1cc
+bin/icupkg.exe: 26c99ac9bf0aef675b6be3d0e4ec1f96
+bin/icutest.dll: 29acd15f69048c04adc7350ea2f7422a
+bin/icutest65.dll: 29acd15f69048c04adc7350ea2f7422a
+bin/icutu.dll: 4b0c32dd74735e9cd2421026fd5a26d9
+bin/icutu65.dll: 4b0c32dd74735e9cd2421026fd5a26d9
+bin/icuuc.dll: ff8cfb1cb4360f103f0ab37a21b0f565
+bin/icuuc65.dll: ff8cfb1cb4360f103f0ab37a21b0f565
+bin/makeconv.exe: 2f22caee13d695a9c596aa97eb581cf7
+bin/pkgdata.exe: 49ebcb66931fd627061de5683646d511
+conaninfo.txt: c04d7a669f242e429c8cd6c4c9f9b250
include/unicode/alphaindex.h: 1be039746e3da3f7baa9421062373468
include/unicode/appendable.h: 48b3a0a4c3044ad5f2af18f1ab48c8ff
include/unicode/basictz.h: 57fe3c53d6b1a2bf5d1f40ec51efd7a1
@@ -215,21 +215,21 @@ include/unicode/utypes.h: 47eb8ff3f909dafa9bee14f8bb224342
include/unicode/uvernum.h: a91a8e07c665891ed234de3a58302663
include/unicode/uversion.h: 0b8f75f3d1c816ee3359dde5be390d17
include/unicode/vtzone.h: 615f12cb0d05441d0872aa677db80a90
-lib/icu/65.1/Makefile.inc: 578a604f57dc0000c3e4272ac5159ced
-lib/icu/65.1/pkgdata.inc: 9f94a807fa04d65b45bb04114c74fc8f
-lib/icu/Makefile.inc: 578a604f57dc0000c3e4272ac5159ced
-lib/icu/current/Makefile.inc: 578a604f57dc0000c3e4272ac5159ced
-lib/icu/current/pkgdata.inc: 9f94a807fa04d65b45bb04114c74fc8f
-lib/icu/pkgdata.inc: 9f94a807fa04d65b45bb04114c74fc8f
-lib/libicudt.dll.a: 6d19c78195cbf2af4f68b3a1ff93f612
-lib/libicuin.dll.a: dc5b0188be79d786a1612ab4fe8ee105
-lib/libicuio.dll.a: a995de8310f252cd356949a19ace1fc9
-lib/libicutest.dll.a: 4017504bf0e1cbc71fa05c5fda30fcc8
-lib/libicutu.dll.a: aca996f2762328e3a3125c52582d4c19
-lib/libicuuc.dll.a: 45c324a2b53e0860672f73a13dd0eaed
-lib/pkgconfig/icu-i18n.pc: b86403e2cbd81f2559f01cda101d5181
-lib/pkgconfig/icu-io.pc: f7bf176168b2c48bbf9d5b3ab3513420
-lib/pkgconfig/icu-uc.pc: b939d24910a7545f0dd199b79e60a1a0
+lib/icu/65.1/Makefile.inc: ae4b3c0b2dcf1a107c37da529a5a572d
+lib/icu/65.1/pkgdata.inc: 392ec5b38e95048f06b739125b748364
+lib/icu/Makefile.inc: ae4b3c0b2dcf1a107c37da529a5a572d
+lib/icu/current/Makefile.inc: ae4b3c0b2dcf1a107c37da529a5a572d
+lib/icu/current/pkgdata.inc: 392ec5b38e95048f06b739125b748364
+lib/icu/pkgdata.inc: 392ec5b38e95048f06b739125b748364
+lib/libicudt.dll.a: 42327b89226e435dee32d4ed4043dd1e
+lib/libicuin.dll.a: a479b7dfc0f69346644676625cab1154
+lib/libicuio.dll.a: 1b048a7fcae8905fa929b9ef282d05c8
+lib/libicutest.dll.a: af3d4912fe492f3089589416a582bff3
+lib/libicutu.dll.a: d27299ee9de0bfa2f7130b177a101ced
+lib/libicuuc.dll.a: 0f98b361c734d8d5cd157678c8d7d6f1
+lib/pkgconfig/icu-i18n.pc: 5a7e7ff2a321db58b97ccaa41ea54e3b
+lib/pkgconfig/icu-io.pc: 426da02c84b5694772af9a5bc11dee9b
+lib/pkgconfig/icu-uc.pc: 5a761b97c6c84a60887f35393d0d15c2
licenses/LICENSE: 8bc5d32052a96f214cbdd1e53dfc935d
share/icu/65.1/LICENSE: 8bc5d32052a96f214cbdd1e53dfc935d
share/icu/65.1/config/mh-mingw64: 071f2f1be85f81141e4243ab65ca2a5b
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt
deleted file mode 100644
index 4f7d3680..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582282172
-conaninfo.txt: d3531bf4208a49880b6916cb487ca0fd
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/jpeg-static.lib: f1380749e57edaa40366510a55c4a581
-lib/pkgconfig/libjpeg.pc: 46be85b895bb997ec57faee440b199c9
-lib/pkgconfig/libturbojpeg.pc: 891d57d67b7bb2d2246f6c84e3802ff3
-lib/turbojpeg-static.lib: 03531f3967223cb10088dccf1f0ab17e
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/2b3cb3bb931646fe98ad49632435cdd3ed213435/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/2b3cb3bb931646fe98ad49632435cdd3ed213435/conanmanifest.txt
deleted file mode 100644
index 9297a30c..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/2b3cb3bb931646fe98ad49632435cdd3ed213435/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582282436
-conaninfo.txt: e412e1148672ae4437d5d9e8f0089dae
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/libjpeg.a: 9ec4a3ea70de97420d8a262641df11fe
-lib/libturbojpeg.a: 3704f7242f7d79187bcf09b7ff7bb86e
-lib/pkgconfig/libjpeg.pc: fa956ecec06575a626eb24df4ade7059
-lib/pkgconfig/libturbojpeg.pc: 7a28369f664feaef64c4f36043bdbf84
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt
deleted file mode 100644
index 32c864e9..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582280262
-conaninfo.txt: 3ce2f8cfe80b79b4dd725bdff24c402d
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/jpeg-static.lib: 277031e07ff0a68b0da547fd73fa8931
-lib/pkgconfig/libjpeg.pc: 18fe4739f1c264cc5807ac171f79d5de
-lib/pkgconfig/libturbojpeg.pc: 080a4da3c8052f00721671016bda4f79
-lib/turbojpeg-static.lib: 142395e528dbecc678f0f0242512cb32
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt
deleted file mode 100644
index c64266b1..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582281085
-conaninfo.txt: 05273e3ea056a1d7946e1065622c2e6d
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/jpeg-static.lib: 94e22b458fa49d878f9f5ecaa83b4d4c
-lib/pkgconfig/libjpeg.pc: f86f98cba102e1be6cdbc77e1f73d6e2
-lib/pkgconfig/libturbojpeg.pc: 9138a79005a0dd437ec485743cbc7708
-lib/turbojpeg-static.lib: 85dceca1ee42fb40b9177483a710931c
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt
deleted file mode 100644
index acabe605..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582282050
-conaninfo.txt: 5d70fc12733b9ab4f2eef806064af4fc
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/jpeg-static.lib: dc1e769eef09dec4761fcecb6e25e416
-lib/pkgconfig/libjpeg.pc: 58e4fea9c97c1e8ddfe69f5c7a90ee63
-lib/pkgconfig/libturbojpeg.pc: d8e6f88b279ae6759cf8f0363cb08913
-lib/turbojpeg-static.lib: 34efadab9c45a4be93bb62e415b7bd5b
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/8f06876bcdec0570dded47fecf362dd95832bd6e/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/8f06876bcdec0570dded47fecf362dd95832bd6e/conanmanifest.txt
deleted file mode 100644
index bf51a89e..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/8f06876bcdec0570dded47fecf362dd95832bd6e/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582282336
-conaninfo.txt: 99d4bfcf4fe5b33346747d9aed5a90dd
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/libjpeg.a: 520fd96afa81fffa67fbccc2d7499459
-lib/libturbojpeg.a: 65c525625f9bdb0c9c93b3cae93116f1
-lib/pkgconfig/libjpeg.pc: 9088ad9e74b2b56826bc949805312370
-lib/pkgconfig/libturbojpeg.pc: 176a550708755ea935a3928dcc75bb0c
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt
deleted file mode 100644
index 4a4b3386..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582281572
-conaninfo.txt: 9868d7ba246ae96d18441c975ee816f1
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/jpeg-static.lib: fb149794dc225dcb890e1b2c48569660
-lib/pkgconfig/libjpeg.pc: 16468bac09adeea126c41a7e2eab161f
-lib/pkgconfig/libturbojpeg.pc: 6bad484e5ee764e95e570110855d00c8
-lib/turbojpeg-static.lib: 12e129d91c4f92257c7b12d88a0ccd3b
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt
deleted file mode 100644
index 53b1b8b3..00000000
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-1582280641
-conaninfo.txt: d0e67ef7124b3767bbd5cebd7e4bf806
-include/jconfig.h: 36405c50a3b1509877826e26eac4fb69
-include/jerror.h: 9b7898fe417de269b8be88b10df908b0
-include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
-include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
-include/turbojpeg.h: b5b3a4a233ea12d2041ad1d1c971e6a0
-lib/jpeg-static.lib: 50b078fedbf48e2accf55cc1201717d8
-lib/pkgconfig/libjpeg.pc: ef1839c5639ee60768584c29626db8b1
-lib/pkgconfig/libturbojpeg.pc: 53423ccf67af6cc13cc571dd1e7568e0
-lib/turbojpeg-static.lib: c3f43cb91de65238d38bee7051671eff
-licenses/LICENSE.md: 2a423a921d0f68082c80ccc7ad808ef2
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/export/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/export/conanmanifest.txt
index b0bb10ac..ad0ef6f4 100644
--- a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.3/qtproject/stable/export/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/export/conanmanifest.txt
@@ -1,4 +1,4 @@
-1582280120
+1599735572
LICENSE.md: 5aa9930034582b90e2008d2c609d1317
-conanfile.py: fc9f9025d45306204140aafdf174a422
+conanfile.py: b752e9ae1c6b8d65022ecc9094a8a8ab
export_source/CMakeLists.txt: eb0fcc86f467a4c6ac9f37c16887a29f
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1655126cc73fa38b3abf5795b2008935595969ae/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1655126cc73fa38b3abf5795b2008935595969ae/conanmanifest.txt
new file mode 100644
index 00000000..a05189ee
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1655126cc73fa38b3abf5795b2008935595969ae/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599738045
+conaninfo.txt: 4fbbb44cc5815e6399144d4738128d34
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/libjpeg.a: 1beb177c28bec696d92c96cb12cf50b0
+lib/libturbojpeg.a: 3601472665eebd9ba70a8b4ded622fb7
+lib/pkgconfig/libjpeg.pc: 31670f8efeaaf416c10ef75033a21f89
+lib/pkgconfig/libturbojpeg.pc: 9ec917634a8badf738794da988e0cdd2
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt
new file mode 100644
index 00000000..1407cc56
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/1c8544b57637b92dcdfce760b76b459bde0ce701/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599737655
+conaninfo.txt: 1dff9c35ef06cd1f8e1dd7d3fa538a0b
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/jpeg-static.lib: 810088c13a0b62845d2a07fb9aedcf7c
+lib/pkgconfig/libjpeg.pc: 42c35d08648be46cba25e5c233bb4ceb
+lib/pkgconfig/libturbojpeg.pc: f5f04f23108a7e0287c36286668bed72
+lib/turbojpeg-static.lib: 57ccb316b5e241e589e4774d1873d2ea
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt
new file mode 100644
index 00000000..71ab3ac4
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/4985763cfece81b148d7c11f16d564e42ee2756c/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599735723
+conaninfo.txt: 96940ef25782fe187ad876a9798aefe6
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/jpeg-static.lib: bac9b04d6d20cb9e29a47c56e1d58e92
+lib/pkgconfig/libjpeg.pc: 8d98a30a9db257c005f7619aa5c0a054
+lib/pkgconfig/libturbojpeg.pc: 79a1c3fce48acb5ad45fd69fc5b5a7e0
+lib/turbojpeg-static.lib: 8e8c7d62afe07877cc07befcafc9b189
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt
new file mode 100644
index 00000000..75ec237b
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/6fe55a250d22d4408ba9c4b99015260e933b58f0/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599736618
+conaninfo.txt: 03f3f4e3fcf5d709d43aaec1f55898dc
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/jpeg-static.lib: 3134bba34a47e8c27d20ec4a4588f54d
+lib/pkgconfig/libjpeg.pc: e4f3f7cf063e703922623a48759eb548
+lib/pkgconfig/libturbojpeg.pc: 6412ff7d0f49e4b26ea9c17526fcd995
+lib/turbojpeg-static.lib: c01d3cddcc20514a4ed2ab9e0bf6bc79
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/793aa46df280f94646f5e993f5e3553e18ec8ae9/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/793aa46df280f94646f5e993f5e3553e18ec8ae9/conanmanifest.txt
new file mode 100644
index 00000000..fc756487
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/793aa46df280f94646f5e993f5e3553e18ec8ae9/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599738143
+conaninfo.txt: 3991de728b2148a357e0adfe83ddff62
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/libjpeg.a: ab32855e9f71865bc026351d8e2e77dc
+lib/libturbojpeg.a: a05a8eef4b34c10a68a3e5c7864f55b5
+lib/pkgconfig/libjpeg.pc: afe1d748f5b9331fe322f414eeb8d871
+lib/pkgconfig/libturbojpeg.pc: 5a19528da1aae07f73729acf72ea8d9b
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt
new file mode 100644
index 00000000..7e02159b
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/7fbb66ade701b46f34dff2e121edef66968608b5/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599737489
+conaninfo.txt: faf97c2c98fbb660379fb96a52f3dcf3
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/jpeg-static.lib: 05604ba0465efd4fe4e8a518e82cdb81
+lib/pkgconfig/libjpeg.pc: 6819f3aec5d0a35187d510fb1034c584
+lib/pkgconfig/libturbojpeg.pc: 7226bc5b0d915e053a1204aba32867cf
+lib/turbojpeg-static.lib: efa16bdd47f24831fc02ac0b69912490
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt
new file mode 100644
index 00000000..7e20c844
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/9b721b63e452039565ba8417e25a183d1bbcb4df/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599737081
+conaninfo.txt: da8913ab37decb7846f324c2c05b6e56
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/jpeg-static.lib: 9d557bb3f4769b7e3820d71be4189cfb
+lib/pkgconfig/libjpeg.pc: 1bcb08ffc4f83b2306ff794ad5c2b91c
+lib/pkgconfig/libturbojpeg.pc: b9783de5729e5835e41a35cb2f5fa568
+lib/turbojpeg-static.lib: 09609dcfdad02bed5bf00e348fff8807
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt
new file mode 100644
index 00000000..14fdfebb
--- /dev/null
+++ b/coin/provisioning/common/windows/conan_manifests/libjpeg-turbo/2.0.5/qtproject/stable/package/acb703d92685c00a6f85ed3ca8225725f0e186c1/conanmanifest.txt
@@ -0,0 +1,12 @@
+1599736121
+conaninfo.txt: d3b27ba63fbdcf067b5f4afd1a1fdef0
+include/jconfig.h: 364c5b940297dd331dacb42dc5bc3cb9
+include/jerror.h: 9b7898fe417de269b8be88b10df908b0
+include/jmorecfg.h: 7873b0a4457d21a746e23c16fc16127d
+include/jpeglib.h: 49b0829e2b84fcd4a0cee359199499cb
+include/turbojpeg.h: e5051d1390ea320d22e81c7e73a163ae
+lib/jpeg-static.lib: bcdd30b7636c7ed8f0e6dbfb97729c31
+lib/pkgconfig/libjpeg.pc: e124d9000016d4fa108588c91087d060
+lib/pkgconfig/libturbojpeg.pc: 6b112424701322f51d06015089920210
+lib/turbojpeg-static.lib: 7d9c9ee5fb38b856bb9424a2ae5f9bbd
+licenses/LICENSE.md: 26d6491346496a57f75f00a78199122e
diff --git a/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/22d88c0e3f63872fe31c5fa40fc8085250867c11/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/1955c51c7e0a6365c20c2d798832186de95c0213/conanmanifest.txt
index 975f4f5d..aba8aa87 100644
--- a/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/22d88c0e3f63872fe31c5fa40fc8085250867c11/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/1955c51c7e0a6365c20c2d798832186de95c0213/conanmanifest.txt
@@ -1,9 +1,9 @@
-1582270297
-bin/libxml2-2.dll: 47b3af0297a53e146d739ba46b957ac9
-bin/xml2-config: f002e2e4fcc1ac7a3ed6a93044a99de1
-bin/xmlcatalog.exe: f51848350034b8b6010fd11f6e3aa10f
-bin/xmllint.exe: 689e7c9b94aff9b39383164b13412623
-conaninfo.txt: ea32a81840ad020d92e3c678a2b31ab7
+1599827075
+bin/libxml2-2.dll: aaf2802bcdbb62e364d33d4307c2f656
+bin/xml2-config: b0691a0a3ab1546612090cb77b4f29bb
+bin/xmlcatalog.exe: ceb3b58dd442e7a174d60a400b485355
+bin/xmllint.exe: 542a2dc43a32156244634f496afdad71
+conaninfo.txt: e494fa1f215b7080df24fc4bf487250b
include/libxml2/libxml/DOCBparser.h: 21e6523a86338325c527e1e8847adc1d
include/libxml2/libxml/HTMLparser.h: d57891c89573ed6dce04b8133e7438d2
include/libxml2/libxml/HTMLtree.h: 46cf4cefb419e18c40b8d5b6ac982f3f
@@ -53,6 +53,6 @@ include/libxml2/libxml/xpathInternals.h: c18fad3cce22369a75166afed6343bcd
include/libxml2/libxml/xpointer.h: 5b8025430888d5b99d03d159ddc78388
include/libxml2/win32config.h: e51ff5a65571584fbe45f75eede0ee3e
include/libxml2/wsockcompat.h: fd8ce4d6dabe53035a28c6aa64926b1c
-lib/libxml2.dll.a: 843beb5d307eda9c6600f02a2cd3f701
-lib/xml2Conf.sh: 26c219db3da9c216926f8894c096409b
+lib/libxml2.dll.a: e9e9bb7eed77331a47e228a1a8f4c0c5
+lib/xml2Conf.sh: 1ac09ea07a1d73a25e8478e5911da219
licenses/COPYING: 2044417e2e5006b65a8b9067b683fcf1
diff --git a/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/260f4ea2f609c699c16e114aec312888ec0a10b0/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/852e73d42d44dff3fe4b6ed5d6a4546250ec180e/conanmanifest.txt
index c7c8ae44..e99d69b5 100644
--- a/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/260f4ea2f609c699c16e114aec312888ec0a10b0/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/libxml2/2.9.10/qtproject/stable/package/852e73d42d44dff3fe4b6ed5d6a4546250ec180e/conanmanifest.txt
@@ -1,9 +1,9 @@
-1582270098
-bin/libxml2-2.dll: 0a707dea653e54ed8606c66cb4af5eca
-bin/xml2-config: f90c21a49ff66959f9370243e8aeb274
-bin/xmlcatalog.exe: 1f51631564d0df1e2eb7bab1e744797f
-bin/xmllint.exe: 705805f98a8ee9045078d6d91a1e076b
-conaninfo.txt: 5d6fafed34bc3f9e5dce2ad99f65aba0
+1599827195
+bin/libxml2-2.dll: dccd1b6cf7425125913b2095ff8eccc2
+bin/xml2-config: e93ed273bc16d12c4f8ecff87ceaaf79
+bin/xmlcatalog.exe: 0b575f8389ac5a8e397c3cde88babb85
+bin/xmllint.exe: 5a63ba2b6556ef0ae20436495c28355c
+conaninfo.txt: 13134884f7be0e49d19552cd3423b91b
include/libxml2/libxml/DOCBparser.h: 21e6523a86338325c527e1e8847adc1d
include/libxml2/libxml/HTMLparser.h: d57891c89573ed6dce04b8133e7438d2
include/libxml2/libxml/HTMLtree.h: 46cf4cefb419e18c40b8d5b6ac982f3f
@@ -53,6 +53,6 @@ include/libxml2/libxml/xpathInternals.h: c18fad3cce22369a75166afed6343bcd
include/libxml2/libxml/xpointer.h: 5b8025430888d5b99d03d159ddc78388
include/libxml2/win32config.h: e51ff5a65571584fbe45f75eede0ee3e
include/libxml2/wsockcompat.h: fd8ce4d6dabe53035a28c6aa64926b1c
-lib/libxml2.dll.a: 849838d8f7d5dcbcb16097dbdabee707
-lib/xml2Conf.sh: d980a83ab1cdd3637ee4fc3aeb75733c
+lib/libxml2.dll.a: 176eb6473b51dd69835b6213fcc40b19
+lib/xml2Conf.sh: 8713c5cd801bb525b6758a22a65c2a2e
licenses/COPYING: 2044417e2e5006b65a8b9067b683fcf1
diff --git a/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/export/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/export/conanmanifest.txt
index b8f7a946..77017cff 100644
--- a/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/export/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/export/conanmanifest.txt
@@ -1,4 +1,4 @@
-1582270556
+1599827656
LICENSE.md: d9f691088a6aaf0589397de712404f23
-conanfile.py: fdaa2f193e25d36dbf5b92a0f6567611
-export_source/patches/0001-remove-with-profiler.patch: 44c783ce23e5be1360ef1521b1427da3
+conanfile.py: 1a377def24ec5c2878da1d9d97a2c39c
+export_source/patches/Add-configuration-for-profiler.diff: 5207625dda27ca22cf49f7b136dc6585
diff --git a/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/ae932df57acef9c094443d5579df1a9b72790e1a/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/7e451536519482997336e237346b93d95b87eb32/conanmanifest.txt
index a9d50c77..dcedf88b 100644
--- a/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/ae932df57acef9c094443d5579df1a9b72790e1a/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/7e451536519482997336e237346b93d95b87eb32/conanmanifest.txt
@@ -1,9 +1,9 @@
-1582271749
-bin/libexslt-0.dll: 4b9cbde76ca3933da5a551bccc952ec4
-bin/libxslt-1.dll: 819776a46fa5031884953e1ad3e0e753
-bin/xslt-config: 7425a897e93c2b35d098d21de286564b
-bin/xsltproc.exe: b7198489b916c3f5936284418d756f80
-conaninfo.txt: fd798c9d2cde468877c2c25020e44443
+1599827930
+bin/libexslt-0.dll: ff772bdd16e06a28bbbbbf509dace06f
+bin/libxslt-1.dll: eccc32869a72838b9a8092e40d9ee7a2
+bin/xslt-config: 438e5a0d83ce7648c0bcb64446bd2874
+bin/xsltproc.exe: 5e2fe2b2465d07b4bad0ce6a90f61702
+conaninfo.txt: c74c15f161d0366c1f8b8ae6157be410
include/libexslt/exslt.h: f01af3bf058520059ba6d50f42133717
include/libexslt/exsltconfig.h: eb4297a735f2666c5872067c25f16005
include/libexslt/exsltexports.h: 03a75a174bc5b056f014e592cfd4db36
@@ -24,16 +24,16 @@ include/libxslt/transform.h: ccbcce4553f3231003b1944002814246
include/libxslt/variables.h: ebd9b3b1f996c4a2ed79d4473ff0fd77
include/libxslt/xslt.h: 0c08b8e7223b72f822a58457520b6387
include/libxslt/xsltInternals.h: 0c245b0fcc81bf537632a45adf8fcffb
-include/libxslt/xsltconfig.h: e49047ac857ae0fea24b99ee4c56de62
+include/libxslt/xsltconfig.h: b932ebe3a2edfd7b6e42c6ccab09105f
include/libxslt/xsltexports.h: 751f95448e71222d8e10d31ebf8822df
include/libxslt/xsltlocale.h: d7b200e408cefe5082b15d3a5e1bf600
include/libxslt/xsltutils.h: 5f7848088182b183e6d1fdb335b2616a
-lib/libexslt.dll.a: a27a9df2d4b7cf070377a32e10961027
-lib/libexslt.la: 036e99c1bab6a8d3a63471ad94d13aaf
-lib/libxslt.dll.a: 5bf3583373ca584df267b766c3e9cb3e
-lib/pkgconfig/libexslt.pc: a9e14aa113bd8c105df76410e046b233
-lib/pkgconfig/libxslt.pc: 12169caf9654c69c90e0e0c0f98776ad
-lib/xsltConf.sh: 5fa057a4733819c38f5c55d1ce50fd48
+lib/libexslt.dll.a: 7bd46b7300a66f8ce59b2899c66544e2
+lib/libexslt.la: fa24e93ffd0896a1e4aeeb7bfbc39c0b
+lib/libxslt.dll.a: ceb051c0397694811816950fc670681b
+lib/pkgconfig/libexslt.pc: be5f747c35a550775cb2367bdb4a7384
+lib/pkgconfig/libxslt.pc: ebc9b2f108096aec1ddf30f4c45855ec
+lib/xsltConf.sh: baa711dd9eb12d5855ef8fa782129519
licenses/COPYING: 0cd9a07afbeb24026c9b03aecfeba458
share/aclocal/libxslt.m4: 7b0b8b6bd86eea30c617663c9e9439b3
share/doc/libxslt-1.1.34/html/API.html: 205e063f09d60a36b44a61c6b7af0af9
diff --git a/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/b06e2211adc32e230f2d9e729d1dcad2648782e8/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/d4099b870b7e1ab748c13f5751cb2d32f893a78f/conanmanifest.txt
index bd393d41..e1a69a64 100644
--- a/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/b06e2211adc32e230f2d9e729d1dcad2648782e8/conanmanifest.txt
+++ b/coin/provisioning/common/windows/conan_manifests/libxslt/1.1.34/qtproject/stable/package/d4099b870b7e1ab748c13f5751cb2d32f893a78f/conanmanifest.txt
@@ -1,9 +1,9 @@
-1582271938
-bin/libexslt-0.dll: 1561e984c203d94cdfcf78235ecfe43a
-bin/libxslt-1.dll: 0174f89e8ec9e26aee9e665e686214b9
-bin/xslt-config: 6e477e88682bb878d649b48d48de3b3d
-bin/xsltproc.exe: 3cd6a8754d4e21dec52c8dab720cfcf3
-conaninfo.txt: fb9e8ed7e2ab80afd38743a228fd5ac9
+1599827795
+bin/libexslt-0.dll: a3e52849942745520c13c2d20135ada7
+bin/libxslt-1.dll: e6a19c28494ef3e908d869598b79c97a
+bin/xslt-config: bf300e18f495cea8591f79fdb0520d06
+bin/xsltproc.exe: 0d34ec7f2847d75a4140d5221366ae75
+conaninfo.txt: d905a86a351921bb21c973326d39e9de
include/libexslt/exslt.h: f01af3bf058520059ba6d50f42133717
include/libexslt/exsltconfig.h: eb4297a735f2666c5872067c25f16005
include/libexslt/exsltexports.h: 03a75a174bc5b056f014e592cfd4db36
@@ -24,16 +24,16 @@ include/libxslt/transform.h: ccbcce4553f3231003b1944002814246
include/libxslt/variables.h: ebd9b3b1f996c4a2ed79d4473ff0fd77
include/libxslt/xslt.h: 0c08b8e7223b72f822a58457520b6387
include/libxslt/xsltInternals.h: 0c245b0fcc81bf537632a45adf8fcffb
-include/libxslt/xsltconfig.h: e23457bb8ef22a6dc617d413679d59ca
+include/libxslt/xsltconfig.h: 77d836d8d0a9b2fdd6bea3d379696d80
include/libxslt/xsltexports.h: 751f95448e71222d8e10d31ebf8822df
include/libxslt/xsltlocale.h: d7b200e408cefe5082b15d3a5e1bf600
include/libxslt/xsltutils.h: 5f7848088182b183e6d1fdb335b2616a
-lib/libexslt.dll.a: 3fee05595887faea3d7022483bf8ab9d
-lib/libexslt.la: 1ea05e967d865f7ac83d66aeef3f9740
-lib/libxslt.dll.a: b42e5789521163430675d263374e745e
-lib/pkgconfig/libexslt.pc: 40e4bf2205e0bcc91529683218d7b53a
-lib/pkgconfig/libxslt.pc: 296b763342f742c10accc1cd9b08dd08
-lib/xsltConf.sh: dab0389225bc7e3b47e502c8a6496ff0
+lib/libexslt.dll.a: f86f6868818b72c97c977e182700d479
+lib/libexslt.la: d0c4257b491be8cf3c45d5e01b7ffb96
+lib/libxslt.dll.a: 461a9372775da06a0747728a1b505ae2
+lib/pkgconfig/libexslt.pc: ba1963709ee3ecc7323aaf188404f144
+lib/pkgconfig/libxslt.pc: 9ef33a36710bc31556d1038e27e2510d
+lib/xsltConf.sh: 9b2f5a93679c6e963d8bf3d6efa46591
licenses/COPYING: 0cd9a07afbeb24026c9b03aecfeba458
share/aclocal/libxslt.m4: 7b0b8b6bd86eea30c617663c9e9439b3
share/doc/libxslt-1.1.34/html/API.html: 205e063f09d60a36b44a61c6b7af0af9
diff --git a/coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/export/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/export/conanmanifest.txt
deleted file mode 100644
index dc3fe965..00000000
--- a/coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/export/conanmanifest.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-1582277614
-FindZLIB.cmake: 0ec128c2f97a3a6d7e800d3204e5c94f
-LICENSE: 1ac8330e79e050867144e174d80880f7
-conanfile.py: c7aba1a732c28bb9851cb50acf3f7a4d
-export_source/CMakeLists.txt: b45a8f19ed120e922c1cb720c0e4a7c7
-export_source/CMakeLists_minizip.txt: 7b2c2a9ab51d0ba37b5ca35da21579b7
-export_source/minizip.patch: dc8ffe80d334f8e5b1bb967593fe2d4a
diff --git a/coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/package/5a14faea650589a68f33a6a5b0207a4a852a5f1d/conanmanifest.txt b/coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/package/5a14faea650589a68f33a6a5b0207a4a852a5f1d/conanmanifest.txt
deleted file mode 100644
index 239d5b82..00000000
--- a/coin/provisioning/common/windows/conan_manifests/zlib/1.2.11/qtproject/stable/package/5a14faea650589a68f33a6a5b0207a4a852a5f1d/conanmanifest.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-1582279989
-FindZLIB.cmake: 0ec128c2f97a3a6d7e800d3204e5c94f
-conaninfo.txt: 40e76e93e86476bbd92e1e82b71d04bb
-include/zconf.h: 931d0dd891d90ace1eab7a46125a8bda
-include/zlib.h: 0338828e9d00c94645648b1517108324
-lib/libzlib.a: 7e55bbef492eceaf8101e433e2a46720
-lib/pkgconfig/zlib.pc: 29adeed07108745c3562dc19343f3d99
-licenses/LICENSE: 1af2e5353c16e930435fff550f827c3e
-zlib.pc: 29adeed07108745c3562dc19343f3d99
diff --git a/coin/provisioning/common/windows/conan_requirements.txt b/coin/provisioning/common/windows/conan_requirements.txt
deleted file mode 100644
index 7097de1e..00000000
--- a/coin/provisioning/common/windows/conan_requirements.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-# Generated for conan==1.22.2
-appdirs==1.4.3
-bottle==0.12.18
-certifi==2019.11.28
-chardet==3.0.4
-colorama==0.4.3
-conan==1.22.2
-deprecation==2.0.7
-distlib==0.3.0
-distro==1.1.0
-fasteners==0.15
-filelock==3.0.12
-future==0.18.2
-idna==2.9
-importlib-metadata==1.5.0
-Jinja2==2.11.1
-MarkupSafe==1.1.1
-monotonic==1.5
-node-semver==0.6.1
-packaging==20.1
-patch-ng==1.17.2
-pluginbase==0.7
-Pygments==2.5.2
-PyJWT==1.7.1
-pyparsing==2.4.6
-python-dateutil==2.8.1
-PyYAML==5.3
-requests==2.23.0
-six==1.14.0
-tqdm==4.43.0
-urllib3==1.25.8
-virtualenv==20.0.4
-zipp==2.2.0
diff --git a/coin/provisioning/common/windows/disable-autoreboot.ps1 b/coin/provisioning/common/windows/disable-autoreboot.ps1
index 2184a7aa..d13b6b9d 100644
--- a/coin/provisioning/common/windows/disable-autoreboot.ps1
+++ b/coin/provisioning/common/windows/disable-autoreboot.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
Get-WmiObject Win32_OSRecoveryConfiguration -EnableAllPrivileges | Set-WmiInstance -Arguments @{ AutoReboot=$False }
diff --git a/coin/provisioning/common/windows/disable-defragment.ps1 b/coin/provisioning/common/windows/disable-defragment.ps1
index e76f0649..bb449e56 100644
--- a/coin/provisioning/common/windows/disable-defragment.ps1
+++ b/coin/provisioning/common/windows/disable-defragment.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
# thus needing its own version.
diff --git a/coin/provisioning/common/windows/disable-netadapterlso.ps1 b/coin/provisioning/common/windows/disable-netadapterlso.ps1
index ca7ad3ca..29c1bbbd 100644
--- a/coin/provisioning/common/windows/disable-netadapterlso.ps1
+++ b/coin/provisioning/common/windows/disable-netadapterlso.ps1
@@ -1 +1,3 @@
-Disable-NetAdapterLso Ethernet
+Get-NetAdapter | Disable-NetAdapterLso
+Start-Sleep -s 15 # Give windows some time to adjust network settings
+Get-NetAdapter
diff --git a/coin/provisioning/common/windows/disable-sleep.ps1 b/coin/provisioning/common/windows/disable-sleep.ps1
index a3d194b7..c6c3c814 100644
--- a/coin/provisioning/common/windows/disable-sleep.ps1
+++ b/coin/provisioning/common/windows/disable-sleep.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script prevents Windows from going to sleep
diff --git a/coin/provisioning/common/windows/disable-uac.ps1 b/coin/provisioning/common/windows/disable-uac.ps1
index c57f7e72..c84b998d 100644
--- a/coin/provisioning/common/windows/disable-uac.ps1
+++ b/coin/provisioning/common/windows/disable-uac.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script disables the Windows UAC
diff --git a/coin/provisioning/common/windows/disable-windefender.ps1 b/coin/provisioning/common/windows/disable-windefender.ps1
index 02ed54da..ca74e95f 100644
--- a/coin/provisioning/common/windows/disable-windefender.ps1
+++ b/coin/provisioning/common/windows/disable-windefender.ps1
@@ -1,35 +1,5 @@
-###########################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# Turning off win defender.
#
diff --git a/coin/provisioning/common/windows/disable-windows-module-installer.ps1 b/coin/provisioning/common/windows/disable-windows-module-installer.ps1
index c7f85ff7..2d829b04 100644
--- a/coin/provisioning/common/windows/disable-windows-module-installer.ps1
+++ b/coin/provisioning/common/windows/disable-windows-module-installer.ps1
@@ -1,4 +1,6 @@
+. "$PSScriptRoot\helpers.ps1"
+
# Disable Windows Module Installer (Trusted Installer).
# Trusted Installe enables installation, modification, and removal of Windows updates and optional components.
# If this service is disabled, install or uninstall of Windows updates might fail for this computer.
-sc.exe config TrustedInstaller start=disabled
+Run-Executable "sc.exe" "config TrustedInstaller start=disabled"
diff --git a/coin/provisioning/common/windows/disable-windows-updates.ps1 b/coin/provisioning/common/windows/disable-windows-updates.ps1
index 15644cfe..a55d5803 100644
--- a/coin/provisioning/common/windows/disable-windows-updates.ps1
+++ b/coin/provisioning/common/windows/disable-windows-updates.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script disables the automatic Windows updates
diff --git a/coin/provisioning/common/windows/dxsdk.ps1 b/coin/provisioning/common/windows/dxsdk.ps1
index f796ae1d..e4a40108 100644
--- a/coin/provisioning/common/windows/dxsdk.ps1
+++ b/coin/provisioning/common/windows/dxsdk.ps1
@@ -4,7 +4,7 @@
$package = "DXSDK_Jun10.exe"
-$cachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
+$cachedUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\$package"
$officialUrl = "https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/$package"
$sdkChecksumSha1 = "8fe98c00fde0f524760bb9021f438bd7d9304a69"
$package_path = "C:\Windows\Temp\$package"
@@ -14,6 +14,6 @@ Verify-Checksum $package_path $sdkChecksumSha1 sha1
Write-Host "Installing DirectX SDK"
Run-Executable $package_path "/u"
-Remove-Item -Path $package_path
+Remove "$package_path"
Write-Output "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/emsdk.ps1 b/coin/provisioning/common/windows/emsdk.ps1
index b3375d07..e1b92fd3 100755..100644
--- a/coin/provisioning/common/windows/emsdk.ps1
+++ b/coin/provisioning/common/windows/emsdk.ps1
@@ -1,124 +1,58 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install emscripten needed by WebAssembly
-$version = "1.39.8"
-$versionNode = "12.9.1"
-$versionWinPython = "3.7.4"
-$versionJre = "8_update_152"
+$version = "3.1.50"
+$zipVersion = $version -replace '\.', "_"
+$temp = "$env:tmp"
+$cacheUrl = "https://ci-files01-hki.ci.qt.io/input/emsdk/emsdk_windows_${zipVersion}.zip"
+$sha = "40dc636688166ecdb476da40d02c491ee5032f7b"
-$urlEmscripten = "https://storage.googleapis.com/webassembly/emscripten-releases-builds"
-
-# cross-platform emscripten SDK
-$urlEmscriptenExternal="https://github.com/emscripten-core/emscripten/archive/$version.zip"
-$urlCache = "http://ci-files01-hki.intra.qt.io/input/emsdk"
-
-$urlEmscriptenCache="$urlCache/emscripten.$version.zip"
-
-$urlWasmBinariesExternal="$urlEmscripten/win/9e60f34accb4627d7358223862a7e74291886ab6/wasm-binaries.zip"
-$urlWasmBinariesCache="$urlCache\windows\wasm-binaries.$version.zip"
-$sha1WasmBinaries="E94DCA7BA0526F88EDDBE45A0A0F61778D173603"
-
-$urlOfficialNode = "$urlEmscripten/deps/node-v$versionNode-win-x64.zip"
-$urlCacheNode = "$urlCache/windows/node-v$versionNode-win-x64.zip"
-$sha1Node = "D064145694578D6617AA99C694772D21480B6B6D"
-
-$urlOfficialWinPython = "$urlEmscripten/deps/python-$versionWinPython-embed-amd64-patched.zip"
-$urlCacheWinPython = "$urlCache/windows/python-$versionWinPython-embed-amd64-patched.zip"
-$sha1WinPython = "27C5A465390167FC03F3DD9075E3FDAAD9FBE104"
-
-$urlOfficialProtableJre = "$urlEmscripten/deps/portable_jre_${versionJre}_64bit.zip"
-$urlCacheProtableJre = "$urlCache/windows/portable_jre_${versionJre}_64bit.zip"
-$sha1ProtableJre = "6830524ec8b16742f956897abb6b6f5ef890a1c2"
-
-$urlOfficialEmscripten = "https://github.com/kripken/emscripten/archive/$version.zip"
-$urlCacheEmscripten = "$urlCache/windows/emscripten-$version.zip"
-$sha1Emscripten = "3721DC133824BA59CDBDFC93704D47CE265F2AFE"
+# Make sure python is in the path
+Prepend-Path "C:\Python27"
+cd "C:\\Utils"
$installLocationEmsdk = "C:\\Utils\\emsdk"
-$temp = "C:\Windows\Temp"
-
-function Install {
-
- Param (
- [string] $urlOfficial = $(BadParam("Official url path")),
- [string] $urlCache = $(BadParam("Cached url path")),
- [string] $sha1 = $(BadParam("SHA1 checksum of the file")),
- [string] $location = $(BadParam("Download location")),
- [string] $installLocation = $(BadParam("Install location"))
- )
-
- Download $urlOfficial $urlCache $location
- Verify-Checksum $location $sha1
- Extract-7Zip $location $installLocation
-
+try {
+ Write-Host "Fetching from cached location"
+ Download $cacheUrl $cacheUrl ${temp}\${zipVersion}.zip
+ Verify-Checksum ${temp}\${zipVersion}.zip $sha
+ Extract-7Zip ${temp}\${zipVersion}.zip C:\Utils\
+ cd $installLocationEmsdk
+ .\emsdk activate $version
+} catch {
+ Write-Host "Can't find cached emsdk. Cloning it"
+ C:\PROGRA~1\Git\bin\git clone https://github.com/emscripten-core/emsdk.git
+ cd $installLocationEmsdk
+ .\emsdk install $version
+ .\emsdk activate $version
}
-New-Item -ItemType directory -Force -Path "$installLocationEmsdk"
-
-Install $urlWasmBinariesExternal $urlWasmBinariesCache $sha1WasmBinaries "$temp\wasm-binaries.$version.zip" "$installLocationEmsdk\emscripten-llvm-e$version"
-Install $urlOfficialNode $urlCacheNode $sha1Node "$temp\node-v$versionNode-win-x64.zip" "$installLocationEmsdk"
-Install $urlOfficialWinPython $urlCacheWinPython $sha1WinPython "$temp\python-$versionWinPython-embed-amd64-patched.zip" "$installLocationEmsdk\python-$versionWinPython-embed-amd64-patched"
-Install $urlOfficialProtableJre $urlCacheProtableJre $sha1ProtableJre "$temp\portable_jre_$versionJre_64bit.zip" "$installLocationEmsdk"
-Install $urlOfficialEmscripten $urlCacheEmscripten $sha1Emscripten "$temp\emscripten-$version.zip" "$installLocationEmsdk"
-
-cd $installLocationEmsdk
-"LLVM_ROOT='$installLocationEmsdk\\emscripten-llvm-e$version\\install\\bin'" | Out-File '.emscripten' -Encoding ASCII
-"BINARYEN_ROOT='$installLocationEmsdk\\emscripten-llvm-e$version\\install'" | Out-File '.emscripten' -Append -Encoding ASCII
-"PYTHON='$installLocationEmsdk\\python-$versionWinPython-embed-amd64-patched\\python.exe'" | Out-File '.emscripten' -Append -Encoding ASCII
-"NODE_JS='$installLocationEmsdk\\node-v$versionNode-win-x64\\bin\\node.exe'" | Out-File '.emscripten' -Append -Encoding ASCII
-"EMSCRIPTEN_ROOT='$installLocationEmsdk\\emscripten-llvm-e$version\\install\\emscripten'" | Out-File '.emscripten' -Append -Encoding ASCII
-"JAVA='$installLocationEmsdk\\Java64'" | Out-File '.emscripten' -Append -Encoding ASCII
-"TEMP_DIR = '/tmp'" | Out-File '.emscripten' -Append -Encoding ASCII
-"COMPILER_ENGINE = NODE_JS" | Out-File '.emscripten' -Append -Encoding ASCII
-"JS_ENGINES = [NODE_JS]" | Out-File '.emscripten' -Append -Encoding ASCII
-
-Set-EnvironmentVariable "EMSDK" "$installLocationEmsdk"
-Set-EnvironmentVariable "EM_CONFIG" "$installLocationEmsdk\.emscripten"
-Set-EnvironmentVariable "EMSDK_LLVM_ROOT" "$installLocationEmsdk\emscripten-llvm-e$version\install\bin"
-Set-EnvironmentVariable "BINARYEN_ROOT" "$installLocationEmsdk\emscripten-llvm-e$version\install\"
-Set-EnvironmentVariable "EMSDK_NODE" "$installLocationEmsdk\node$versionNode-win-x64\bin\node.exe"
-Set-EnvironmentVariable "EMSDK_PYTHON" "$installLocationEmsdk\python-$versionWinPython-embed-amd64-patched\python.exe"
-Set-EnvironmentVariable "EMSDK_JAVA_HOME" "$installLocationEmsdk\java64"
-Set-EnvironmentVariable "EMSCRIPTEN" "$installLocationEmsdk\emscripten-$version"
-Set-EnvironmentVariable "EMSCRIPTEN_ROOT" "$installLocationEmsdk\emscripten-llvm-e$version\install\emscripten"
-Set-EnvironmentVariable "EMSDK_PATH" "$installLocationEmsdk\emscripten-llvm-e$version\install\emscripten;$installLocationEmsdk\node$versionNode-win-x64\bin;$installLocationEmsdk\emscripten-llvm-e$version\install\bin;$installLocationEmsdk\python-$versionWinPython-embed-amd64-patched;$installLocationEmsdk\java64\bin"
+$versionWinPython = $($Env:EMSDK_PYTHON -split ('python\\') -split ('_64bit'))[1]
+$versionNode = $($Env:EMSDK_NODE -split ('node\\') -split ('_64bit'))[1]
+$versionJre = $($Env:EMSDK_JAVA_HOME -split ('java\\') -split ('_64bit'))[1]
+
+# Set these environment variables permanently.
+# Note! Using 'emsdk_env.bat --permanent' doesn't set these permanently
+Set-EnvironmentVariable "EMSDK" "$env:EMSDK"
+Set-EnvironmentVariable "EM_CONFIG" "$env:EM_CONFIG"
+Set-EnvironmentVariable "EMSDK_NODE" "$env:EMSDK_NODE"
+Set-EnvironmentVariable "EMSDK_PYTHON" "$env:EMSDK_PYTHON"
+# In this case JAVA_HOME is the one emsdk install/activate set.
+# We need to use EMSDK_JAVA_HOME so that we don't override JAVA_HOME which comes from install-jdk.ps1
+Set-EnvironmentVariable "EMSDK_JAVA_HOME" "$env:JAVA_HOME"
+Set-EnvironmentVariable "EMSDK_PATH" "$installLocationEmsdk;$installLocationEmsdk\node\${versionNode}_64bit\bin;$installLocationEmsdk\upstream\emscripten;$PATH"
+Add-Path "$env:EMSDK_PATH"
+
+# These can be removed when installing emsdk using emsdk.git
+Set-Content -Path C:\Utils\emsdk\emsdk_env.bat -Value ":: This file is needed to get support for setting Emscripten environment for Webassembly through qtbase" -Encoding ASCII
+Set-Content -Path C:\Utils\emsdk\emsdk_env.bat -Value ":: This file will have environment variables when https://codereview.qt-project.org/c/qt/qt5/+/372122 get merged" -Encoding ASCII
+Set-Content -Path C:\Utils\emsdk\emsdk_env.bat -Value "echo nothing to run at this point" -Encoding ASCII
Write-Output "emsdk = $version" >> ~/versions.txt
-Write-Output "emsdk llvm = $version" >> ~/versions.txt
Write-Output "emsdk NodeJs = $versionNode" >> ~/versions.txt
Write-Output "emsdk WinPython 64bit = $versionWinPython" >> ~/versions.txt
Write-Output "emsdk portable jre = $versionJre" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/exceutequeueditems.ps1 b/coin/provisioning/common/windows/exceutequeueditems.ps1
index 3a4ff5c4..0d6a7267 100644
--- a/coin/provisioning/common/windows/exceutequeueditems.ps1
+++ b/coin/provisioning/common/windows/exceutequeueditems.ps1
@@ -1,39 +1,30 @@
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
+function ngen() {
+ Param (
+ [ValidateSet("Framework","Framework64","FrameworkArm64")][string]$framework
+ )
+ Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\$framework\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
+}
-if( (is64bitWinHost) -eq 1 ) {
- Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ ngen("FrameworkArm64")
+ Break
+ }
+ x64 {
+ ngen("Framework")
+ ngen("Framework64")
+ Break
+ }
+ x86 {
+ ngen("Framework")
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
diff --git a/coin/provisioning/common/windows/fbx_windows.ps1 b/coin/provisioning/common/windows/fbx_windows.ps1
index 285f1f66..41b8768e 100644
--- a/coin/provisioning/common/windows/fbx_windows.ps1
+++ b/coin/provisioning/common/windows/fbx_windows.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -40,7 +10,7 @@ $version = "2016.1.2"
$name = "fbx20161_2_fbxsdk_vs2015_win_nospace"
$packageName = "$name.7z"
$installerName = "$name.exe"
-$cacheUrl = "\\ci-files01-hki.intra.qt.io\provisioning\fbx\$packageName"
+$cacheUrl = "\\ci-files01-hki.ci.qt.io\provisioning\fbx\$packageName"
$sha1 = "de80edc255ffd5ce86ba25869dad72b4c809fd41"
# The executable is an interactive installer only. We can't run it in a script silently.
diff --git a/coin/provisioning/common/windows/grpc.ps1 b/coin/provisioning/common/windows/grpc.ps1
new file mode 100644
index 00000000..7acbe896
--- /dev/null
+++ b/coin/provisioning/common/windows/grpc.ps1
@@ -0,0 +1,122 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# Here we build gRPC libraries for MinGW and MSVC.
+# Since it's a c++ library we need both msvc and mingw because they mangle symbols differently.
+# For MSVC it builds with both debug and release configurations because of the visual c++ runtime.
+# For MinGW we only need one, so we only build with release.
+# The function below takes care of the common part of building - invoking cmake,
+# calling ninja and installing it to a directory which we set an environment variable to.
+# Because we have two compilers we also have two env. vars. and then each
+# config in CI has the gRPC_ROOT set to the appropriate one.
+function build-install-grpc {
+ param(
+ [string]$CC,
+ [string]$CXX,
+ [string]$BuildType,
+ [string]$Postfix # Used for install-path and the environment variable name
+ )
+ $installPrefix = "C:\Utils\grpc"
+ $installPath = "${installPrefix}-$Postfix"
+ $envVariableName = "Protobuf_ROOT_$Postfix"
+ $protobufRoot = (Get-Item -Path "Env:$envVariableName").Value
+ Write-Output "Configuring and building gRPC for $CXX"
+ $oldCC = $env:CC
+ $oldCXX = $env:CXX
+ $env:CC = $CC
+ $env:CXX = $CXX
+ Remove build-grpc
+ mkdir build-grpc
+ Push-Location build-grpc
+ $configureOptions = @(
+ # add postfix for multi-config
+ "-DCMAKE_DEBUG_POSTFIX=d"
+ "-DCMAKE_RELWITHDEBINFO_POSTFIX=rd"
+ # plugins
+ "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF"
+ "-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF"
+ "-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF"
+ "-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF"
+ "-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF"
+ "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF"
+ # extensions
+ "-DgRPC_BUILD_CSHARP_EXT=OFF"
+ # general
+ "-DgRPC_BUILD_TESTS=OFF"
+ "-DgRPC_PROTOBUF_PROVIDER=package"
+ "-DgRPC_SSL_PROVIDER=package"
+ # protobuf
+ "-DProtobuf_USE_STATIC_LIBS=ON"
+ "-DCMAKE_PREFIX_PATH=$protobufRoot"
+ )
+ cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" $extraCMakeArgs $configureOptions
+ $result = $LASTEXITCODE
+ if ($result -eq 0) {
+ # ninja install:all # This is broken and does not work
+ foreach ($config in $BuildType.split(";")) {
+ ninja -f "build-$config.ninja" install
+ }
+ $result = $LASTEXITCODE
+ }
+ $env:CC = $oldCC
+ $env:CXX = $oldCXX
+ Set-EnvironmentVariable "gRPC_ROOT_$Postfix" "$installPath"
+ Pop-Location
+ Remove build-grpc
+ if ($result -ne 0) {
+ throw "Build exited with $result"
+ }
+}
+
+
+# Ensures a tool is in path or adds it to path if the $Path supplied to it
+# contains it. Will throw if it's not found at all
+function Find-Tool {
+ param(
+ [string]$Name,
+ [string]$Path
+ )
+ # Is tool missing from path?
+ if (!(Get-Command $Name -ErrorAction SilentlyContinue)) {
+ # Is tool in the $Path directory?
+ if (Test-Path "$Path\$Name" -ErrorAction SilentlyContinue) {
+ $env:Path += ";$Path"
+ }
+ else {
+ throw "Cannot find $Name in path or $Name in $Path, something is configured wrong"
+ }
+ }
+}
+# This script is fairly late in provisioning so both of these should be present!
+Find-Tool -Name "cmake.exe" -Path "C:\CMake\bin"
+Find-Tool -Name "ninja.exe" -Path "C:\Utils\Ninja"
+
+$version="1.50.1"
+$sha1="be1b0c3dbfbc9714824921f50dffb7cf044da5ab"
+$internalUrl="http://ci-files01-hki.ci.qt.io/input/automotive_suite/grpc-all-$version.zip"
+$externalUrl=""
+
+$basedir = "$env:HOMEDRIVE\$env:HOMEPATH\grpc"
+mkdir $basedir
+$targetDir = "$basedir\grpc-$version"
+$targetFile = "$targetDir.zip"
+Download $externalUrl $internalUrl $targetFile
+Verify-Checksum $targetFile $sha1
+Extract-7Zip $targetFile $basedir
+Remove $targetFile
+
+Push-Location $targetDir
+
+### gRPC supports only MSVC compiler
+
+EnterVSDevShell
+
+# We pass along an extra argument to stop gRPC linking with the static runtime to match Protobuf config
+build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "msvc" -ExtraArguments @("-DgRPC_MSVC_STATIC_RUNTIME=OFF")
+
+Pop-Location
+Remove $basedir
+
+Write-Output "gRPC = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/helpers.ps1 b/coin/provisioning/common/windows/helpers.ps1
index 8599791d..ad01c499 100644
--- a/coin/provisioning/common/windows/helpers.ps1
+++ b/coin/provisioning/common/windows/helpers.ps1
@@ -148,7 +148,7 @@ function Download
if ($CachedUrl.StartsWith("http")) {
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
} else {
- Copy-Item $CachedUrl $Destination
+ Copy-Item $CachedUrl $Destination -errorAction stop
}
} catch {
Write-Host "Cached download failed: Downloading from official location: $OfficialUrl"
@@ -196,6 +196,28 @@ function Is64BitWinHost
return [environment]::Is64BitOperatingSystem
}
+enum CpuArch {
+ x64
+ x86
+ arm64
+ unknown
+}
+
+function Get-CpuArchitecture
+{
+ # Possible values are "AMD64", "IA64", "ARM64", and "x86"
+ $arch = [System.Environment]::GetEnvironmentVariable('PROCESSOR_ARCHITECTURE', 'Machine')
+ if ($arch -eq "AMD64") {
+ return [CpuArch]::x64
+ } elseif ($arch -eq "x86") {
+ return [CpuArch]::x86
+ } elseif ($arch -eq "ARM64") {
+ return [CpuArch]::arm64
+ }
+
+ return [CpuArch]::unknown
+}
+
function IsProxyEnabled {
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyEnable
}
@@ -274,3 +296,87 @@ function DeleteSchedulerTask {
Write-Host "Disabling $Task from Task Scheduler"
SCHTASKS /DELETE /TN "Microsoft\Windows\$Task" /F
}
+
+function GetVsProperty {
+ Param (
+ [string]$Component = 'Microsoft.VisualStudio.Component.VC.CoreIde',
+ [string]$Property,
+ [switch]$Latest
+ )
+
+ $vsWhereProcessInfo = New-Object System.Diagnostics.ProcessStartInfo
+ $vsWhereProcessInfo.FileName = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
+ $vsWhereProcessInfo.RedirectStandardError = $true
+ $vsWhereProcessInfo.RedirectStandardOutput = $true
+ $vsWhereProcessInfo.UseShellExecute = $false
+
+ # -sort: sorts the instances from newest version and last installed to oldest
+ $vsWhereProcessInfo.Arguments = " -nologo -sort -products * -requires $Component -property $Property"
+ if ($Latest) {
+ # -latest: return only the newest version and last installed
+ $vsWhereProcessInfo.Arguments += ' -latest'
+ }
+
+ $vsWhereProcess = New-Object System.Diagnostics.Process
+ $vsWhereProcess.StartInfo = $vsWhereProcessInfo
+
+ $vsWhereProcess.Start() | Out-Null
+ $vsWhereProcess.WaitForExit()
+
+ $standardOutput = $vsWhereProcess.StandardOutput.ReadToEnd()
+ if ([string]::IsNullOrEmpty($standardOutput)) {
+ throw "vswhere could not find property '$Property'"
+ }
+
+ $exitCode = $vsWhereProcess.ExitCode
+ if ($exitCode -ne 0) {
+ $standardError = $vsWhereProcess.StandardError.ReadToEnd()
+ throw "vswhere failed with exit code $exitCode ($standardError)"
+ }
+
+ return $standardOutput.Split([Environment]::NewLine, [StringSplitOptions]::RemoveEmptyEntries) | Select-Object -Last 1
+}
+
+function GetVsInstallationPath {
+ Param (
+ [switch]$Latest
+ )
+
+ return GetVsProperty -Property 'installationPath' @PSBoundParameters
+}
+
+function EnterVSDevShell {
+ Param (
+ [string]$HostArch = "amd64",
+ [string]$Arch = "amd64"
+ )
+
+ # We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
+ # If MSVC has an ABI break this will stop working, and yet another build must be added.
+ $VSPath = GetVsInstallationPath
+
+ Write-Host "Enter VisualStudio developer shell (-host_arch=$HostArch -arch=$Arch -VsInstallPath='$VSPath')"
+ try {
+ Import-Module "$VSPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
+ Enter-VsDevShell -VsInstallPath $VSPath -DevCmdArguments "-host_arch=$HostArch -arch=$Arch -no_logo"
+ } catch {
+ Write-Host "Failed to enter VisualStudio DevShell"
+ return $false
+ }
+ return $true
+}
+
+function Invoke-MtCommand {
+ param(
+ [String] $vcVarsScript,
+ [String] $arch,
+ [String] $manifest,
+ [String] $executable
+ )
+ $tempFile = [IO.Path]::GetTempFileName()
+ Add-Content -Path $tempFile -Value $manifest
+ $cmdLine = """$vcVarsScript"" $arch & mt.exe -manifest ""$tempFile"" -outputresource:""$executable"";1"
+ Write-Output Executing $cmdLine
+ & $Env:SystemRoot\system32\cmd.exe /c $cmdLine | Write-Output
+ Remove-Item $tempFile
+}
diff --git a/coin/provisioning/common/windows/icu.ps1 b/coin/provisioning/common/windows/icu.ps1
deleted file mode 100644
index 786eb88f..00000000
--- a/coin/provisioning/common/windows/icu.ps1
+++ /dev/null
@@ -1,47 +0,0 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
-
-. "$PSScriptRoot\helpers.ps1"
-
-# This script installs ICU.
-
-$version = "53_1"
-
-if (Is64BitWinHost) {
-
-# FIXME: do we really want to use the 4.8.2 ICU build?
-Set-EnvironmentVariable "CI_ICU_PATH_Mingw49" "C:\Utils\icu_53_1_Mingw_builds_4_8_2_posix_seh_64_devel\icu53_1"
-
-}
-
-Write-Output "ICU = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-azure-tool.ps1 b/coin/provisioning/common/windows/install-azure-tool.ps1
new file mode 100644
index 00000000..9f82f54e
--- /dev/null
+++ b/coin/provisioning/common/windows/install-azure-tool.ps1
@@ -0,0 +1,10 @@
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will install Azure singtool using Dotnet SDK
+$dotnet = "C:\Program Files\dotnet\dotnet.exe"
+
+$version = "2.0.17"
+Run-Executable "$dotnet" "tool install --global AzureSignTool --version $version"
+
diff --git a/coin/provisioning/common/windows/install-breakpad.ps1 b/coin/provisioning/common/windows/install-breakpad.ps1
index 7db6d8ac..6bdb4b9f 100644
--- a/coin/provisioning/common/windows/install-breakpad.ps1
+++ b/coin/provisioning/common/windows/install-breakpad.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script install breakpad from sources.
# for manual install.. remember to checkout correct version
@@ -50,12 +20,12 @@
$breakpad_commit_sha="b988fa74ec18de6214b18f723e48331d9a7802ae"
$breakpad_tar="breakpad_$breakpad_commit_sha.tar.gz"
-$breakpad_tar_url="http://ci-files01-hki.intra.qt.io/input/breakpad/$breakpad_tar"
+$breakpad_tar_url="http://ci-files01-hki.ci.qt.io/input/breakpad/$breakpad_tar"
$breakpad_tar_sha="a2d404d2aebc947cdac5840a9bccd65dfafae24c"
$linux_syscall_support_commit_sha1="93426bda6535943ff1525d0460aab5cc0870ccaf"
$linux_syscall_support_tar="linux-syscall-support_$linux_syscall_support_commit_sha1.tar.gz"
-$linux_syscall_support_tar_url="http://ci-files01-hki.intra.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
+$linux_syscall_support_tar_url="http://ci-files01-hki.ci.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
$linux_syscall_support_tar_sha="62565be0920f3661e138d68026b79fbbdc2a11e4"
$targetBreakpad="$env:tmp\$breakpad_tar"
@@ -67,14 +37,14 @@ try {
Download $breakpad_tar_url $breakpad_tar_url $targetBreakpad
Verify-Checksum $targetBreakpad $breakpad_tar_sha
Extract-tar_gz $targetBreakpad $installFolder
- Remove-Item -Path $targetBreakpad
+ Remove "$targetBreakpad"
# linux-syscall-support
Download $linux_syscall_support_tar_url $linux_syscall_support_tar_url $targetSyscall
Verify-Checksum $targetSyscall $linux_syscall_support_tar_sha
Extract-tar_gz $targetSyscall "$env:tmp\"
New-Item -ItemType directory -Path "$installFolder\breakpad\third_party\lss"
Get-ChildItem -Path "$env:tmp\linux-syscall-support\*" -Recurse | Move-Item -Destination "$installFolder\breakpad\third_party\lss"
- Remove-Item -Path $targetSyscall
+ Remove "$targetSyscall"
}
catch {
Write-Host "Cached download failed: Attempping fallback method eg git."
diff --git a/coin/provisioning/common/windows/install-dependencywalker.ps1 b/coin/provisioning/common/windows/install-dependencywalker.ps1
index 1ccc0b7d..3d541f4f 100644
--- a/coin/provisioning/common/windows/install-dependencywalker.ps1
+++ b/coin/provisioning/common/windows/install-dependencywalker.ps1
@@ -1,49 +1,35 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Dependency Walker 2.2.6000
$version = "2.2.6000"
-if (Is64BitWinHost) {
- $arch = "_x64"
- $sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
-} else {
- $arch = "_x86"
- $sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ x64 {
+ $arch = "_x64"
+ $sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
+ $nuitka_arch = "x86_64"
+ }
+ arm64 {
+ # There is no ARM64 version of Dependency Walker
+ # just use the x64 version
+ $arch = "_x64"
+ $sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
+ $nuitka_arch = "arm64"
+ }
+ x86 {
+ $arch = "_x86"
+ $sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
+ $nuitka_arch = "x86"
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\depends22" + $arch + ".zip"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\depends22" + $arch + ".zip"
$url_official = "http://www.dependencywalker.com/depends22" + $arch + ".zip"
$dependsPackage = "C:\Windows\Temp\depends-$version.zip"
@@ -56,7 +42,11 @@ Verify-Checksum $dependsPackage $sha1
Extract-7Zip $dependsPackage $TARGETDIR
+# Copy the content also into the cache location of nuitka
+# This makes it usable without the need to download it again
+Copy-Item -Path $TARGETDIR -Destination "$env:LOCALAPPDATA\Nuitka\Nuitka\Cache\downloads\depends\$nuitka_arch" -Recurse
+
Write-Host "Cleaning $dependsPackage.."
-Remove-Item -Recurse -Force -Path "$dependsPackage"
+Remove "$dependsPackage"
Write-Output "Dependency Walker = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-dotnet.ps1 b/coin/provisioning/common/windows/install-dotnet.ps1
new file mode 100644
index 00000000..aea40e86
--- /dev/null
+++ b/coin/provisioning/common/windows/install-dotnet.ps1
@@ -0,0 +1,29 @@
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$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.ci.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.ci.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
+
+
+
diff --git a/coin/provisioning/common/windows/install-ffmpeg.ps1 b/coin/provisioning/common/windows/install-ffmpeg.ps1
new file mode 100644
index 00000000..f8ad9f15
--- /dev/null
+++ b/coin/provisioning/common/windows/install-ffmpeg.ps1
@@ -0,0 +1,169 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will install FFmpeg
+$msys = "C:\Utils\msys64\usr\bin\bash"
+
+$version = "n6.1.1"
+$ffmpeg_name = "ffmpeg-" + $version;
+$sha1 = "7AECCED8A0366BE407329B4E176167534233DA12"
+
+$url_cached = "https://ci-files01-hki.ci.qt.io/input/ffmpeg/" + $version + ".zip"
+$url_public = "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/" +$version + ".zip"
+$download_location = "C:\Windows\Temp\" + $ffmpeg_name + ".zip"
+$unzip_location = "C:\"
+
+Write-Host "Fetching FFmpeg $version..."
+
+Download $url_public $url_cached $download_location
+Verify-Checksum $download_location $sha1
+Extract-7Zip $download_location $unzip_location
+Remove $download_location
+
+$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
+Write-Host "FFmpeg configuration $config"
+
+function InstallFfmpeg {
+ Param (
+ [string]$buildSystem,
+ [string]$msystem,
+ [string]$additionalPath,
+ [string]$ffmpegDirEnvVar,
+ [string]$toolchain,
+ [bool]$shared
+ )
+
+ Write-Host "Configure and compile ffmpeg for $buildSystem"
+
+ $oldPath = $env:PATH
+
+ if ($additionalPath) { $env:PATH = "$additionalPath;$env:PATH" }
+ $env:MSYS2_PATH_TYPE = "inherit"
+ $env:MSYSTEM = $msystem
+
+ $cmd = "cd /c/$ffmpeg_name"
+ $cmd += " && mkdir -p build/$buildSystem && cd build/$buildSystem"
+ $cmd += " && ../../configure --prefix=installed $config"
+ if ($toolchain) { $cmd += " --toolchain=$toolchain" }
+ if ($shared) { $cmd += " --enable-shared --disable-static" }
+ $cmd += " && make install -j"
+
+ Write-Host "MSYS cmd:"
+ Write-Host $cmd
+ $buildResult = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys" -ArgumentList ("-lc", "`"$cmd`"")
+
+ $env:PATH = $oldPath
+
+ if ($buildResult.ExitCode) {
+ Write-Host "Failed to build ffmpeg for $buildSystem"
+ return $false
+ }
+
+ Set-EnvironmentVariable $ffmpegDirEnvVar "C:\$ffmpeg_name\build\$buildSystem\installed"
+ return $true
+}
+
+function InstallMingwFfmpeg {
+ $mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW_PATH", [System.EnvironmentVariableTarget]::Machine)
+ return InstallFfmpeg -buildSystem "mingw" -msystem "MINGW" -additionalPath "$mingwPath\bin" -ffmpegDirEnvVar "FFMPEG_DIR_MINGW" -shared $true
+}
+
+
+function InstallMsvcFfmpeg {
+ Param (
+ [bool]$isArm64
+ )
+
+ $arch = "amd64"
+ $buildSystem = "msvc"
+ $ffmpegDirEnvVar = "FFMPEG_DIR_MSVC"
+
+ $config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
+
+ if ($isArm64) {
+ $arch = "arm64"
+ $buildSystem += "-arm64"
+ $ffmpegDirEnvVar += "_ARM64"
+ $config += " --enable-cross-compile --arch=arm64 --disable-asm"
+ }
+
+ $result = EnterVSDevShell -Arch $arch
+ if (-Not $result) {
+ return $false
+ }
+
+ $result = InstallFfmpeg -buildSystem $buildSystem -msystem "MSYS" -toolchain "msvc" -ffmpegDirEnvVar $ffmpegDirEnvVar -shared $true
+
+ if ($result) {
+ # As ffmpeg build system creates lib*.a file we have to rename them to *.lib files to be recognized by WIN32
+ Write-Host "Rename libraries lib*.a -> *.lib"
+ try {
+ $msvcDir = [System.Environment]::GetEnvironmentVariable("FFMPEG_DIR_MSVC", [System.EnvironmentVariableTarget]::Machine)
+ Get-ChildItem "$msvcDir\lib\lib*.a" | ForEach-Object {
+ $NewName = $_.Name -replace 'lib(\w+).a$', '$1.lib'
+ $Destination = Join-Path -Path $_.Directory.FullName -ChildPath $NewName
+ Move-Item -Path $_.FullName -Destination $Destination -Force
+ }
+ } catch {
+ Write-Host "Failed to rename libraries lib*.a -> *.lib"
+ return $false
+ }
+ }
+
+ return $result
+}
+
+
+function InstallLlvmMingwFfmpeg {
+ return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin" -shared $true
+}
+
+function InstallAndroidArmv7 {
+
+ $target_toolchain_arch="armv7a-linux-androideabi"
+ $target_arch="armv7-a"
+ $target_cpu="armv7-a"
+ $api_version="24"
+
+ $ndkVersionLatest = "r26b"
+ $ndkFolderLatest = "/c/Utils/Android/android-ndk-$ndkVersionLatest"
+
+ $toolchain="${ndkFolderLatest}/toolchains/llvm/prebuilt/windows-x86_64"
+ $toolchain_bin="${toolchain}/bin"
+ $sysroot="${toolchain}/sysroot"
+ $cxx="${toolchain_bin}/${target_toolchain_arch}${api_version}-clang++"
+ $cc="${toolchain_bin}/${target_toolchain_arch}${api_version}-clang"
+ $ld="${toolchain_bin}/ld.exe"
+ $ar="${toolchain_bin}/llvm-ar.exe"
+ $ranlib="${toolchain_bin}/llvm-ranlib.exe"
+ $nm="${toolchain_bin}/llvm-nm.exe"
+ $strip="${toolchain_bin}/llvm-strip.exe"
+ $openssl_path = [System.Environment]::GetEnvironmentVariable("OPENSSL_ANDROID_HOME_DEFAULT", [System.EnvironmentVariableTarget]::Machine)
+ $openssl_path = $openssl_path.Replace("\", "/")
+
+ $config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
+ $config += " --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-openssl --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
+ $config += " --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
+ $config += " --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
+ $config += " --extra-cflags=-I$envOPENSSL_ANDROID_HOME_DEFAULT/include --extra-ldflags=-L$env:OPENSSL_ANDROID_HOME_DEFAULT/armeabi-v7a"
+ $config += " --extra-cflags=-I${openssl_path}/include --extra-ldflags=-L${openssl_path}/armeabi-v7a"
+
+ return InstallFfmpeg -buildSystem "android-arm" -msystem "ANDROID_CLANG" -ffmpegDirEnvVar "FFMPEG_DIR_ANDROID_ARMV7"
+}
+
+$mingwRes = InstallMingwFfmpeg
+$llvmMingwRes = InstallLlvmMingwFfmpeg
+$androidArmV7Res = InstallAndroidArmv7
+$msvcRes = InstallMsvcFfmpeg -isArm64 $false
+$msvcArm64Res = InstallMsvcFfmpeg -isArm64 $true
+
+Write-Host "Ffmpeg installation results:"
+Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
+Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
+Write-Host " msvc-arm64:" $(if ($msvcArm64Res) { "OK" } else { "FAIL" })
+Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
+Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
+
+exit $(if ($mingwRes -and $msvcRes -and $msvcArm64Res -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
diff --git a/coin/provisioning/common/windows/install-git.ps1 b/coin/provisioning/common/windows/install-git.ps1
index 110c3703..47c2cc03 100644
--- a/coin/provisioning/common/windows/install-git.ps1
+++ b/coin/provisioning/common/windows/install-git.ps1
@@ -1,49 +1,19 @@
-#############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-# Install Git version 2.13.0
+# Install Git
-$version = "2.13.0"
+$version = "2.36.1"
if (Is64BitWinHost) {
$arch = "-64-bit"
- $sha1 = "E1D7C6E5E16ACAF3C108064A2ED158F604FA29A7"
+ $sha1 = "594bdfc4e7704fb03fe14b7c0613087dfa3d4416"
} else {
$arch = "-32-bit"
- $sha1 = "03c7df2e4ef61ea6b6f9c0eb7e6d5151d9682aec"
+ $sha1 = "1bbe040254c236607ccb84e14a3f608b1a4e959a"
}
$gitPackage = "C:\Windows\Temp\Git-" + $version + $arch + ".exe"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
$url_official = "https://github.com/git-for-windows/git/releases/download/v" + $version + ".windows.1/Git-" + $version + $arch + ".exe"
Write-Host "Fetching Git $version..."
diff --git a/coin/provisioning/common/windows/install-gnuwin32.ps1 b/coin/provisioning/common/windows/install-gnuwin32.ps1
index 6acede79..a6e300e6 100644
--- a/coin/provisioning/common/windows/install-gnuwin32.ps1
+++ b/coin/provisioning/common/windows/install-gnuwin32.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install gnuwin32
@@ -37,7 +7,7 @@
$prog = "gnuwin32"
$zipPackage = "$prog.zip"
$temp = "$env:tmp"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/$prog/$zipPackage"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/$prog/$zipPackage"
$externalUrl = "http://download.qt.io/development_releases/$prog/$zipPackage"
Download $externalUrl $internalUrl "$temp\$zipPackage"
Verify-Checksum "$temp\$zipPackage" "d7a34a385ccde2374b8a2ca3369e5b8a1452c5a5"
diff --git a/coin/provisioning/common/windows/install-jdk.ps1 b/coin/provisioning/common/windows/install-jdk.ps1
index ce1abdd5..dc19551d 100644
--- a/coin/provisioning/common/windows/install-jdk.ps1
+++ b/coin/provisioning/common/windows/install-jdk.ps1
@@ -1,73 +1,44 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Java SE
-$installdir = "C:\Program Files\Java\jdk1.8.0_144"
-
-$version = "8u144"
if (Is64BitWinHost) {
+ $version = "11.0.12"
$arch = "x64"
- $sha1 = "adb03bc3f4b40bcb3227687860798981d58e1858"
+ $sha1 = "135ffd1c350509729551876232a5354070732e92"
+ $installdir = "C:\Program Files\Java\jdk-$version"
+ $url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
} else {
- $arch = "i586"
- $sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
+ $version = "11.0.11.9"
+ $arch = "x86-32"
+ $sha1 = "a861e994208ee85bf83a76105f6858feeb6fbb33"
+ $installdir = "C:\Program Files\AdoptOpenJDK\jdk-$version-hotspot"
+ $url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\OpenJDK11U-jdk_x86-32_windows_hotspot_11.0.11_9.msi"
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jdk-" + $version + "-windows-" + $arch + ".exe"
-$official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
-$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
+# NOTE! Official URL is behind login portal. It can't be used whit this script instead it need to be fetched to $url_cache first
+# java 11: https://www.oracle.com/java/technologies/downloads/#java11-windows
+# java 8: $official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
+if (Is64BitWinHost) {
+ $javaPackage = "C:\Windows\Temp\jdk-$version.exe"
+} else {
+ $javaPackage = "C:\Windows\Temp\jdk-$version.msi"
+}
Write-Host "Fetching Java SE $version..."
$ProgressPreference = 'SilentlyContinue'
-try {
- Write-Host "...from local cache"
- Download $url_cache $url_cache $javaPackage
-} catch {
- Write-Host "...from oracle.com"
- $client = new-object System.Net.WebClient
- $cookie = "oraclelicense=accept-securebackup-cookie"
- $client.Headers.Add("Cookie", $cookie)
- $client.DownloadFile($official_url, $javaPackage)
-
- Download $official_url $official_url $javaPackage
-}
-
+Write-Host "...from local cache"
+Download $url_cache $url_cache $javaPackage
Verify-Checksum $javaPackage $sha1
-Run-Executable "$javaPackage" "/s SPONSORS=0"
+if (Is64BitWinHost) {
+ Run-Executable "$javaPackage" "/s SPONSORS=0"
+} else {
+ Run-Executable "msiexec" "/quiet /i $javaPackage"
+}
Remove "$javaPackage"
Write-Host "Remove Java update from startup"
diff --git a/coin/provisioning/common/windows/install-jq.ps1 b/coin/provisioning/common/windows/install-jq.ps1
new file mode 100644
index 00000000..6f5bd333
--- /dev/null
+++ b/coin/provisioning/common/windows/install-jq.ps1
@@ -0,0 +1,31 @@
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script installs jq
+
+$jqProgram = "jq"
+$jqVersion = "1.6"
+$jqExeSHA1 = "2b7ae7b902aa251b55f2fd73ad5b067d2215ce78"
+$jqInstallLocation = "C:\Utils\jq"
+$jqExe = "C:\Windows\Temp\jq.exe"
+$jqCacheURL = "\\ci-files01-hki.ci.qt.io\provisioning\jq\jq-win64-$jqVersion.exe"
+$jqOfficialURL = "https://github.com/jqlang/jq/releases/download/jq-$jqVersion/jq-win64.exe"
+
+Download "$jqOfficialURL" "$jqCacheURL" "$jqExe"
+Verify-Checksum $jqExe $jqExeSHA1
+New-Item -Path "C:\Utils" -Name "jq" -ItemType "directory" -Force
+Move-Item -Path "$jqExe" -Destination "$jqInstallLocation" -Force
+
+if(![System.IO.File]::Exists("$jqInstallLocation\jq.exe")){
+ Write-Host "Can't find $jqInstallLocation\jq.exe."
+ exit 1
+}
+
+# Add jq to Path. It is necessary to prepend it to $env:Path as well, to make
+# it available during provisioning
+Prepend-Path "$jqInstallLocation"
+$env:Path = "$jqInstallLocation;$env:Path"
+
+Write-Output "jq = $jqVersion" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/install-mcuxpresso.ps1 b/coin/provisioning/common/windows/install-mcuxpresso.ps1
new file mode 100644
index 00000000..b3fa2b4c
--- /dev/null
+++ b/coin/provisioning/common/windows/install-mcuxpresso.ps1
@@ -0,0 +1,16 @@
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script installs NXP MCUXpresso IDE
+# MCUXpresso IDE provides the tools for flashing and onboard debugging
+
+$version = "11.2.0_4120"
+$url = "http://ci-files01-hki.ci.qt.io/input/windows/MCUXpressoIDE_$version.zip"
+$zip = "C:\Windows\Temp\MCUXpressoIDE_$version.zip"
+
+Download $url $url $zip
+Extract-7Zip $zip C:
+Rename-Item C:\MCUXpressoIDE_$version C:\MCUXpressoIDE
+Write-Output "MCUXpresso IDE = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/install-mingw.ps1 b/coin/provisioning/common/windows/install-mingw.ps1
index bc05ba91..d42eeaab 100644
--- a/coin/provisioning/common/windows/install-mingw.ps1
+++ b/coin/provisioning/common/windows/install-mingw.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -37,23 +7,24 @@ function InstallMinGW
{
Param (
[string] $release = $(BadParam("release file name")),
- [string] $sha1 = $(BadParam("SHA1 checksum of the file")),
- [string] $suffix = ""
+ [string] $sha1 = $(BadParam("SHA1 checksum of the file"))
)
- $arch, $version, $null, $threading, $ex_handling, $build_ver, $revision = $release.split('-')
-
- if ($arch -eq "i686") { $win_arch = "Win32" }
- elseif ($arch -eq "x86_64") { $win_arch = "Win64" }
-
- $envvar = "MINGW$version$suffix"
- $envvar = $envvar -replace '["."]'
+ if ($release -like "*11.2.0*") {
+ $null, $null, $arch, $version, $null, $threading, $ex_handling, $build_ver, $revision = $release.split('-')
+ $url_original = "https://github.com/cristianadam/mingw-builds/releases/download/v" + $version + "-" + $revision + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $build_ver + "-" + $revision + ".7z"
+ }
+ else {
+ $null, $null, $arch, $version, $null, $threading, $ex_handling, $runtime_library, $build_ver, $revision = $release.split('-')
+ $url_original = "https://github.com/niXman/mingw-builds-binaries/releases/download/" + $version + "-" + $build_ver + "-" + $revision + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $runtime_library + "-" + $build_ver + "-" + $revision + ".7z"
+ }
+
+ if ($arch -eq "x86_64") { $win_arch = "Win64" }
+ $envvar = "MINGW_PATH"
$targetdir = "C:\$envvar"
- $url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $release + ".7z"
- $url_official = "https://netcologne.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20" + $win_arch + "/Personal%20Builds/mingw-builds/" + $version + "/threads-" + $threading + "/" + $ex_handling + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $build_ver + "-" + $revision + ".7z"
-
+ $url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/" + $release + ".7z"
$mingwPackage = "C:\Windows\Temp\MinGW-$version.zip"
- Download $url_official $url_cache $mingwPackage
+ Download $url_original $url_cache $mingwPackage
Verify-Checksum $mingwPackage $sha1
Extract-7Zip $mingwPackage $TARGETDIR
@@ -61,7 +32,7 @@ function InstallMinGW
Set-EnvironmentVariable "$envvar" ("$targetdir\mingw" + $win_arch.Substring($win_arch.get_Length()-2))
Write-Host "Cleaning $mingwPackage.."
- Remove-Item -Recurse -Force -Path "$mingwPackage"
+ Remove "$mingwPackage"
Write-Output "MinGW = $version $release" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-msys2.ps1 b/coin/provisioning/common/windows/install-msys2.ps1
index 784b09dc..7a79d4ab 100644
--- a/coin/provisioning/common/windows/install-msys2.ps1
+++ b/coin/provisioning/common/windows/install-msys2.ps1
@@ -1,78 +1,52 @@
-############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
-# This script installs 7-Zip
+# This script will installs msys2
-$version = "20181211"
+$version = "20240113"
$prog = "msys2"
-if (Is64BitWinHost) {
- $arch = "x86_64"
- $sha1 = "d689ff74fd060934bd7aaf458a11db67833463c2"
- $folder = "msys64"
-} else {
- $arch = "i686"
- $sha1 = "928f9d1537d1a77dc7f2adab74fb438e7d11a98e"
- $folder = "msys32"
-}
-$package = $prog + "-base-" + $arch + "-" + $version + ".tar.xz"
+$arch = "x86_64"
+$sha1 = "b46c08fd901da0fdba1dc30422a322766d7d03c6"
+$sha1_prebuilt = "d86d45d72228f53f7ae060771bc95b6f54c703c8"
+$folder = "msys64"
+$package_prebuilt = $folder + "_" + $version + "_prebuilt.7z"
+$package = $prog + "-base-" + $arch + "-" + $version + ".tar.xz"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
+$url_cache_prebuilt = "\\ci-files01-hki.ci.qt.io\provisioning\windows\$package_prebuilt"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/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
-$msys = "$TargetLocation\$folder\msys2_shell.cmd"
-
-# 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 30
-cmd /c "$msys `"-l`" `"-c`" `"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 180
-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 }
+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 make and yasm
+ # 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-key --refresh;pacman -S --noconfirm perl make yasm diffutils`""
+ 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"
+Remove "$PackagePath"
-Write-Output "7-Zip = $version" >> ~\versions.txt
+Write-Output "msys2 = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-notepad++.ps1 b/coin/provisioning/common/windows/install-notepad++.ps1
index 8f8635b3..17e86d27 100644
--- a/coin/provisioning/common/windows/install-notepad++.ps1
+++ b/coin/provisioning/common/windows/install-notepad++.ps1
@@ -1,50 +1,37 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Notepad++
-$version = "7.3"
-if (Is64BitWinHost) {
- $arch = ".x64"
- $sha1 = "E7306DF1D6E81801FB4BE0868610DB70E979B0AA"
-} else {
- $arch = ""
- $sha1 = "d4c403675a21cc381f640b92e596bae3ef958dc6"
+$version = "8.6.5"
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = ".arm64"
+ $sha1 = "eecb8a6b6ed3cb1e467d227b8b7751283c35434e"
+ Break
+ }
+ x64 {
+ $arch = ".x64"
+ $sha1 = "a0bf3fb15015bc1fbcb819d9a9c61f4762f4a10f"
+ Break
+ }
+ x86 {
+ $arch = ""
+ $sha1 = "ba940c6b526da1ce127f43b835b4d8c9d5c4b59c"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\npp." + $version + ".Installer" + $arch + ".exe"
-$url_official = "https://notepad-plus-plus.org/repository/7.x/" + $version + "/npp." + $version + ".Installer" + $arch + ".exe"
+
+$filename_exe = "npp." + $version + ".Installer" + $arch + ".exe"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/" + $filename_exe
+$url_official = "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v" + $version + "/" + $filename_exe
$nppPackage = "C:\Windows\Temp\npp-$version.exe"
Download $url_official $url_cache $nppPackage
@@ -52,7 +39,7 @@ Verify-Checksum $nppPackage $sha1
Run-Executable "$nppPackage" "/S"
Write-Host "Cleaning $nppPackage.."
-Remove-Item -Recurse -Force -Path "$nppPackage"
+Remove "$nppPackage"
Write-Output "Notepad++ = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-openssh.ps1 b/coin/provisioning/common/windows/install-openssh.ps1
new file mode 100644
index 00000000..1f746b14
--- /dev/null
+++ b/coin/provisioning/common/windows/install-openssh.ps1
@@ -0,0 +1,48 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+# Install Openssh
+
+$version = "v9.2.2.0p1-Beta"
+
+$temp = "$env:tmp"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $zipPackage = "OpenSSH-ARM64"
+ $sha1 = "ca3e8f44a550b7ae71c8e122acd4ed905d66feb0"
+ Break
+ }
+ x64 {
+ $zipPackage = "OpenSSH-Win64"
+ $sha1 = "1397d40d789ae0911b3cc818b9dcd9321fed529b"
+ Break
+ }
+ x86 {
+ $zipPackage = "OpenSSH-Win32"
+ $sha1 = "4642C62F72C108C411E27CE282A863791B63329B"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+
+Write-Host "Fetching $zipPackage $version..."
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/openssh/" + $version + "/" + $zipPackage + ".zip"
+$url_official = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/" + $version + "/" + $zipPackage + ".zip"
+Download $url_official $url_cache "$temp\$zipPackage"
+Verify-Checksum "$temp\$zipPackage" $sha1
+
+Write-Host "Extracting the package"
+Extract-7Zip "$temp\$zipPackage" C:\"Program Files"
+
+Write-Host "Installing $zipPackage $version..."
+$path = "C:\Program Files\" + $zipPackage + "\install-sshd.ps1"
+
+# Installation done as shown at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH
+powershell.exe -ExecutionPolicy Bypass -File $path
+netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22
+net start sshd
+Set-Service sshd -StartupType Automatic
diff --git a/coin/provisioning/common/windows/install-protobuf.ps1 b/coin/provisioning/common/windows/install-protobuf.ps1
deleted file mode 100644
index fd3fb3d3..00000000
--- a/coin/provisioning/common/windows/install-protobuf.ps1
+++ /dev/null
@@ -1,64 +0,0 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-. "$PSScriptRoot\helpers.ps1"
-
-# This script will install Google's Protocol Buffers
-# Script requires Cmake to be installed and strawberry-perl not to be installed
-
-$version = "3.6.1"
-$sha1 = "44b8ba225f3b4dc45fb56d5881ec6a91329802b6"
-$officialUrl = "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
-$cachedUrl = "http://ci-files01-hki.ci.local/input/automotive_suite/protobuf-all-$version.zip"
-$zip = "C:\Utils\protobuf-all-$version.zip"
-$installationFolder = "C:\Utils\protobuf"
-
-Write-Host "Installing Protocol Buffers"
-Add-Path "C:\CMake\bin"
-Download "$officialUrl" "$cachedUrl" "$zip"
-Verify-Checksum "$zip" "$sha1"
-Extract-7Zip "$zip" C:\Utils
-New-Item -ItemType directory -Force -Path "C:\Utils\protobuf-$version\cmake\build"
-New-Item -ItemType directory -Force -Path "C:\Utils\protobuf-$version\cmake\build\release"
-New-Item -ItemType directory -Force -Path "$installationFolder"
-cd "C:\Utils\protobuf-$version\cmake\build\release"
-cmd /c "`"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Auxiliary\\Build\\vcvars64.bat`" && cmake -G `"NMake Makefiles`" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$installationFolder ../.. && nmake && nmake install"
-if(![System.IO.File]::Exists("$installationFolder\bin\protoc.exe")){
- Write-Host "Can't find $installationFolder\bin\protoc.exe. Installation probably failed!"
- exit 1
-}
-
-Remove-Item "$zip"
-
-Add-Path "$installationFolder\bin"
-Set-EnvironmentVariable PROTOBUF_INCLUDE "$installationFolder\include"
-Set-EnvironmentVariable PROTOBUF_LIB "$installationFolder\lib"
diff --git a/coin/provisioning/common/windows/install-ruby.ps1 b/coin/provisioning/common/windows/install-ruby.ps1
index d3b949d1..53c8faf5 100644
--- a/coin/provisioning/common/windows/install-ruby.ps1
+++ b/coin/provisioning/common/windows/install-ruby.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -43,7 +13,7 @@ if (Is64BitWinHost) {
$arch = "-x86"
$sha1 = "2639a481c3b5ad11f57d5523cc41ca884286089e"
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\rubyinstaller-" + $version + $arch + ".exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\rubyinstaller-" + $version + $arch + ".exe"
$url_official = "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-" + $version + "/rubyinstaller-" + $version + $arch + ".exe"
$rubyPackage = "C:\Windows\Temp\rubyinstaller-$version.exe"
@@ -52,6 +22,6 @@ Verify-Checksum $rubyPackage $sha1
Run-Executable $rubyPackage "/dir=C:\Ruby-$version$arch /tasks=modpath /verysilent"
Write-Host "Cleaning $rubyPackage.."
-Remove-Item -Recurse -Force -Path "$rubyPackage"
+Remove "$rubyPackage"
Write-Output "Ruby = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-sccache.ps1 b/coin/provisioning/common/windows/install-sccache.ps1
new file mode 100644
index 00000000..b8f1605c
--- /dev/null
+++ b/coin/provisioning/common/windows/install-sccache.ps1
@@ -0,0 +1,35 @@
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# Install mozilla sccache
+
+param(
+ [string]$arch="x86_64-pc-windows-msvc",
+ [string]$version="0.2.14",
+ [string]$sha1="bbdceb59d6fd7b6a3af02fb36f65c8bf324757b0"
+)
+
+. "$PSScriptRoot\helpers.ps1"
+
+$basename = "sccache-" + $version + "-" + $arch
+$zipfile = $basename + ".tar.gz"
+$tempfile = "C:\Windows\Temp\" + $zipfile
+$urlCache = "http://ci-files01-hki.ci.qt.io/input/sccache/" + $zipfile
+$urlOfficial = "https://github.com/mozilla/sccache/releases/download/" + $version + "/" + $zipfile
+$targetFolder = "C:\Program Files\"
+
+Write-Host "Downloading sccache $version..."
+Download $urlOfficial $urlCache $tempfile
+Verify-Checksum $tempfile $sha1
+Write-Host "Extracting $tempfile to $targetFolder..."
+Extract-tar_gz $tempfile $targetFolder
+Remove-Item -Path $tempfile
+
+# Turnoff idle timeout to avoid sccache shutting down
+Set-EnvironmentVariable "SCCACHE_IDLE_TIMEOUT" "0"
+
+# add sccache to PATH
+Set-EnvironmentVariable "PATH" "C:\Program Files\$basename\;$([Environment]::GetEnvironmentVariable('PATH', 'Machine'))"
+
+# update versions
+Write-Output "sccache = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-sed.ps1 b/coin/provisioning/common/windows/install-sed.ps1
index 2e1cbcd4..8b9c9671 100644
--- a/coin/provisioning/common/windows/install-sed.ps1
+++ b/coin/provisioning/common/windows/install-sed.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -41,8 +11,8 @@ $sha1 = "dfd3d1dae27a24784d7ab40eb074196509fa48fe"
$dep_sha1 = "f7edbd7152d8720c95d46dd128b87b8ba48a5d6f"
$pkg = "$prog-$version-bin.zip"
$dep_pkg = "$prog-$version-dep.zip"
-$cached_url = "http://ci-files01-hki.intra.qt.io/input/windows/gnuwin32/$pkg"
-$dep_cached_url = "http://ci-files01-hki.intra.qt.io/input/windows/gnuwin32/$dep_pkg"
+$cached_url = "http://ci-files01-hki.ci.qt.io/input/windows/gnuwin32/$pkg"
+$dep_cached_url = "http://ci-files01-hki.ci.qt.io/input/windows/gnuwin32/$dep_pkg"
$install_location = "c:\Utils\$prog"
$tmp_location = "c:\users\qt\downloads"
diff --git a/coin/provisioning/common/windows/install-sevenzip.ps1 b/coin/provisioning/common/windows/install-sevenzip.ps1
index 914895c1..47a34e2b 100644
--- a/coin/provisioning/common/windows/install-sevenzip.ps1
+++ b/coin/provisioning/common/windows/install-sevenzip.ps1
@@ -1,52 +1,36 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script installs 7-Zip
-$version = "16.04"
-$nonDottedVersion = "1604"
-
-if (Is64BitWinHost) {
- $arch = "-x64"
- $sha1 = "338A5CC5200E98EDD644FC21807FDBE59910C4D0"
-} else {
- $arch = ""
- $sha1 = "dd1cb1163c5572951c9cd27f5a8dd550b33c58a4"
+$version = "23.01"
+$nonDottedVersion = "2301"
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "-arm64"
+ $sha1 = "be65c2ea6119c04945c66b13413892f2bb03d9a7"
+ Break
+ }
+ x64 {
+ $arch = "-x64"
+ $sha1 = "7DF28D340D7084647921CC25A8C2068BB192BDBB"
+ Break
+ }
+ x86 {
+ $arch = ""
+ $sha1 = "D5D00E6EA8B8E68CE7A704FD478DC950E543C25C"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\7z" + $nonDottedVersion + $arch + ".exe"
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/7z" + $nonDottedVersion + $arch + ".exe"
$url_official = "http://www.7-zip.org/a/7z" + $nonDottedVersion + $arch + ".exe"
$7zPackage = "C:\Windows\Temp\7zip-$nonDottedVersion.exe"
$7zTargetLocation = "C:\Utils\sevenzip\"
@@ -56,7 +40,7 @@ Verify-Checksum $7zPackage $sha1
Run-Executable $7zPackage "/S","/D=$7zTargetLocation"
Write-Host "Cleaning $7zPackage.."
-Remove-Item -Recurse -Force -Path "$7zPackage"
+Remove "$7zPackage"
Add-Path $7zTargetLocation
diff --git a/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1 b/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1
new file mode 100644
index 00000000..4df207ce
--- /dev/null
+++ b/coin/provisioning/common/windows/install-stm32cubeprogrammer.ps1
@@ -0,0 +1,20 @@
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will install STM32CubeProgrammer software needed by MCU RTA
+# Official donwload from https://www.st.com/en/development-tools/stm32cubeprog.html
+
+$version ="2_5_0"
+$url = "http://ci-files01-hki.ci.qt.io/input/windows/STMicroelectronics_v${version}.zip"
+$zip = "C:\Windows\Temp\STMicroelectronics_v${version}.zip"
+
+Download $url $url $zip
+Extract-7Zip $zip "C:\Program Files"
+Remove-Item -Recurse -Force -Path $zip
+
+Write-Output "STM32CubeProgrammer = $version" >> ~/versions.txt
+
+
+
diff --git a/coin/provisioning/common/windows/install-strawberry-perl.ps1 b/coin/provisioning/common/windows/install-strawberry-perl.ps1
index 7e288603..94cef218 100644
--- a/coin/provisioning/common/windows/install-strawberry-perl.ps1
+++ b/coin/provisioning/common/windows/install-strawberry-perl.ps1
@@ -1,50 +1,20 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script installs Strawberry Perl
-$version = "5.26.0.1"
+$version = "5.32.0.1"
if (Is64BitWinHost) {
$arch = "-64bit"
- $sha1 = "2AE2EDA36A190701399130CBFEE04D00E9BA036D"
+ $sha1 = "9ec5ebc865da82eacc2d95ff2976492ca69934ab"
} else {
$arch = "-32bit"
- $sha1 = "b50b688a879f33941433774b2813bfd4b917e4ee"
+ $sha1 = "6ad89c6358a174c048f113bfd274d2d0378d60aa"
}
$installer_name = "strawberry-perl-" + $version + $arch + ".msi"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $installer_name
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\" + $installer_name
$url_official = "http://strawberryperl.com/download/" + $version + "/" + $installer_name
$strawberryPackage = "C:\Windows\Temp\" + $installer_name
@@ -53,6 +23,6 @@ Verify-Checksum $strawberryPackage $sha1
Run-Executable "msiexec" "/quiet /i $strawberryPackage INSTALLDIR=C:\strawberry REBOOT=REALLYSUPPRESS"
Write-Host "Cleaning $strawberryPackage.."
-Remove-Item -Recurse -Force -Path "$strawberryPackage"
+Remove "$strawberryPackage"
Write-Output "strawberry = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/install-vcpkg-ports-android.ps1 b/coin/provisioning/common/windows/install-vcpkg-ports-android.ps1
new file mode 100644
index 00000000..646f36cd
--- /dev/null
+++ b/coin/provisioning/common/windows/install-vcpkg-ports-android.ps1
@@ -0,0 +1,23 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+Write-Host "Installing vcpkg android ports"
+$vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
+$vcpkgRoot = "$env:VCPKG_ROOT"
+
+Set-Location -Path "$PSScriptRoot\vcpkg"
+Copy-Item "$PSScriptRoot\..\shared\vcpkg-configuration.json" -Destination "$PSScriptRoot\vcpkg"
+
+Run-Executable "$vcpkgExe" "install --triplet armeabi-v7a-android-qt --x-install-root armeabi-v7a-android-qt-tmp --debug"
+
+New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
+Copy-Item -Path "armeabi-v7a-android-qt-tmp\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
+
+$versions = jq.exe -r '.overrides[] | \"vcpkg \(.name) for android = \(.version)\"' vcpkg.json
+$versions = $versions.Replace("vcpkg", "`nvcpkg")
+Write-Output "$versions" >> ~/versions.txt
+
+Remove-Item -Path "armeabi-v7a-android-qt-tmp" -Recurse -Force
+
+Set-Location "$PSScriptRoot"
diff --git a/coin/provisioning/common/windows/install-vcpkg-ports.ps1 b/coin/provisioning/common/windows/install-vcpkg-ports.ps1
new file mode 100644
index 00000000..55eae4be
--- /dev/null
+++ b/coin/provisioning/common/windows/install-vcpkg-ports.ps1
@@ -0,0 +1,26 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+Write-Host "Installing vcpkg ports"
+$vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
+$vcpkgRoot = "$env:VCPKG_ROOT"
+
+Set-Location -Path "$PSScriptRoot\vcpkg"
+Copy-Item "$PSScriptRoot\..\shared\vcpkg-configuration.json" -Destination "$PSScriptRoot\vcpkg"
+
+Run-Executable "$vcpkgExe" "install --triplet x64-windows-qt --x-install-root x64-windows-qt-tmp --debug"
+Run-Executable "$vcpkgExe" "install --triplet arm64-windows-qt --x-install-root arm64-windows-qt-tmp --debug"
+
+New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
+Copy-Item -Path "x64-windows-qt-tmp\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
+Copy-Item -Path "arm64-windows-qt-tmp\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
+
+$versions = jq.exe -r '.overrides[] | \"vcpkg \(.name) = \(.version)\"' vcpkg.json
+$versions = $versions.Replace("vcpkg", "`nvcpkg")
+Write-Output "$versions" >> ~/versions.txt
+
+Remove-Item -Path "x64-windows-qt-tmp" -Recurse -Force
+Remove-Item -Path "arm64-windows-qt-tmp" -Recurse -Force
+
+Set-Location "$PSScriptRoot"
diff --git a/coin/provisioning/common/windows/install-vcpkg.ps1 b/coin/provisioning/common/windows/install-vcpkg.ps1
new file mode 100644
index 00000000..f5d1dad3
--- /dev/null
+++ b/coin/provisioning/common/windows/install-vcpkg.ps1
@@ -0,0 +1,58 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will install vcpkg
+
+Write-Host "Installing vcpkg"
+
+$n = Get-Content "$PSScriptRoot\..\shared\vcpkg_version.txt"
+$n = $n.Split('=')
+$vcpkgVersion = $n[1]
+$nonDottedVersion = $vcpkgVersion.Replace(".", "")
+
+# Download vcpkg
+$vcpkgRoot = "C:\Utils\vcpkg-$vcpkgVersion"
+$vcpkgRepo = Get-Content -Path "$PSScriptRoot\..\shared\vcpkg_registry_mirror.txt" | Select-Object -First 1
+
+Write-Host "Cloning the vcpkg repo"
+git.exe clone "$vcpkgRepo" "$vcpkgRoot"
+git.exe -C "$vcpkgRoot" checkout "tags/$vcpkgVersion"
+
+# Download vcpkg-tool, i.e., vcpkg.exe
+
+$n = Get-Content "$PSScriptRoot\..\shared\vcpkg_tool_release_tag.txt"
+$n = $n.Split('=')
+$vcpkgExeReleaseTag = $n[1]
+$nonDottedReleaseTag = $vcpkgExeReleaseTag.replace('-', "")
+
+$vcpkgExeOfficialUrl = "https://github.com/microsoft/vcpkg-tool/releases/download/$vcpkgExeReleaseTag/vcpkg.exe"
+$vcpkgExeCacheUrl = "\\ci-files01-hki.ci.qt.io\provisioning\vcpkg\vcpkg-$nonDottedReleaseTag-windows-x64.exe"
+$vcpkgExeSHA1 = "F74DCDE7F6F5082EF6DC31FED486FAD69BE8D442"
+$vcpkgExe = "C:\Windows\Temp\vcpkg.exe"
+
+Download "$vcpkgExeOfficialUrl" "$vcpkgExeCacheUrl" "$vcpkgExe"
+Verify-Checksum $vcpkgExe $vcpkgExeSHA1
+Move-Item "$vcpkgExe" -Destination "$vcpkgRoot" -Force
+
+if(![System.IO.File]::Exists("$vcpkgRoot\vcpkg.exe")){
+ Write-Host "Can't find $vcpkgRoot\vcpkg.exe."
+ exit 1
+}
+
+# Disable telemetry
+Set-Content -Value "" -Path "$vcpkgRoot\vcpkg.disable-metrics" -Force
+
+# Setting VCPKG_ROOT using Set-EnvironmentVariable makes the variable only
+# available during build time. In order to make it available during the
+# provisioning, we need to directly set it via $env:VCPKG_ROOT as well.
+Set-EnvironmentVariable "VCPKG_ROOT" "$vcpkgRoot"
+$env:VCPKG_ROOT = "$vcpkgRoot"
+
+# Set a source for vcpkg Binary and Asset Cache
+# The `coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1` script is
+# mounting the SMB share located in `vcpkg-server.ci.qt.io/vcpkg` to drive V:\
+$env:VCPKG_BINARY_SOURCES = "files,V:/binaries,readwrite"
+$env:X_VCPKG_ASSET_SOURCES = "x-azurl,file:///V:/assets,,readwrite"
+
+Write-Output "vcpkg = $vcpkgVersion" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/install_telegraf.ps1 b/coin/provisioning/common/windows/install_telegraf.ps1
index 0a64cfd4..3090a25e 100644
--- a/coin/provisioning/common/windows/install_telegraf.ps1
+++ b/coin/provisioning/common/windows/install_telegraf.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\..\..\common\windows\helpers.ps1"
@@ -37,28 +7,53 @@
# Install a specific version of Telegraf
# https://github.com/influxdata/telegraf/releases
-$version = "1.12.6"
-
-if (Is64BitWinHost) {
- $arch = "amd64"
- $sha256 = "5d025d85070e8c180c443580afa8a27421a7bbcf14b5044894e9f3298d0ce97a"
-} else {
- $arch = "i386"
- $sha256 = "5178a0bdaab448c2ef965b0e36f835849cea731ccd87c4a4527f0f05fbbdf271"
+$version = "1.12.6" # TODO: ARM is not supported in this version
+$has_telegraf_ver = $false
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $sha256 = "5925642aad9a35886b172050203287cf33078313f543021781885ed94d9cbcff"
+ $version = "1.29.4" # TODO: ARM needs this, update this to all
+ $has_telegraf_ver = $true
+ Break
+ }
+ x64 {
+ $arch = "amd64"
+ $sha256 = "5d025d85070e8c180c443580afa8a27421a7bbcf14b5044894e9f3298d0ce97a"
+ Break
+ }
+ x86 {
+ $arch = "i386"
+ $sha256 = "5178a0bdaab448c2ef965b0e36f835849cea731ccd87c4a4527f0f05fbbdf271"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
-$filename = "telegraf-" + $version + "_windows_" + $arch + ".zip"
+$telegraf_ver = "telegraf-" + $version
+$filename_zip = $telegraf_ver + "_windows_" + $arch + ".zip"
-$url_cache = "http://ci-files01-hki.intra.qt.io/input/telegraf/" + $filename
-$url_official = "https://dl.influxdata.com/telegraf/releases/" + $filename
-$tempfile = "C:\Windows\Temp\" + $filename
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/telegraf/" + $filename_zip
+$url_official = "https://dl.influxdata.com/telegraf/releases/" + $filename_zip
+$tempfile = "C:\Windows\Temp\" + $filename_zip
Write-Host "Fetching Telegraf $version..."
Download $url_official $url_cache $tempfile
Verify-Checksum $tempfile $sha256 sha256
Write-Host "Installing telegraf.exe under C:\Utils\telegraf"
-Extract-7Zip $tempfile C:\Utils "telegraf"
+
+if ($has_telegraf_ver -eq $true) {
+ Extract-7Zip $tempfile C:\Utils
+ Rename-Item "C:\Utils\$telegraf_ver" "C:\Utils\telegraf"
+} else {
+ Extract-7Zip $tempfile C:\Utils "telegraf"
+}
+
Copy-Item "$PSScriptRoot\..\..\common\windows\telegraf-coin.conf" C:\telegraf-coin.conf
. "$PSScriptRoot\telegraf_password.ps1"
diff --git a/coin/provisioning/common/windows/jom.ps1 b/coin/provisioning/common/windows/jom.ps1
index 7cb60229..77216b85 100644
--- a/coin/provisioning/common/windows/jom.ps1
+++ b/coin/provisioning/common/windows/jom.ps1
@@ -3,7 +3,7 @@
$version = "1_1_2"
$zip = Get-DownloadLocation "jom_$version.zip"
-Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.intra.qt.io/input/windows/jom_$version.zip $zip
+Download http://download.qt.io/official_releases/jom/jom_$version.zip http://ci-files01-hki.ci.qt.io/input/windows/jom_$version.zip $zip
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
Extract-7Zip $zip C:\Utils\Jom
diff --git a/coin/provisioning/common/windows/libclang-v100-dyn.ps1 b/coin/provisioning/common/windows/libclang-v100-dyn.ps1
new file mode 100644
index 00000000..3bb19670
--- /dev/null
+++ b/coin/provisioning/common/windows/libclang-v100-dyn.ps1
@@ -0,0 +1,50 @@
+param(
+ [Int32]$archVer=32,
+ [string]$toolchain="vs2019",
+ [bool]$setDefault=$true
+)
+. "$PSScriptRoot\helpers.ps1"
+
+$libclang_version="10.0"
+Write-Output "libClang for QtForPython = $libclang_version" >> ~/versions.txt
+
+# PySide versions following Qt6 use a C++ parser based on Clang (http://clang.org/).
+# The Clang library (C-bindings), version 8.0 or higher is required for building.
+
+# Starting from Qt 5.11 QDoc requires Clang to parse C++
+
+$baseDestination = "C:\Utils\libclang-" + $libclang_version + "-dynlibs-" + $toolchain
+$libclang_version = $libclang_version -replace '["."]'
+
+function install() {
+
+ param(
+ [string]$sha1=$1,
+ [string]$destination=$2
+ )
+
+ $zip = "c:\users\qt\downloads\libclang-dyn.7z"
+
+ $script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
+ $script:CachedUrl = "http://ci-files01-hki.ci.qt.io/input/libclang/dynamic/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
+
+ Download $OfficialUrl $CachedUrl $zip
+ Verify-Checksum $zip $sha1
+ Extract-7Zip $zip C:\Utils\
+ Rename-Item C:\Utils\libclang $destination
+ Remove-Item -Force -Path $zip
+}
+
+if ( $toolchain -eq "vs2019" ) {
+ if ( $archVer -eq 64 ) {
+ $sha1 = "B2C4F24B2388AEBAA6B8FCE3AE4E63D34D1517FE"
+ }
+ else {
+ $sha1 = "b970f51df255a27e0fdb7b665e70ed5281257f40"
+ }
+}
+
+install $sha1 $baseDestination-$archVer
+
+Set-EnvironmentVariable "LLVM_DYNAMIC_LIBS_100" ($baseDestination + "-_ARCH_")
+
diff --git a/coin/provisioning/common/windows/libclang.ps1 b/coin/provisioning/common/windows/libclang.ps1
index 7caecc96..57f42057 100644
--- a/coin/provisioning/common/windows/libclang.ps1
+++ b/coin/provisioning/common/windows/libclang.ps1
@@ -1,11 +1,11 @@
param(
[Int32]$archVer=32,
- [string]$toolchain="vs2015",
+ [string]$toolchain="vs2019",
[bool]$setDefault=$true
)
. "$PSScriptRoot\helpers.ps1"
-$libclang_version="6.0"
+$libclang_version="15.0.0"
Write-Output "libClang = $libclang_version" >> ~/versions.txt
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
@@ -14,7 +14,6 @@ Write-Output "libClang = $libclang_version" >> ~/versions.txt
# Starting from Qt 5.11 QDoc requires Clang to parse C++
$baseDestination = "C:\Utils\libclang-" + $libclang_version + "-" + $toolchain
-$libclang_version = $libclang_version -replace '["."]'
function install() {
@@ -25,57 +24,41 @@ function install() {
$zip = "c:\users\qt\downloads\libclang.7z"
- $script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
- $script:CachedUrl = "http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_$libclang_version-windows-$toolchain`_$archVer.7z"
+ $script:OfficialUrl = "https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
+ $script:CachedUrl = "http://ci-files01-hki.ci.qt.io/input/libclang/qt/libclang-release_$libclang_version-based-windows-$toolchain`_$archVer.7z"
Download $OfficialUrl $CachedUrl $zip
Verify-Checksum $zip $sha1
Extract-7Zip $zip C:\Utils\
Rename-Item C:\Utils\libclang $destination
- Remove-Item -Force -Path $zip
+ Remove "$zip"
}
$toolchainSuffix = ""
-if ( $toolchain -eq "vs2015" ) {
+if ( $toolchain -eq "vs2019" ) {
if ( $archVer -eq 64 ) {
- $sha1 = "a399af949271e6d3bfc578ea2c17ff1d6c6318b9"
- $destination = $baseDestination + "-64"
-
- install $sha1 $destination
+ $sha1 = "e7c2d27f0e99d63e49225cb1be18c76a1e2a124b"
+ }
+ else {
+ $sha1 = ""
}
-
- $archVer=32
- $sha1 = "aa3f68f1cfa87780a4631a98ce883d3d9cb94330"
- $destination = $baseDestination + "-32"
-
- install $sha1 $destination
$toolchainSuffix = "msvc"
}
if ( $toolchain -eq "mingw" ) {
if ( $archVer -eq 64 ) {
- $sha1 = "b382502f82d1cfa7d3cc3016d909d37edc19c22c"
- $destination = $baseDestination + "-64"
-
- install $sha1 $destination
+ $sha1 = "6c9300051533d5648ffe3e8ae1eb00decae8e6bf"
+ }
+ else {
+ $sha1 = ""
}
-
- $archVer=32
- $sha1 = "cbc68e0f93f4cb0ed7084a045b7c07a1980a2a44"
- $destination = $baseDestination + "-32"
-
- install $sha1 $destination
$toolchainSuffix = "mingw"
}
-if ( $setDefault ) {
- Set-EnvironmentVariable "LLVM_INSTALL_DIR" ($baseDestination + "-_ARCH_")
-}
-Set-EnvironmentVariable ("LLVM_INSTALL_DIR_" + $toolchainSuffix) ($baseDestination + "-_ARCH_")
+install $sha1 $baseDestination-$archVer
-if ( $libclang_version -eq "60" ) {
- # This is a hacked static build of libclang which requires special
- # handling on the qdoc side.
- Set-EnvironmentVariable "QDOC_USE_STATIC_LIBCLANG" "1"
+if ( $setDefault ) {
+ Set-EnvironmentVariable "LLVM_INSTALL_DIR" ($baseDestination + "-$archVer")
}
+Set-EnvironmentVariable ("LLVM_INSTALL_DIR_${toolchainSuffix}") ($baseDestination + "-$archVer")
diff --git a/coin/provisioning/common/windows/libusb.ps1 b/coin/provisioning/common/windows/libusb.ps1
index 68375263..d654d4bf 100644
--- a/coin/provisioning/common/windows/libusb.ps1
+++ b/coin/provisioning/common/windows/libusb.ps1
@@ -1,49 +1,20 @@
-#############################################################################
-#
# Copyright (C) 2017 The Qt Company Ltd.
-# Contact: http://www.qt.io/licensing/
-#
-# This file is part of the provisioning scripts of the Qt Toolkit.
-#
-# $QT_BEGIN_LICENSE:LGPL21$
-# Commercial License Usage
-# Licensees holding valid commercial Qt licenses may use this file in
-# accordance with the commercial license agreement provided with the
-# Software or, alternatively, in accordance with the terms contained in
-# a written agreement between you and The Qt Company. For licensing terms
-# and conditions see http://www.qt.io/terms-conditions. For further
-# information use the contact form at http://www.qt.io/contact-us.
-#
-# GNU Lesser General Public License Usage
-# Alternatively, this file may be used under the terms of the GNU Lesser
-# General Public License version 2.1 or version 3 as published by the Free
-# Software Foundation and appearing in the file LICENSE.LGPLv21 and
-# LICENSE.LGPLv3 included in the packaging of this file. Please review the
-# following information to ensure the GNU Lesser General Public License
-# requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-#
-# As a special exception, The Qt Company gives you certain additional
-# rights. These rights are described in The Qt Company LGPL Exception
-# version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-#
-# $QT_END_LICENSE$
-#
-############################################################################
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# libusb-1.0 is needed by qt-apps/qdb
. "$PSScriptRoot\helpers.ps1"
-$archive = Get-DownloadLocation "libusb-1.0.21-ife3db79196-msvc2015.7z"
+$archive = Get-DownloadLocation "libusb-1.0.26.7z"
+
$libusb_location = "C:\Utils\libusb-1.0"
-Copy-Item \\ci-files01-hki.intra.qt.io\provisioning\libusb-1.0\libusb-1.0.21-ife3db79196-msvc2015.7z $archive
-Verify-Checksum $archive "396a3224c306480f24a583850d923d06aa4377c1"
+Copy-Item \\ci-files01-hki.ci.qt.io\provisioning\libusb-1.0\libusb-1.0.26.7z $archive
+Verify-Checksum $archive "89b50c7d6085350ed809a12b19131ff4f608b2f2"
Extract-7Zip $archive $libusb_location
# Tell qt-apps/qdb build system where to find libusb
Set-EnvironmentVariable "LIBUSB_PATH" $libusb_location
-Write-Output "libusb = libusb-1.0.21" >> ~/versions.txt
+Write-Output "libusb = libusb-1.0.26" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/longpath.ps1 b/coin/provisioning/common/windows/longpath.ps1
new file mode 100644
index 00000000..31666ef4
--- /dev/null
+++ b/coin/provisioning/common/windows/longpath.ps1
@@ -0,0 +1,2 @@
+New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
+
diff --git a/coin/provisioning/common/windows/mesa_llvmpipe.ps1 b/coin/provisioning/common/windows/mesa_llvmpipe.ps1
index 17684575..cae1dab8 100644
--- a/coin/provisioning/common/windows/mesa_llvmpipe.ps1
+++ b/coin/provisioning/common/windows/mesa_llvmpipe.ps1
@@ -1,45 +1,15 @@
-#############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
$version = "11_2_2"
$package = "C:\Windows\temp\opengl32sw.7z"
-$mesaOpenglSha1_64 = "0ed35efbc8112282be5d0c87c37fde2d15e81998"
-$mesaOpenglUrl_64_cache = "http://ci-files01-hki.intra.qt.io/input/windows/opengl32sw-64-mesa_$version-signed.7z"
-$mesaOpenglUrl_64_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64-mesa_$version-signed.7z"
-$mesaOpenglSha1_32 = "96bd6ca0d7fd249fb61531dca888965ffd20f53c"
-$mesaOpenglUrl_32_cache = "http://ci-files01-hki.intra.qt.io/input/windows/opengl32sw-32-mesa_$version-signed.7z"
-$mesaOpenglUrl_32_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version-signed.7z"
+$mesaOpenglSha1_64 = "58f948746696b17a594b2f542e87b0e831b28dc3"
+$mesaOpenglUrl_64_cache = "http://ci-files01-hki.ci.qt.io/input/windows/opengl32sw-64-mesa_$version-signed_sha256.7z"
+$mesaOpenglUrl_64_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-64-mesa_$version-signed_sha256.7z"
+$mesaOpenglSha1_32 = "974f468acaa0018d46607e2100f1214fecd35bd4"
+$mesaOpenglUrl_32_cache = "http://ci-files01-hki.ci.qt.io/input/windows/opengl32sw-32-mesa_$version-signed_sha256.7z"
+$mesaOpenglUrl_32_alt = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version-signed_sha256.7z"
function Extract-Mesa
{
@@ -53,7 +23,7 @@ function Extract-Mesa
Verify-Checksum $package $sha1
Extract-7Zip $package $targetFolder
Write-Host "Removing $package"
- Remove-Item -Path $package
+ Remove "$package"
}
if (Is64BitWinHost) {
diff --git a/coin/provisioning/common/windows/mimersql.ps1 b/coin/provisioning/common/windows/mimersql.ps1
new file mode 100644
index 00000000..b5e041d0
--- /dev/null
+++ b/coin/provisioning/common/windows/mimersql.ps1
@@ -0,0 +1,31 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will install Mimer SQL
+
+
+$version = "1107b"
+
+$url_cache = "https://ci-files01-hki.ci.qt.io/input/windows/MimerSQLInstaller_x64_" + $version + ".exe"
+$url_official = "https://install.mimer.com/qt/windows_" + $version + "/MimerSQLInstaller_x64.exe"
+$mimersqlPackage = "C:\Windows\Temp\MimerSQLInstaller_x64_" + $version + ".exe"
+$sha1 = "A709A06EA1D897B13FA10DBDD4BE3BD0FEB04B28"
+$mimer_dir="c:\MimerSQL"
+
+Download $url_official $url_cache $mimersqlPackage
+Verify-Checksum $mimersqlPackage $sha1
+Run-Executable "$mimersqlPackage" "/install InstallFolder=$mimer_dir /passive"
+
+Set-EnvironmentVariable "MIMERSQL_DEV_ROOT" "$mimer_dir\dev"
+
+Write-Host "Cleaning $mimersqlPackage.."
+#Remove "$mimersqlPackage"
+Remove "$mimer_dir\dev\include\odbcinst.h"
+Remove "$mimer_dir\dev\include\Sql.h"
+Remove "$mimer_dir\dev\include\sqlext.h"
+Remove "$mimer_dir\dev\include\sqltypes.h"
+Remove "$mimer_dir\dev\include\sqlucode.h"
+
+Write-Output "Mimer SQL = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1 b/coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1
new file mode 100644
index 00000000..25a7536c
--- /dev/null
+++ b/coin/provisioning/common/windows/mount-vcpkg-cache-drive.ps1
@@ -0,0 +1,20 @@
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+$credentialsFile = "$env:USERPROFILE\vcpkg_samba_credentials"
+
+# Extract username and password from the credentials
+$username = "vcpkg"
+$securePassword = Get-Content -Path "$credentialsFile" -TotalCount 1 | ConvertTo-SecureString -AsPlainText -Force
+
+# Create a PSCredential object
+$credential = New-Object PSCredential -ArgumentList $username, $securePassword
+
+# Mount the SMB share
+# Check if the mount was successful
+if (New-PSDrive -Persist -Scope Global -Name V -PSProvider FileSystem -Root \\vcpkg-server.ci.qt.io\vcpkg -Credential $credential)
+{
+ Write-Host "SMB share mounted successfully!"
+} else {
+ Write-Host "Failed to mount SMB share."
+}
diff --git a/coin/provisioning/common/windows/mqtt_broker.ps1 b/coin/provisioning/common/windows/mqtt_broker.ps1
index 7c13cfb7..4161ddea 100644
--- a/coin/provisioning/common/windows/mqtt_broker.ps1
+++ b/coin/provisioning/common/windows/mqtt_broker.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -38,7 +8,7 @@ $zip = Get-DownloadLocation "pahotest.zip"
$commitSHA = "20bad2475c27a6e1d24a56d90a9fceb40963261e"
$sha1 = "a0ac88715c2aebb9573a113dc13925a90da19233"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/mqtt_broker/paho.mqtt.testing-$commitSHA.zip"
$externalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/$commitSHA.zip"
Download $externalUrl $internalUrl $zip
@@ -46,6 +16,6 @@ Verify-Checksum $zip $sha1
Write-Host "MQTT: Installing $zip..."
Extract-7Zip $zip C:\Utils
-Remove-Item -Path $zip
+Remove "$zip"
Set-EnvironmentVariable "MQTT_TEST_BROKER_LOCATION" "C:\Utils\paho.mqtt.testing-$commitSHA\interoperability\startbroker.py"
diff --git a/coin/provisioning/common/windows/msvc-2013-update5.ps1 b/coin/provisioning/common/windows/msvc-2013-update5.ps1
index 1d717fe6..c75ca030 100644
--- a/coin/provisioning/common/windows/msvc-2013-update5.ps1
+++ b/coin/provisioning/common/windows/msvc-2013-update5.ps1
@@ -1,42 +1,12 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# Install Visual Studio 2013 update 5
$version = "2013 Update 5 (KB2829760)"
$package = "C:\Windows\Temp\vs12-kb2829760.exe"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VS2013.5.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\VS2013.5.exe"
Write-Host "Fetching patch for Visual Studio $version..."
Copy-Item $url_cache $package
@@ -45,6 +15,6 @@ Write-Host "Installing Update 5 for Visual Studio $version..."
Run-Executable "$package" "/norestart /passive"
Write-Host "Removing $package ..."
-Remove-Item $package
+Remove "$package"
Write-Output "Visual Studio = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/msys.ps1 b/coin/provisioning/common/windows/msys.ps1
index f004bb49..a7414788 100644
--- a/coin/provisioning/common/windows/msys.ps1
+++ b/coin/provisioning/common/windows/msys.ps1
@@ -3,7 +3,7 @@
# This script will install msys which is needed for configuring openssl for Android
$version = "1.0.11"
-$url = "\\ci-files01-hki.intra.qt.io\provisioning\windows\msys-$version.7z"
+$url = "\\ci-files01-hki.ci.qt.io\provisioning\windows\msys-$version.7z"
$zip = Get-DownloadLocation ("msys-$version.7z")
$sha1 = "22cd76f1263db8c72727a9537228c481ff33c285"
@@ -11,6 +11,6 @@ $destination = "C:\msys"
Download $url $url $zip
Verify-Checksum $zip $sha1
-C:\Utils\sevenzip\7z.exe x $zip -oC:\
+Extract-7Zip $zip C:\
Set-EnvironmentVariable "MSYS_PATH" "$destination\\1.0\\bin"
Write-Output "Msys = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/mysql.ps1 b/coin/provisioning/common/windows/mysql.ps1
index 8ed91402..10a8b633 100644
--- a/coin/provisioning/common/windows/mysql.ps1
+++ b/coin/provisioning/common/windows/mysql.ps1
@@ -1,83 +1,37 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2023 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script installs MySQL $version.
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
-$version = "5.7.25"
-$baseNameX64 = "mysql-$version-winx64"
-$packagex64 = "C:\Windows\temp\$baseNameX64.zip"
-$baseNameX86 = "mysql-$version-win32"
-$packagex86 = "C:\Windows\temp\$baseNameX86.zip"
-$installFolder = "C:\Utils\my_sql"
-
-function DownloadAndInstall
-{
- Param (
- [string]$internalUrl,
- [string]$package,
- [string]$installPath
+$version = "8.0.36"
+$installFolder = "C:\Utils"
+$officialUrl = "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-${version}-winx64.zip"
+$cacheURl = "http://ci-files01-hki.ci.qt.io/input/windows/mysql-${version}-winx64.zip"
+$sha = "e5003569386006ccde9000c98e28e28073c1433d"
+$zip = Get-DownloadLocation ("mysql-" + $version + "-winx64.zip")
+
+function Install {
+ param(
+ [string]$officialUrl,
+ [string]$cacheUrl,
+ [string]$zip,
+ [string]$sha
)
- Write-Host "Fetching from URL ..."
- Copy-Item $internalUrl $package
-
- $zipDir = [io.path]::GetFileNameWithoutExtension($package)
- Extract-7Zip $package $installPath "$zipDir\lib $zipDir\bin $zipDir\share $zipDir\include"
-
- Remove-Item -Path $package
-}
-
-if (Is64BitWinHost) {
- # Install x64 bit version
- $architecture = "x64"
- $internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-winx64.zip"
-
- DownloadAndInstall $internalUrl $packagex64 $installFolder
-
- Set-EnvironmentVariable "MYSQL_INCLUDE_x64" "$installFolder\$baseNameX64\include"
- Set-EnvironmentVariable "MYSQL_LIB_x64" "$installFolder\$baseNameX64\lib"
+ Download $officialUrl $cacheURl $zip
+ Verify-Checksum $zip $sha
+ Extract-7Zip $zip $installFolder
+ Remove $zip
}
-# Install x86 bit version
-$architecture = "x86"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-win32.zip"
-DownloadAndInstall $internalUrl $packagex86 $installFolder
+Install $officialUrl $cacheURl $zip $sha
-Set-EnvironmentVariable "MYSQL_INCLUDE_x86" "$installFolder\$baseNameX86\include"
-Set-EnvironmentVariable "MYSQL_LIB_x86" "$installFolder\$baseNameX86\lib"
+# Can't set MySQL_ROOT & MySQL_LIBRARY_DIR variables. Those will enable mysql in every windows target.
+# Let's use ENV_MySQL_* and use it in platform_configs
+Set-EnvironmentVariable "ENV_MySQL_ROOT" "${installFolder}\mysql-${version}-winx64"
+Set-EnvironmentVariable "ENV_MySQL_LIBRARY_DIR" "${installFolder}\mysql-${version}-winx64\lib"
-# Store version information to ~/versions.txt, which is used to print version information to provision log.
Write-Output "MySQL = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/ninja.ps1 b/coin/provisioning/common/windows/ninja.ps1
index 95932c61..956e7835 100644
--- a/coin/provisioning/common/windows/ninja.ps1
+++ b/coin/provisioning/common/windows/ninja.ps1
@@ -1,13 +1,63 @@
. "$PSScriptRoot\helpers.ps1"
-$zip = Get-DownloadLocation "ninja-1.6.0-win-x86.zip"
-
-Download https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win.zip \\ci-files01-hki.intra.qt.io\provisioning\ninja\ninja-1.6.0-win-x86.zip $zip
-Verify-Checksum $zip "E01093F6533818425F8EFB0843CED7DCAABEA3B2"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $version = "1.12.0"
+ $longPathFixed = $true # fixed https://github.com/ninja-build/ninja/pull/2225 in 1.12.0
+ $zip = Get-DownloadLocation "ninja-$version-win-$arch.zip"
+ $internalUrl = "https://ci-files01-hki.ci.qt.io/input/ninja/v$version/ninja-win$arch.zip"
+ $externalUrl = "https://github.com/ninja-build/ninja/releases/download/v$version/ninja-win$arch.zip"
+ $sha1 = "51bf1bac149ae1e3d1572fa9fa87d6431dbddc8b"
+ Break
+ }
+ x64 {
+ $arch = "amd64"
+ $version = "1.10.2"
+ $longPathFixed = $false
+ $zip = Get-DownloadLocation "ninja-$version-win-x86.zip"
+ # TODO: Fix this QTQAINFRA-6296
+ $internalUrl = "http://master.qt.io/development_releases/prebuilt/ninja/v$version/ninja-win-x86.zip"
+ $externalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\ninja\ninja-$version-win-really-x86.zip"
+ $sha1 = "1a22ee9269df8ed69c4600d7ee4ccd8841bb99ca"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+Download $internalUrl $externalUrl $zip
+Verify-Checksum $zip $sha1
Extract-7Zip $zip C:\Utils\Ninja
-Remove-Item -Path $zip
+Remove "$zip"
Add-Path "C:\Utils\Ninja"
-Write-Output "Ninja = 1.6.0" >> ~/versions.txt
+Write-Output "Ninja ($arch) = $version" >> ~/versions.txt
+
+if ( -Not $longPathFixed ) {
+
+$manifest = @"
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
+ <application>
+ <windowsSettings>
+ <activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
+ </windowsSettings>
+ </application>
+</assembly>
+"@
+
+
+$vs2019 = [System.IO.File]::Exists("C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat")
+
+if($vs2019) {
+Invoke-MtCommand "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64 $manifest "C:\Utils\Ninja\ninja.exe"
+} else {
+Invoke-MtCommand "C:\Program Files (x86)\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64 $manifest "C:\Utils\Ninja\ninja.exe"
+}
+
+}
diff --git a/coin/provisioning/common/windows/nodejs.ps1 b/coin/provisioning/common/windows/nodejs.ps1
index c56f6db6..3dc6ffe5 100644
--- a/coin/provisioning/common/windows/nodejs.ps1
+++ b/coin/provisioning/common/windows/nodejs.ps1
@@ -1,61 +1,46 @@
-#############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Node.js
# Needed by QtWebengine
-$version = "12.18.0"
-$package = "C:\Windows\temp\nodejs-$version.zip"
-$targetFolder = "C:\Utils\nodejs"
-$arch = "$((Get-WmiObject Win32_Processor).AddressWidth)"
-$externalUrl = "https://nodejs.org/dist/v$version/node-v$version-win-x$arch.zip"
-$internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/node-v$version-win-x$arch.zip"
-
-if ( $arch -eq 64 ) {
- $sha1 = "457b1527d249ee471a9445953a906cb10c75378d"
-} else {
- $sha1 = "58801900f5bddca9c00feed6b84fed729426fc92"
-
+$version = "20.7.0"
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ $arch = "arm64"
+ $sha256 = "ab4b990c2c1d4a55d565813e7a2f71669dc4d1005faa47185d30bde4416975ab"
+ $version = "20.12.2" # TODO: ARM starts with newer, LTS
+ Break
+ }
+ x64 {
+ $arch = "x64"
+ $sha256 = "b3e5cbf8e247c75f9ddd235d49cfe40f25dde65bdd0eec4cefbca2805d80376b"
+ Break
+ }
+ x86 {
+ $arch = "x86"
+ $sha256 = "d6a3c63a5ae71374c144a33c418ab96be497b08df0e9f51861a78127db03aeb5"
+ Break
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
+$package = "C:\Windows\temp\nodejs-$version.7z"
+$targetFolder = "C:\Utils"
+$installFolder = "C:\Utils\node-v$version-win-$arch"
+$externalUrl = "https://nodejs.org/dist/v$version/node-v$version-win-$arch.7z"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/node-v$version-win-$arch.7z"
+
Write-Host "Installing Node.js"
Download $externalUrl $internalUrl $package
-Verify-Checksum $package $sha1
-mkdir $targetFolder
+Verify-Checksum $package $sha256 "sha256"
Extract-7Zip $package $targetFolder
-Add-Path $targetFolder
+Add-Path $installFolder
Remove $package
Write-Output "Node.js = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/opcua_unifiedautomation.ps1 b/coin/provisioning/common/windows/opcua_unifiedautomation.ps1
index 70fcaae0..4542b34c 100644
--- a/coin/provisioning/common/windows/opcua_unifiedautomation.ps1
+++ b/coin/provisioning/common/windows/opcua_unifiedautomation.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -44,7 +14,7 @@ function DownloadAndInstallUA
$zip = Get-DownloadLocation "uasdkcpp.zip"
Write-Host "UACPPSDK: Downloading Unified Automation CPP installer..."
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/opcua_uacpp/$InstallerFileName.zip"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/opcua_uacpp/$InstallerFileName.zip"
# No public download link exists
$externalUrl = $internalUrl
@@ -53,7 +23,7 @@ function DownloadAndInstallUA
Write-Host "UACPPSDK: Extracting $zip..."
Extract-7Zip $zip (Get-DefaultDownloadLocation)
- Remove-Item -Path $zip
+ Remove "$zip"
$executable = (Get-DefaultDownloadLocation) + "$InstallerFileName.exe"
# We cannot call the installer as the x86 and x64 versions of the installer are not
@@ -65,7 +35,7 @@ function DownloadAndInstallUA
#Remove-Item $executable
Extract-7Zip $executable $Destination
- Remove-Item $executable
+ Remove "$executable"
}
#x86 version
diff --git a/coin/provisioning/common/windows/openssl-arm64.ps1 b/coin/provisioning/common/windows/openssl-arm64.ps1
new file mode 100644
index 00000000..16627039
--- /dev/null
+++ b/coin/provisioning/common/windows/openssl-arm64.ps1
@@ -0,0 +1,63 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script installs OpenSSL ARM64 $version.
+
+##### OpenSSL ARM64 has been pre-built with following commands #####
+# Two different builds were done to the same folder C:\openssl_arm64\. One with '--debug' and one with '--release' parameter
+# From Visual studio 'C++ Universal Windows Platform support for v142 build tools (ARM64)' and 'Windows Universal C Runtime' were installed
+# cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build
+# call vcvarsamd64_arm64
+# curl -o C:\Utils\openssl-3.0.7.zip http://ci-files01-hki.ci.qt.io/input/openssl/openssl-3.0.7.zip
+# cd C:\Utils
+# C:\Utils\sevenzip\7z.exe x C:\Utils\openssl-3.0.7.zip
+# cd C:\Utils\openssl-3.0.7
+# perl Configure no-asm VC-WIN64-ARM --debug --prefix=C:\openssl_arm64\ --openssldir=C:\openssl_arm64\
+# nmake
+# nmake install
+#
+# perl Configure no-asm VC-WIN64-ARM --release --prefix=C:\openssl_arm64\ --openssldir=C:\openssl_arm64\
+# nmake
+# nmake install
+#################################################################################################################################################
+
+$version = "3_0_7"
+$url = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\openssl-$version-arm64.zip"
+$sha1 = "19be15069d981b4a96f5715f039df7aaa7456d52"
+$installFolder = "C:\openssl_arm64"
+$zip_package = "C:\Windows\Temp\$version.zip"
+
+Write-Host "Fetching from URL ..."
+Download $url $url $zip_package
+Verify-Checksum $zip_package $sha1
+Extract-7Zip $zip_package C:\
+Remove $zip_package
+
+$cpu_arch = Get-CpuArchitecture
+switch ($cpu_arch) {
+ arm64 {
+ # For native arm64
+ Set-EnvironmentVariable "OPENSSL_ROOT_DIR_arm64" "$installFolder"
+ Set-EnvironmentVariable "OPENSSL_CONF_arm64" "$installFolder\bin\openssl.cfg"
+ Set-EnvironmentVariable "OPENSSL_INCLUDE_arm64" "$installFolder\include"
+ Set-EnvironmentVariable "OPENSSL_LIB_arm64" "$installFolder\lib"
+ Break
+ }
+ x64 {
+ # For cross-compiling x64_arm64
+ Set-EnvironmentVariable "OPENSSL_ROOT_DIR_x64_arm64" "$installFolder"
+ Set-EnvironmentVariable "OPENSSL_CONF_x64_arm64" "$installFolder\bin\openssl.cfg"
+ Set-EnvironmentVariable "OPENSSL_INCLUDE_x64_arm64" "$installFolder\include"
+ Set-EnvironmentVariable "OPENSSL_LIB_x64_arm64" "$installFolder\lib"
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
+}
+
+Prepend-Path "$installFolder\bin"
+
+# Store version information to ~/versions.txt, which is used to print version information to provision log.
+Write-Output "OpenSSL ARM= $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/openssl.ps1 b/coin/provisioning/common/windows/openssl.ps1
index 08f7d60f..8f59f9d2 100644
--- a/coin/provisioning/common/windows/openssl.ps1
+++ b/coin/provisioning/common/windows/openssl.ps1
@@ -1,42 +1,12 @@
-#############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script installs OpenSSL $version.
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
-$version = "1_1_1g"
+$version = "3_0_7"
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
@@ -46,8 +16,8 @@ if (Is64BitWinHost) {
$architecture = "x64"
$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"
+ $internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
+ $sha1 = "2fb73f233bc565939312782b8157bebc26a5e17b"
Write-Host "Fetching from URL ..."
Download $externalUrl $internalUrl $packagex64
@@ -56,11 +26,12 @@ if (Is64BitWinHost) {
Run-Executable "$packagex64" "/SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
Write-Host "Remove downloaded $packagex64 ..."
- Remove-Item -Path $packagex64
+ Remove "$packagex64"
Set-EnvironmentVariable "OPENSSL_CONF_x64" "$installFolder\bin\openssl.cfg"
Set-EnvironmentVariable "OPENSSL_INCLUDE_x64" "$installFolder\include"
Set-EnvironmentVariable "OPENSSL_LIB_x64" "$installFolder\lib"
+ Prepend-Path "$installFolder\bin"
}
# Install x86 bit version
@@ -73,8 +44,8 @@ if (Is64BitWinHost) {
}
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
-$sha1 = "c7d4b096c2413d1af819ccb291214fa3c4cece07"
+$internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
+$sha1 = "ddead693fa279ad6b1baf123b3af51a9ef289dc1"
Write-Host "Fetching from URL ..."
Download $externalUrl $internalUrl $packagex86
@@ -83,7 +54,7 @@ Write-Host "Installing $packagex86 ..."
Run-Executable "$packagex86" "/SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
Write-Host "Remove downloaded $packagex86 ..."
-Remove-Item -Path $packagex86
+Remove "$packagex86"
Set-EnvironmentVariable "OPENSSL_CONF_x86" "$installFolder\bin\openssl.cfg"
Set-EnvironmentVariable "OPENSSL_INCLUDE_x86" "$installFolder\include"
diff --git a/coin/provisioning/common/windows/postgresql.ps1 b/coin/provisioning/common/windows/postgresql.ps1
index 27f9190a..3bb99d47 100644
--- a/coin/provisioning/common/windows/postgresql.ps1
+++ b/coin/provisioning/common/windows/postgresql.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2020 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -45,7 +15,7 @@ if (Is64BitWinHost) {
$architecture = "x64"
$installFolder = "C:\Utils\postgresql"
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip"
- $internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
+ $internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
$sha1 = "5dd604f91973112209362b5abbbd1220c026f645"
Write-Host "Fetching from URL ..."
@@ -55,10 +25,10 @@ if (Is64BitWinHost) {
Extract-7Zip $packagex64 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\include"
Write-Host "Remove downloaded $packagex64 ..."
- Remove-Item -Path $packagex64
+ Remove $packagex64
# Remove pthread.h file so it won't be used in mingw builds (QTBUG-79555)
- Remove-item -Path "$installFolder\pgsql\include\pthread.h"
- Remove-item -Path "$installFolder\pgsql\include\unistd.h"
+ Remove "$installFolder\pgsql\include\pthread.h"
+ Remove "$installFolder\pgsql\include\unistd.h"
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x64" "$installFolder\pgsql\include"
Set-EnvironmentVariable "POSTGRESQL_LIB_x64" "$installFolder\pgsql\lib"
@@ -67,7 +37,7 @@ if (Is64BitWinHost) {
# Install x86 bit version
$architecture = "x86"
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
+$internalUrl = "\\ci-files01-hki.ci.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
$sha1 = "46309190e60eead99c2d39c1dd18a91f2104d000"
if (Is64BitWinHost) {
$installFolder = "C:\Utils\postgresql$architecture"
@@ -83,10 +53,10 @@ Write-Host "Installing $packagex86 ..."
Extract-7Zip $packagex86 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\include"
Write-Host "Remove downloaded $packagex86 ..."
-Remove-Item -Path $packagex86
+Remove $packagex86
# Remove pthread.h file so it won't be used in mingw builds (QTBUG-79555)
-Remove-item -Path "$installFolder\pgsql\include\pthread.h"
-Remove-item -Path "$installFolder\pgsql\include\unistd.h"
+Remove "$installFolder\pgsql\include\pthread.h"
+Remove "$installFolder\pgsql\include\unistd.h"
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x86" "$installFolder\pgsql\include"
Set-EnvironmentVariable "POSTGRESQL_LIB_x86" "$installFolder\pgsql\lib"
diff --git a/coin/provisioning/common/windows/protobuf.ps1 b/coin/provisioning/common/windows/protobuf.ps1
new file mode 100644
index 00000000..c0f7b257
--- /dev/null
+++ b/coin/provisioning/common/windows/protobuf.ps1
@@ -0,0 +1,118 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# Here we build protobuf libraries for MinGW and MSVC.
+# Since it's a c++ library we need both msvc and mingw because they mangle symbols differently.
+# For MSVC it builds with both debug and release configurations because of the visual c++ runtime.
+# For MinGW we only need one, so we only build with release.
+# The function below takes care of the common part of building - invoking cmake,
+# calling ninja and installing it to a directory which we set an environment variable to.
+# Because we have two compilers we also have two env. vars. and then each
+# config in CI has the Protobuf_ROOT set to the appropriate one.
+function build-install-protobuf {
+ param(
+ [string]$CC,
+ [string]$CXX,
+ [string]$BuildType,
+ [string]$Postfix, # Used for install-path and the environment variable name
+ [string[]]$ExtraArguments = @()
+ )
+ $installPrefix = "C:\Utils\protobuf"
+ $installPath = "${installPrefix}-$Postfix"
+ Write-Output "Configuring and building protobuf for $CXX"
+ $oldCC = $env:CC
+ $oldCXX = $env:CXX
+ $env:CC = $CC
+ $env:CXX = $CXX
+ mkdir build
+ Push-Location build
+ cmake .. -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES="$BuildType" -DCMAKE_INSTALL_PREFIX="$installPath" -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_WITH_ZLIB=OFF -DCMAKE_DEBUG_POSTFIX="d" -DCMAKE_RELWITHDEBINFO_POSTFIX="rd" $ExtraArguments
+ # ninja install:all # This is broken and does not work
+ foreach ($config in $BuildType.split(";")) {
+ ninja -f "build-$config.ninja" install
+ }
+ $env:CC = $oldCC
+ $env:CXX = $oldCXX
+ Set-EnvironmentVariable "Protobuf_ROOT_$Postfix" "$installPath"
+ # Set environment variable without "Machine" scope to be used by grpc.ps1 script
+ [Environment]::SetEnvironmentVariable("Protobuf_ROOT_$Postfix", "$installPath")
+ Pop-Location
+ Remove build
+}
+
+function Find-Tool {
+ param(
+ [string]$Name,
+ [string]$Path
+ )
+ # Is tool missing from path?
+ if (!(Get-Command $Name -ErrorAction SilentlyContinue)) {
+ # Is tool in the $Path directory?
+ if (Test-Path "$Path\$Name") {
+ $env:Path += ";$Path"
+ }
+ else {
+ throw "Cannot find $Name in path or $Name in $Name, something is configured wrong"
+ }
+ }
+}
+# This script is fairly late in provisioning so both of these should be present!
+Find-Tool -Name "cmake.exe" -Path "C:\CMake\bin"
+Find-Tool -Name "ninja.exe" -Path "C:\Utils\Ninja"
+
+$version = "21.9"
+$sha1 = "3226a0e49d048759b702ae524da79387c59f05cc"
+$internalUrl = "http://ci-files01-hki.ci.qt.io/input/protobuf/protobuf-all-$version.zip"
+$externalUrl = "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
+
+$targetDir = "$env:HOMEDRIVE\$env:HOMEPATH\protobuf-$version"
+$targetFile = "$targetDir.zip"
+Download $externalUrl $internalUrl $targetFile
+Verify-Checksum $targetFile $sha1
+Extract-7Zip $targetFile (Join-Path $env:HOMEDRIVE $env:HOMEPATH)
+Remove $targetFile
+
+
+# cd into the cmake directory where the CMakeLists.txt file is located
+# then we build in a build\ subfolder there for simplicity's sake
+Push-Location $targetDir
+
+### MinGW
+
+# Check if mingw is where we expect it to be and add it to path:
+$mingwPath = [System.Environment]::GetEnvironmentVariable("MINGW_PATH", [System.EnvironmentVariableTarget]::Machine) + "\bin"
+if (!(Test-Path $mingwPath)) {
+ throw "Cannot find mingw in $mingwPath, something is configured wrong"
+}
+
+$oldPath = $env:Path
+$env:Path = "$mingwPath;$env:Path"
+build-install-protobuf -CC "gcc" -CXX "g++" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "mingw"
+$env:Path = $oldPath
+
+### LLVM MinGW
+
+$llvmMingwPath = "C:\llvm-mingw"
+if (!(Test-Path $llvmMingwPath)) {
+ throw "Cannot find llvm-mingw in $llvmMingwPath, something is configured wrong"
+}
+
+$oldPath = $env:Path
+$env:Path = "$llvmMingwPath\bin;$env:Path"
+build-install-protobuf -CC "clang" -CXX "clang++" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "llvm_mingw"
+$env:Path = $oldPath
+
+### MSVC
+
+EnterVSDevShell
+
+# We pass along an extra argument to stop protobuf linking with the static runtime
+build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release;RelWithDebInfo;Debug" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
+
+$env:Path = $oldPath
+Pop-Location
+Remove $targetDir
+
+Write-Output "Protobuf = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/python.ps1 b/coin/provisioning/common/windows/python.ps1
deleted file mode 100644
index 342358d5..00000000
--- a/coin/provisioning/common/windows/python.ps1
+++ /dev/null
@@ -1,92 +0,0 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
-
-# This script installs Python $version.
-# Python is required for building Qt 5 from source.
-param(
- [Int32]$archVer=32,
- [string]$targetDir="C:\Python27"
-)
-. "$PSScriptRoot\helpers.ps1"
-
-$version = "2.7.13"
-if ( $archVer -eq 64 ) {
- $arch = ".amd64"
- $sha1 = "d9113142bae8829365c595735e1ad1f9f5e2894c"
-} else {
- $arch = ""
- $sha1 = "7e3b54236dbdbea8fe2458db501176578a4d59c0"
-}
-$package = "C:\Windows\temp\python-$version.msi"
-$externalUrl = "https://www.python.org/ftp/python/$version/python-$version" + $arch + ".msi"
-$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\python-$version" + $arch + ".msi"
-
-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"
-
-# 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'..."
-(Get-Content $targetDir\lib\zipfile.py) | ForEach-Object { $_ -replace "allowZip64=False", "allowZip64=True" } | Set-Content $targetDir\lib\zipfile.py
-Write-Host "Remove $package..."
-Remove-Item -Path $package
-
-# When installing 32 bit python to 64 bit host, we want to keep only default python in path
-# For cross-compilation we export some helper env variable
-if (($archVer -eq 32) -And (Is64BitWinHost)) {
- Set-EnvironmentVariable "PYTHON2_32_PATH" "$targetDir"
- Set-EnvironmentVariable "PIP2_32_PATH" "$targetDir\Scripts"
-} else {
- Add-Path "$targetDir;$targetDir\Scripts"
-}
-
-
-Run-Executable "$targetDir\python.exe" "-m ensurepip"
-
-Write-Host "Upgrade pip to the latest version available."
-Run-Executable "$targetDir\python.exe" "-m pip install --upgrade pip"
-
-# Install python virtual env
-if (IsProxyEnabled) {
- $proxy = Get-Proxy
- Write-Host "Using proxy ($proxy) with pip"
- $pip_args = "--proxy=$proxy"
-}
-Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install virtualenv"
-
-# Install PyPDF2 for QSR documentation
-Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install PyPDF2"
-
-Write-Output "Python-$archVer = $version" >> ~/versions.txt
diff --git a/coin/provisioning/common/windows/python3.ps1 b/coin/provisioning/common/windows/python3.ps1
index 8fbd615c..46f75d7c 100644
--- a/coin/provisioning/common/windows/python3.ps1
+++ b/coin/provisioning/common/windows/python3.ps1
@@ -1,58 +1,41 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## 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$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Python $version.
# Python3 is required for building some qt modules.
param(
- [Int32]$archVer=32,
- [string]$install_path = "C:\Python36"
+ [Int32]$archVer,
+ [string]$sha1,
+ [string]$install_path,
+ [string]$version,
+ [bool]$setDefault=$false
)
. "$PSScriptRoot\helpers.ps1"
-$version = "3.6.1"
$package = "C:\Windows\temp\python-$version.exe"
# check bit version
-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"
-} 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"
+$cpu_arch = Get-CpuArchitecture
+Write-Host "Installing $cpu_arch Python"
+switch ($cpu_arch) {
+ arm64 {
+ $externalUrl = "https://www.python.org/ftp/python/$version/python-$version-arm64.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/python-$version-arm64.exe"
+ Break
+ }
+ x64 {
+ if ($archVer -eq "64") {
+ $externalUrl = "https://www.python.org/ftp/python/$version/python-$version-amd64.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/python-$version-amd64.exe"
+ } else {
+ $externalUrl = "https://www.python.org/ftp/python/$version/python-$version.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/python-$version.exe"
+ }
+ }
+ default {
+ throw "Unknown architecture $cpu_arch"
+ }
}
Write-Host "Fetching from URL..."
@@ -60,16 +43,23 @@ Download $externalUrl $internalUrl $package
Verify-Checksum $package $sha1
Write-Host "Installing $package..."
Run-Executable "$package" "/q TargetDir=$install_path"
-Write-Host "Remove $package..."
-Remove-Item -Path $package
+Remove "$package"
# For cross-compilation we export some helper env variable
if (($archVer -eq 32) -And (Is64BitWinHost)) {
- Set-EnvironmentVariable "PYTHON3_32_PATH" "$install_path"
- Set-EnvironmentVariable "PIP3_32_PATH" "$install_path\Scripts"
+ if ($setDefault) {
+ Set-EnvironmentVariable "PYTHON3_32_PATH" "$install_path"
+ Set-EnvironmentVariable "PIP3_32_PATH" "$install_path\Scripts"
+ }
+ Set-EnvironmentVariable "PYTHON$version-32_PATH" "$install_path"
+ Set-EnvironmentVariable "PIP$version-32_PATH" "$install_path\Scripts"
} else {
- Set-EnvironmentVariable "PYTHON3_PATH" "$install_path"
- Set-EnvironmentVariable "PIP3_PATH" "$install_path\Scripts"
+ if ($setDefault) {
+ Set-EnvironmentVariable "PYTHON3_PATH" "$install_path"
+ Set-EnvironmentVariable "PIP3_PATH" "$install_path\Scripts"
+ }
+ Set-EnvironmentVariable "PYTHON$version-64_PATH" "$install_path"
+ Set-EnvironmentVariable "PIP$version-64_PATH" "$install_path\Scripts"
}
@@ -83,12 +73,10 @@ if (IsProxyEnabled) {
Write-Host "Upgrade pip3 to the latest version available."
Run-Executable "$install_path\python.exe" "-m pip install --upgrade pip"
-Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel"
-
-# Install all needed packages in a special wheel cache directory
-$python3_wheel_dir="$install_path\python3-wheels"
-Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args wheel --wheel-dir $python3_wheel_dir -r $PSScriptRoot\..\shared\requirements.txt"
-Set-EnvironmentVariable "PYTHON3_WHEEL_CACHE" "$python3_wheel_dir"
+Write-Host "Configure pip"
+Run-Executable "$install_path\python.exe" "-m pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache"
+Run-Executable "$install_path\python.exe" "-m pip config --user set global.extra-index-url https://pypi.org/simple/"
+Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel html5lib"
# Install PyPDF2 for QSR documentation
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install PyPDF2"
diff --git a/coin/provisioning/common/windows/qnx710.ps1 b/coin/provisioning/common/windows/qnx710.ps1
new file mode 100644
index 00000000..c720619c
--- /dev/null
+++ b/coin/provisioning/common/windows/qnx710.ps1
@@ -0,0 +1,56 @@
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script installs QNX 7.
+
+. "$PSScriptRoot\helpers.ps1"
+
+$tempFolder = "c:\Windows\Temp"
+
+function DownloadAndExtract($1, $2, $3, $4, $5) {
+ $url = $1
+ $sha = $2
+ $file = $3
+ $folder = $4
+ $cachedUrl = $5
+
+ Download $url $cachedUrl "$tempFolder\$file"
+ Verify-Checksum "$tempFolder\$file" "$sha"
+ Extract-tar_gz "$tempFolder\$file" $folder
+}
+
+$aarch64le_toolchain = "$PSScriptRoot\..\shared\cmake_toolchain_files\qnx-toolchain-aarch64le.cmake"
+$armv7le_toolchain = "$PSScriptRoot\..\shared\cmake_toolchain_files\qnx-toolchain-armv7le.cmake"
+$x8664_toolchain = "$PSScriptRoot\..\shared\cmake_toolchain_files\qnx-toolchain-x8664.cmake"
+
+$targetFolder = "C:\Utils\"
+$folderName = "qnx710"
+$targetPath = "$targetFolder$folderName"
+
+# QNX SDP
+$cachedUrl = "\\ci-files01-hki.ci.qt.io\provisioning\qnx\qnx710-windows-linux-20240417.tar.xz"
+$sourceFile = "http://ci-files01-hki.ci.qt.io/input/qnx/qnx710-windows-linux-20240417.tar.xz"
+$targetFile = "qnx710.tar.xz"
+$sha1 = "cd2d35004fb2798089e29d9e1226691426632da0"
+DownloadAndExtract $sourceFile $sha1 $targetFile $targetFolder $cachedUrl
+
+Copy-Item $aarch64le_toolchain $targetPath
+Copy-Item $armv7le_toolchain $targetPath
+Copy-Item $x8664_toolchain $targetPath
+
+cmd /c "dir $targetPath"
+
+# Verify that we have last files in tars
+if (-not (test-path $targetPath\qnxsdp-env.bat)) {
+ throw "QNX SDP installation failed!"
+}
+if (-not (test-path $targetPath\qnx-toolchain-x8664.cmake)) {
+ throw "QNX toolchain installation failed!"
+}
+
+# Set env variables
+Set-EnvironmentVariable "QNX_710" "$targetPath"
+Set-EnvironmentVariable "QNX_710_CMAKE" "C:/Utils/$folderName"
+
+Write-Output "QNX SDP = 7.1.0" >> ~\versions.txt
+
diff --git a/coin/provisioning/common/windows/set-network-test-server.ps1 b/coin/provisioning/common/windows/set-network-test-server.ps1
index e6e92d48..938ef99a 100644
--- a/coin/provisioning/common/windows/set-network-test-server.ps1
+++ b/coin/provisioning/common/windows/set-network-test-server.ps1
@@ -1,35 +1,5 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
diff --git a/coin/provisioning/common/windows/set-proxy.ps1 b/coin/provisioning/common/windows/set-proxy.ps1
index 08d6a204..f2a89e43 100644
--- a/coin/provisioning/common/windows/set-proxy.ps1
+++ b/coin/provisioning/common/windows/set-proxy.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
$n = Get-Content "$PSScriptRoot\..\shared\http_proxy.txt"
$n = $n.Split('=')
diff --git a/coin/provisioning/common/windows/share-test-folders.ps1 b/coin/provisioning/common/windows/share-test-folders.ps1
new file mode 100644
index 00000000..36b02e82
--- /dev/null
+++ b/coin/provisioning/common/windows/share-test-folders.ps1
@@ -0,0 +1,40 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+# This script creates and shares folders so that we can run I/O tests with
+# UNC paths, without depending on an SBM server
+
+$readonly='testshare'
+$writable='testsharewritable'
+$readonlypath="${env:SystemDrive}\${readonly}"
+$writablepath="${env:SystemDrive}\${writable}"
+
+Write-Host "******************** Creating folders ${readonlpath} and ${writablepath}"
+
+if ($(Test-Path -Path $readonlypath)) {
+ Remove-SmbShare -Name $readonly -Force
+ Remove-Item -Path $readonlypath -Force -Recurse
+}
+if ($(Test-Path -Path $writablepath)) {
+ Remove-SmbShare -Name $writable -Force
+ Remove-Item -Path $writablepath -Force -Recurse
+}
+
+New-Item ${readonlypath} -ItemType Directory
+New-Item "${readonlypath}\tmp" -ItemType Directory
+New-SmbShare -Name ${readonly} -Path ${readonlypath} -ReadAccess Users
+# As expected by tst_networkselftest, exactly 34 bytes
+"This is 34 bytes. Do not change..." `
+ | Out-File -Encoding ascii -FilePath "${readonlypath}\test.pri" -NoNewline
+New-Item "${readonlypath}\readme.txt" -ItemType File
+
+New-Item ${writablepath} -ItemType Directory
+New-SmbShare -Name ${writable} -Path ${writablepath} -ChangeAccess Users
+
+Write-Host "******************** File system content"
+dir ${env:SystemDrive}
+cd "\\${env:COMPUTERNAME}\${readonly}"
+dir
+cd "\\${env:COMPUTERNAME}\${writable}"
+dir
+Write-Host "******************** Done Content"
diff --git a/coin/provisioning/common/windows/squish-coco.ps1 b/coin/provisioning/common/windows/squish-coco.ps1
index cef4dadf..160bc654 100644
--- a/coin/provisioning/common/windows/squish-coco.ps1
+++ b/coin/provisioning/common/windows/squish-coco.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-#
# Copyright (C) 2018 The Qt Company Ltd.
-# Contact: http://www.qt.io/licensing/
-#
-# This file is part of the provisioning scripts of the Qt Toolkit.
-#
-# $QT_BEGIN_LICENSE:LGPL21$
-# Commercial License Usage
-# Licensees holding valid commercial Qt licenses may use this file in
-# accordance with the commercial license agreement provided with the
-# Software or, alternatively, in accordance with the terms contained in
-# a written agreement between you and The Qt Company. For licensing terms
-# and conditions see http://www.qt.io/terms-conditions. For further
-# information use the contact form at http://www.qt.io/contact-us.
-#
-# GNU Lesser General Public License Usage
-# Alternatively, this file may be used under the terms of the GNU Lesser
-# General Public License version 2.1 or version 3 as published by the Free
-# Software Foundation and appearing in the file LICENSE.LGPLv21 and
-# LICENSE.LGPLv3 included in the packaging of this file. Please review the
-# following information to ensure the GNU Lesser General Public License
-# requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-#
-# As a special exception, The Qt Company gives you certain additional
-# rights. These rights are described in The Qt Company LGPL Exception
-# version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-#
-# $QT_END_LICENSE$
-#
-############################################################################
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
# This script installs Squish Coco for RTA
@@ -37,7 +7,7 @@
$coco_version="4.2.2"
-$url="http://ci-files01-hki.intra.qt.io/input/coco/SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
+$url="http://ci-files01-hki.ci.qt.io/input/coco/SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
$sha1="d6f9f3c20df086ec9a7e13a068f4446442ae5d51"
$installer="C:\Windows\Temp\SquishCocoSetup_" + $coco_version + "_Windows_x64.exe"
@@ -45,4 +15,4 @@ Download $url $url $installer
Verify-Checksum $installer $sha1
Run-Executable $installer "/S"
Run-Executable "C:\Program Files\squishcoco\cocolic.exe" "--license-server=Qt-SRV-33.intra.qt.io:49344"
-Remove-Item -Force -Path $installer
+Remove "$installer"
diff --git a/coin/provisioning/common/windows/squishInstall.ps1 b/coin/provisioning/common/windows/squishInstall.ps1
index 8396743e..ec4d240a 100644
--- a/coin/provisioning/common/windows/squishInstall.ps1
+++ b/coin/provisioning/common/windows/squishInstall.ps1
@@ -1,80 +1,52 @@
-#############################################################################
-##
-## 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$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will pre-installed squish package for Windows.
# Squish is need by Release Test Automation (RTA)
-$version = "6.5.2"
-$qtBranch = "514x"
+$version = "7.2.1"
+$qtBranch = "66x"
$targetDir = "C:\Utils\squish"
$squishPackage = "C:\Utils\rta_squish"
-$squishUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\jenkins_build"
-$licenseUrl = "\\ci-files01-hki.intra.qt.io\provisioning\squish\coin"
+$squishUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\jenkins_build\stable"
+$licenseBranch="squish_license"
+$licenseUrl = "\\ci-files01-hki.ci.qt.io\provisioning\squish\coin\$licenseBranch"
+$testSuiteUrl="\\ci-files01-hki.ci.qt.io\provisioning\squish\coin\suite_test_squish"
# Squish license
-$licensePackage = ".squish-3-license"
+$licensePackage = ".squish-license"
Write-Host "Installing Squish license to home directory"
Copy-Item $licenseUrl\$licensePackage ~\$licensePackage
if (Is64BitWinHost) {
- $arch = "x64"
+ $arch = "x64"
} else {
$arch = "x86"
}
$OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName
-if ($OSVersion -eq "Windows 10 Enterprise") {
+if (($OSVersion -eq "Windows 10 Enterprise") -or ($OSVersion -eq "Windows 10 Pro")) {
+ # In Windows 11 case $OSVersion is 'Windows 10 Pro'
$winVersion = "win10"
if (Is64BitWinHost) {
- $sha1 = "9262d3b749483094024c74986f93e9340afbdb62"
- } else {
- $sha1 = "0763b344afa327e6c374971492021c5e923be892"
+ $sha1 = "eed4ed4936fbbacb11e0d8a00ff190e1ea808eeb"
}
-} elseif ($OSVersion -eq "Windows 7 Enterprise") {
- $winVersion = "win7"
- $sha1 = "01b3529459da948cfde319d60becc666da0e1c4d"
+} else {
+ $winVersion = "n/a"
}
$squishArchive = "prebuild-squish-$version-$qtBranch-$winVersion-$arch.zip"
-Copy-Item "\\ci-files01-hki.intra.qt.io\provisioning\squish\jenkins_build\stable\$squishArchive" "C:\Utils"
+Copy-Item "$squishUrl\$squishArchive" "C:\Utils"
+Copy-Item -Recurse "$testSuiteUrl" "C:\Utils"
Verify-Checksum "C:\Utils\$squishArchive" $sha1
Extract-7Zip "C:\Utils\$squishArchive" "C:\Utils"
-Rename-Item "$squishPackage" "$targetDir"
+
+Remove-Item "C:\Utils\prebuild*"
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) } }
+get-childitem "$targetDir" -Filter squishrunner.exe -Recurse | % { if (cmd /c $_.FullName --testsuite "C:\Utils\suite_test_squish" |Select-String -Pattern "Squish test run successfully") { Write-Host "Squish tested successfully"} else { [Environment]::Exit(1) } }
diff --git a/coin/provisioning/common/windows/telegraf_password.ps1 b/coin/provisioning/common/windows/telegraf_password.ps1
index 773ec866..36a4f523 100644
--- a/coin/provisioning/common/windows/telegraf_password.ps1
+++ b/coin/provisioning/common/windows/telegraf_password.ps1
@@ -1,35 +1,7 @@
-#############################################################################
-##
-## Copyright (C) 2019 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2019 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
$auth_file = "C:\Users\qt\work\influxdb\coin_vms_writer.auth"
@@ -37,7 +9,7 @@ $auth_file = "C:\Users\qt\work\influxdb\coin_vms_writer.auth"
if (Test-Path $auth_file) {
$auth_content = Get-Content $auth_file
$influxdb_password = $auth_content.Substring($auth_content.LastIndexOf(':') + 1)
- Remove-Item $auth_file
+ Remove "$auth_file"
} else {
$influxdb_password = "no_password_provided"
}
diff --git a/coin/provisioning/common/windows/unset-proxy.ps1 b/coin/provisioning/common/windows/unset-proxy.ps1
index 0b7d761f..fa9e74d1 100644
--- a/coin/provisioning/common/windows/unset-proxy.ps1
+++ b/coin/provisioning/common/windows/unset-proxy.ps1
@@ -1,35 +1,5 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
Write-Host "Disabling proxy"
# A bit-mask is needed to disable "Automatically detect settings" from LAN
diff --git a/coin/provisioning/common/windows/update-msvc2019.ps1 b/coin/provisioning/common/windows/update-msvc2019.ps1
new file mode 100644
index 00000000..30f96594
--- /dev/null
+++ b/coin/provisioning/common/windows/update-msvc2019.ps1
@@ -0,0 +1,102 @@
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\helpers.ps1"
+
+# This script will update MSVC 2019.
+# NOTE! Visual Studio is pre-installed to tier 1 image so this script won't install the whole Visual Studio. See ../../../pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt
+# MSVC 2019 online installers can be found from here https://docs.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release
+
+# NOTE! Currenlty Buildtools are not updated. There seems to be an issue with installer. When it's run twice it get stuck and can't be run again.
+
+$version = "16.11.10"
+$urlCache_vsInstaller = "\\ci-files01-hki.ci.qt.io\provisioning\windows\msvc\vs2019_Professional_$version.exe"
+$urlOfficial_vsInstaller = "https://download.visualstudio.microsoft.com/download/pr/791f3d28-7e20-45d9-9373-5dcfbdd1f6db/cd440cf67c0cf1519131d1d51a396e44c5b4f7b68b541c9f35c05a310d692f0a/vs_Professional.exe"
+$sha1_vsInstaller = "d4f3b3b7dc28dcc3f25474cd1ca1e39fca7dcf3f"
+$urlCache_buildToolsInstaller = "\\ci-files01-hki.ci.qt.io\provisioning\windows\msvc\vs2019_BuildTools_$version.exe"
+# $urlOfficial_buildToolsInstaller = "https://download.visualstudio.microsoft.com/download/pr/791f3d28-7e20-45d9-9373-5dcfbdd1f6db/d5eabc3f4472d5ab18662648c8b6a08ea0553699819b88f89d84ec42d12f6ad7/vs_BuildTools.exe"
+# $sha1_buildToolsInstaller = "69889f45d229de8e0e76b6d9e05964477eee2e78"
+$installerPath = "C:\Windows\Temp\installer.exe"
+
+function Install {
+
+ Param (
+ [string] $urlOfficial = $(BadParam("Official url path")),
+ [string] $urlCache = $(BadParam("Cached url path")),
+ [string] $sha1 = $(BadParam("SHA1 checksum of the file"))
+
+ )
+
+ Write-Host "Installing msvc 2019 $version"
+ Download $urlOfficial $urlCache $installerPath
+ Verify-Checksum $installerPath $sha1
+ # We have to update the installer bootstrapper before calling the actual installer.
+ # Otherwise installation might fail silently
+ Run-Executable "$installerPath" "--quiet --update"
+ Run-Executable "$installerPath" "update --passive --wait"
+ Remove-Item -Force -Path $installerPath
+}
+
+function Get-Vswhere-Property {
+ Param (
+ [ValidateSet(2017, 2019, 2022)]
+ [int] $vsYear = $(BadParam("Visual Studio Year")),
+
+ [ValidatePattern("Professional|Build *Tools|Community|Enterprise")]
+ [string] $vsEdition = $(BadParam("Visual Studio Edition")),
+
+ [string] $property = $(BadParam("vswhere property"))
+ )
+
+ $range = switch ($vsYear)
+ {
+ 2017 { "[15.0,16`)" }
+ 2019 { "[16.0,17`)" }
+ 2022 { "[17.0,18`)" }
+ }
+
+ $vsEdition = $vsEdition -replace " ",""
+
+ $vswhereInfo = New-Object System.Diagnostics.ProcessStartInfo
+ $vswhereInfo.FileName = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
+ $vswhereInfo.RedirectStandardError = $true
+ $vswhereInfo.RedirectStandardOutput = $true
+ $vswhereInfo.UseShellExecute = $false
+ $vswhereInfo.Arguments = "-version $range", "-latest", `
+ "-products Microsoft.VisualStudio.Product.$vsEdition", "-property $property"
+ $vswhereProcess = New-Object System.Diagnostics.Process
+ $vswhereProcess.StartInfo = $vswhereInfo
+ $vswhereProcess.Start() | Out-Null
+ $vswhereProcess.WaitForExit()
+ $stdout = $vswhereProcess.StandardOutput.ReadToEnd()
+ if ([string]::IsNullOrEmpty($stdout))
+ {
+ throw "VS edition or property $property not found by vswhere"
+ }
+ $stderr = $vswhereProcess.StandardError.ReadToEnd()
+ $vsExit = $vswhereProcess.ExitCode
+ if ($vsExit -ne 0)
+ {
+ throw "vswhere failed with exit code $vsExit. stderr: $stderr"
+ }
+ return $stdout
+}
+
+Install $urlOfficial_vsInstaller $urlCache_vsInstaller $sha1_vsInstaller
+# Install $urlOfficial_buildToolsInstaller $urlCache_buildToolsInstaller $sha1_buildToolsInstaller
+
+$msvc2019Version = Get-Vswhere-Property 2019 "Professional" catalog_productDisplayVersion
+$msvc2019Complete = Get-Vswhere-Property 2019 "Professional" isComplete
+$msvc2019Launchable = Get-Vswhere-Property 2019 "Professional" isLaunchable
+
+if($msvc2019Version -ne $version -or [int]$msvc2019Complete -ne 1 `
+ -or [int]$msvc2019Launchable -ne 1) {
+ throw "MSVC 2019 update failed. msvc2019Version: $($msvc2019Version) `
+ msvc2019Complete: $($msvc2019Complete) msvc2019Launchable: $($msvc2019Launchable)"
+}
+
+Write-Output "Visual Studio 2019 = $msvc2019Version" >> ~\versions.txt
+Write-Output "Visual Studio 2019 Build Tools = $version" >> ~\versions.txt
+
+# Add Windows SDK Version and VCTools Version to versions.txt
+cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64 & set' |Select-String -Pattern '(WindowsSDKVersion)|(VCToolsVersion)' >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/vc_redist.ps1 b/coin/provisioning/common/windows/vc_redist.ps1
index 1cd81a37..69eab4d2 100644
--- a/coin/provisioning/common/windows/vc_redist.ps1
+++ b/coin/provisioning/common/windows/vc_redist.ps1
@@ -1,36 +1,6 @@
-#############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Copyright (C) 2017 Pelagicore AG
-## 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$
-##
-#############################################################################
+# Copyright (C) 2017 The Qt Company Ltd.
+# Copyright (C) 2017 Pelagicore AG
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
@@ -41,12 +11,12 @@ if (Is64BitWinHost) {
Write-Host "Running in 64 bit system"
$arch = "x64"
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe"
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/vc_redist.x64.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/vc_redist.x64.exe"
$sha1 = "3155cb0f146b927fcc30647c1a904cd162548c8c"
} else {
$arch = "x86"
$externalUrl = "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe"
- $internalUrl = "http://ci-files01-hki.intra.qt.io/input/windows/vc_redist.x86.exe"
+ $internalUrl = "http://ci-files01-hki.ci.qt.io/input/windows/vc_redist.x86.exe"
$sha1 = "bfb74e498c44d3a103ca3aa2831763fb417134d1"
}
diff --git a/coin/provisioning/common/windows/vcpkg/vcpkg.json b/coin/provisioning/common/windows/vcpkg/vcpkg.json
new file mode 100644
index 00000000..70cb16fb
--- /dev/null
+++ b/coin/provisioning/common/windows/vcpkg/vcpkg.json
@@ -0,0 +1,12 @@
+{
+ "overrides": [
+ {
+ "name": "openssl",
+ "version": "3.0.7",
+ "port-version": 2
+ }
+ ],
+ "dependencies": [
+ "openssl"
+ ]
+}
diff --git a/coin/provisioning/common/windows/vulkansdk.ps1 b/coin/provisioning/common/windows/vulkansdk.ps1
index 90d214cb..aeeff696 100644
--- a/coin/provisioning/common/windows/vulkansdk.ps1
+++ b/coin/provisioning/common/windows/vulkansdk.ps1
@@ -1,48 +1,20 @@
-############################################################################
-##
-## Copyright (C) 2017 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Vulkan SDK
+# Original Download page: https://vulkan.lunarg.com/sdk/home#windows
-$version = "1.0.51.0"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VulkanSDK-" +$version+ "-Installer.exe"
+$version = "1.2.182.0"
$vulkanPackage = "C:\Windows\Temp\vulkan-installer-$version.exe"
+$sha1 = "1b662f338bfbfdd00fb9b0c09113eacb94f68a0e"
+Download "https://sdk.lunarg.com/sdk/download/1.2.182.0/windows/VulkanSDK-$version-Installer.exe" "\\ci-files01-hki.ci.qt.io\provisioning\windows\VulkanSDK-$version-Installer.exe" $vulkanPackage
+Verify-Checksum "$vulkanPackage" "$sha1"
-Copy-Item $url_cache $vulkanPackage
Run-Executable $vulkanPackage "/S"
Write-Host "Cleaning $vulkanPackage.."
-Remove-Item -Recurse -Force -Path "$vulkanPackage"
+Remove "$vulkanPackage"
Write-Output "Vulkan SDK = $version" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/win10sdk.ps1 b/coin/provisioning/common/windows/win10sdk.ps1
index 3d5b84ef..f5c87846 100644
--- a/coin/provisioning/common/windows/win10sdk.ps1
+++ b/coin/provisioning/common/windows/win10sdk.ps1
@@ -1,41 +1,11 @@
-############################################################################
-##
-## Copyright (C) 2018 The Qt Company Ltd.
-## Contact: http://www.qt.io/licensing/
-##
-## This file is part of the provisioning scripts of the Qt Toolkit.
-##
-## $QT_BEGIN_LICENSE:LGPL21$
-## Commercial License Usage
-## Licensees holding valid commercial Qt licenses may use this file in
-## accordance with the commercial license agreement provided with the
-## Software or, alternatively, in accordance with the terms contained in
-## a written agreement between you and The Qt Company. For licensing terms
-## and conditions see http://www.qt.io/terms-conditions. For further
-## information use the contact form at http://www.qt.io/contact-us.
-##
-## GNU Lesser General Public License Usage
-## Alternatively, this file may be used under the terms of the GNU Lesser
-## General Public License version 2.1 or version 3 as published by the Free
-## Software Foundation and appearing in the file LICENSE.LGPLv21 and
-## LICENSE.LGPLv3 included in the packaging of this file. Please review the
-## following information to ensure the GNU Lesser General Public License
-## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-##
-## As a special exception, The Qt Company gives you certain additional
-## rights. These rights are described in The Qt Company LGPL Exception
-## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-##
-## $QT_END_LICENSE$
-##
-#############################################################################
+# Copyright (C) 2018 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"
# This script will install Windows 10 SDK
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winsdksetup.exe"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\winsdksetup.exe"
$url_official = "https://download.microsoft.com/download/8/C/3/8C37C5CE-C6B9-4CC8-8B5F-149A9C976035/windowssdk/winsdksetup.exe"
$package = "C:\Windows\Temp\winsdksetup.exe"
$sha1 = "db237323f1779fb143e7cdc558e4345e7004489e"
@@ -45,6 +15,6 @@ Verify-Checksum $package $sha1
Run-Executable $package "/features + /q"
Write-Host "Cleaning $package.."
-Remove-Item -Recurse -Force -Path "$package"
+Remove "$package"
Write-Output "Windows 10 SDK = 10.0.16229.91" >> ~\versions.txt
diff --git a/coin/provisioning/common/windows/winrtrunner.ps1 b/coin/provisioning/common/windows/winrtrunner.ps1
index 5d91dc66..bb29e1a6 100644
--- a/coin/provisioning/common/windows/winrtrunner.ps1
+++ b/coin/provisioning/common/windows/winrtrunner.ps1
@@ -2,11 +2,11 @@
$zip = Get-DownloadLocation "winrtrunner.zip"
$url = "http://download.qt.io/development_releases/prebuilt/winrtrunner/winrtrunner_2018-07-06.zip"
-$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\winrtrunner\winrtrunner_2018-07-06.zip"
+$url_cache = "\\ci-files01-hki.ci.qt.io\provisioning\windows\winrtrunner\winrtrunner_2018-07-06.zip"
Download $url $url_cache $zip
Verify-Checksum $zip "93548e8c3fb8fded2474996ef5e0163f489ce8cf"
Extract-7Zip $zip C:\Utils\winrtrunner
-Remove-Item -Path $zip
+Remove "$zip"
Set-EnvironmentVariable "CI_WINRTRUNNER_PATH" "C:\Utils\winrtrunner"