diff options
| author | eao197 <eao197@gmail.com> | 2018-11-12 16:19:10 +0300 |
|---|---|---|
| committer | eao197 <eao197@gmail.com> | 2018-11-12 16:19:10 +0300 |
| commit | 2d0ce681b068da0b05c3a4a99573dd00a9415eba (patch) | |
| tree | 85f9572b8edaa611199d6e281af278e56d0094bf /scripts | |
| parent | 8c13a782a044edc67f655b5dcb0227e737136e74 (diff) | |
| parent | 8dc8d0e0c97550a95b764287adbad90b7df7d11d (diff) | |
| download | vcpkg-2d0ce681b068da0b05c3a4a99573dd00a9415eba.tar.gz vcpkg-2d0ce681b068da0b05c3a4a99573dd00a9415eba.zip | |
Merge https://github.com/Microsoft/vcpkg
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/msbuild/vcpkg.targets | 3 | ||||
| -rw-r--r-- | scripts/cmake/vcpkg_from_git.cmake | 5 | ||||
| -rw-r--r-- | scripts/vcpkgTools.xml | 8 |
3 files changed, 10 insertions, 6 deletions
diff --git a/scripts/buildsystems/msbuild/vcpkg.targets b/scripts/buildsystems/msbuild/vcpkg.targets index 456783f4d..8807befd8 100644 --- a/scripts/buildsystems/msbuild/vcpkg.targets +++ b/scripts/buildsystems/msbuild/vcpkg.targets @@ -55,6 +55,9 @@ <VcpkgNormalizedConfiguration Condition="$(VcpkgConfiguration.StartsWith('Release')) or '$(VcpkgConfiguration)' == 'RelWithDebInfo' or '$(VcpkgConfiguration)' == 'MinSizeRel'">Release</VcpkgNormalizedConfiguration> <VcpkgRoot Condition="'$(VcpkgRoot)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), .vcpkg-root))\installed\$(VcpkgTriplet)\</VcpkgRoot> <VcpkgApplocalDeps Condition="'$(VcpkgApplocalDeps)' == ''">true</VcpkgApplocalDeps> + <!-- Deactivate Autolinking if lld is used as a linker. (Until a better way to solve the problem is found!). + Tried to add /lib as a parameter to the linker call but was unable to find a way to pass it as the first parameter. --> + <VcpkgAutoLink Condition="'$(UseLldLink)' == 'true' and '$(VcpkgAutoLink)' == ''">false</VcpkgAutoLink> </PropertyGroup> <ItemDefinitionGroup Condition="'$(VcpkgEnabled)' == 'true'"> diff --git a/scripts/cmake/vcpkg_from_git.cmake b/scripts/cmake/vcpkg_from_git.cmake index 5f6930412..2fc66b279 100644 --- a/scripts/cmake/vcpkg_from_git.cmake +++ b/scripts/cmake/vcpkg_from_git.cmake @@ -65,9 +65,10 @@ function(vcpkg_from_git) message(FATAL_ERROR "vcpkg_from_git requires a SHA512 argument. If you do not know the SHA512, add it as 'SHA512 0' and re-run this command.") endif() + # using .tar.gz instead of .zip because the hash of the latter is affected by timezone. string(REPLACE "/" "-" SANITIZED_REF "${_vdud_REF}") - set(TEMP_ARCHIVE "${DOWNLOADS}/temp/${PORT}-${SANITIZED_REF}.zip") - set(ARCHIVE "${DOWNLOADS}/${PORT}-${SANITIZED_REF}.zip") + set(TEMP_ARCHIVE "${DOWNLOADS}/temp/${PORT}-${SANITIZED_REF}.tar.gz") + set(ARCHIVE "${DOWNLOADS}/${PORT}-${SANITIZED_REF}.tar.gz") set(TEMP_SOURCE_PATH "${CURRENT_BUILDTREES_DIR}/src/${SANITIZED_REF}") function(test_hash FILE_PATH FILE_KIND CUSTOM_ERROR_ADVICE) diff --git a/scripts/vcpkgTools.xml b/scripts/vcpkgTools.xml index c2045433d..747963c07 100644 --- a/scripts/vcpkgTools.xml +++ b/scripts/vcpkgTools.xml @@ -60,7 +60,7 @@ <archiveName>QtInstallerFramework-win-x86.zip</archiveName> </tool> <tool name="7zip" os="windows"> - <version>18.01.0</version> + <version>18.1.0</version> <exeRelativePath>7-Zip.CommandLine.18.1.0\tools\7za.exe</exeRelativePath> <url>https://www.nuget.org/api/v2/package/7-Zip.CommandLine/18.1.0</url> <sha512>8c75314102e68d2b2347d592f8e3eb05812e1ebb525decbac472231633753f1d4ca31c8e6881a36144a8da26b2571305b3ae3f4e2b85fc4a290aeda63d1a13b8</sha512> @@ -78,20 +78,20 @@ <exeRelativePath>ninja.exe</exeRelativePath> <url>https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip</url> <sha512>9b9ce248240665fcd6404b989f3b3c27ed9682838225e6dc9b67b551774f251e4ff8a207504f941e7c811e7a8be1945e7bcb94472a335ef15e23a0200a32e6d5</sha512> - <archiveName>ninja-win.zip</archiveName> + <archiveName>ninja-win-1.8.2.zip</archiveName> </tool> <tool name="ninja" os="linux"> <version>1.8.2</version> <exeRelativePath>ninja</exeRelativePath> <url>https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip</url> <sha512>38fcb68e745c1f15b4b50f20069ffe686b1ef5baf93b74958e132ea5d30d155cf6970d6dc1b095aafd421ebd8bcc63acf4f64e305c496266b5182f99b815cca5</sha512> - <archiveName>ninja-linux.zip</archiveName> + <archiveName>ninja-linux-1.8.2.zip</archiveName> </tool> <tool name="ninja" os="osx"> <version>1.8.2</version> <exeRelativePath>ninja</exeRelativePath> <url>https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip</url> <sha512>acadfb286eb7d93676629701917fa0c3c39f36daa068c169e4a098c29f97380d1ea95abfd42b04798ff118fd9dc93fdb250fcda36086bac20bc5506354214fc3</sha512> - <archiveName>ninja-mac.zip</archiveName> + <archiveName>ninja-mac-1.8.2.zip</archiveName> </tool> </tools> |
