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:
@@ -46,10 +46,10 @@ variables:
|
|||||||
FLUSTER_VECTORS_VERSION: "5"
|
FLUSTER_VECTORS_VERSION: "5"
|
||||||
|
|
||||||
WINDOWS_X64_MSVC_PATH: "windows/x86_64_msvc"
|
WINDOWS_X64_MSVC_PATH: "windows/x86_64_msvc"
|
||||||
WINDOWS_X64_MSVC_TAG: "20240827-v143"
|
WINDOWS_X64_MSVC_TAG: "20250129-llvm19"
|
||||||
|
|
||||||
WINDOWS_X64_BUILD_PATH: "windows/x86_64_build"
|
WINDOWS_X64_BUILD_PATH: "windows/x86_64_build"
|
||||||
WINDOWS_X64_BUILD_TAG: "20250130-vulkan-sdk"
|
WINDOWS_X64_BUILD_TAG: "20250129-llvm19"
|
||||||
|
|
||||||
WINDOWS_X64_TEST_PATH: "windows/x86_64_test"
|
WINDOWS_X64_TEST_PATH: "windows/x86_64_test"
|
||||||
WINDOWS_X64_TEST_TAG: "20250130-vulkan-sdk"
|
WINDOWS_X64_TEST_TAG: "20250129-llvm19"
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ if (!$buildstatus) {
|
|||||||
|
|
||||||
Get-Date
|
Get-Date
|
||||||
Write-Host "Cloning LLVM release/15.x"
|
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 (!$?) {
|
if (!$?) {
|
||||||
Write-Host "Failed to clone LLVM repository"
|
Write-Host "Failed to clone LLVM repository"
|
||||||
Exit 1
|
Exit 1
|
||||||
@@ -65,7 +65,7 @@ if (!$?) {
|
|||||||
|
|
||||||
Get-Date
|
Get-Date
|
||||||
Write-Host "Cloning SPIRV-LLVM-Translator"
|
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 (!$?) {
|
if (!$?) {
|
||||||
Write-Host "Failed to clone SPIRV-LLVM-Translator repository"
|
Write-Host "Failed to clone SPIRV-LLVM-Translator repository"
|
||||||
Exit 1
|
Exit 1
|
||||||
@@ -79,7 +79,7 @@ Write-Host "Compiling LLVM and Clang"
|
|||||||
cmake ../llvm `
|
cmake ../llvm `
|
||||||
-GNinja `
|
-GNinja `
|
||||||
-DCMAKE_BUILD_TYPE=Release `
|
-DCMAKE_BUILD_TYPE=Release `
|
||||||
-DLLVM_USE_CRT_RELEASE=MT `
|
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded `
|
||||||
-DCMAKE_PREFIX_PATH="$depsInstallPath" `
|
-DCMAKE_PREFIX_PATH="$depsInstallPath" `
|
||||||
-DCMAKE_INSTALL_PREFIX="$depsInstallPath" `
|
-DCMAKE_INSTALL_PREFIX="$depsInstallPath" `
|
||||||
-DLLVM_ENABLE_PROJECTS="clang" `
|
-DLLVM_ENABLE_PROJECTS="clang" `
|
||||||
|
|||||||
@@ -63,6 +63,8 @@ Update-SessionEnvironment
|
|||||||
|
|
||||||
Start-Process -NoNewWindow -Wait git -ArgumentList 'config --global core.autocrlf false'
|
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:"
|
Write-Host "Upgrading pip at:"
|
||||||
Get-Date
|
Get-Date
|
||||||
python -m pip install --upgrade pip --progress-bar off
|
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
|
# Touch this file needs update both WINDOWS_X64_BUILD_TAG WINDOWS_X64_TEST_TAG
|
||||||
# This file needs run in administrator mode
|
# 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"
|
$ProgressPreference = "SilentlyContinue"
|
||||||
|
|
||||||
@@ -22,18 +22,5 @@ if (!$?) {
|
|||||||
}
|
}
|
||||||
Remove-Item "${env:TMP}\vulkan_sdk.exe" -Force
|
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:"
|
Write-Host "Installing Vulkan-Runtime finished at:"
|
||||||
Get-Date
|
Get-Date
|
||||||
|
|||||||
Reference in New Issue
Block a user