Provisioning: Add arm64 libclang for Windows 11 24H2

So it can be used during cross-compilation of arm64 packages.

To ensure the env variable set does not conflict with the x86_64
version, the env variable is suffixed with "arm64".

Change-Id: I117f6c4a8431058b9af22390942539a49c632d6a
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit c3f303b50b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 804108b9e3)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor
2025-08-06 14:24:40 +02:00
parent 20b2b5c720
commit 0622f99ca9
2 changed files with 6 additions and 1 deletions

View File

@@ -1,7 +1,8 @@
param(
[string]$archVer="32",
[string]$toolchain="vs2022",
[bool]$setDefault=$true
[bool]$setDefault=$true,
[bool]$useArchInToolchainSuffix=$false
)
. "$PSScriptRoot\helpers.ps1"
@@ -71,6 +72,9 @@ if ( $toolchain -eq "llvm-mingw" ) {
$toolchainSuffix = "llvm_mingw"
}
if ( $useArchInToolchainSuffix ) {
$toolchainSuffix += "_$archVer"
}
install $sha1 $baseDestination-$archVer

View File

@@ -1,4 +1,5 @@
# Do not set the default LLVM_INSTALL_DIR for mingw, leave it with msvc for compat
. "$PSScriptRoot\..\common\windows\libclang.ps1" 64 mingw $False
. "$PSScriptRoot\..\common\windows\libclang.ps1" 64 llvm-mingw $False
. "$PSScriptRoot\..\common\windows\libclang.ps1" arm64 vs2022 $False $True
. "$PSScriptRoot\..\common\windows\libclang.ps1" 64 vs2022