CI/Windows: Update container deps
Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33294>
This commit is contained in:
@@ -57,7 +57,7 @@ if (!$buildstatus) {
|
||||
|
||||
Get-Date
|
||||
Write-Host "Cloning LLVM release/15.x"
|
||||
git clone -b release/15.x --depth=1 https://github.com/llvm/llvm-project deps/llvm-project
|
||||
git clone -b llvmorg-19.1.6 --depth=1 https://github.com/llvm/llvm-project deps/llvm-project
|
||||
if (!$?) {
|
||||
Write-Host "Failed to clone LLVM repository"
|
||||
Exit 1
|
||||
@@ -65,7 +65,7 @@ if (!$?) {
|
||||
|
||||
Get-Date
|
||||
Write-Host "Cloning SPIRV-LLVM-Translator"
|
||||
git clone -b llvm_release_150 https://github.com/KhronosGroup/SPIRV-LLVM-Translator deps/llvm-project/llvm/projects/SPIRV-LLVM-Translator
|
||||
git clone -b v19.1.3 https://github.com/KhronosGroup/SPIRV-LLVM-Translator deps/llvm-project/llvm/projects/SPIRV-LLVM-Translator
|
||||
if (!$?) {
|
||||
Write-Host "Failed to clone SPIRV-LLVM-Translator repository"
|
||||
Exit 1
|
||||
@@ -79,7 +79,7 @@ Write-Host "Compiling LLVM and Clang"
|
||||
cmake ../llvm `
|
||||
-GNinja `
|
||||
-DCMAKE_BUILD_TYPE=Release `
|
||||
-DLLVM_USE_CRT_RELEASE=MT `
|
||||
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded `
|
||||
-DCMAKE_PREFIX_PATH="$depsInstallPath" `
|
||||
-DCMAKE_INSTALL_PREFIX="$depsInstallPath" `
|
||||
-DLLVM_ENABLE_PROJECTS="clang" `
|
||||
|
||||
@@ -63,6 +63,8 @@ Update-SessionEnvironment
|
||||
|
||||
Start-Process -NoNewWindow -Wait git -ArgumentList 'config --global core.autocrlf false'
|
||||
|
||||
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
|
||||
|
||||
Write-Host "Upgrading pip at:"
|
||||
Get-Date
|
||||
python -m pip install --upgrade pip --progress-bar off
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Touch this file needs update both WINDOWS_X64_BUILD_TAG WINDOWS_X64_TEST_TAG
|
||||
# This file needs run in administrator mode
|
||||
|
||||
$env:VULKAN_SDK_VERSION="1.3.280.0"
|
||||
$env:VULKAN_SDK_VERSION="1.4.304.0"
|
||||
|
||||
$ProgressPreference = "SilentlyContinue"
|
||||
|
||||
@@ -22,18 +22,5 @@ if (!$?) {
|
||||
}
|
||||
Remove-Item "${env:TMP}\vulkan_sdk.exe" -Force
|
||||
|
||||
$VULKAN_RUNTIME_URL="https://sdk.lunarg.com/sdk/download/$env:VULKAN_SDK_VERSION/windows/VulkanRT-$env:VULKAN_SDK_VERSION-Installer.exe"
|
||||
Write-Host "Downloading Vulkan-Runtime $VULKAN_RUNTIME_URL at:"
|
||||
Get-Date
|
||||
Invoke-WebRequest -Uri "$VULKAN_RUNTIME_URL" -OutFile "${env:TMP}\vulkan-runtime.exe" | Out-Null
|
||||
Write-Host "Installing Vulkan-Runtime at:"
|
||||
Get-Date
|
||||
Start-Process -NoNewWindow -Wait "${env:TMP}\vulkan-runtime.exe" -ArgumentList '/S'
|
||||
if (!$?) {
|
||||
Write-Host "Failed to install Vulkan-Runtime"
|
||||
Exit 1
|
||||
}
|
||||
Remove-Item "${env:TMP}\vulkan-runtime.exe" -Force
|
||||
|
||||
Write-Host "Installing Vulkan-Runtime finished at:"
|
||||
Get-Date
|
||||
|
||||
Reference in New Issue
Block a user