mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
Update python2, python3, perl, aria2, ninja, ruby, 7z (#6791)
This commit is contained in:
parent
b26cb1a041
commit
12587b1b88
@ -54,9 +54,9 @@ function(vcpkg_find_acquire_program VAR)
|
|||||||
set(PATHS ${DOWNLOADS}/tools/perl/perl/bin)
|
set(PATHS ${DOWNLOADS}/tools/perl/perl/bin)
|
||||||
set(BREW_PACKAGE_NAME "perl")
|
set(BREW_PACKAGE_NAME "perl")
|
||||||
set(APT_PACKAGE_NAME "perl")
|
set(APT_PACKAGE_NAME "perl")
|
||||||
set(URL "http://strawberryperl.com/download/5.24.1.1/strawberry-perl-5.24.1.1-32bit-portable.zip")
|
set(URL "http://strawberryperl.com/download/5.30.0.1/strawberry-perl-5.30.0.1-32bit.zip")
|
||||||
set(ARCHIVE "strawberry-perl-5.24.1.1-32bit-portable.zip")
|
set(ARCHIVE "strawberry-perl-5.30.0.1-32bit.zip")
|
||||||
set(HASH a6e685ea24376f50db5f06c5b46075f1d3be25168fa1f27fa9b02e2ac017826cee62a2b43562f9b6c989337a231ba914416c110075457764de2d11f99d5e0f26)
|
set(HASH d353d3dc743ebdc6d1e9f6f2b7a6db3c387c1ce6c890bae8adc8ae5deae8404f4c5e3cf249d1e151e7256d4c5ee9cd317e6c41f3b6f244340de18a24b938e0c4)
|
||||||
elseif(VAR MATCHES "NASM")
|
elseif(VAR MATCHES "NASM")
|
||||||
set(PROGNAME nasm)
|
set(PROGNAME nasm)
|
||||||
set(PATHS ${DOWNLOADS}/tools/nasm/nasm-2.14)
|
set(PATHS ${DOWNLOADS}/tools/nasm/nasm-2.14)
|
||||||
@ -92,9 +92,9 @@ function(vcpkg_find_acquire_program VAR)
|
|||||||
set(PROGNAME python)
|
set(PROGNAME python)
|
||||||
set(SUBDIR "python2")
|
set(SUBDIR "python2")
|
||||||
set(PATHS ${DOWNLOADS}/tools/python/${SUBDIR})
|
set(PATHS ${DOWNLOADS}/tools/python/${SUBDIR})
|
||||||
set(URL "https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi")
|
set(URL "https://www.python.org/ftp/python/2.7.16/python-2.7.16.msi")
|
||||||
set(ARCHIVE "python2.msi")
|
set(ARCHIVE "python2.msi")
|
||||||
set(HASH 8c3ad6e527742d99ba96dcfd1098861b14e7207b80d51a54e9b410ab2f36e44e05561ea1527d8e92b3e10808311536260bd9e82db0da3b513fb1be18e108510e)
|
set(HASH c34a6fa2438682104dccb53650a2bdb79eac7996deff075201a0f71bb835d60d3ed866652a1931f15a29510fe8e1009ac04e423b285122d2e5747fefc4c10254)
|
||||||
else()
|
else()
|
||||||
set(PROGNAME python2)
|
set(PROGNAME python2)
|
||||||
set(BREW_PACKAGE_NAME "python2")
|
set(BREW_PACKAGE_NAME "python2")
|
||||||
@ -102,10 +102,10 @@ function(vcpkg_find_acquire_program VAR)
|
|||||||
endif()
|
endif()
|
||||||
elseif(VAR MATCHES "RUBY")
|
elseif(VAR MATCHES "RUBY")
|
||||||
set(PROGNAME "ruby")
|
set(PROGNAME "ruby")
|
||||||
set(PATHS ${DOWNLOADS}/tools/ruby/rubyinstaller-2.4.1-1-x86/bin)
|
set(PATHS ${DOWNLOADS}/tools/ruby/rubyinstaller-2.6.3-1-x86/bin)
|
||||||
set(URL https://github.com/oneclick/rubyinstaller2/releases/download/2.4.1-1/rubyinstaller-2.4.1-1-x86.7z)
|
set(URL https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.3-1/rubyinstaller-2.6.3-1-x86.7z)
|
||||||
set(ARCHIVE rubyinstaller-2.4.1-1-x86.7z)
|
set(ARCHIVE rubyinstaller-2.6.3-1-x86.7z)
|
||||||
set(HASH b51112e9b58cfcbe8cec0607e8a16fff6a943d9b4e31b2a7fbf5df5f83f050bf0a4812d3dd6000ff21a3d5fd219cd0a309c58ac1c1db950a9b0072405e4b70f5)
|
set(HASH 4322317dd02ce13527bf09d6e6a7787ca3814ea04337107d28af1ac360bd272504b32e20ed3ea84eb5b21dae7b23bfe5eb0e529b6b0aa21a1a2bbb0a542d7aec)
|
||||||
elseif(VAR MATCHES "JOM")
|
elseif(VAR MATCHES "JOM")
|
||||||
set(PROGNAME jom)
|
set(PROGNAME jom)
|
||||||
set(SUBDIR "jom-1.1.3")
|
set(SUBDIR "jom-1.1.3")
|
||||||
@ -116,12 +116,12 @@ function(vcpkg_find_acquire_program VAR)
|
|||||||
elseif(VAR MATCHES "7Z")
|
elseif(VAR MATCHES "7Z")
|
||||||
set(PROGNAME 7z)
|
set(PROGNAME 7z)
|
||||||
set(PATHS "${PROGRAM_FILES_PLATFORM_BITNESS}/7-Zip" "${PROGRAM_FILES_32_BIT}/7-Zip" "${DOWNLOADS}/tools/7z/Files/7-Zip")
|
set(PATHS "${PROGRAM_FILES_PLATFORM_BITNESS}/7-Zip" "${PROGRAM_FILES_32_BIT}/7-Zip" "${DOWNLOADS}/tools/7z/Files/7-Zip")
|
||||||
set(URL "http://7-zip.org/a/7z1604.msi")
|
set(URL "https://7-zip.org/a/7z1900.msi")
|
||||||
set(ARCHIVE "7z1604.msi")
|
set(ARCHIVE "7z1900.msi")
|
||||||
set(HASH 556f95f7566fe23704d136239e4cf5e2a26f939ab43b44145c91b70d031a088d553e5c21301f1242a2295dcde3143b356211f0108c68e65eef8572407618326d)
|
set(HASH f73b04e2d9f29d4393fde572dcf3c3f0f6fa27e747e5df292294ab7536ae24c239bf917689d71eb10cc49f6b9a4ace26d7c122ee887d93cc935f268c404e9067)
|
||||||
elseif(VAR MATCHES "NINJA")
|
elseif(VAR MATCHES "NINJA")
|
||||||
set(PROGNAME ninja)
|
set(PROGNAME ninja)
|
||||||
set(SUBDIR "ninja-1.8.2")
|
set(SUBDIR "ninja-1.9.0")
|
||||||
if(CMAKE_HOST_WIN32)
|
if(CMAKE_HOST_WIN32)
|
||||||
set(PATHS "${DOWNLOADS}/tools/ninja/${SUBDIR}")
|
set(PATHS "${DOWNLOADS}/tools/ninja/${SUBDIR}")
|
||||||
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
|
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
@ -133,9 +133,9 @@ function(vcpkg_find_acquire_program VAR)
|
|||||||
endif()
|
endif()
|
||||||
set(BREW_PACKAGE_NAME "ninja")
|
set(BREW_PACKAGE_NAME "ninja")
|
||||||
set(APT_PACKAGE_NAME "ninja-build")
|
set(APT_PACKAGE_NAME "ninja-build")
|
||||||
set(URL "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip")
|
set(URL "https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip")
|
||||||
set(ARCHIVE "ninja-1.8.2-win.zip")
|
set(ARCHIVE "ninja-1.9.0-win.zip")
|
||||||
set(HASH 9b9ce248240665fcd6404b989f3b3c27ed9682838225e6dc9b67b551774f251e4ff8a207504f941e7c811e7a8be1945e7bcb94472a335ef15e23a0200a32e6d5)
|
set(HASH 1c050e602ec63d4dcf44d9ab3d2d02ac731b4b2977bc0b420a21e85604487f58ec8d3045941d4153ef06ab00c175ca7cf9d57b8e20a757528290e135639962ac)
|
||||||
elseif(VAR MATCHES "NUGET")
|
elseif(VAR MATCHES "NUGET")
|
||||||
set(PROGNAME nuget)
|
set(PROGNAME nuget)
|
||||||
set(PATHS "${DOWNLOADS}/tools/nuget")
|
set(PATHS "${DOWNLOADS}/tools/nuget")
|
||||||
@ -229,10 +229,10 @@ function(vcpkg_find_acquire_program VAR)
|
|||||||
# Download Tools
|
# Download Tools
|
||||||
elseif(VAR MATCHES "ARIA2")
|
elseif(VAR MATCHES "ARIA2")
|
||||||
set(PROGNAME aria2c)
|
set(PROGNAME aria2c)
|
||||||
set(PATHS ${DOWNLOADS}/tools/aria2c/aria2-1.33.1-win-32bit-build1)
|
set(PATHS ${DOWNLOADS}/tools/aria2c/aria2-1.34.0-win-32bit-build1)
|
||||||
set(URL "https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1-win-32bit-build1.zip")
|
set(URL "https://github.com/aria2/aria2/releases/download/release-1.34.0/aria2-1.34.0-win-32bit-build1.zip")
|
||||||
set(ARCHIVE "aria2-1.33.1-win-32bit-build1.zip")
|
set(ARCHIVE "aria2-1.34.0-win-32bit-build1.zip")
|
||||||
set(HASH 2456176ba3d506a07cf0cc4f61f080e1ff8cb4106426d66f354c5bb67a9a8720b5ddb26904275e61b1f623c932355f7dcde4cd17556cc895f11293c23c3a9bf3)
|
set(HASH 2a5480d503ac6e8203040c7e516a3395028520da05d0ebf3a2d56d5d24ba5d17630e8f318dd4e3cc2094cc4668b90108fb58e8b986b1ffebd429995058063c27)
|
||||||
else()
|
else()
|
||||||
message(FATAL "unknown tool ${VAR} -- unable to acquire.")
|
message(FATAL "unknown tool ${VAR} -- unable to acquire.")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user