[scripts] Update Bazel to 6.1.2 (#30668)

This commit is contained in:
sbrajchuk 2023-04-19 04:44:25 +03:00 committed by GitHub
parent 56a6433e2a
commit 2514625831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
set(program_name bazel)
set(program_version 4.2.2)
set(program_version 6.1.2)
set(rename_binary_to "bazel")
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set(supported_on_unix ON)
@ -7,17 +7,17 @@ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set(download_urls "https://github.com/bazelbuild/bazel/releases/download/${program_version}/bazel-${tool_subdirectory}-x86_64")
set(download_filename "bazel-${tool_subdirectory}-x86_64")
set(raw_executable ON)
set(download_sha512 f38619e054df78cab38278a5901b2798f2e25b5cec53358d98278002e713d225fd3df96a209b7f22a2357835a279cee8ef1768e10561b3e9fe6361f324563bb9)
set(download_sha512 f232fe04fde2cde3e3d9acc7fc1f89fa1637bbc99f604b4498ac98b36dec95b42803eb6439ba4afcc38a3c9d6986020979af58fbc34ca66b5f618864912f4aa7)
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
set(supported_on_unix ON)
set(tool_subdirectory "${program_version}-darwin")
set(download_urls "https://github.com/bazelbuild/bazel/releases/download/${program_version}/bazel-${tool_subdirectory}-x86_64")
set(download_filename "bazel-${tool_subdirectory}-x86_64")
set(raw_executable ON)
set(download_sha512 a3fd8f9d71b0669d742439200f27ee0a3891c1f248df62c841ebb2b416a47534562f429f8a08793b074e9b74f2ede3d97a7e13ac9921c7ee2dc6a2dca8b7f275)
set(download_sha512 4642b2f853d51630af52038c9319a04462794e1a3d15f2fa6af9fb1ba726d4b5f729222ee4d9cc51dd7dcfa169ce74458d762aa3241be5e106ef70716266480e)
else()
set(tool_subdirectory "${program_version}-windows")
set(download_urls "https://github.com/bazelbuild/bazel/releases/download/${program_version}/bazel-${tool_subdirectory}-x86_64.zip")
set(download_filename "bazel-${tool_subdirectory}-x86_64.zip")
set(download_sha512 8a8196e242964114316232818cb81bfa19ebfd3a029ebf550a241e33b22a6e9ed636dade06411a8706c05c4e73def0bc8d7f45ff0ec5478bcc5de21b5638204d)
set(download_sha512 3feeed099514bd06a1d2ec908e6ec5f07114734e3b74b6255b3c42974bc2511f48852e46237d1da7d7754c28ede9a5c36893142709f45239c98193f7fabb1a8e)
endif()