mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Update vcpkg-tool to 2022-12-14 (#28394)
This commit is contained in:
parent
b6b5c0b9a4
commit
71f51b100b
@ -45,7 +45,7 @@ while (!($vcpkgRootDir -eq "") -and !(Test-Path "$vcpkgRootDir\.vcpkg-root"))
|
|||||||
|
|
||||||
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
|
Write-Verbose "Examining $vcpkgRootDir for .vcpkg-root - Found"
|
||||||
|
|
||||||
$versionDate = '2022-11-10'
|
$versionDate = '2022-12-14'
|
||||||
if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64' -or $env:PROCESSOR_IDENTIFIER -match "ARMv[8,9] \(64-bit\)") {
|
if ($env:PROCESSOR_ARCHITECTURE -eq 'ARM64' -or $env:PROCESSOR_IDENTIFIER -match "ARMv[8,9] \(64-bit\)") {
|
||||||
& "$scriptsDir/tls12-download-arm64.exe" github.com "/microsoft/vcpkg-tool/releases/download/$versionDate/vcpkg-arm64.exe" "$vcpkgRootDir\vcpkg.exe"
|
& "$scriptsDir/tls12-download-arm64.exe" github.com "/microsoft/vcpkg-tool/releases/download/$versionDate/vcpkg-arm64.exe" "$vcpkgRootDir\vcpkg.exe"
|
||||||
} else {
|
} else {
|
||||||
|
@ -126,23 +126,23 @@ fi
|
|||||||
|
|
||||||
# Choose the vcpkg binary to download
|
# Choose the vcpkg binary to download
|
||||||
vcpkgDownloadTool="ON"
|
vcpkgDownloadTool="ON"
|
||||||
vcpkgToolReleaseTag="2022-11-10"
|
vcpkgToolReleaseTag="2022-12-14"
|
||||||
if [ "$UNAME" = "Darwin" ]; then
|
if [ "$UNAME" = "Darwin" ]; then
|
||||||
echo "Downloading vcpkg-macos..."
|
echo "Downloading vcpkg-macos..."
|
||||||
vcpkgToolReleaseSha="eb32643dd2164c72b8a660ef52f1e701bb368324ae461e12d70d6a9aefc0c9573387ee2ed3828037ed62bb3e8f566416a2d3b3827a3928f0bff7c29f7662293e"
|
vcpkgToolReleaseSha="f50874fd20f46aadc8725139790e80d35189b9f96e0c23d6d94e3afe04fe0e3a32d7a0f9666af6e345a8acf1a69e582e366b651ef8196185cfb2810250f19a86"
|
||||||
vcpkgToolName="vcpkg-macos"
|
vcpkgToolName="vcpkg-macos"
|
||||||
elif [ "$vcpkgUseMuslC" = "ON" ]; then
|
elif [ "$vcpkgUseMuslC" = "ON" ]; then
|
||||||
echo "Downloading vcpkg-muslc..."
|
echo "Downloading vcpkg-muslc..."
|
||||||
vcpkgToolReleaseSha="a6440a0618aa6d04c9668b40f58ed6316d817ed73bf9e9f7980867d3a4ee18564da3ca283a8b26fd1e124b0c5c2d3dfbff61ce61ace6371bb7168898c55053ca"
|
vcpkgToolReleaseSha="229dd7eb19af4ba4362926da5dae64b09382aff6a59ba0652315ff07ebf2cdfa63c8f4a86b634194e7c1c11452b5a70c6825ede915926d710d1d0f4b0605279a"
|
||||||
vcpkgToolName="vcpkg-muslc"
|
vcpkgToolName="vcpkg-muslc"
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
echo "Downloading vcpkg-glibc..."
|
echo "Downloading vcpkg-glibc..."
|
||||||
vcpkgToolReleaseSha="5b339e897d6f61237a508cdc611aa997f4fb5d47531fcdd53e0ce53b289d9b99652ac9f0e0584adcd453b25e91a085f04f159f6724211c599f5437462726fca3"
|
vcpkgToolReleaseSha="f12911e70d643cd547875e951cc7c8c3d9941f072abe512cf96c86a1784ea38a8230c3813ff6e9d4149261dfb2ff953b2a3d8752ca4d6f023b9fd5392adec73e"
|
||||||
vcpkgToolName="vcpkg-glibc"
|
vcpkgToolName="vcpkg-glibc"
|
||||||
else
|
else
|
||||||
echo "Unable to determine a binary release of vcpkg; attempting to build from source."
|
echo "Unable to determine a binary release of vcpkg; attempting to build from source."
|
||||||
vcpkgDownloadTool="OFF"
|
vcpkgDownloadTool="OFF"
|
||||||
vcpkgToolReleaseSha="941e8f0749d5475ffcc731909b8a506c4b08ab7e6b11752532482260b6f430c23e42903d7bf4431c088ef16b980685da1980e831b9623e831e339319b4ee9085"
|
vcpkgToolReleaseSha="63db6e7a2f6ac3924e6da07b278549ca043c29d38524ef7d5804dad0d2d0069f542d48ed31601845ddfcbf87471a90a2b4368f645fd3e43066ce7e72aa40bbf6"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Do the download or build.
|
# Do the download or build.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user