mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-02 22:45:23 +08:00
Bump vcpkg to a new snapshot
Some patches were upstreamed and this beings the version in line with what we need for Android. This patch also centralizes the version into a shared file, for future use. Change-Id: I90973f9bfcbc1bfeb2d11e2ee7a7fa4e4f6a58a2 Reviewed-by: Qt CMake Build Bot Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
@@ -43,8 +43,9 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
# Refresh to make sure we have the EMSCRIPTEN environment variable, needed for the vcpkg wasm build.
|
||||
source ~/.bashrc
|
||||
|
||||
version="qt-snapshot-2019-10-09"
|
||||
officialUrl="https://codeload.github.com/tronical/vcpkg/tar.gz/$version"
|
||||
source "${BASH_SOURCE%/*}/../shared/vcpkg_version.txt"
|
||||
|
||||
officialUrl="https://codeload.github.com/tronical/vcpkg/tar.gz/$vcpkg_version"
|
||||
targetFile="vcpkg.tar.gz"
|
||||
targetFolder="$HOME/vcpkg"
|
||||
|
||||
@@ -69,4 +70,4 @@ cd $targetFolder
|
||||
|
||||
rm -rf packages buildtrees downloads
|
||||
|
||||
echo "VCPKG = $version" >> ~/versions.txt
|
||||
echo "VCPKG = $vcpkg_version" >> ~/versions.txt
|
||||
|
||||
1
coin/provisioning/common/shared/vcpkg_version.txt
Normal file
1
coin/provisioning/common/shared/vcpkg_version.txt
Normal file
@@ -0,0 +1 @@
|
||||
vcpkg_version=qt-snapshot-2019-10-09
|
||||
@@ -36,15 +36,18 @@
|
||||
|
||||
Write-Host "Installing vcpkg"
|
||||
|
||||
$version = "qt-snapshot-2019-06-20"
|
||||
$officialUrl = "https://codeload.github.com/tronical/vcpkg/zip/$version"
|
||||
$n = Get-Content "$PSScriptRoot\..\shared\vcpkg_version.txt"
|
||||
$n = $n.Split('=')
|
||||
New-Variable -Name $n[0] -Value $n[1]
|
||||
|
||||
$officialUrl = "https://codeload.github.com/tronical/vcpkg/zip/$vcpkg_version"
|
||||
$zip = "C:\Utils\vcpkg.zip"
|
||||
|
||||
Download "$officialUrl" "" "$zip"
|
||||
Extract-7Zip "$zip" c:\utils
|
||||
Remove-Item $zip
|
||||
|
||||
$installationFolder = "c:\utils\vcpkg-$version"
|
||||
$installationFolder = "c:\utils\vcpkg-$vcpkg_version"
|
||||
|
||||
cd $installationFolder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user