mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
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 commitc3f303b50b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit804108b9e3) Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user