6800 lines
247 KiB
Python
6800 lines
247 KiB
Python
""" A U T O G E N E R A T E D -- D O N O T M O D I F Y
|
|
@generated
|
|
|
|
This file is generated by prebuilt_toolchains.py
|
|
"""
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
|
|
load("@rules_foreign_cc//toolchains:prebuilt_toolchains_repository.bzl", "prebuilt_toolchains_repository")
|
|
|
|
_CMAKE_BUILD_FILE = """\
|
|
load("@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl", "native_tool_toolchain")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
filegroup(
|
|
name = "cmake_data",
|
|
srcs = glob(
|
|
[
|
|
"**",
|
|
],
|
|
exclude = [
|
|
"WORKSPACE",
|
|
"WORKSPACE.bazel",
|
|
"BUILD",
|
|
"BUILD.bazel",
|
|
],
|
|
),
|
|
)
|
|
|
|
native_tool_toolchain(
|
|
name = "cmake_tool",
|
|
path = "bin/{bin}",
|
|
target = ":cmake_data",
|
|
)
|
|
"""
|
|
|
|
_NINJA_BUILD_FILE = """\
|
|
load("@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl", "native_tool_toolchain")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
filegroup(
|
|
name = "ninja_bin",
|
|
srcs = ["{bin}"],
|
|
)
|
|
|
|
native_tool_toolchain(
|
|
name = "ninja_tool",
|
|
env = {env},
|
|
path = "$(execpath :ninja_bin)",
|
|
target = ":ninja_bin",
|
|
)
|
|
"""
|
|
|
|
# buildifier: disable=unnamed-macro
|
|
def prebuilt_toolchains(cmake_version, ninja_version, register_toolchains):
|
|
"""Register toolchains for pre-built cmake and ninja binaries
|
|
|
|
Args:
|
|
cmake_version (string): The target cmake version
|
|
ninja_version (string): The target ninja-build version
|
|
register_toolchains (boolean): Whether to call native.register_toolchains or not
|
|
"""
|
|
_cmake_toolchains(cmake_version, register_toolchains)
|
|
_ninja_toolchains(ninja_version, register_toolchains)
|
|
|
|
def _cmake_toolchains(version, register_toolchains):
|
|
if "3.26.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "7a4fbe374475db1a098b632b54e3c9180973e8a791c700deabe5408ae23ea3ce",
|
|
strip_prefix = "cmake-3.26.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "28d4d1d0db94b47d8dfd4f7dec969a3c747304f4a28ddd6fd340f553f2384dc2",
|
|
strip_prefix = "cmake-3.26.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "2b44cc892dc68b42123b9517c5d903690785b7ef489af26abf2fe3f3a6f2a112",
|
|
strip_prefix = "cmake-3.26.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-windows-i386.zip",
|
|
],
|
|
sha256 = "073ebce128b05716ed07dfa1d62448302c1355013ef4b5e17c3535a2821c4cbc",
|
|
strip_prefix = "cmake-3.26.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "91a418595cc9a97d5f679e36728dfec79ee52980f51e8814ec7b05b890708523",
|
|
strip_prefix = "cmake-3.26.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.26.3_toolchains",
|
|
repos = {
|
|
"cmake-3.26.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.26.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.26.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.26.3_toolchains//:cmake-3.26.3-linux-aarch64_toolchain",
|
|
"@cmake_3.26.3_toolchains//:cmake-3.26.3-linux-x86_64_toolchain",
|
|
"@cmake_3.26.3_toolchains//:cmake-3.26.3-macos-universal_toolchain",
|
|
"@cmake_3.26.3_toolchains//:cmake-3.26.3-windows-i386_toolchain",
|
|
"@cmake_3.26.3_toolchains//:cmake-3.26.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.26.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "41cd555676aed8c5f7c52e56311d9e3f5ccd0bff630489ceb79aa2a268677af7",
|
|
strip_prefix = "cmake-3.26.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "6c54b896fc518f9ce75ffcf47dddcfec10901fd09d57e886eba26b7bf3d7930c",
|
|
strip_prefix = "cmake-3.26.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "54ce2460478433d1bdee6040c8a5bb9f8c443546bc86cae732705f2a1a049c1e",
|
|
strip_prefix = "cmake-3.26.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2-windows-i386.zip",
|
|
],
|
|
sha256 = "4b6a14f679423f27f1c7e8a1be554abde726c4be4b56a75d76d12a42efb5912b",
|
|
strip_prefix = "cmake-3.26.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.2/cmake-3.26.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "193d93b049b335b003a162d6a24633d4ba2d8d7ee9b392d54dfde88924d792f8",
|
|
strip_prefix = "cmake-3.26.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.26.2_toolchains",
|
|
repos = {
|
|
"cmake-3.26.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.26.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.26.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.26.2_toolchains//:cmake-3.26.2-linux-aarch64_toolchain",
|
|
"@cmake_3.26.2_toolchains//:cmake-3.26.2-linux-x86_64_toolchain",
|
|
"@cmake_3.26.2_toolchains//:cmake-3.26.2-macos-universal_toolchain",
|
|
"@cmake_3.26.2_toolchains//:cmake-3.26.2-windows-i386_toolchain",
|
|
"@cmake_3.26.2_toolchains//:cmake-3.26.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.26.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "4a750db7becfa426a37f702fa87267e836dda6720f2b768e31828f4cb5e2e24b",
|
|
strip_prefix = "cmake-3.26.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "b1dfd11d50e2dfb3d18be86ca1a369da1c1131badc14b659491dd42be1fed704",
|
|
strip_prefix = "cmake-3.26.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "29198cae4c16ca3b6cc15dc187c6251cc8c60575e70a9e39aede6767fe1954cb",
|
|
strip_prefix = "cmake-3.26.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-windows-i386.zip",
|
|
],
|
|
sha256 = "a0a5f91e609063c0437f6e03aa2d0de4ada5d12ed5ad74acc09d95960504bc99",
|
|
strip_prefix = "cmake-3.26.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.1/cmake-3.26.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "a2cefff35caa91e55716f1951ed82db928fc24f14d61641b21851dcddb81a21e",
|
|
strip_prefix = "cmake-3.26.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.26.1_toolchains",
|
|
repos = {
|
|
"cmake-3.26.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.26.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.26.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.26.1_toolchains//:cmake-3.26.1-linux-aarch64_toolchain",
|
|
"@cmake_3.26.1_toolchains//:cmake-3.26.1-linux-x86_64_toolchain",
|
|
"@cmake_3.26.1_toolchains//:cmake-3.26.1-macos-universal_toolchain",
|
|
"@cmake_3.26.1_toolchains//:cmake-3.26.1-windows-i386_toolchain",
|
|
"@cmake_3.26.1_toolchains//:cmake-3.26.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.26.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.0-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.0/cmake-3.26.0-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "8af49df3a4a38bf971c98e92ee193998693ad8e0964a7891b6df3dfd88c7fdfd",
|
|
strip_prefix = "cmake-3.26.0-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.0-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.0/cmake-3.26.0-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "69b55523145b2e619f637e7766c413cb1b7de1f06269ea1eab4a655d59847d59",
|
|
strip_prefix = "cmake-3.26.0-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.0-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.0/cmake-3.26.0-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "9c4634a421458c63ce90cb4152f6663021e045f8d9c481fd949e8b19d562b2bb",
|
|
strip_prefix = "cmake-3.26.0-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.0-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.0/cmake-3.26.0-windows-i386.zip",
|
|
],
|
|
sha256 = "64b29fb20c2ee5079b32b975ebf7659ca55e1b6f43fd72d0d84a1df2536c3d4c",
|
|
strip_prefix = "cmake-3.26.0-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.26.0-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.26.0/cmake-3.26.0-windows-x86_64.zip",
|
|
],
|
|
sha256 = "01191a53d0481ec0e911ba4e37ec41949013408a12dcdf92832a968fea751ea8",
|
|
strip_prefix = "cmake-3.26.0-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.26.0_toolchains",
|
|
repos = {
|
|
"cmake-3.26.0-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.0-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.26.0-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.26.0-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.26.0-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.26.0_toolchains//:cmake-3.26.0-linux-aarch64_toolchain",
|
|
"@cmake_3.26.0_toolchains//:cmake-3.26.0-linux-x86_64_toolchain",
|
|
"@cmake_3.26.0_toolchains//:cmake-3.26.0-macos-universal_toolchain",
|
|
"@cmake_3.26.0_toolchains//:cmake-3.26.0-windows-i386_toolchain",
|
|
"@cmake_3.26.0_toolchains//:cmake-3.26.0-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.25.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.3/cmake-3.25.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "cd6e853639f858569e22e6298f009eb24b4702c51c0d5bc1cb36c688f7ce246d",
|
|
strip_prefix = "cmake-3.25.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.3/cmake-3.25.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "d4d2ba83301b215857d3b6590cd4434a414fa151c5807693abe587bd6c03581e",
|
|
strip_prefix = "cmake-3.25.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.3/cmake-3.25.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "771548ed2abae17f3fd28dcfa572ba3fe9f970652a72c36c2e1aafdee93a234e",
|
|
strip_prefix = "cmake-3.25.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.3/cmake-3.25.3-windows-i386.zip",
|
|
],
|
|
sha256 = "2e66cf7cbd35f392f6b9406910c68f4adfca1de9ab7a2fc4cec658c5c5cd9190",
|
|
strip_prefix = "cmake-3.25.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.3/cmake-3.25.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "d129425d569140b729210f3383c246dec19c4183f7d0afae1837044942da3b4b",
|
|
strip_prefix = "cmake-3.25.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.25.3_toolchains",
|
|
repos = {
|
|
"cmake-3.25.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.25.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.25.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.25.3_toolchains//:cmake-3.25.3-linux-aarch64_toolchain",
|
|
"@cmake_3.25.3_toolchains//:cmake-3.25.3-linux-x86_64_toolchain",
|
|
"@cmake_3.25.3_toolchains//:cmake-3.25.3-macos-universal_toolchain",
|
|
"@cmake_3.25.3_toolchains//:cmake-3.25.3-windows-i386_toolchain",
|
|
"@cmake_3.25.3_toolchains//:cmake-3.25.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.25.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "9216ecf0449ade700e66e0def11eeaebf9fa7d4428c02f49cb59f11418d3f8a5",
|
|
strip_prefix = "cmake-3.25.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "783da74f132fd1fea91b8236d267efa4df5b91c5eec1dea0a87f0cf233748d99",
|
|
strip_prefix = "cmake-3.25.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "0b5def3f77617b2ce0ec6701f96e4123a7b14bd0b8a5674ab0556c364ff7cb52",
|
|
strip_prefix = "cmake-3.25.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-windows-i386.zip",
|
|
],
|
|
sha256 = "833abaa21bb673491def058cc38834fbd606d525ab271f37a3b8a3aed586c4a0",
|
|
strip_prefix = "cmake-3.25.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "0db9d3cebf894f64751141253fb9d9e310f325e2e03044f61249a359d6adf301",
|
|
strip_prefix = "cmake-3.25.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.25.2_toolchains",
|
|
repos = {
|
|
"cmake-3.25.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.25.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.25.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.25.2_toolchains//:cmake-3.25.2-linux-aarch64_toolchain",
|
|
"@cmake_3.25.2_toolchains//:cmake-3.25.2-linux-x86_64_toolchain",
|
|
"@cmake_3.25.2_toolchains//:cmake-3.25.2-macos-universal_toolchain",
|
|
"@cmake_3.25.2_toolchains//:cmake-3.25.2-windows-i386_toolchain",
|
|
"@cmake_3.25.2_toolchains//:cmake-3.25.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.25.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "b1c9b85e0ee4db0eb335e8d8868b4527224db402d404119a4b1a5e081a89445f",
|
|
strip_prefix = "cmake-3.25.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "3a5008b613eeb0724edeb3c15bf91d6ce518eb8eebc6ee758f89a0f4ff5d1fd6",
|
|
strip_prefix = "cmake-3.25.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "e95e75ea506189785355a7e8dd86b059780a5613b9e62ab6e7419d6bfba3510b",
|
|
strip_prefix = "cmake-3.25.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1-windows-i386.zip",
|
|
],
|
|
sha256 = "6f661cd493bc868aa10c8ae3ac1e88caabec45ce8b3f035d5fd165ab9a08bc0c",
|
|
strip_prefix = "cmake-3.25.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "d93958d87cc9b91983489f0b37a268b03a3c891894d11f5437fa2a5ce94aab24",
|
|
strip_prefix = "cmake-3.25.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.25.1_toolchains",
|
|
repos = {
|
|
"cmake-3.25.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.25.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.25.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.25.1_toolchains//:cmake-3.25.1-linux-aarch64_toolchain",
|
|
"@cmake_3.25.1_toolchains//:cmake-3.25.1-linux-x86_64_toolchain",
|
|
"@cmake_3.25.1_toolchains//:cmake-3.25.1-macos-universal_toolchain",
|
|
"@cmake_3.25.1_toolchains//:cmake-3.25.1-windows-i386_toolchain",
|
|
"@cmake_3.25.1_toolchains//:cmake-3.25.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.25.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.0-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.0/cmake-3.25.0-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "27da36d6debe9b30f5c498554ae40cd621a55736f5f2ae2618ed95722a59965a",
|
|
strip_prefix = "cmake-3.25.0-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.0-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.0/cmake-3.25.0-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "ac634d6f0a81d7089adc7be5acff66a6bee3b08615f9a947858ce92a9ef59c8b",
|
|
strip_prefix = "cmake-3.25.0-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.0-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.0/cmake-3.25.0-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "c088e761534a2078cd9d0581d39f02d3f9ed05302e33135b55c6d619b263b4c3",
|
|
strip_prefix = "cmake-3.25.0-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.0-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.0/cmake-3.25.0-windows-i386.zip",
|
|
],
|
|
sha256 = "ddd115257a19ff3dd18fc63f32a00ae742f8b62d2e39bc354629903512f99783",
|
|
strip_prefix = "cmake-3.25.0-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.25.0-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.25.0/cmake-3.25.0-windows-x86_64.zip",
|
|
],
|
|
sha256 = "b46030c10cab1170355952f9ac59f7e6dabc248070fc53f15dff11d4ed2910f8",
|
|
strip_prefix = "cmake-3.25.0-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.25.0_toolchains",
|
|
repos = {
|
|
"cmake-3.25.0-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.0-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.25.0-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.25.0-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.25.0-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.25.0_toolchains//:cmake-3.25.0-linux-aarch64_toolchain",
|
|
"@cmake_3.25.0_toolchains//:cmake-3.25.0-linux-x86_64_toolchain",
|
|
"@cmake_3.25.0_toolchains//:cmake-3.25.0-macos-universal_toolchain",
|
|
"@cmake_3.25.0_toolchains//:cmake-3.25.0-windows-i386_toolchain",
|
|
"@cmake_3.25.0_toolchains//:cmake-3.25.0-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.24.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "00d6911b886f394b3b7fec8b1fa010112c98251bb8d95cedecaacc4fe7961a9a",
|
|
strip_prefix = "cmake-3.24.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "8e3d048c7fb26767b00db6a55025aa380d91f45d8f3749e9b9961ef25744b102",
|
|
strip_prefix = "cmake-3.24.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "f1658e4a9259adc74225be0dcd514b8d9bae3314e7f13dee03b6a25833ab7823",
|
|
strip_prefix = "cmake-3.24.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-windows-i386.zip",
|
|
],
|
|
sha256 = "f5a1a1314e539f04a5466a8b5e11d831507a9c2fc233f6dc976b6e304bd1e2ae",
|
|
strip_prefix = "cmake-3.24.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "86c605507e4175d1e1cd2fd9098d6a5b6bf6ff7f885f4b75ddfc9ac3dc1d4452",
|
|
strip_prefix = "cmake-3.24.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.24.3_toolchains",
|
|
repos = {
|
|
"cmake-3.24.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.24.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.24.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.24.3_toolchains//:cmake-3.24.3-linux-aarch64_toolchain",
|
|
"@cmake_3.24.3_toolchains//:cmake-3.24.3-linux-x86_64_toolchain",
|
|
"@cmake_3.24.3_toolchains//:cmake-3.24.3-macos-universal_toolchain",
|
|
"@cmake_3.24.3_toolchains//:cmake-3.24.3-windows-i386_toolchain",
|
|
"@cmake_3.24.3_toolchains//:cmake-3.24.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.24.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "5f1c0d49bac89915b5c68811c2430e5de6c8e606785b9f2919eabee86c2f12b4",
|
|
strip_prefix = "cmake-3.24.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "71a776b6a08135092b5beb00a603b60ca39f8231c01a0356e205e0b4631747d9",
|
|
strip_prefix = "cmake-3.24.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "efb11a78c064dd7c54a50b8da247254d252112c402c6e48cb7db3f9c84a4e5ad",
|
|
strip_prefix = "cmake-3.24.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-windows-i386.zip",
|
|
],
|
|
sha256 = "52f174dc7f52a9c496c7a49ee35456466c07c8ce29aa2092f4b4536ce5d7ed57",
|
|
strip_prefix = "cmake-3.24.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "6af30354eecbb7113b0f0142d13c03d21abbc9f4dbdcddaf88df1f9ca1bc4d6f",
|
|
strip_prefix = "cmake-3.24.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.24.2_toolchains",
|
|
repos = {
|
|
"cmake-3.24.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.24.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.24.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.24.2_toolchains//:cmake-3.24.2-linux-aarch64_toolchain",
|
|
"@cmake_3.24.2_toolchains//:cmake-3.24.2-linux-x86_64_toolchain",
|
|
"@cmake_3.24.2_toolchains//:cmake-3.24.2-macos-universal_toolchain",
|
|
"@cmake_3.24.2_toolchains//:cmake-3.24.2-windows-i386_toolchain",
|
|
"@cmake_3.24.2_toolchains//:cmake-3.24.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.24.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.1/cmake-3.24.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "d50c40135df667ed659f8e4eb7cf7d53421250304f7b3e1a70af9cf3d0f2ab18",
|
|
strip_prefix = "cmake-3.24.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.1/cmake-3.24.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "827bf068cfaa23a9fb95f990c9f8a7ed8f2caeb3af62b5c0a2fed7a8dd6dde3e",
|
|
strip_prefix = "cmake-3.24.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.1/cmake-3.24.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "71bb8db69826d74c395a3c3bbf8b773dbe9f54a2c7331266ba70da303e9c97a1",
|
|
strip_prefix = "cmake-3.24.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.1/cmake-3.24.1-windows-i386.zip",
|
|
],
|
|
sha256 = "a0b894e2a814d2353f1e581eb6ca3c878a39c071624495729dbcf9978e1579f2",
|
|
strip_prefix = "cmake-3.24.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.1/cmake-3.24.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "c1b17431a16337d517f7ba78c7067b6f143a12686cb8087f3dd32f3fa45f5aae",
|
|
strip_prefix = "cmake-3.24.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.24.1_toolchains",
|
|
repos = {
|
|
"cmake-3.24.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.24.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.24.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.24.1_toolchains//:cmake-3.24.1-linux-aarch64_toolchain",
|
|
"@cmake_3.24.1_toolchains//:cmake-3.24.1-linux-x86_64_toolchain",
|
|
"@cmake_3.24.1_toolchains//:cmake-3.24.1-macos-universal_toolchain",
|
|
"@cmake_3.24.1_toolchains//:cmake-3.24.1-windows-i386_toolchain",
|
|
"@cmake_3.24.1_toolchains//:cmake-3.24.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.24.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.0-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "50c3b8e9d3a3cde850dd1ea143df9d1ae546cbc5e74dc6d223eefc1979189651",
|
|
strip_prefix = "cmake-3.24.0-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.0-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "726f88e6598523911e4bce9b059dc20b851aa77f97e4cc5573f4e42775a5c16f",
|
|
strip_prefix = "cmake-3.24.0-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.0-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "3e0cca74a56d9027dabb845a5a26e42ef8e8b33beb1655d6a724187a345145e4",
|
|
strip_prefix = "cmake-3.24.0-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.0-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-windows-i386.zip",
|
|
],
|
|
sha256 = "5bf55ba9840c668ae3027d02c9178a0e09e034e536cf04455fb7593111bc42c4",
|
|
strip_prefix = "cmake-3.24.0-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.24.0-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-windows-x86_64.zip",
|
|
],
|
|
sha256 = "b1ad8c2dbf0778e3efcc9fd61cd4a962e5c1af40aabdebee3d5074bcff2e103c",
|
|
strip_prefix = "cmake-3.24.0-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.24.0_toolchains",
|
|
repos = {
|
|
"cmake-3.24.0-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.0-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.24.0-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.24.0-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.24.0-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.24.0_toolchains//:cmake-3.24.0-linux-aarch64_toolchain",
|
|
"@cmake_3.24.0_toolchains//:cmake-3.24.0-linux-x86_64_toolchain",
|
|
"@cmake_3.24.0_toolchains//:cmake-3.24.0-macos-universal_toolchain",
|
|
"@cmake_3.24.0_toolchains//:cmake-3.24.0-windows-i386_toolchain",
|
|
"@cmake_3.24.0_toolchains//:cmake-3.24.0-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.23.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.5-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "dcf25a81de6bd4e646389a0635b050ed04d0f27e4f07ae22d975391f38f3c4b8",
|
|
strip_prefix = "cmake-3.23.5-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.5-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "bbd7ad93d2a14ed3608021a9466ae63db76a24efd1fae7a5f7798c1de7ab9344",
|
|
strip_prefix = "cmake-3.23.5-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.5-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "245f07d6e346d2b3fdda600b3705579cf956fdd82ac4f4326b96e7d2c43a9312",
|
|
strip_prefix = "cmake-3.23.5-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.5-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-windows-i386.zip",
|
|
],
|
|
sha256 = "ac454a9bcdfad932c8658c864c239506b2b2ebaf88b75ff96bc27a672f8ce7f9",
|
|
strip_prefix = "cmake-3.23.5-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.5-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-windows-x86_64.zip",
|
|
],
|
|
sha256 = "51c75f93ebfe295701df205e5e78808b1e707996b26b5c26c3f680ab7b543881",
|
|
strip_prefix = "cmake-3.23.5-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.23.5_toolchains",
|
|
repos = {
|
|
"cmake-3.23.5-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.5-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.5-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.23.5-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.23.5-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.23.5_toolchains//:cmake-3.23.5-linux-aarch64_toolchain",
|
|
"@cmake_3.23.5_toolchains//:cmake-3.23.5-linux-x86_64_toolchain",
|
|
"@cmake_3.23.5_toolchains//:cmake-3.23.5-macos-universal_toolchain",
|
|
"@cmake_3.23.5_toolchains//:cmake-3.23.5-windows-i386_toolchain",
|
|
"@cmake_3.23.5_toolchains//:cmake-3.23.5-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.23.4" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.4-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.4/cmake-3.23.4-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "53fbeda3f597a49c9d3ca8c31f1fd849790994ca607e8739d0ee949c81ae1687",
|
|
strip_prefix = "cmake-3.23.4-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.4-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.4/cmake-3.23.4-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "3fbcbff85043d63a8a83c8bdf8bd5b1b2fd5768f922de7dc4443de7805a2670d",
|
|
strip_prefix = "cmake-3.23.4-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.4-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.4/cmake-3.23.4-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "98cac043cdf321caa4fd07f27da3316db6c8bc48c39997bf78e27e5c46c4eb68",
|
|
strip_prefix = "cmake-3.23.4-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.4-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.4/cmake-3.23.4-windows-i386.zip",
|
|
],
|
|
sha256 = "6a6443c29dcd301be368015dffea8354fd21ab61a49434e8b9df7e2ce609206a",
|
|
strip_prefix = "cmake-3.23.4-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.4-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.4/cmake-3.23.4-windows-x86_64.zip",
|
|
],
|
|
sha256 = "df15113aaab9e5f8cac254e02cf23f70d02407c9bf2983c82a9fe0d35bd20682",
|
|
strip_prefix = "cmake-3.23.4-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.23.4_toolchains",
|
|
repos = {
|
|
"cmake-3.23.4-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.4-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.4-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.23.4-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.23.4-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.23.4_toolchains//:cmake-3.23.4-linux-aarch64_toolchain",
|
|
"@cmake_3.23.4_toolchains//:cmake-3.23.4-linux-x86_64_toolchain",
|
|
"@cmake_3.23.4_toolchains//:cmake-3.23.4-macos-universal_toolchain",
|
|
"@cmake_3.23.4_toolchains//:cmake-3.23.4-windows-i386_toolchain",
|
|
"@cmake_3.23.4_toolchains//:cmake-3.23.4-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.23.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "5214d483fbe7c48c7fbe67264422df41e1d490fc00c779c61f5ec85fbbf3e8bd",
|
|
strip_prefix = "cmake-3.23.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "39e1c2eccda989b0d000dc5f4ee2cb031bdda799163780d855acc0bd9eda9d92",
|
|
strip_prefix = "cmake-3.23.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "45cda7b87cad41ac407fc150e4682b85c3eb45b1977d8e89319cb3a9a6f341f3",
|
|
strip_prefix = "cmake-3.23.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3-windows-i386.zip",
|
|
],
|
|
sha256 = "5c6fe36122e0ba41baadd0eb80157f107d2cca39894df22e472fcced9542358d",
|
|
strip_prefix = "cmake-3.23.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.3/cmake-3.23.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "b3365f30fc9fb27ffa524c2a987c34b307382930007341b39d3f0e271930d883",
|
|
strip_prefix = "cmake-3.23.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.23.3_toolchains",
|
|
repos = {
|
|
"cmake-3.23.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.23.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.23.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.23.3_toolchains//:cmake-3.23.3-linux-aarch64_toolchain",
|
|
"@cmake_3.23.3_toolchains//:cmake-3.23.3-linux-x86_64_toolchain",
|
|
"@cmake_3.23.3_toolchains//:cmake-3.23.3-macos-universal_toolchain",
|
|
"@cmake_3.23.3_toolchains//:cmake-3.23.3-windows-i386_toolchain",
|
|
"@cmake_3.23.3_toolchains//:cmake-3.23.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.23.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "f2654bf780b53f170bbbec44d8ac67d401d24788e590faa53036a89476efa91e",
|
|
strip_prefix = "cmake-3.23.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "aaced6f745b86ce853661a595bdac6c5314a60f8181b6912a0a4920acfa32708",
|
|
strip_prefix = "cmake-3.23.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "853a0f9af148c5ef47282ffffee06c4c9f257be2635936755f39ca13c3286c88",
|
|
strip_prefix = "cmake-3.23.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-i386.zip",
|
|
],
|
|
sha256 = "6a4fcd6a2315b93cb23c93507efccacc30c449c2bf98f14d6032bb226c582e07",
|
|
strip_prefix = "cmake-3.23.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "2329387f3166b84c25091c86389fb891193967740c9bcf01e7f6d3306f7ffda0",
|
|
strip_prefix = "cmake-3.23.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.23.2_toolchains",
|
|
repos = {
|
|
"cmake-3.23.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.23.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.23.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.23.2_toolchains//:cmake-3.23.2-linux-aarch64_toolchain",
|
|
"@cmake_3.23.2_toolchains//:cmake-3.23.2-linux-x86_64_toolchain",
|
|
"@cmake_3.23.2_toolchains//:cmake-3.23.2-macos-universal_toolchain",
|
|
"@cmake_3.23.2_toolchains//:cmake-3.23.2-windows-i386_toolchain",
|
|
"@cmake_3.23.2_toolchains//:cmake-3.23.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.23.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "74062efddeb935bce3d33694a4db534cef9a650f77a9a153a9f217d9dc385c75",
|
|
strip_prefix = "cmake-3.23.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "f3c654b2e226b9d43369e0bd8487c51618d4dbe5a1af929dd32af7e6ca432d60",
|
|
strip_prefix = "cmake-3.23.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "f794ed92ccb4e9b6619a77328f313497d7decf8fb7e047ba35a348b838e0e1e2",
|
|
strip_prefix = "cmake-3.23.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-windows-i386.zip",
|
|
],
|
|
sha256 = "db5860cbe101a1029676f62e158ed2f25390d52ddd47199ae53ea11fe0374908",
|
|
strip_prefix = "cmake-3.23.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.23.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.23.1/cmake-3.23.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "9b509cc4eb7191dc128cfa3f2170036f9cbc7d9d5f93ff7fafc5b2d77b3b40dc",
|
|
strip_prefix = "cmake-3.23.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.23.1_toolchains",
|
|
repos = {
|
|
"cmake-3.23.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.23.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.23.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.23.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.23.1_toolchains//:cmake-3.23.1-linux-aarch64_toolchain",
|
|
"@cmake_3.23.1_toolchains//:cmake-3.23.1-linux-x86_64_toolchain",
|
|
"@cmake_3.23.1_toolchains//:cmake-3.23.1-macos-universal_toolchain",
|
|
"@cmake_3.23.1_toolchains//:cmake-3.23.1-windows-i386_toolchain",
|
|
"@cmake_3.23.1_toolchains//:cmake-3.23.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.6" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.6-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "79be85d3e76565faacd60695cee11d030f7e7dd8691476144fa25eb93dbd0397",
|
|
strip_prefix = "cmake-3.22.6-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.6-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "09e1b34026c406c5bf4d1b053eadb3a8519cb360e37547ebf4b70ab766d94fbc",
|
|
strip_prefix = "cmake-3.22.6-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.6-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "b4569e10b0f86ed4fad23aae879a197de6fb14aca057bfc2e3baf236c3e876c5",
|
|
strip_prefix = "cmake-3.22.6-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.6-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6-windows-i386.zip",
|
|
],
|
|
sha256 = "058572b13af626e48cc8cba235c14491117b761354fb3c567b11c29835ff8283",
|
|
strip_prefix = "cmake-3.22.6-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.6-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.6/cmake-3.22.6-windows-x86_64.zip",
|
|
],
|
|
sha256 = "48bcc3e71e918b72e2682f9ca9d44dd6c416379071c1ecb530d0633374f91f15",
|
|
strip_prefix = "cmake-3.22.6-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.6_toolchains",
|
|
repos = {
|
|
"cmake-3.22.6-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.6-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.6-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.6-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.6-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.6_toolchains//:cmake-3.22.6-linux-aarch64_toolchain",
|
|
"@cmake_3.22.6_toolchains//:cmake-3.22.6-linux-x86_64_toolchain",
|
|
"@cmake_3.22.6_toolchains//:cmake-3.22.6-macos-universal_toolchain",
|
|
"@cmake_3.22.6_toolchains//:cmake-3.22.6-windows-i386_toolchain",
|
|
"@cmake_3.22.6_toolchains//:cmake-3.22.6-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.5-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "26bbb7c103f03b367feb718f46a09aa2d60fafb5b6993b540c28e87a771fd0d1",
|
|
strip_prefix = "cmake-3.22.5-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.5-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "5a80198423f731ea12ade14b2e44613a4741a9485c8a056f1be93ab468dd1955",
|
|
strip_prefix = "cmake-3.22.5-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.5-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "61bf37055959e75f8055fd4fc17ab458fddbf0b7278df26dc93cb835c57f3bf2",
|
|
strip_prefix = "cmake-3.22.5-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.5-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-windows-i386.zip",
|
|
],
|
|
sha256 = "2948fbf6fa8a52645e297be6fc3228da1a221d658b1041ce368ecef3a4e53de7",
|
|
strip_prefix = "cmake-3.22.5-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.5-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-windows-x86_64.zip",
|
|
],
|
|
sha256 = "777378894962c77d1ea550e42c81d250f38b51e3f82bbd631f02b328bfc430a5",
|
|
strip_prefix = "cmake-3.22.5-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.5_toolchains",
|
|
repos = {
|
|
"cmake-3.22.5-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.5-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.5-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.5-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.5-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.5_toolchains//:cmake-3.22.5-linux-aarch64_toolchain",
|
|
"@cmake_3.22.5_toolchains//:cmake-3.22.5-linux-x86_64_toolchain",
|
|
"@cmake_3.22.5_toolchains//:cmake-3.22.5-macos-universal_toolchain",
|
|
"@cmake_3.22.5_toolchains//:cmake-3.22.5-windows-i386_toolchain",
|
|
"@cmake_3.22.5_toolchains//:cmake-3.22.5-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.4" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.4-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.4/cmake-3.22.4-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "5fc2751a6f5e53a9241923e1da4c2c3e91ffa2fd159b0200ce63a35f9b997af5",
|
|
strip_prefix = "cmake-3.22.4-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.4-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.4/cmake-3.22.4-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "bb70a78b464bf59c4188250f196ad19996f2dafd61c25e7c07f105cf5a95d228",
|
|
strip_prefix = "cmake-3.22.4-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.4-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.4/cmake-3.22.4-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "e9ebc529d53af0fc2af5ec9bc2082743e68e0070f723d659cb541e5626b14841",
|
|
strip_prefix = "cmake-3.22.4-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.4-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.4/cmake-3.22.4-windows-i386.zip",
|
|
],
|
|
sha256 = "801bb04399ffd42c864c35fcb0ea703af22211880013b056153a7a49514217ab",
|
|
strip_prefix = "cmake-3.22.4-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.4-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.4/cmake-3.22.4-windows-x86_64.zip",
|
|
],
|
|
sha256 = "2e85eec283cc51937750b7c3f4e64f058f53da036d3c93ee4dfd6cb490717c78",
|
|
strip_prefix = "cmake-3.22.4-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.4_toolchains",
|
|
repos = {
|
|
"cmake-3.22.4-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.4-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.4-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.4-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.4-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.4_toolchains//:cmake-3.22.4-linux-aarch64_toolchain",
|
|
"@cmake_3.22.4_toolchains//:cmake-3.22.4-linux-x86_64_toolchain",
|
|
"@cmake_3.22.4_toolchains//:cmake-3.22.4-macos-universal_toolchain",
|
|
"@cmake_3.22.4_toolchains//:cmake-3.22.4-windows-i386_toolchain",
|
|
"@cmake_3.22.4_toolchains//:cmake-3.22.4-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "76e708318c1bc775e723b365b2d93732c58451cca5abd9cda0833e649382e3ce",
|
|
strip_prefix = "cmake-3.22.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "96ace92dfe42b1c6c9c116fdb1c7adc42cb90cbaa87adcebc1a8de7ea129865c",
|
|
strip_prefix = "cmake-3.22.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "92b0d5711e13a6a88f0970403edd9b60f2468aebb7e77fb8f3d680b1913dffad",
|
|
strip_prefix = "cmake-3.22.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-windows-i386.zip",
|
|
],
|
|
sha256 = "46604d5e6c150883dc2fb1435b66d3b28754f6dc69b522da03845631a4e3f278",
|
|
strip_prefix = "cmake-3.22.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.3/cmake-3.22.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "0018b369f06646d4784fad131a155333c9d59a03dee6390324f81b9df72a2f00",
|
|
strip_prefix = "cmake-3.22.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.3_toolchains",
|
|
repos = {
|
|
"cmake-3.22.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.3_toolchains//:cmake-3.22.3-linux-aarch64_toolchain",
|
|
"@cmake_3.22.3_toolchains//:cmake-3.22.3-linux-x86_64_toolchain",
|
|
"@cmake_3.22.3_toolchains//:cmake-3.22.3-macos-universal_toolchain",
|
|
"@cmake_3.22.3_toolchains//:cmake-3.22.3-windows-i386_toolchain",
|
|
"@cmake_3.22.3_toolchains//:cmake-3.22.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "02b2b36afc932ede2d77ba53456785bae85538d5d4600f87220072b95d926c5b",
|
|
strip_prefix = "cmake-3.22.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "38b3befdee8fd2bac06954e2a77cb3072e6833c69d8cc013c0a3b26f1cfdfe37",
|
|
strip_prefix = "cmake-3.22.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "cc763f6110b4d49daf51d05689fe54526f84056c9418b0735d9058c803931e54",
|
|
strip_prefix = "cmake-3.22.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-windows-i386.zip",
|
|
],
|
|
sha256 = "c2b32d2b150ea70e353b658fefe5018c486e17a11e95d2e4e4b46dd6f87cea35",
|
|
strip_prefix = "cmake-3.22.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "192d62eaecb0600e743f01058dfbd5b6bed91504fe8f56416febf54c38ce096e",
|
|
strip_prefix = "cmake-3.22.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.2_toolchains",
|
|
repos = {
|
|
"cmake-3.22.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.2_toolchains//:cmake-3.22.2-linux-aarch64_toolchain",
|
|
"@cmake_3.22.2_toolchains//:cmake-3.22.2-linux-x86_64_toolchain",
|
|
"@cmake_3.22.2_toolchains//:cmake-3.22.2-macos-universal_toolchain",
|
|
"@cmake_3.22.2_toolchains//:cmake-3.22.2-windows-i386_toolchain",
|
|
"@cmake_3.22.2_toolchains//:cmake-3.22.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "601443375aa1a48a1a076bda7e3cca73af88400463e166fffc3e1da3ce03540b",
|
|
strip_prefix = "cmake-3.22.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "73565c72355c6652e9db149249af36bcab44d9d478c5546fd926e69ad6b43640",
|
|
strip_prefix = "cmake-3.22.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "9ba46ce69d524f5bcdf98076a6b01f727604fb31cf9005ec03dea1cf16da9514",
|
|
strip_prefix = "cmake-3.22.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-windows-i386.zip",
|
|
],
|
|
sha256 = "f53494e3b35e5a1177ad55c28763eb5bb45772c1d80778c0f96c45ce4376b6e8",
|
|
strip_prefix = "cmake-3.22.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "35fbbb7d9ffa491834bbc79cdfefc6c360088a3c9bf55c29d111a5afa04cdca3",
|
|
strip_prefix = "cmake-3.22.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.1_toolchains",
|
|
repos = {
|
|
"cmake-3.22.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.1_toolchains//:cmake-3.22.1-linux-aarch64_toolchain",
|
|
"@cmake_3.22.1_toolchains//:cmake-3.22.1-linux-x86_64_toolchain",
|
|
"@cmake_3.22.1_toolchains//:cmake-3.22.1-macos-universal_toolchain",
|
|
"@cmake_3.22.1_toolchains//:cmake-3.22.1-windows-i386_toolchain",
|
|
"@cmake_3.22.1_toolchains//:cmake-3.22.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.22.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.0-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "fad31d923ccfca6202638df3995533ed3ce440fd67eb031d33cfd7c074b68e8c",
|
|
strip_prefix = "cmake-3.22.0-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.0-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "dc73115520d13bb64202383d3df52bc3d6bbb8422ecc5b2c05f803491cb215b0",
|
|
strip_prefix = "cmake-3.22.0-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.0-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "84526401d8cc0a0b0551f2f899164e2fbc2c69cbc8573b67bfa7441bae7ad051",
|
|
strip_prefix = "cmake-3.22.0-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.0-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0-windows-i386.zip",
|
|
],
|
|
sha256 = "b7737d6934c4c0210f97eb7fdb20c86eec2cc1475c9395dcd376fd697fd33096",
|
|
strip_prefix = "cmake-3.22.0-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.22.0-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0-windows-x86_64.zip",
|
|
],
|
|
sha256 = "fcce74d1d7eaf825234c036702df3f0874dcd3cee8fdf90b56d0c7bfedd29465",
|
|
strip_prefix = "cmake-3.22.0-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.22.0_toolchains",
|
|
repos = {
|
|
"cmake-3.22.0-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.0-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.22.0-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.22.0-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.22.0-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.22.0_toolchains//:cmake-3.22.0-linux-aarch64_toolchain",
|
|
"@cmake_3.22.0_toolchains//:cmake-3.22.0-linux-x86_64_toolchain",
|
|
"@cmake_3.22.0_toolchains//:cmake-3.22.0-macos-universal_toolchain",
|
|
"@cmake_3.22.0_toolchains//:cmake-3.22.0-windows-i386_toolchain",
|
|
"@cmake_3.22.0_toolchains//:cmake-3.22.0-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.6" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.6-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.6/cmake-3.21.6-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "e3648e2c12157bf2c5b695a84499f3639fc87ea61558cc3b98e2e78e3a21b546",
|
|
strip_prefix = "cmake-3.21.6-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.6-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.6/cmake-3.21.6-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "bf457b4432c9b81877b299ade36324ba4f2429e0005e1a388aeae353c652d087",
|
|
strip_prefix = "cmake-3.21.6-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.6-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.6/cmake-3.21.6-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "0a0a68efd6a2e673e584389141b46ff398d13d7b36bd9ad2dc7f3110ebc13411",
|
|
strip_prefix = "cmake-3.21.6-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.6-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.6/cmake-3.21.6-windows-i386.zip",
|
|
],
|
|
sha256 = "9278fd58c2a1a34e395a3faca1a943b6b6adba684350b421e76b59996edb5d2f",
|
|
strip_prefix = "cmake-3.21.6-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.6-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.6/cmake-3.21.6-windows-x86_64.zip",
|
|
],
|
|
sha256 = "1a9dec52ce243adf5a313820ea2101bdd22c5d37b71e08962febfb10dd27ee30",
|
|
strip_prefix = "cmake-3.21.6-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.6_toolchains",
|
|
repos = {
|
|
"cmake-3.21.6-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.6-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.6-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.6-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.6-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.6_toolchains//:cmake-3.21.6-linux-aarch64_toolchain",
|
|
"@cmake_3.21.6_toolchains//:cmake-3.21.6-linux-x86_64_toolchain",
|
|
"@cmake_3.21.6_toolchains//:cmake-3.21.6-macos-universal_toolchain",
|
|
"@cmake_3.21.6_toolchains//:cmake-3.21.6-windows-i386_toolchain",
|
|
"@cmake_3.21.6_toolchains//:cmake-3.21.6-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.5-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.5/cmake-3.21.5-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "f9809b87d42ff0b0e1a44f9a417d40cd2aced14a7dbadc7ffe5d89b0c5748b24",
|
|
strip_prefix = "cmake-3.21.5-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.5-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.5/cmake-3.21.5-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "cdee65fe61fdc10db9cc695022924faaa35fb6334a3620cb1b563a9335367756",
|
|
strip_prefix = "cmake-3.21.5-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.5-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.5/cmake-3.21.5-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "1eeaaeb59f1bb032f9572a1673d44ccee1091691de82aadb9a94af0ba6975547",
|
|
strip_prefix = "cmake-3.21.5-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.5-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.5/cmake-3.21.5-windows-i386.zip",
|
|
],
|
|
sha256 = "c6e47f3847e201ef181ed4482802f408aad7fadc12e7e5c77a90ca9230c1cb84",
|
|
strip_prefix = "cmake-3.21.5-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.5-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.5/cmake-3.21.5-windows-x86_64.zip",
|
|
],
|
|
sha256 = "346ac5a71012e58a2d76151df3de74074e7199e08091d228a250219419c457bd",
|
|
strip_prefix = "cmake-3.21.5-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.5_toolchains",
|
|
repos = {
|
|
"cmake-3.21.5-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.5-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.5-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.5-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.5-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.5_toolchains//:cmake-3.21.5-linux-aarch64_toolchain",
|
|
"@cmake_3.21.5_toolchains//:cmake-3.21.5-linux-x86_64_toolchain",
|
|
"@cmake_3.21.5_toolchains//:cmake-3.21.5-macos-universal_toolchain",
|
|
"@cmake_3.21.5_toolchains//:cmake-3.21.5-windows-i386_toolchain",
|
|
"@cmake_3.21.5_toolchains//:cmake-3.21.5-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.4" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.4-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "abe24e2e6ae8a706e771a612603ec93457dc6b71bdb09e35d2a26f051e2fa818",
|
|
strip_prefix = "cmake-3.21.4-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.4-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "eddba9da5b60e0b5ec5cbb1a65e504d776e247573204df14f6d004da9bc611f9",
|
|
strip_prefix = "cmake-3.21.4-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.4-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "f818a10fe625b215e31d0c29c19a6563fb5f51ed7cc7727e5011626c11ea321a",
|
|
strip_prefix = "cmake-3.21.4-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.4-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-windows-i386.zip",
|
|
],
|
|
sha256 = "970d38453abd7c5953415b8ea8c1f66f88a2bd2548feabc5e4b6f1b8c4acdcae",
|
|
strip_prefix = "cmake-3.21.4-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.4-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.4/cmake-3.21.4-windows-x86_64.zip",
|
|
],
|
|
sha256 = "360ee9bf77cd891d4a33997e4e214d0cd6a0fd7ae6051d023f403a74248914a8",
|
|
strip_prefix = "cmake-3.21.4-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.4_toolchains",
|
|
repos = {
|
|
"cmake-3.21.4-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.4-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.4-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.4-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.4-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.4_toolchains//:cmake-3.21.4-linux-aarch64_toolchain",
|
|
"@cmake_3.21.4_toolchains//:cmake-3.21.4-linux-x86_64_toolchain",
|
|
"@cmake_3.21.4_toolchains//:cmake-3.21.4-macos-universal_toolchain",
|
|
"@cmake_3.21.4_toolchains//:cmake-3.21.4-windows-i386_toolchain",
|
|
"@cmake_3.21.4_toolchains//:cmake-3.21.4-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "273d0d4d4189b3b9a073d8d469f6c52e9ebb539bb727c9e49fc53a51269794c4",
|
|
strip_prefix = "cmake-3.21.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "a19aa9fcf368e9d923cdb29189528f0fe00a0d08e752ba4e547af91817518696",
|
|
strip_prefix = "cmake-3.21.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "a86c6d4ffb829e46cf4ea6c14558917b0a15eb42019c5c6b55a25e2610e8c8da",
|
|
strip_prefix = "cmake-3.21.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3-windows-i386.zip",
|
|
],
|
|
sha256 = "b38d83a7670af97d4b8bca2a70f25f8e4cb2d912eb7c371ad3d4a263c2c841d2",
|
|
strip_prefix = "cmake-3.21.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "e28178103fad901a99fb201fac04e4787d4cd4f664c5db88998c57eed68843b9",
|
|
strip_prefix = "cmake-3.21.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.3_toolchains",
|
|
repos = {
|
|
"cmake-3.21.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.3_toolchains//:cmake-3.21.3-linux-aarch64_toolchain",
|
|
"@cmake_3.21.3_toolchains//:cmake-3.21.3-linux-x86_64_toolchain",
|
|
"@cmake_3.21.3_toolchains//:cmake-3.21.3-macos-universal_toolchain",
|
|
"@cmake_3.21.3_toolchains//:cmake-3.21.3-windows-i386_toolchain",
|
|
"@cmake_3.21.3_toolchains//:cmake-3.21.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "fe0673c1877f31e37fd94bfe0509c2e4c13b9d5174dd953c2354549685e1d055",
|
|
strip_prefix = "cmake-3.21.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "d5517d949eaa8f10a149ca250e811e1473ee3f6f10935f1f69596a1e184eafc1",
|
|
strip_prefix = "cmake-3.21.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "25e3f439c19185f51136126a06e14b4873243ea1b4a37678881adde05433ae9b",
|
|
strip_prefix = "cmake-3.21.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-windows-i386.zip",
|
|
],
|
|
sha256 = "9374249e8ca5cfe899f6a8dc95252e79242290e452b3ce12a88449560143b6e9",
|
|
strip_prefix = "cmake-3.21.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "213a4e6485b711cb0a48cbd97b10dfe161a46bfe37b8f3205f47e99ffec434d2",
|
|
strip_prefix = "cmake-3.21.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.2_toolchains",
|
|
repos = {
|
|
"cmake-3.21.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.2_toolchains//:cmake-3.21.2-linux-aarch64_toolchain",
|
|
"@cmake_3.21.2_toolchains//:cmake-3.21.2-linux-x86_64_toolchain",
|
|
"@cmake_3.21.2_toolchains//:cmake-3.21.2-macos-universal_toolchain",
|
|
"@cmake_3.21.2_toolchains//:cmake-3.21.2-windows-i386_toolchain",
|
|
"@cmake_3.21.2_toolchains//:cmake-3.21.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "24fe6a5a97de9f80d735e56d9a57beaee29bf59e8460ca4af42addbe62f5543a",
|
|
strip_prefix = "cmake-3.21.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "bf496ce869d0aa8c1f57e4d1a2e50c8f2fb12a6cd7ccb37ad743bb88f6b76a1e",
|
|
strip_prefix = "cmake-3.21.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "9dc2978c4d94a44f71336fa88c15bb0eee47cf44b6ece51b10d1dfae95f82279",
|
|
strip_prefix = "cmake-3.21.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-windows-i386.zip",
|
|
],
|
|
sha256 = "635772701135f704bcf2d03eb69d19ddb1660bab5f150b4661fd67518690fc94",
|
|
strip_prefix = "cmake-3.21.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "9fba6df0b89be0dc0377f2e77ca272b3f8c38691fe237699de275ea0c2254242",
|
|
strip_prefix = "cmake-3.21.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.1_toolchains",
|
|
repos = {
|
|
"cmake-3.21.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.1_toolchains//:cmake-3.21.1-linux-aarch64_toolchain",
|
|
"@cmake_3.21.1_toolchains//:cmake-3.21.1-linux-x86_64_toolchain",
|
|
"@cmake_3.21.1_toolchains//:cmake-3.21.1-macos-universal_toolchain",
|
|
"@cmake_3.21.1_toolchains//:cmake-3.21.1-windows-i386_toolchain",
|
|
"@cmake_3.21.1_toolchains//:cmake-3.21.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.21.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.0-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "b1e46825bf370f45f8f47c3a497b1122759ee41fbd60187e525f517a4b0934eb",
|
|
strip_prefix = "cmake-3.21.0-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.0-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "d54ef6909f519740bc85cec07ff54574cd1e061f9f17357d9ace69f61c6291ce",
|
|
strip_prefix = "cmake-3.21.0-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.0-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "c1c6f19dfc9c658a48b5aed22806595b2337bb3aedb71ab826552f74f568719f",
|
|
strip_prefix = "cmake-3.21.0-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.0-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-windows-i386.zip",
|
|
],
|
|
sha256 = "11ee86b7f9799724fc16664c63e308bfe3fbc22c9df8ef4955ad4b248f3e680b",
|
|
strip_prefix = "cmake-3.21.0-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.21.0-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.21.0/cmake-3.21.0-windows-x86_64.zip",
|
|
],
|
|
sha256 = "c7b88c907a753f4ec86e43ddc89f91f70bf1b011859142f7f29e6d51ea4abb3c",
|
|
strip_prefix = "cmake-3.21.0-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.21.0_toolchains",
|
|
repos = {
|
|
"cmake-3.21.0-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.0-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.21.0-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.21.0-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.21.0-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.21.0_toolchains//:cmake-3.21.0-linux-aarch64_toolchain",
|
|
"@cmake_3.21.0_toolchains//:cmake-3.21.0-linux-x86_64_toolchain",
|
|
"@cmake_3.21.0_toolchains//:cmake-3.21.0-macos-universal_toolchain",
|
|
"@cmake_3.21.0_toolchains//:cmake-3.21.0-windows-i386_toolchain",
|
|
"@cmake_3.21.0_toolchains//:cmake-3.21.0-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.6" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.6-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "9ac2035174d3c62827c85fb052372d70cf35fb565e8d47b8241fbe451c29b2f2",
|
|
strip_prefix = "cmake-3.20.6-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.6-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "458777097903b0f35a0452266b923f0a2f5b62fe331e636e2dcc4b636b768e36",
|
|
strip_prefix = "cmake-3.20.6-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.6-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "bc75cfbcbd95851d2e712c884de80814d7a7939441612af0ae6c5ccc2d94929f",
|
|
strip_prefix = "cmake-3.20.6-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.6-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6-windows-i386.zip",
|
|
],
|
|
sha256 = "3166300cce9336cd6d9c468fcb8421086baf1c3f0821bddf5f37703d00adb1cd",
|
|
strip_prefix = "cmake-3.20.6-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.6-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6-windows-x86_64.zip",
|
|
],
|
|
sha256 = "f240a38c964712aac474644b3ba21bdc2b4e8d5e31179f67bd2e6f45fa349419",
|
|
strip_prefix = "cmake-3.20.6-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.6_toolchains",
|
|
repos = {
|
|
"cmake-3.20.6-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.6-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.6-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.6-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.6-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.6_toolchains//:cmake-3.20.6-linux-aarch64_toolchain",
|
|
"@cmake_3.20.6_toolchains//:cmake-3.20.6-linux-x86_64_toolchain",
|
|
"@cmake_3.20.6_toolchains//:cmake-3.20.6-macos-universal_toolchain",
|
|
"@cmake_3.20.6_toolchains//:cmake-3.20.6-windows-i386_toolchain",
|
|
"@cmake_3.20.6_toolchains//:cmake-3.20.6-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.5-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "d2fa6678e5f716de349be23f7096a935f35ed69caebea982f6d16368489c45a0",
|
|
strip_prefix = "cmake-3.20.5-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.5-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "5ffbc450c992cbc383c787576385ff35aefb762b0f05cbde8bab2c995ab045aa",
|
|
strip_prefix = "cmake-3.20.5-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.5-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "000828af55268853ba21b91f8ce3bfb9365aa72aee960fc7f0c01a71f3a2217a",
|
|
strip_prefix = "cmake-3.20.5-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.5-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-windows-i386.zip",
|
|
],
|
|
sha256 = "3e288bb1b85d5bfab6671c9bdcea4192eeb02eae1fbf23d0e872e160bb644afa",
|
|
strip_prefix = "cmake-3.20.5-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.5-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-windows-x86_64.zip",
|
|
],
|
|
sha256 = "d064e3b4f76d9b8c63ea119c545f769d7bdbf19b484dc94df11508c4f3e05d6d",
|
|
strip_prefix = "cmake-3.20.5-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.5_toolchains",
|
|
repos = {
|
|
"cmake-3.20.5-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.5-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.5-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.5-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.5-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.5_toolchains//:cmake-3.20.5-linux-aarch64_toolchain",
|
|
"@cmake_3.20.5_toolchains//:cmake-3.20.5-linux-x86_64_toolchain",
|
|
"@cmake_3.20.5_toolchains//:cmake-3.20.5-macos-universal_toolchain",
|
|
"@cmake_3.20.5_toolchains//:cmake-3.20.5-windows-i386_toolchain",
|
|
"@cmake_3.20.5_toolchains//:cmake-3.20.5-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.4" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.4-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "d66869db7c0da56f2e32271e264756382f2f17e2421ac67f1372953cf8ec51a2",
|
|
strip_prefix = "cmake-3.20.4-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.4-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "067feed25b76b3adf5863f5a5f7e2b8cafb2dcd6feeaac39a713372ef2c3584c",
|
|
strip_prefix = "cmake-3.20.4-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.4-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "df90016635e3183834143c6d94607f0804fe9762f7cc6032f6a4afd7c19cd43b",
|
|
strip_prefix = "cmake-3.20.4-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.4-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-windows-i386.zip",
|
|
],
|
|
sha256 = "e571c0cebb237da800198ef89d1c874d15f04dfe13dc44d85c2a56e90a4a5209",
|
|
strip_prefix = "cmake-3.20.4-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.4-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-windows-x86_64.zip",
|
|
],
|
|
sha256 = "965d2f001c3ca807d288f2b6b15c42b25579a0e73ef12c2a72c95f4c69123638",
|
|
strip_prefix = "cmake-3.20.4-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.4_toolchains",
|
|
repos = {
|
|
"cmake-3.20.4-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.4-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.4-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.4-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.4-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.4_toolchains//:cmake-3.20.4-linux-aarch64_toolchain",
|
|
"@cmake_3.20.4_toolchains//:cmake-3.20.4-linux-x86_64_toolchain",
|
|
"@cmake_3.20.4_toolchains//:cmake-3.20.4-macos-universal_toolchain",
|
|
"@cmake_3.20.4_toolchains//:cmake-3.20.4-windows-i386_toolchain",
|
|
"@cmake_3.20.4_toolchains//:cmake-3.20.4-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.3-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "77620f99e9d5f39cf4a49294c6a68c89a978ecef144894618974b9958efe3c2a",
|
|
strip_prefix = "cmake-3.20.3-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.3-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "97bf730372f9900b2dfb9206fccbcf92f5c7f3b502148b832e77451aa0f9e0e6",
|
|
strip_prefix = "cmake-3.20.3-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.3-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "5f72dba3aa5f3800fb29ab6115ae0b31f10bdb2aad66204e14c98f6ac7e6b6ed",
|
|
strip_prefix = "cmake-3.20.3-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.3-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-windows-i386.zip",
|
|
],
|
|
sha256 = "b690206f58368afd69244e8dc029b0b3dacae31bb6d4f6ab713b0e18a686aa7d",
|
|
strip_prefix = "cmake-3.20.3-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.3-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-windows-x86_64.zip",
|
|
],
|
|
sha256 = "e276cf7fbb3e3e88bc666e183bc3ddaceb143a4c83fb357b1dbb1a26fd6e4ea2",
|
|
strip_prefix = "cmake-3.20.3-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.3_toolchains",
|
|
repos = {
|
|
"cmake-3.20.3-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.3-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.3-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.3-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.3-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.3_toolchains//:cmake-3.20.3-linux-aarch64_toolchain",
|
|
"@cmake_3.20.3_toolchains//:cmake-3.20.3-linux-x86_64_toolchain",
|
|
"@cmake_3.20.3_toolchains//:cmake-3.20.3-macos-universal_toolchain",
|
|
"@cmake_3.20.3_toolchains//:cmake-3.20.3-windows-i386_toolchain",
|
|
"@cmake_3.20.3_toolchains//:cmake-3.20.3-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.2-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "688a3ece018384966fed99a706bc8fbbbc50220393dce1531af36e640c46f601",
|
|
strip_prefix = "cmake-3.20.2-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.2-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "3f827544f9c82e74ddf5016461fdfcfea4ede58a26f82612f473bf6bfad8bfc2",
|
|
strip_prefix = "cmake-3.20.2-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.2-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "0100663380a3bd977b001183cd487412db7aad9de6859927bde97e1e6e44e645",
|
|
strip_prefix = "cmake-3.20.2-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.2-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2-windows-i386.zip",
|
|
],
|
|
sha256 = "8ad1f1f9a1a0a0dc82107eb9a4351d91d4e72504b0343368f1569b72a5e48bc1",
|
|
strip_prefix = "cmake-3.20.2-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.2-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2-windows-x86_64.zip",
|
|
],
|
|
sha256 = "15a49e2ab81c1822d75b1b1a92f7863f58e31f6d6aac1c4103eef2b071be3112",
|
|
strip_prefix = "cmake-3.20.2-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.2_toolchains",
|
|
repos = {
|
|
"cmake-3.20.2-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.2-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.2-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.2-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.2-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.2_toolchains//:cmake-3.20.2-linux-aarch64_toolchain",
|
|
"@cmake_3.20.2_toolchains//:cmake-3.20.2-linux-x86_64_toolchain",
|
|
"@cmake_3.20.2_toolchains//:cmake-3.20.2-macos-universal_toolchain",
|
|
"@cmake_3.20.2_toolchains//:cmake-3.20.2-windows-i386_toolchain",
|
|
"@cmake_3.20.2_toolchains//:cmake-3.20.2-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.1-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "5ad1f8139498a1956df369c401658ec787f63c8cb4e9759f2edaa51626a86512",
|
|
strip_prefix = "cmake-3.20.1-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.1-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "b8c141bd7a6d335600ab0a8a35e75af79f95b837f736456b5532f4d717f20a09",
|
|
strip_prefix = "cmake-3.20.1-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.1-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "44143d47fdcc7fc3042576c6a8b661e3b65a18143666f74d6e8d93ca3ab5cd95",
|
|
strip_prefix = "cmake-3.20.1-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.1-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-windows-i386.zip",
|
|
],
|
|
sha256 = "650026534e66dabe0ed6be3422e86fabce5fa86d43927171ea8b8dfd0877fc9d",
|
|
strip_prefix = "cmake-3.20.1-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.1-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-windows-x86_64.zip",
|
|
],
|
|
sha256 = "9ed05401722f60e006420f5974c164795b321f0d8d8e7f2c0ed1180b5382201b",
|
|
strip_prefix = "cmake-3.20.1-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.1_toolchains",
|
|
repos = {
|
|
"cmake-3.20.1-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.1-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.1-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.1-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.1-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.1_toolchains//:cmake-3.20.1-linux-aarch64_toolchain",
|
|
"@cmake_3.20.1_toolchains//:cmake-3.20.1-linux-x86_64_toolchain",
|
|
"@cmake_3.20.1_toolchains//:cmake-3.20.1-macos-universal_toolchain",
|
|
"@cmake_3.20.1_toolchains//:cmake-3.20.1-windows-i386_toolchain",
|
|
"@cmake_3.20.1_toolchains//:cmake-3.20.1-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.20.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.0-linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "f1818d870f5be180e3059b1f3a2cae4a01161fdcb5b5441bec00d9e6aa3d6e0f",
|
|
strip_prefix = "cmake-3.20.0-linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.0-linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "3f8aeb2907d96cd4dc03955228b2be3f8b58cff65704bd9ce4599589253c8de8",
|
|
strip_prefix = "cmake-3.20.0-linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.0-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "bca9645a17f528ffc267ac05033e25a1223dccb912d1f4bc5afcbeebad111662",
|
|
strip_prefix = "cmake-3.20.0-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.0-windows-i386",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-windows-i386.zip",
|
|
],
|
|
sha256 = "6df4c34f7d2735100ebae91e6d2d37b3c3c7b81e93decce9f4926a4e505affbc",
|
|
strip_prefix = "cmake-3.20.0-windows-i386",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.20.0-windows-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-windows-x86_64.zip",
|
|
],
|
|
sha256 = "056378cb599353479c3a8aa2654454b8a3eaa3c8c0872928ba7e09c3ec50774c",
|
|
strip_prefix = "cmake-3.20.0-windows-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.20.0_toolchains",
|
|
repos = {
|
|
"cmake-3.20.0-linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.0-linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.20.0-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.20.0-windows-i386": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.20.0-windows-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.20.0_toolchains//:cmake-3.20.0-linux-aarch64_toolchain",
|
|
"@cmake_3.20.0_toolchains//:cmake-3.20.0-linux-x86_64_toolchain",
|
|
"@cmake_3.20.0_toolchains//:cmake-3.20.0-macos-universal_toolchain",
|
|
"@cmake_3.20.0_toolchains//:cmake-3.20.0-windows-i386_toolchain",
|
|
"@cmake_3.20.0_toolchains//:cmake-3.20.0-windows-x86_64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.19.8" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.8-Linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-Linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "807f5afb2a560e00af9640e496d5673afefc2888bf0ed076412884a5ebb547a1",
|
|
strip_prefix = "cmake-3.19.8-Linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.8-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "db0d7d225150dd6e08ce54995e671f9b4801b8e93e22df1eef52339f6bbbecd9",
|
|
strip_prefix = "cmake-3.19.8-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.8-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "0976d23d982af05dcbfb3aa34fcb62ead43bea27f0e3bb95222f2a78161423f2",
|
|
strip_prefix = "cmake-3.19.8-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.8-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-win32-x86.zip",
|
|
],
|
|
sha256 = "f82bbfc56fe1c9f9f137991f742d09b79ec31168ef99eb67f8f4fa92276d9efb",
|
|
strip_prefix = "cmake-3.19.8-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.8-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-win64-x64.zip",
|
|
],
|
|
sha256 = "2a30877a3d6b50da305b289f4d1c03befdfaeb2edba02a563c681e883d810380",
|
|
strip_prefix = "cmake-3.19.8-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.19.8_toolchains",
|
|
repos = {
|
|
"cmake-3.19.8-Linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.8-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.8-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.19.8-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.19.8-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.19.8_toolchains//:cmake-3.19.8-Linux-aarch64_toolchain",
|
|
"@cmake_3.19.8_toolchains//:cmake-3.19.8-Linux-x86_64_toolchain",
|
|
"@cmake_3.19.8_toolchains//:cmake-3.19.8-macos-universal_toolchain",
|
|
"@cmake_3.19.8_toolchains//:cmake-3.19.8-win32-x86_toolchain",
|
|
"@cmake_3.19.8_toolchains//:cmake-3.19.8-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.19.7" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.7-Linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.7/cmake-3.19.7-Linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "eb1cf718eca1d5bc212a0ef76d19a977b6b6481a795985b8741c31f866c88e09",
|
|
strip_prefix = "cmake-3.19.7-Linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.7-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.7/cmake-3.19.7-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "ba4a5f46aab500e0d8d952ee735dcfb0c870d326e851addc037c99eb1ea4b66c",
|
|
strip_prefix = "cmake-3.19.7-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.7-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.7/cmake-3.19.7-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "52036f8450fabb69bedc3c3eccc58202ae9eefe8358fa383978c7b142f931fa5",
|
|
strip_prefix = "cmake-3.19.7-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.7-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.7/cmake-3.19.7-win32-x86.zip",
|
|
],
|
|
sha256 = "7771205d94022787bc4c3a623629d236b10bf697315e9f92c214dd8b53e8746e",
|
|
strip_prefix = "cmake-3.19.7-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.7-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.7/cmake-3.19.7-win64-x64.zip",
|
|
],
|
|
sha256 = "e6788d6e23b3026c37fcfa7658075d6b5f9113f26fae17fe372ad4a7ee62d5fd",
|
|
strip_prefix = "cmake-3.19.7-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.19.7_toolchains",
|
|
repos = {
|
|
"cmake-3.19.7-Linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.7-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.7-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.19.7-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.19.7-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.19.7_toolchains//:cmake-3.19.7-Linux-aarch64_toolchain",
|
|
"@cmake_3.19.7_toolchains//:cmake-3.19.7-Linux-x86_64_toolchain",
|
|
"@cmake_3.19.7_toolchains//:cmake-3.19.7-macos-universal_toolchain",
|
|
"@cmake_3.19.7_toolchains//:cmake-3.19.7-win32-x86_toolchain",
|
|
"@cmake_3.19.7_toolchains//:cmake-3.19.7-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.19.6" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.6-Linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-Linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "69ec045c6993907a4f4a77349d0a0668f1bd3ce8bc5f6fbab6dc7a7e2ffc4f80",
|
|
strip_prefix = "cmake-3.19.6-Linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.6-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "139580473b84f5c6cf27b1d1ac84e9aa6968aa13e4b1900394c50075b366fb15",
|
|
strip_prefix = "cmake-3.19.6-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.6-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "c0b73e5871e82153f0bced071c8f1a9e2b1884645d47c0565c7cb28fe894e6c7",
|
|
strip_prefix = "cmake-3.19.6-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.6-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-win32-x86.zip",
|
|
],
|
|
sha256 = "e0cd5a2ec34bd7954238ca2a4c7d3c67c49dac2ea285be3c098662a005ad46e0",
|
|
strip_prefix = "cmake-3.19.6-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.6-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-win64-x64.zip",
|
|
],
|
|
sha256 = "6883a07f95ae01360d24f1341622f71b3e6ddc6251381752cd4a4d9d4d704c67",
|
|
strip_prefix = "cmake-3.19.6-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.19.6_toolchains",
|
|
repos = {
|
|
"cmake-3.19.6-Linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.6-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.6-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.19.6-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.19.6-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.19.6_toolchains//:cmake-3.19.6-Linux-aarch64_toolchain",
|
|
"@cmake_3.19.6_toolchains//:cmake-3.19.6-Linux-x86_64_toolchain",
|
|
"@cmake_3.19.6_toolchains//:cmake-3.19.6-macos-universal_toolchain",
|
|
"@cmake_3.19.6_toolchains//:cmake-3.19.6-win32-x86_toolchain",
|
|
"@cmake_3.19.6_toolchains//:cmake-3.19.6-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.19.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.5-Linux-aarch64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.5/cmake-3.19.5-Linux-aarch64.tar.gz",
|
|
],
|
|
sha256 = "31b3de5e4bc56d96debaa336ffd19cbc6edeaea0828ec1e298f0dd09db55f0f4",
|
|
strip_prefix = "cmake-3.19.5-Linux-aarch64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.5-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.5/cmake-3.19.5-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "ad9102717d67a0e6d72d03d2a25dbbde24386b15b7815b31068cbf5f790638f1",
|
|
strip_prefix = "cmake-3.19.5-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.5-macos-universal",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.5/cmake-3.19.5-macos-universal.tar.gz",
|
|
],
|
|
sha256 = "bf38acc7f93980a9dff11ef1bd9b0d6852618a44edcdabc4722737fc83f5654b",
|
|
strip_prefix = "cmake-3.19.5-macos-universal/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.5-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.5/cmake-3.19.5-win32-x86.zip",
|
|
],
|
|
sha256 = "bb51f578195ca6587afe4e2fc67f6755fd6962aa0eb897713f309ac4567da6f4",
|
|
strip_prefix = "cmake-3.19.5-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.19.5-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.19.5/cmake-3.19.5-win64-x64.zip",
|
|
],
|
|
sha256 = "e2e12729ac43fb4702aedede0383601ea0d63b75d22f892f944d32749da123fd",
|
|
strip_prefix = "cmake-3.19.5-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.19.5_toolchains",
|
|
repos = {
|
|
"cmake-3.19.5-Linux-aarch64": [
|
|
"@platforms//cpu:aarch64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.5-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.19.5-macos-universal": [
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.19.5-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.19.5-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.19.5_toolchains//:cmake-3.19.5-Linux-aarch64_toolchain",
|
|
"@cmake_3.19.5_toolchains//:cmake-3.19.5-Linux-x86_64_toolchain",
|
|
"@cmake_3.19.5_toolchains//:cmake-3.19.5-macos-universal_toolchain",
|
|
"@cmake_3.19.5_toolchains//:cmake-3.19.5-win32-x86_toolchain",
|
|
"@cmake_3.19.5_toolchains//:cmake-3.19.5-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.18.6" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.18.6-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.18.6/cmake-3.18.6-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "676dc3f1d6f15cd7c1d9f4fa7e2a43613f426cd20783c02d4fdb5e139f39eec3",
|
|
strip_prefix = "cmake-3.18.6-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.18.6-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.18.6/cmake-3.18.6-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "87136646867ed65e935d6bacd44d52a740c448ad0806f6897d8c3d47ce438c8b",
|
|
strip_prefix = "cmake-3.18.6-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.18.6-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.18.6/cmake-3.18.6-win32-x86.zip",
|
|
],
|
|
sha256 = "f6531568def18afecf3d54abd7ccf1f9cf092c683b14fde36b47910c7f822e8d",
|
|
strip_prefix = "cmake-3.18.6-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.18.6-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.18.6/cmake-3.18.6-win64-x64.zip",
|
|
],
|
|
sha256 = "6a7166841bf2d72d56b5ff8c7c7606901bd8a0d87194f509b759d3ae3b6fdd6e",
|
|
strip_prefix = "cmake-3.18.6-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.18.6_toolchains",
|
|
repos = {
|
|
"cmake-3.18.6-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.18.6-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.18.6-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.18.6-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.18.6_toolchains//:cmake-3.18.6-Darwin-x86_64_toolchain",
|
|
"@cmake_3.18.6_toolchains//:cmake-3.18.6-Linux-x86_64_toolchain",
|
|
"@cmake_3.18.6_toolchains//:cmake-3.18.6-win32-x86_toolchain",
|
|
"@cmake_3.18.6_toolchains//:cmake-3.18.6-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.17.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.17.5-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.17.5/cmake-3.17.5-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "7556e90cdf69b3f16e2efe10b3f3557c82488c93de89d7c192729178b573d679",
|
|
strip_prefix = "cmake-3.17.5-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.17.5-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.17.5/cmake-3.17.5-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "897142368b15a5693c999a7ed2187be20c1b41a68c3711379d32a33469bb29ba",
|
|
strip_prefix = "cmake-3.17.5-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.17.5-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.17.5/cmake-3.17.5-win32-x86.zip",
|
|
],
|
|
sha256 = "666a4f46957aee89c18664a51e1373b3d80c07045b1aada25a9625d208be46bc",
|
|
strip_prefix = "cmake-3.17.5-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.17.5-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.17.5/cmake-3.17.5-win64-x64.zip",
|
|
],
|
|
sha256 = "7134ba36fc031565eb9eb50e37c24be2e4d902e090b5cfd48b5f434aaf6eefa8",
|
|
strip_prefix = "cmake-3.17.5-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.17.5_toolchains",
|
|
repos = {
|
|
"cmake-3.17.5-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.17.5-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.17.5-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.17.5-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.17.5_toolchains//:cmake-3.17.5-Darwin-x86_64_toolchain",
|
|
"@cmake_3.17.5_toolchains//:cmake-3.17.5-Linux-x86_64_toolchain",
|
|
"@cmake_3.17.5_toolchains//:cmake-3.17.5-win32-x86_toolchain",
|
|
"@cmake_3.17.5_toolchains//:cmake-3.17.5-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.16.9" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.16.9-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "ed0583446e6ee1ff6347c0011a0f7141d7a4fd5b97b51e213a418f12789ea9f9",
|
|
strip_prefix = "cmake-3.16.9-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.16.9-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "96d79367dcafb47d606573a4687021d3cb18dd53d83458fc1d6d9c89bf31b553",
|
|
strip_prefix = "cmake-3.16.9-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.16.9-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-win32-x86.zip",
|
|
],
|
|
sha256 = "5362139fe0540f5eb88a964a97f5d3a6c74ea5a93bace9916fde3de11fb5af2e",
|
|
strip_prefix = "cmake-3.16.9-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.16.9-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.16.9/cmake-3.16.9-win64-x64.zip",
|
|
],
|
|
sha256 = "60f2296c241b1188c4a5870bbdebf01a2a25a87d21b6f95c1bba924adb94c62f",
|
|
strip_prefix = "cmake-3.16.9-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.16.9_toolchains",
|
|
repos = {
|
|
"cmake-3.16.9-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.16.9-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.16.9-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.16.9-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.16.9_toolchains//:cmake-3.16.9-Darwin-x86_64_toolchain",
|
|
"@cmake_3.16.9_toolchains//:cmake-3.16.9-Linux-x86_64_toolchain",
|
|
"@cmake_3.16.9_toolchains//:cmake-3.16.9-win32-x86_toolchain",
|
|
"@cmake_3.16.9_toolchains//:cmake-3.16.9-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.15.7" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.15.7-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.15.7/cmake-3.15.7-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "cafa3c3b96cf9877c7bddc024edb3a0dd8abdc123add0f141f825ce61eeb5d1e",
|
|
strip_prefix = "cmake-3.15.7-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.15.7-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.15.7/cmake-3.15.7-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "8456a10ac2fd0dc97d13aa4753431a232cf32aecb0976541f7bf867a3f90ec57",
|
|
strip_prefix = "cmake-3.15.7-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.15.7-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.15.7/cmake-3.15.7-win32-x86.zip",
|
|
],
|
|
sha256 = "9616ad2a72ac1ad76cd25ba8f5c73be8bf881be85af44e442cab9a1700800008",
|
|
strip_prefix = "cmake-3.15.7-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.15.7-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.15.7/cmake-3.15.7-win64-x64.zip",
|
|
],
|
|
sha256 = "d5c691fd40ba84983a05e205d1db810adf77b90ca76106a27821e9e9405bc31b",
|
|
strip_prefix = "cmake-3.15.7-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.15.7_toolchains",
|
|
repos = {
|
|
"cmake-3.15.7-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.15.7-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.15.7-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.15.7-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.15.7_toolchains//:cmake-3.15.7-Darwin-x86_64_toolchain",
|
|
"@cmake_3.15.7_toolchains//:cmake-3.15.7-Linux-x86_64_toolchain",
|
|
"@cmake_3.15.7_toolchains//:cmake-3.15.7-win32-x86_toolchain",
|
|
"@cmake_3.15.7_toolchains//:cmake-3.15.7-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.14.7" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.14.7-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.14.7/cmake-3.14.7-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "5d69fc79f7dff65a999b5c321d606d9152d7cde0717817c5f4d2b14be4a5862b",
|
|
strip_prefix = "cmake-3.14.7-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.14.7-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.14.7/cmake-3.14.7-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "85aa7e9d77a9848bfae26289424d4f1cb4a0b0579b0e30e31148a37f140c33c2",
|
|
strip_prefix = "cmake-3.14.7-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.14.7-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.14.7/cmake-3.14.7-win32-x86.zip",
|
|
],
|
|
sha256 = "55eafae4327cc8cedaf69eb012e3dcfd88e2045279d12c49c7af253c49786237",
|
|
strip_prefix = "cmake-3.14.7-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.14.7-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.14.7/cmake-3.14.7-win64-x64.zip",
|
|
],
|
|
sha256 = "e3ce0bdd966dc9a8e9c57ea949bc195c36c6f843bd3e431990d59c381be7ba8e",
|
|
strip_prefix = "cmake-3.14.7-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.14.7_toolchains",
|
|
repos = {
|
|
"cmake-3.14.7-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.14.7-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.14.7-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.14.7-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.14.7_toolchains//:cmake-3.14.7-Darwin-x86_64_toolchain",
|
|
"@cmake_3.14.7_toolchains//:cmake-3.14.7-Linux-x86_64_toolchain",
|
|
"@cmake_3.14.7_toolchains//:cmake-3.14.7-win32-x86_toolchain",
|
|
"@cmake_3.14.7_toolchains//:cmake-3.14.7-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.13.5" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.13.5-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.13.5/cmake-3.13.5-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "e04bcd52c64c2ee44f6def2ac4d5a610f01b329d0db65aecc2bb5135602ebfe0",
|
|
strip_prefix = "cmake-3.13.5-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.13.5-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.13.5/cmake-3.13.5-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "e2fd0080a6f0fc1ec84647acdcd8e0b4019770f48d83509e6a5b0b6ea27e5864",
|
|
strip_prefix = "cmake-3.13.5-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.13.5-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.13.5/cmake-3.13.5-win32-x86.zip",
|
|
],
|
|
sha256 = "0b61adede8f858464849d79d55044127032564c4c8a091322f8efb30ff4da3c4",
|
|
strip_prefix = "cmake-3.13.5-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.13.5-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.13.5/cmake-3.13.5-win64-x64.zip",
|
|
],
|
|
sha256 = "bdc4622f2fcf26cc16838d264b1cef0d5bc2e5b455d4a26ab7952781965eae79",
|
|
strip_prefix = "cmake-3.13.5-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.13.5_toolchains",
|
|
repos = {
|
|
"cmake-3.13.5-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.13.5-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.13.5-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.13.5-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.13.5_toolchains//:cmake-3.13.5-Darwin-x86_64_toolchain",
|
|
"@cmake_3.13.5_toolchains//:cmake-3.13.5-Linux-x86_64_toolchain",
|
|
"@cmake_3.13.5_toolchains//:cmake-3.13.5-win32-x86_toolchain",
|
|
"@cmake_3.13.5_toolchains//:cmake-3.13.5-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.12.4" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.12.4-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.12.4/cmake-3.12.4-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "95d76c00ccb9ecb5cb51de137de00965c5e8d34b2cf71556cf8ba40577d1cff3",
|
|
strip_prefix = "cmake-3.12.4-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.12.4-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.12.4/cmake-3.12.4-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "486edd6710b5250946b4b199406ccbf8f567ef0e23cfe38f7938b8c78a2ffa5f",
|
|
strip_prefix = "cmake-3.12.4-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.12.4-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.12.4/cmake-3.12.4-win32-x86.zip",
|
|
],
|
|
sha256 = "2c1c3c269ca4a222c8768d8f966d8556365b9bf7af77f9885d0b29a19cbf5354",
|
|
strip_prefix = "cmake-3.12.4-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.12.4-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.12.4/cmake-3.12.4-win64-x64.zip",
|
|
],
|
|
sha256 = "4dd43cdc0fef6c70e3d92a8aef4f2c66a8c5f4ad08a66ed2b376766dbd815069",
|
|
strip_prefix = "cmake-3.12.4-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.12.4_toolchains",
|
|
repos = {
|
|
"cmake-3.12.4-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.12.4-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.12.4-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.12.4-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.12.4_toolchains//:cmake-3.12.4-Darwin-x86_64_toolchain",
|
|
"@cmake_3.12.4_toolchains//:cmake-3.12.4-Linux-x86_64_toolchain",
|
|
"@cmake_3.12.4_toolchains//:cmake-3.12.4-win32-x86_toolchain",
|
|
"@cmake_3.12.4_toolchains//:cmake-3.12.4-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.11.4" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.11.4-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.11.4/cmake-3.11.4-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "2b5eb705f036b1906a5e0bce996e9cd56d43d73bdee8318ece3e5ce31657b812",
|
|
strip_prefix = "cmake-3.11.4-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.11.4-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.11.4/cmake-3.11.4-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "6dab016a6b82082b8bcd0f4d1e53418d6372015dd983d29367b9153f1a376435",
|
|
strip_prefix = "cmake-3.11.4-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.11.4-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.11.4/cmake-3.11.4-win32-x86.zip",
|
|
],
|
|
sha256 = "b068001ff879f86e704977c50a8c5917e4b4406c66242366dba2674abe316579",
|
|
strip_prefix = "cmake-3.11.4-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.11.4-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.11.4/cmake-3.11.4-win64-x64.zip",
|
|
],
|
|
sha256 = "d3102abd0ded446c898252b58857871ee170312d8e7fd5cbff01fbcb1068a6e5",
|
|
strip_prefix = "cmake-3.11.4-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.11.4_toolchains",
|
|
repos = {
|
|
"cmake-3.11.4-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.11.4-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.11.4-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.11.4-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.11.4_toolchains//:cmake-3.11.4-Darwin-x86_64_toolchain",
|
|
"@cmake_3.11.4_toolchains//:cmake-3.11.4-Linux-x86_64_toolchain",
|
|
"@cmake_3.11.4_toolchains//:cmake-3.11.4-win32-x86_toolchain",
|
|
"@cmake_3.11.4_toolchains//:cmake-3.11.4-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.10.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.10.3-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.10.3/cmake-3.10.3-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "e88d31a5200274407b7ea83cb2195ffc18cd6ceb1278b36c0501be6a118039a8",
|
|
strip_prefix = "cmake-3.10.3-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.10.3-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.10.3/cmake-3.10.3-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "9e7c48b797484f74c5ee3ae55132b40b16ed8e81ee762402da8971205b0a896b",
|
|
strip_prefix = "cmake-3.10.3-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.10.3-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.10.3/cmake-3.10.3-win32-x86.zip",
|
|
],
|
|
sha256 = "edbbfb7f6f4e4f913de4a16d228cf6156ac7071596b6d25f2891a60a006735ea",
|
|
strip_prefix = "cmake-3.10.3-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.10.3-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.10.3/cmake-3.10.3-win64-x64.zip",
|
|
],
|
|
sha256 = "3bd57d1cfcf720a4cc72db77bda4c76a7b700fb0341821ad868963ad28856cd0",
|
|
strip_prefix = "cmake-3.10.3-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.10.3_toolchains",
|
|
repos = {
|
|
"cmake-3.10.3-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.10.3-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.10.3-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.10.3-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.10.3_toolchains//:cmake-3.10.3-Darwin-x86_64_toolchain",
|
|
"@cmake_3.10.3_toolchains//:cmake-3.10.3-Linux-x86_64_toolchain",
|
|
"@cmake_3.10.3_toolchains//:cmake-3.10.3-win32-x86_toolchain",
|
|
"@cmake_3.10.3_toolchains//:cmake-3.10.3-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.9.6" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.9.6-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "1694f3e183954ab6aadb2d7f85552aa2e050fab97ef4cbc817b1165255703599",
|
|
strip_prefix = "cmake-3.9.6-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.9.6-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "062bf45bee36ce7c2a55ae26b8b5324720f370d420a05cba91b9448c64ffdbea",
|
|
strip_prefix = "cmake-3.9.6-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.9.6-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6-win32-x86.zip",
|
|
],
|
|
sha256 = "8dd4b6c35afa8e0c044789b55645327cc4bb75276f87c6758f9997c08f559256",
|
|
strip_prefix = "cmake-3.9.6-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.9.6-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6-win64-x64.zip",
|
|
],
|
|
sha256 = "fa667bf658fa526e4e2489a9704f83f851e5ded66a18904424ba1b8505fd4dc0",
|
|
strip_prefix = "cmake-3.9.6-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.9.6_toolchains",
|
|
repos = {
|
|
"cmake-3.9.6-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.9.6-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.9.6-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.9.6-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.9.6_toolchains//:cmake-3.9.6-Darwin-x86_64_toolchain",
|
|
"@cmake_3.9.6_toolchains//:cmake-3.9.6-Linux-x86_64_toolchain",
|
|
"@cmake_3.9.6_toolchains//:cmake-3.9.6-win32-x86_toolchain",
|
|
"@cmake_3.9.6_toolchains//:cmake-3.9.6-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.8.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.8.2-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.8.2/cmake-3.8.2-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "d164a1fa2a3d2f276c83ab55c7014b14b501b939d1a5a56f6788eb5cddc7acb6",
|
|
strip_prefix = "cmake-3.8.2-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.8.2-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.8.2/cmake-3.8.2-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "33e4851d3219b720f4b64fcf617151168f1bffdf5afad25eb4b7f5f58cee3a08",
|
|
strip_prefix = "cmake-3.8.2-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.8.2-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.8.2/cmake-3.8.2-win32-x86.zip",
|
|
],
|
|
sha256 = "3fa45a8ad473a8e0579ec826b3355f864750a7455987ed425a9c6fdf4820b5f2",
|
|
strip_prefix = "cmake-3.8.2-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.8.2-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.8.2/cmake-3.8.2-win64-x64.zip",
|
|
],
|
|
sha256 = "202c2416c964fb7199e5d7ce92336a44c7ba65d5ccca36246f41d7d09bd8ffe2",
|
|
strip_prefix = "cmake-3.8.2-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.8.2_toolchains",
|
|
repos = {
|
|
"cmake-3.8.2-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.8.2-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.8.2-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.8.2-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.8.2_toolchains//:cmake-3.8.2-Darwin-x86_64_toolchain",
|
|
"@cmake_3.8.2_toolchains//:cmake-3.8.2-Linux-x86_64_toolchain",
|
|
"@cmake_3.8.2_toolchains//:cmake-3.8.2-win32-x86_toolchain",
|
|
"@cmake_3.8.2_toolchains//:cmake-3.8.2-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.7.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.7.2-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.7.2/cmake-3.7.2-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "0175e97748052dfc15ebd3c0aa65286e5ec20ca22ed606ce88940e699496b03c",
|
|
strip_prefix = "cmake-3.7.2-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.7.2-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.7.2/cmake-3.7.2-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "0e6ec35d4fa9bf79800118916b51928b6471d5725ff36f1d0de5ebb34dcd5406",
|
|
strip_prefix = "cmake-3.7.2-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.7.2-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.7.2/cmake-3.7.2-win32-x86.zip",
|
|
],
|
|
sha256 = "ec5e299d412e0272e01d4de5bf07718f42c96361f83d51cc39f91bf49cc3e5c3",
|
|
strip_prefix = "cmake-3.7.2-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.7.2-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.7.2/cmake-3.7.2-win64-x64.zip",
|
|
],
|
|
sha256 = "def3bb81dfd922ce1ea2a0647645eefb60e128d520c8ca707c5996c331bc8b48",
|
|
strip_prefix = "cmake-3.7.2-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.7.2_toolchains",
|
|
repos = {
|
|
"cmake-3.7.2-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.7.2-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.7.2-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.7.2-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.7.2_toolchains//:cmake-3.7.2-Darwin-x86_64_toolchain",
|
|
"@cmake_3.7.2_toolchains//:cmake-3.7.2-Linux-x86_64_toolchain",
|
|
"@cmake_3.7.2_toolchains//:cmake-3.7.2-win32-x86_toolchain",
|
|
"@cmake_3.7.2_toolchains//:cmake-3.7.2-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.6.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.6.3-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.6.3/cmake-3.6.3-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "cba5b50365fa79c36bb954dc44d6e3455e431c47937fe13e6ddd06b61fe428a4",
|
|
strip_prefix = "cmake-3.6.3-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.6.3-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.6.3/cmake-3.6.3-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "9d915d505c07d84b610e1be6242c7cad68b4b7a4090ce85ecf9cec5effa47c43",
|
|
strip_prefix = "cmake-3.6.3-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.6.3-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.6.3/cmake-3.6.3-win32-x86.zip",
|
|
],
|
|
sha256 = "556628f134b2372b8f02688787ca44b02d893c57b6eeaa9271ac51a4a2d4a4ed",
|
|
strip_prefix = "cmake-3.6.3-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.6.3-win64-x64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.6.3/cmake-3.6.3-win64-x64.zip",
|
|
],
|
|
sha256 = "263b78aba6e63098353b2f8beecf293f5f307f9a70575a81867c3f8cb18a6a99",
|
|
strip_prefix = "cmake-3.6.3-win64-x64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.6.3_toolchains",
|
|
repos = {
|
|
"cmake-3.6.3-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.6.3-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.6.3-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
"cmake-3.6.3-win64-x64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.6.3_toolchains//:cmake-3.6.3-Darwin-x86_64_toolchain",
|
|
"@cmake_3.6.3_toolchains//:cmake-3.6.3-Linux-x86_64_toolchain",
|
|
"@cmake_3.6.3_toolchains//:cmake-3.6.3-win32-x86_toolchain",
|
|
"@cmake_3.6.3_toolchains//:cmake-3.6.3-win64-x64_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.5.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.5.2-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.5.2/cmake-3.5.2-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "0263be8f59ba1ae88172d5db769c2af69bcd8b2cbd4a9b1a981c406ce609a4ca",
|
|
strip_prefix = "cmake-3.5.2-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.5.2-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.5.2/cmake-3.5.2-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "5f7aeaebe33521647625e0411467de71a2886743e4aa2c179e04c9e141c6c8cd",
|
|
strip_prefix = "cmake-3.5.2-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.5.2-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.5.2/cmake-3.5.2-win32-x86.zip",
|
|
],
|
|
sha256 = "671073aee66b3480a564d0736792e40570a11e861bb34819bb7ae7858bbdfb80",
|
|
strip_prefix = "cmake-3.5.2-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.5.2_toolchains",
|
|
repos = {
|
|
"cmake-3.5.2-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.5.2-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.5.2-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.5.2_toolchains//:cmake-3.5.2-Darwin-x86_64_toolchain",
|
|
"@cmake_3.5.2_toolchains//:cmake-3.5.2-Linux-x86_64_toolchain",
|
|
"@cmake_3.5.2_toolchains//:cmake-3.5.2-win32-x86_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.4.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.4.3-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.4.3/cmake-3.4.3-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "dec18a78b8ed6b2ff24bd61d578063c2cd667327d62892592121cf600c83f635",
|
|
strip_prefix = "cmake-3.4.3-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.4.3-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.4.3/cmake-3.4.3-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "66b8d315c852908be9f79e1a18b8778714659fce4ddb2d041af8680a239202fc",
|
|
strip_prefix = "cmake-3.4.3-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.4.3-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.4.3/cmake-3.4.3-win32-x86.zip",
|
|
],
|
|
sha256 = "448e894dd3df7f3f1ae509ab940f6fd5653ce86eba0677e19ad4bccb44a585ae",
|
|
strip_prefix = "cmake-3.4.3-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.4.3_toolchains",
|
|
repos = {
|
|
"cmake-3.4.3-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.4.3-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.4.3-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.4.3_toolchains//:cmake-3.4.3-Darwin-x86_64_toolchain",
|
|
"@cmake_3.4.3_toolchains//:cmake-3.4.3-Linux-x86_64_toolchain",
|
|
"@cmake_3.4.3_toolchains//:cmake-3.4.3-win32-x86_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.3.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.3.2-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.3.2/cmake-3.3.2-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "7e685d4e2ef90e0b9b837138049c98f4b0cbda2ee27db77c3d39b6053b7a7e71",
|
|
strip_prefix = "cmake-3.3.2-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.3.2-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.3.2/cmake-3.3.2-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "0c6e1d1dedf58b21f6bd3de9f03ca435c3d13c4e709b1d67432ca12df07d8208",
|
|
strip_prefix = "cmake-3.3.2-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.3.2-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.3.2/cmake-3.3.2-win32-x86.zip",
|
|
],
|
|
sha256 = "eaaa54ebb915fe56f4117edf78d9f8197623e8559918860079d3c63a075f58db",
|
|
strip_prefix = "cmake-3.3.2-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.3.2_toolchains",
|
|
repos = {
|
|
"cmake-3.3.2-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.3.2-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.3.2-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.3.2_toolchains//:cmake-3.3.2-Darwin-x86_64_toolchain",
|
|
"@cmake_3.3.2_toolchains//:cmake-3.3.2-Linux-x86_64_toolchain",
|
|
"@cmake_3.3.2_toolchains//:cmake-3.3.2-win32-x86_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.2.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.2.3-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.2.3/cmake-3.2.3-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "76dbf1f37bb716a39d720a6ec517d0c7f71784f0be9549574cb05a881aa89374",
|
|
strip_prefix = "cmake-3.2.3-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.2.3-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.2.3/cmake-3.2.3-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "f65c5533079bac88deafeee00df6d62d640622d874d4bc207d46efed5720ca5b",
|
|
strip_prefix = "cmake-3.2.3-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.2.3-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.2.3/cmake-3.2.3-win32-x86.zip",
|
|
],
|
|
sha256 = "d4dccb7dfba6c788efde1906474ff4039af05b6b44256e776977b5660dee2231",
|
|
strip_prefix = "cmake-3.2.3-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.2.3_toolchains",
|
|
repos = {
|
|
"cmake-3.2.3-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.2.3-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.2.3-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.2.3_toolchains//:cmake-3.2.3-Darwin-x86_64_toolchain",
|
|
"@cmake_3.2.3_toolchains//:cmake-3.2.3-Linux-x86_64_toolchain",
|
|
"@cmake_3.2.3_toolchains//:cmake-3.2.3-win32-x86_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.1.3" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.1.3-Darwin-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.1.3/cmake-3.1.3-Darwin-x86_64.tar.gz",
|
|
],
|
|
sha256 = "11d79718f10ba5b181f129d44eae7bece2ced0c98f41fcad003556d28d896001",
|
|
strip_prefix = "cmake-3.1.3-Darwin-x86_64/CMake.app/Contents",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.1.3-Linux-x86_64",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.1.3/cmake-3.1.3-Linux-x86_64.tar.gz",
|
|
],
|
|
sha256 = "d251b95829d29e4529dfdbc1e676cd0ef86e9544976603db2f5c26364ad71146",
|
|
strip_prefix = "cmake-3.1.3-Linux-x86_64",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.1.3-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.1.3/cmake-3.1.3-win32-x86.zip",
|
|
],
|
|
sha256 = "ec7c3c7e2e071cda54a3718e65e50af322685b960d12046525063c1633c7865c",
|
|
strip_prefix = "cmake-3.1.3-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.1.3_toolchains",
|
|
repos = {
|
|
"cmake-3.1.3-Darwin-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"cmake-3.1.3-Linux-x86_64": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"cmake-3.1.3-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.1.3_toolchains//:cmake-3.1.3-Darwin-x86_64_toolchain",
|
|
"@cmake_3.1.3_toolchains//:cmake-3.1.3-Linux-x86_64_toolchain",
|
|
"@cmake_3.1.3_toolchains//:cmake-3.1.3-win32-x86_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "3.0.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "cmake-3.0.2-win32-x86",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.0.2/cmake-3.0.2-win32-x86.zip",
|
|
],
|
|
sha256 = "4a83978bf2f5b92f66398ab3a2630d65e9c1942aed7d51599c056bd419b39bb5",
|
|
strip_prefix = "cmake-3.0.2-win32-x86",
|
|
build_file_content = _CMAKE_BUILD_FILE.format(
|
|
bin = "cmake.exe",
|
|
env = "{}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "cmake_3.0.2_toolchains",
|
|
repos = {
|
|
"cmake-3.0.2-win32-x86": [
|
|
"@platforms//cpu:x86_32",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "cmake",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@cmake_3.0.2_toolchains//:cmake-3.0.2-win32-x86_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
fail("Unsupported version: " + str(version))
|
|
|
|
def _ninja_toolchains(version, register_toolchains):
|
|
if "1.11.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.11.1_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-linux.zip",
|
|
],
|
|
sha256 = "b901ba96e486dce377f9a070ed4ef3f79deb45f4ffe2938f8e7ddc69cfb3df77",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.11.1_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-mac.zip",
|
|
],
|
|
sha256 = "482ecb23c59ae3d4f158029112de172dd96bb0e97549c4b1ca32d8fad11f873e",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.11.1_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip",
|
|
],
|
|
sha256 = "524b344a1a9a55005eaf868d991e090ab8ce07fa109f1820d40e74642e289abc",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.11.1_toolchains",
|
|
repos = {
|
|
"ninja_1.11.1_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.11.1_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.11.1_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.11.1_toolchains//:ninja_1.11.1_linux_toolchain",
|
|
"@ninja_1.11.1_toolchains//:ninja_1.11.1_mac_toolchain",
|
|
"@ninja_1.11.1_toolchains//:ninja_1.11.1_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "1.11.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.11.0_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.11.0/ninja-linux.zip",
|
|
],
|
|
sha256 = "9726e730d5b8599f82654dc80265e64a10a8a817552c34153361ed0c017f9f02",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.11.0_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.11.0/ninja-mac.zip",
|
|
],
|
|
sha256 = "21915277db59756bfc61f6f281c1f5e3897760b63776fd3d360f77dd7364137f",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.11.0_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.11.0/ninja-win.zip",
|
|
],
|
|
sha256 = "d0ee3da143211aa447e750085876c9b9d7bcdd637ab5b2c5b41349c617f22f3b",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.11.0_toolchains",
|
|
repos = {
|
|
"ninja_1.11.0_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.11.0_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.11.0_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.11.0_toolchains//:ninja_1.11.0_linux_toolchain",
|
|
"@ninja_1.11.0_toolchains//:ninja_1.11.0_mac_toolchain",
|
|
"@ninja_1.11.0_toolchains//:ninja_1.11.0_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "1.10.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.2_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip",
|
|
],
|
|
sha256 = "763464859c7ef2ea3a0a10f4df40d2025d3bb9438fcb1228404640410c0ec22d",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.2_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-mac.zip",
|
|
],
|
|
sha256 = "6fa359f491fac7e5185273c6421a000eea6a2f0febf0ac03ac900bd4d80ed2a5",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.2_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip",
|
|
],
|
|
sha256 = "bbde850d247d2737c5764c927d1071cbb1f1957dcabda4a130fa8547c12c695f",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.10.2_toolchains",
|
|
repos = {
|
|
"ninja_1.10.2_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.10.2_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.10.2_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.10.2_toolchains//:ninja_1.10.2_linux_toolchain",
|
|
"@ninja_1.10.2_toolchains//:ninja_1.10.2_mac_toolchain",
|
|
"@ninja_1.10.2_toolchains//:ninja_1.10.2_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "1.10.1" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.1_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-linux.zip",
|
|
],
|
|
sha256 = "7ee7f467a1a747c5b5e02342904af9c24e84df4ca993541f1c4d0f113cab27aa",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.1_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-mac.zip",
|
|
],
|
|
sha256 = "0bd650190d4405c15894055e349d9b59d5690b0389551d757c5ed2d3841972d1",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.1_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-win.zip",
|
|
],
|
|
sha256 = "5d1211ea003ec9760ad7f5d313ebf0b659d4ffafa221187d2b4444bc03714a33",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.10.1_toolchains",
|
|
repos = {
|
|
"ninja_1.10.1_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.10.1_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.10.1_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.10.1_toolchains//:ninja_1.10.1_linux_toolchain",
|
|
"@ninja_1.10.1_toolchains//:ninja_1.10.1_mac_toolchain",
|
|
"@ninja_1.10.1_toolchains//:ninja_1.10.1_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "1.10.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.0_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip",
|
|
],
|
|
sha256 = "6566836ddf3d72ca06685b34814e0c6fa0f0943542d651d0dab3150f10307c82",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.0_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-mac.zip",
|
|
],
|
|
sha256 = "2ee405c0e205d55666c60cc9c0d8d04c8ede06d3ef2e2c2aabe08fd81c17d22e",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.10.0_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-win.zip",
|
|
],
|
|
sha256 = "919fd158c16bf135e8a850bb4046ec1ce28a7439ee08b977cd0b7f6b3463d178",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.10.0_toolchains",
|
|
repos = {
|
|
"ninja_1.10.0_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.10.0_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.10.0_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.10.0_toolchains//:ninja_1.10.0_linux_toolchain",
|
|
"@ninja_1.10.0_toolchains//:ninja_1.10.0_mac_toolchain",
|
|
"@ninja_1.10.0_toolchains//:ninja_1.10.0_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "1.9.0" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.9.0_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip",
|
|
],
|
|
sha256 = "1b1235f2b0b4df55ac6d80bbe681ea3639c9d2c505c7ff2159a3daf63d196305",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.9.0_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-mac.zip",
|
|
],
|
|
sha256 = "26d32a79f786cca1004750f59e545199bf110e21e300d3c2424c1fddd78f28ab",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.9.0_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip",
|
|
],
|
|
sha256 = "2d70010633ddaacc3af4ffbd21e22fae90d158674a09e132e06424ba3ab036e9",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.9.0_toolchains",
|
|
repos = {
|
|
"ninja_1.9.0_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.9.0_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.9.0_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.9.0_toolchains//:ninja_1.9.0_linux_toolchain",
|
|
"@ninja_1.9.0_toolchains//:ninja_1.9.0_mac_toolchain",
|
|
"@ninja_1.9.0_toolchains//:ninja_1.9.0_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
if "1.8.2" == version:
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.8.2_linux",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip",
|
|
],
|
|
sha256 = "d2fea9ff33b3ef353161ed906f260d565ca55b8ca0568fa07b1d2cab90a84a07",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.8.2_mac",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-mac.zip",
|
|
],
|
|
sha256 = "0347d55c66061652b26f48769d566761630ffde3143793b29064a57f356542cc",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
maybe(
|
|
http_archive,
|
|
name = "ninja_1.8.2_win",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip",
|
|
],
|
|
sha256 = "c80313e6c26c0b9e0c241504718e2d8bbc2798b73429933adf03fdc6d84f0e70",
|
|
strip_prefix = "",
|
|
build_file_content = _NINJA_BUILD_FILE.format(
|
|
bin = "ninja.exe",
|
|
env = "{\"NINJA\": \"$(execpath :ninja_bin)\"}",
|
|
),
|
|
)
|
|
|
|
# buildifier: leave-alone
|
|
maybe(
|
|
prebuilt_toolchains_repository,
|
|
name = "ninja_1.8.2_toolchains",
|
|
repos = {
|
|
"ninja_1.8.2_linux": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
"ninja_1.8.2_mac": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:macos",
|
|
],
|
|
"ninja_1.8.2_win": [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:windows",
|
|
],
|
|
},
|
|
tool = "ninja",
|
|
)
|
|
|
|
if register_toolchains:
|
|
native.register_toolchains(
|
|
"@ninja_1.8.2_toolchains//:ninja_1.8.2_linux_toolchain",
|
|
"@ninja_1.8.2_toolchains//:ninja_1.8.2_mac_toolchain",
|
|
"@ninja_1.8.2_toolchains//:ninja_1.8.2_win_toolchain",
|
|
)
|
|
|
|
return
|
|
|
|
fail("Unsupported version: " + str(version))
|