mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Upgrade Vulkand SDK to the latest version
Update Vulkand version to 1.2.182
Include fetching from official location if cache is not available and
checking the shasum
Task-number: QTQAINFRA-4532
Change-Id: I3c43b08170a1756f1ca896bd606af1a2f349d93c
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 3de398e6eb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
b749b2689a
commit
deaf7dddca
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -34,12 +34,14 @@
|
||||
. "$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.intra.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.."
|
||||
|
||||
Reference in New Issue
Block a user