mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +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 26273191d2
.
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…
Reference in New Issue
Block a user