mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[vcpkg] Fix bootstrap for windows arm64 (#22605)
* Update bootstrap.ps1 to properly support arm64 * Add tls12-download-arm64 from 2021-12-09 release * Add reference to tls12-download-arm64 back in * Update scripts/bootstrap.ps1 Revert back to x86 downloader Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * Revert "Add tls12-download-arm64 from 2021-12-09 release" This reverts commit 26273191d29663a2144f4c71f8e3e71e3e30dbbd. Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
This commit is contained in:
parent
6fdcbc5e9d
commit
eeabfad146
@ -46,8 +46,8 @@ while (!($vcpkgRootDir -eq "") -and !(Test-Path "$vcpkgRootDir\.vcpkg-root"))
|
||||
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
|
||||
|
||||
$versionDate = '2021-12-09'
|
||||
if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64') {
|
||||
& "$scriptsDir/tls12-download-arm64.exe" github.com "/microsoft/vcpkg-tool/releases/download/$versionDate/vcpkg-arm64.exe" "$vcpkgRootDir\vcpkg.exe"
|
||||
if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64' -or $env:PROCESSOR_IDENTIFIER -match "ARMv[8,9] \(64-bit\)") {
|
||||
& "$scriptsDir/tls12-download.exe" github.com "/microsoft/vcpkg-tool/releases/download/$versionDate/vcpkg-arm64.exe" "$vcpkgRootDir\vcpkg.exe"
|
||||
} else {
|
||||
& "$scriptsDir/tls12-download.exe" github.com "/microsoft/vcpkg-tool/releases/download/$versionDate/vcpkg.exe" "$vcpkgRootDir\vcpkg.exe"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user