diff --git a/.bazelignore b/.bazelignore deleted file mode 100644 index d020514c4eabce6a9458560577805d6cd6554f97..0000000000000000000000000000000000000000 --- a/.bazelignore +++ /dev/null @@ -1,2 +0,0 @@ -rules_download -rules_toolchain diff --git a/.bazelrc b/.bazelrc index 9931842e7d152e956260e9e14dc7034db45d161d..b2231343a583b32cef4ad476c8e7e2cf2e3a9e84 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,5 +1,7 @@ # Enable `bzlmod` common --enable_bzlmod +common --registry https://bcr.bazel.build +common --registry=https://gitlab.arm.com/bazel/rules_download/-/releases/v1.0.0-alpha.2/downloads # Build cache build --experimental_guard_against_concurrent_changes diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9ffccce60fcab9cbc48bdfa03db7d431fe3928d..62d6935dd28aeaa538552aaf460ac65b93693c9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,14 +43,6 @@ test: extends: .bazelisk needs: - bootstrap - parallel: - matrix: - - ROOT: - - . - - rules_download - - rules_download/e2e - - rules_toolchain - - rules_toolchain/e2e deploy: stage: deploy diff --git a/MODULE.bazel b/MODULE.bazel index 28275c622f9b5ce92ddfa82098501781db512d22..3042dbe6776b70aba55b9915210724a27e300bd1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -9,28 +9,17 @@ module( bazel_dep(name = "bazel_skylib", version = "1.4.2") bazel_dep(name = "aspect_bazel_lib", version = "2.0.0-rc1") bazel_dep(name = "platforms", version = "0.0.7") -bazel_dep(name = "rules_oci", version = "1.4.0") +bazel_dep(name = "rules_oci", version = "1.4.3") bazel_dep(name = "rules_pkg", version = "0.9.1") bazel_dep(name = "container_structure_test", version = "1.16.0") -bazel_dep(name = "rules_download", version = "0.0.0") -local_path_override( - module_name = "rules_download", - path = "rules_download", -) - -bazel_dep(name = "rules_toolchain", version = "0.0.0") -local_path_override( - module_name = "rules_toolchain", - path = "rules_toolchain", -) - +bazel_dep(name = "rules_download", version = "1.0.0-alpha.2") bazel_dep(name = "rules_python", version = "0.25.0") python = use_extension("@rules_python//python/extensions:python.bzl", "python") python.toolchain( configure_coverage_tool = True, - python_version = "3.9", ignore_root_user_error = True, + python_version = "3.9", ) use_repo(python, python = "python_3_9") @@ -39,7 +28,7 @@ register_toolchains("//python:all") oci = use_extension("@rules_oci//oci:extensions.bzl", "oci") oci.pull( name = "distroless", - digest = "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + digest = "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", image = "gcr.io/distroless/base-debian12", platforms = [ "linux/amd64", @@ -54,9 +43,9 @@ oci.pull( ) use_repo(oci, "distroless") -download_file = use_repo_rule("@rules_download//download:defs.bzl", "download_file") +download_file = use_repo_rule("@rules_download//download/file:defs.bzl", "download_file") -download_deb = use_repo_rule("@rules_download//download:defs.bzl", "download_deb") +download_deb = use_repo_rule("@rules_download//download/deb:defs.bzl", "download_deb") # Bazelisk download_file( @@ -262,22 +251,22 @@ download_deb( # /usr/include/linux/version.h download_deb( name = "linux-libc-dev-amd64", - integrity = "sha256-Slevjxz/RdteuRBTxL5LBNLqJtBc4YGAcTVGDvWLv68=", + integrity = "sha256-ZM1wtCXOkbjIXJEoTqMkbrYFQP0rQM1hVdaEaWjj6BA=", urls = [ - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", ], ) download_deb( name = "linux-libc-dev-arm64", - integrity = "sha256-DkzcWwZBGByN+vklh5aZld3M6YAsxnVqGVaRlkmi2yo=", + integrity = "sha256-CjbFtclfEUt4LN6Jyo3k/h9kx9o9OYHJMRG0fhwI2Tc=", urls = [ - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", ], ) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index ddbade192a027aa25a18583ffb3830827ec49ed5..4687baf7afc148063b9fc2cca8bfed60b25dbb06 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,9 +1,10 @@ { "lockFileVersion": 3, - "moduleFileHash": "2a50b309d2834ee2958ff2e39dc7a99982166d625bd6d8f5b5d92170d76c8300", + "moduleFileHash": "a800dff7c30e4b71b5db10ab5afb1d8fc6558b2eafd593d625986ad77d67ae09", "flags": { "cmdRegistries": [ - "https://bcr.bazel.build/" + "https://bcr.bazel.build", + "https://gitlab.arm.com/bazel/rules_download/-/releases/v1.0.0-alpha.2/downloads" ], "cmdModuleOverrides": {}, "allowedYankedVersions": [], @@ -13,9 +14,7 @@ "compatibilityMode": "ERROR" }, "localOverrideHashes": { - "rules_toolchain": "ff90300323aff25a6de41d9c13cfa32563723e24f76d495b493d2d18703911a2", - "bazel_tools": "922ea6752dc9105de5af957f7a99a6933c0a6a712d23df6aad16a9c399f7e787", - "rules_download": "ab1bd2abd2ab15592746ab5cc2cf7274c8330d4fa1501fc41e7e48397217e5ac" + "bazel_tools": "922ea6752dc9105de5af957f7a99a6933c0a6a712d23df6aad16a9c399f7e787" }, "moduleDepGraph": { "": { @@ -34,7 +33,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 29, + "line": 18, "column": 23 }, "imports": { @@ -46,13 +45,13 @@ "tagName": "toolchain", "attributeValues": { "configure_coverage_tool": true, - "python_version": "3.9", - "ignore_root_user_error": true + "ignore_root_user_error": true, + "python_version": "3.9" }, "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 30, + "line": 19, "column": 17 } } @@ -66,7 +65,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 39, + "line": 28, "column": 20 }, "imports": { @@ -78,7 +77,7 @@ "tagName": "pull", "attributeValues": { "name": "distroless", - "digest": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "digest": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "image": "gcr.io/distroless/base-debian12", "platforms": [ "linux/amd64", @@ -94,7 +93,7 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 40, + "line": 29, "column": 9 } } @@ -136,7 +135,7 @@ "devImports": [], "tags": [ { - "tagName": "@rules_download//download:defs.bzl%download_file", + "tagName": "@rules_download//download/file:defs.bzl%download_file", "attributeValues": { "executable": true, "integrity": "sha256-zlLKpR755Qn7a35a2JLlzxD+sHlLCu1NLzatsAoaJ3k=", @@ -149,12 +148,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 62, + "line": 51, "column": 14 } }, { - "tagName": "@rules_download//download:defs.bzl%download_file", + "tagName": "@rules_download//download/file:defs.bzl%download_file", "attributeValues": { "executable": true, "integrity": "sha256-YHC/cJFekrOlzo7ub0qKCWi7NQviqYuAsP0vwTzoolQ=", @@ -167,12 +166,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 70, + "line": 59, "column": 14 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-89HUjAWZrqhbfyB3oB0oW63EKZjBoedHOTXVz5lcgUE=", "urls": [ @@ -186,12 +185,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 79, + "line": 68, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-b84iaNjzFSpOhGNPWiQTPTxikDsvmxG5xZI1y7wbI6g=", "urls": [ @@ -205,12 +204,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 90, + "line": 79, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-mxsmkCDOxqztOznwlve2ft0fDUqyT0EstlBtCADhnL8=", "urls": [ @@ -224,12 +223,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 102, + "line": 91, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-IelxxdNQb3g7ie/o4SrIUIHd2SE+T2UpJivP6VwyZnA=", "urls": [ @@ -243,12 +242,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 113, + "line": 102, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-190dFBH+3yf14nZQpu/yDvKUB3tWj0yMXlFGbcfAjOQ=", "urls": [ @@ -262,12 +261,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 125, + "line": 114, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-Uri4oUW74ZVruoIDT3cCLL7ww9CIXJ4y2YF6eTL+GRM=", "urls": [ @@ -281,12 +280,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 136, + "line": 125, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-By2Qjzj1EJDKKMpa+jtGspV9xh/jUJTAuFFCaFmkmlE=", "urls": [ @@ -300,12 +299,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 148, + "line": 137, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-uu8PZ3b4TH7tTxFG1uV3RolWfa1DIWiU1B2gLmYI5LM=", "urls": [ @@ -319,12 +318,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 159, + "line": 148, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-UyXmOsrss39mNpkDKDcHdJlb2bPc4Qq9A2bIoGh3vQ0=", "urls": [ @@ -338,12 +337,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 171, + "line": 160, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-E8TnADCgWa7sa3ReTOKUnOZ0BSRrs4Uh5sj00hwTNUM=", "urls": [ @@ -357,12 +356,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 182, + "line": 171, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-IFVmdArrwz0gzAYSeNqO5ES/pKk85iJShIUetm4THuU=", "urls": [ @@ -376,12 +375,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 194, + "line": 183, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-5CPfAArbm5SvgH1cQpemJeyIdnczTXLkoljfI/lhbXo=", "urls": [ @@ -395,12 +394,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 205, + "line": 194, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-9fYKXN/U5OqpQ4reUHild0Gnp41ln8sMcBIE9SPovSk=", "urls": [ @@ -414,12 +413,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 217, + "line": 206, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-7qCtdupetQcSf+oMKRYi6k7Nu3HEuajtnHauM/waASc=", "urls": [ @@ -433,12 +432,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 228, + "line": 217, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-KqI9MBsqEgZPIju0AOeVNYuAgs6QsbmGKCGV5iFL+cg=", "urls": [ @@ -452,12 +451,12 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 240, + "line": 229, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { "integrity": "sha256-cYuJrSahQWw0TM3ZOSzw0AmR1DrgiFuHRnZ7O4W/yVo=", "urls": [ @@ -471,45 +470,45 @@ "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 251, + "line": 240, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { - "integrity": "sha256-Slevjxz/RdteuRBTxL5LBNLqJtBc4YGAcTVGDvWLv68=", + "integrity": "sha256-ZM1wtCXOkbjIXJEoTqMkbrYFQP0rQM1hVdaEaWjj6BA=", "urls": [ - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb" + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb" ], "name": "linux-libc-dev-amd64" }, "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 263, + "line": 252, "column": 13 } }, { - "tagName": "@rules_download//download:defs.bzl%download_deb", + "tagName": "@rules_download//download/deb:defs.bzl%download_deb", "attributeValues": { - "integrity": "sha256-DkzcWwZBGByN+vklh5aZld3M6YAsxnVqGVaRlkmi2yo=", + "integrity": "sha256-CjbFtclfEUt4LN6Jyo3k/h9kx9o9OYHJMRG0fhwI2Tc=", "urls": [ - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb" + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb" ], "name": "linux-libc-dev-arm64" }, "devDependency": false, "location": { "file": "@@//:MODULE.bazel", - "line": 274, + "line": 263, "column": 13 } } @@ -522,11 +521,10 @@ "bazel_skylib": "bazel_skylib@1.4.2", "aspect_bazel_lib": "aspect_bazel_lib@2.0.0-rc1", "platforms": "platforms@0.0.7", - "rules_oci": "rules_oci@1.4.0", + "rules_oci": "rules_oci@1.4.3", "rules_pkg": "rules_pkg@0.9.1", "container_structure_test": "container_structure_test@1.16.0", - "rules_download": "rules_download@_", - "rules_toolchain": "rules_toolchain@_", + "rules_download": "rules_download@1.0.0-alpha.2", "rules_python": "rules_python@0.25.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -730,10 +728,10 @@ } } }, - "rules_oci@1.4.0": { + "rules_oci@1.4.3": { "name": "rules_oci", - "version": "1.4.0", - "key": "rules_oci@1.4.0", + "version": "1.4.3", + "key": "rules_oci@1.4.3", "repoName": "rules_oci", "executionPlatformsToRegister": [], "toolchainsToRegister": [ @@ -744,27 +742,27 @@ { "extensionBzlFile": "@rules_oci//oci:extensions.bzl", "extensionName": "oci", - "usingModule": "rules_oci@1.4.0", + "usingModule": "rules_oci@1.4.3", "location": { - "file": "https://bcr.bazel.build/modules/rules_oci/1.4.0/MODULE.bazel", + "file": "https://bcr.bazel.build/modules/rules_oci/1.4.3/MODULE.bazel", "line": 13, "column": 20 }, "imports": { - "oci_crane_toolchains": "oci_crane_toolchains", + "oci_auth_config": "oci_auth_config", "oci_crane_registry_toolchains": "oci_crane_registry_toolchains", - "oci_auth_config": "oci_auth_config" + "oci_crane_toolchains": "oci_crane_toolchains" }, "devImports": [], "tags": [ { "tagName": "toolchains", "attributeValues": { - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_oci/1.4.0/MODULE.bazel", + "file": "https://bcr.bazel.build/modules/rules_oci/1.4.3/MODULE.bazel", "line": 14, "column": 15 } @@ -785,14 +783,14 @@ "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", "attributes": { - "name": "rules_oci~1.4.0", + "name": "rules_oci~1.4.3", "urls": [ - "https://github.com/bazel-contrib/rules_oci/releases/download/v1.4.0/rules_oci-v1.4.0.tar.gz" + "https://github.com/bazel-contrib/rules_oci/releases/download/v1.4.3/rules_oci-v1.4.3.tar.gz" ], - "integrity": "sha256-IafRT23fy4ynxfyf+mZ8k3zkYix9Kz4XrqH/vJDJa+0=", - "strip_prefix": "rules_oci-1.4.0", + "integrity": "sha256-1B0Lp4VfAprQ5e41Al+ILL5FsNXVcIQsUnBPeke6hmg=", + "strip_prefix": "rules_oci-1.4.3", "remote_patches": { - "https://bcr.bazel.build/modules/rules_oci/1.4.0/patches/module_dot_bazel_version.patch": "sha256-yjeVCtJSqIedRF33/UChJESZWFu9OCkXO4USjk0nDRE=" + "https://bcr.bazel.build/modules/rules_oci/1.4.3/patches/module_dot_bazel_version.patch": "sha256-+kKorGCd+ENIArBt/f7FAT94IsfALRiiTjftBf4+SsY=" }, "remote_patch_strip": 1 } @@ -880,140 +878,31 @@ } } }, - "rules_download@_": { + "rules_download@1.0.0-alpha.2": { "name": "rules_download", - "version": "", - "key": "rules_download@_", + "version": "1.0.0-alpha.2", + "key": "rules_download@1.0.0-alpha.2", "repoName": "rules_download", "executionPlatformsToRegister": [], "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "rules_download@_", - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "coreutils-arm64-linux-gnu": "coreutils-arm64-linux-gnu", - "coreutils-amd64-linux-gnu": "coreutils-amd64-linux-gnu", - "coreutils": "coreutils" - }, - "devImports": [], - "tags": [ - { - "tagName": "//download:defs.bzl%download_archive", - "attributeValues": { - "coreutils": "//lib:stub", - "integrity": "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - "strip_prefix": "coreutils-0.0.21-aarch64-unknown-linux-gnu", - "template": "//coreutils:BUILD.tmpl.bazel", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz" - ], - "name": "coreutils-arm64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 17, - "column": 17 - } - }, - { - "tagName": "//download:defs.bzl%download_archive", - "attributeValues": { - "coreutils": "//lib:stub", - "integrity": "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - "strip_prefix": "coreutils-0.0.21-x86_64-unknown-linux-gnu", - "template": "//coreutils:BUILD.tmpl.bazel", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz" - ], - "name": "coreutils-amd64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 26, - "column": 17 - } - }, - { - "tagName": "@rules_toolchain//toolchain:defs.bzl%toolchain_local_select", - "attributeValues": { - "map": { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu" - }, - "name": "coreutils" - }, - "devDependency": false, - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 37, - "column": 7 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], + "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_toolchain": "rules_toolchain@_", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" - } - }, - "rules_toolchain@_": { - "name": "rules_toolchain", - "version": "", - "key": "rules_toolchain@_", - "repoName": "rules_toolchain", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "rules_toolchain@_", - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "local": "local" - }, - "devImports": [], - "tags": [ - { - "tagName": "//toolchain/local/triplet:repository.bzl%triplet", - "attributeValues": { - "name": "local" - }, - "devDependency": false, - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 13, - "column": 8 - } - } + }, + "repoSpec": { + "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "name": "rules_download~1.0.0-alpha.2", + "urls": [ + "https://gitlab.arm.com/bazel/rules_download/-/releases/v1.0.0-alpha.2/downloads/src.tar.gz" ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true + "integrity": "sha512-EnY6N0FILRiW5kmWg9El6d5QwuN4HVfdjDAlAoeskR7Xs186ixN5i638tug1Uhumi4docwLSlN8H0MyU4nYH1Q==", + "strip_prefix": "rules_download-v1.0.0-alpha.2", + "remote_patches": {}, + "remote_patch_strip": 0 } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" } }, "rules_python@0.25.0": { @@ -1862,12 +1751,12 @@ "moduleExtensions": { "//:MODULE.bazel%_repo_rules": { "general": { - "bzlTransitiveDigest": "aSC73tpzDH3XQFpnIo1UyRyloC7It3wip5HeP0rJqfI=", + "bzlTransitiveDigest": "AVFxXUWSr2XA64HvLB7L8hOPq062beq83Ndutzb1yYo=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { "amd64-linux": { - "bzlFile": "@@rules_download~override//download/file:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/file:repository.bzl", "ruleClassName": "file", "attributes": { "executable": true, @@ -1880,7 +1769,7 @@ } }, "arm64-linux": { - "bzlFile": "@@rules_download~override//download/file:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/file:repository.bzl", "ruleClassName": "file", "attributes": { "executable": true, @@ -1893,7 +1782,7 @@ } }, "libgcc-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-89HUjAWZrqhbfyB3oB0oW63EKZjBoedHOTXVz5lcgUE=", @@ -1907,7 +1796,7 @@ } }, "libgcc-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-b84iaNjzFSpOhGNPWiQTPTxikDsvmxG5xZI1y7wbI6g=", @@ -1921,7 +1810,7 @@ } }, "libstdcxx-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-mxsmkCDOxqztOznwlve2ft0fDUqyT0EstlBtCADhnL8=", @@ -1935,7 +1824,7 @@ } }, "libstdcxx-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-IelxxdNQb3g7ie/o4SrIUIHd2SE+T2UpJivP6VwyZnA=", @@ -1949,7 +1838,7 @@ } }, "libz-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-190dFBH+3yf14nZQpu/yDvKUB3tWj0yMXlFGbcfAjOQ=", @@ -1963,7 +1852,7 @@ } }, "libz-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-Uri4oUW74ZVruoIDT3cCLL7ww9CIXJ4y2YF6eTL+GRM=", @@ -1977,7 +1866,7 @@ } }, "libtinfo-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-By2Qjzj1EJDKKMpa+jtGspV9xh/jUJTAuFFCaFmkmlE=", @@ -1991,7 +1880,7 @@ } }, "libtinfo-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-uu8PZ3b4TH7tTxFG1uV3RolWfa1DIWiU1B2gLmYI5LM=", @@ -2005,7 +1894,7 @@ } }, "bash-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-UyXmOsrss39mNpkDKDcHdJlb2bPc4Qq9A2bIoGh3vQ0=", @@ -2019,7 +1908,7 @@ } }, "bash-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-E8TnADCgWa7sa3ReTOKUnOZ0BSRrs4Uh5sj00hwTNUM=", @@ -2033,7 +1922,7 @@ } }, "toybox-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-IFVmdArrwz0gzAYSeNqO5ES/pKk85iJShIUetm4THuU=", @@ -2047,7 +1936,7 @@ } }, "toybox-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-5CPfAArbm5SvgH1cQpemJeyIdnczTXLkoljfI/lhbXo=", @@ -2061,7 +1950,7 @@ } }, "libcrypt-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-9fYKXN/U5OqpQ4reUHild0Gnp41ln8sMcBIE9SPovSk=", @@ -2075,7 +1964,7 @@ } }, "libcrypt-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-7qCtdupetQcSf+oMKRYi6k7Nu3HEuajtnHauM/waASc=", @@ -2089,7 +1978,7 @@ } }, "busybox-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-KqI9MBsqEgZPIju0AOeVNYuAgs6QsbmGKCGV5iFL+cg=", @@ -2103,7 +1992,7 @@ } }, "busybox-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { "integrity": "sha256-cYuJrSahQWw0TM3ZOSzw0AmR1DrgiFuHRnZ7O4W/yVo=", @@ -2117,29 +2006,29 @@ } }, "linux-libc-dev-amd64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { - "integrity": "sha256-Slevjxz/RdteuRBTxL5LBNLqJtBc4YGAcTVGDvWLv68=", + "integrity": "sha256-ZM1wtCXOkbjIXJEoTqMkbrYFQP0rQM1hVdaEaWjj6BA=", "urls": [ - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb", - "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_amd64.deb" + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb", + "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_amd64.deb" ], "name": "_main~_repo_rules~linux-libc-dev-amd64" } }, "linux-libc-dev-arm64": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", + "bzlFile": "@@rules_download~1.0.0-alpha.2//download/deb:repository.bzl", "ruleClassName": "deb", "attributes": { - "integrity": "sha256-DkzcWwZBGByN+vklh5aZld3M6YAsxnVqGVaRlkmi2yo=", + "integrity": "sha256-CjbFtclfEUt4LN6Jyo3k/h9kx9o9OYHJMRG0fhwI2Tc=", "urls": [ - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb", - "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.55-1_arm64.deb" + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.no.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.us.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb", + "http://ftp.cn.debian.org/debian/pool/main/l/linux/linux-libc-dev_6.1.66-1_arm64.deb" ], "name": "_main~_repo_rules~linux-libc-dev-arm64" } @@ -2147,7 +2036,7 @@ } } }, - "@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": { + "@@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": { "general": { "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", "accumulatedFileDigests": {}, @@ -2170,9 +2059,9 @@ } } }, - "@aspect_bazel_lib~2.0.0-rc1//lib:extensions.bzl%toolchains": { + "@@aspect_bazel_lib~2.0.0-rc1//lib:extensions.bzl%toolchains": { "general": { - "bzlTransitiveDigest": "khY7T3u0kLvZrmVE/0oQQ+Am/feQNNzg6EZynxoshlQ=", + "bzlTransitiveDigest": "/nTi58pjfHgQqUbZ/1cnPtvnIUtpRfhKR3hBnolUfnM=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { @@ -2578,7 +2467,7 @@ } } }, - "@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { + "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { "general": { "bzlTransitiveDigest": "O9sf6ilKWU9Veed02jG9o2HM/xgV/UAyciuFBuxrFRY=", "accumulatedFileDigests": {}, @@ -2601,7 +2490,7 @@ } } }, - "@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { + "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { "general": { "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=", "accumulatedFileDigests": {}, @@ -2619,7 +2508,7 @@ } } }, - "@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { + "@@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { "general": { "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", "accumulatedFileDigests": {}, @@ -2635,7 +2524,7 @@ } } }, - "@container_structure_test~1.16.0//:repositories.bzl%extension": { + "@@container_structure_test~1.16.0//:repositories.bzl%extension": { "general": { "bzlTransitiveDigest": "/vl5vOyGN/nxHtUF3SxoDZnTDgDklt4HUpLQD5LE8+k=", "accumulatedFileDigests": {}, @@ -2709,57 +2598,9 @@ } } }, - "@rules_download~override//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "32Ix2TnOeWlYC+W7/ZTv5KEcgzJLOuHmzb+/KA1C4HA=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "coreutils-arm64-linux-gnu": { - "bzlFile": "@@rules_download~override//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "template": "@@rules_download~override//coreutils:BUILD.tmpl.bazel", - "integrity": "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - "strip_prefix": "coreutils-0.0.21-aarch64-unknown-linux-gnu", - "coreutils": "@@rules_download~override//lib:stub", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz" - ], - "name": "rules_download~override~_repo_rules~coreutils-arm64-linux-gnu" - } - }, - "coreutils-amd64-linux-gnu": { - "bzlFile": "@@rules_download~override//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "template": "@@rules_download~override//coreutils:BUILD.tmpl.bazel", - "integrity": "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - "strip_prefix": "coreutils-0.0.21-x86_64-unknown-linux-gnu", - "coreutils": "@@rules_download~override//lib:stub", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz" - ], - "name": "rules_download~override~_repo_rules~coreutils-amd64-linux-gnu" - } - }, - "coreutils": { - "bzlFile": "@@rules_toolchain~override//toolchain/local/select:repository.bzl", - "ruleClassName": "select", - "attributes": { - "map": { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu" - }, - "name": "rules_download~override~_repo_rules~coreutils" - } - } - } - } - }, - "@rules_java~7.1.0//java:extensions.bzl%toolchains": { + "@@rules_java~7.1.0//java:extensions.bzl%toolchains": { "general": { - "bzlTransitiveDigest": "EXsxSX2vQjCcI8jYez/O+Yb9H5reAMhLL3WXGPD6Scw=", + "bzlTransitiveDigest": "iUIRqCK7tkhvcDJCAfPPqSd06IHG0a8HQD0xeQyVAqw=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { @@ -3297,17 +3138,17 @@ } } }, - "@rules_oci~1.4.0//oci:extensions.bzl%oci": { + "@@rules_oci~1.4.3//oci:extensions.bzl%oci": { "general": { - "bzlTransitiveDigest": "S+HQY1dLI1DLeNSx5nf5BVSC5I4F5qr2Vh3qz90ePng=", + "bzlTransitiveDigest": "5rF/TB0Rb8RhZqoVpZPp6OL2B3VCRNg6z9vRQxM9v5o=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { "oci_crane_registry_toolchains": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:toolchains_repo.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:toolchains_repo.bzl", "ruleClassName": "toolchains_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_registry_toolchains", + "name": "rules_oci~1.4.3~oci~oci_crane_registry_toolchains", "toolchain_type": "@rules_oci//oci:registry_toolchain_type", "toolchain": "@oci_crane_{platform}//:registry_toolchain" } @@ -3316,7 +3157,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_windows_amd64", + "name": "rules_oci~1.4.3~oci~copy_to_directory_windows_amd64", "platform": "windows_amd64" } }, @@ -3324,7 +3165,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq_darwin_amd64", + "name": "rules_oci~1.4.3~oci~jq_darwin_amd64", "platform": "darwin_amd64", "version": "1.7" } @@ -3333,24 +3174,24 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_freebsd_amd64", + "name": "rules_oci~1.4.3~oci~copy_to_directory_freebsd_amd64", "platform": "freebsd_amd64" } }, "oci_crane_linux_arm64": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_linux_arm64", + "name": "rules_oci~1.4.3~oci~oci_crane_linux_arm64", "platform": "linux_arm64", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "jq_linux_arm64": { "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq_linux_arm64", + "name": "rules_oci~1.4.3~oci~jq_linux_arm64", "platform": "linux_arm64", "version": "1.7" } @@ -3359,7 +3200,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:coreutils_toolchain.bzl", "ruleClassName": "coreutils_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~coreutils_darwin_arm64", + "name": "rules_oci~1.4.3~oci~coreutils_darwin_arm64", "platform": "darwin_arm64", "version": "0.0.16" } @@ -3368,28 +3209,28 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_linux_arm64", + "name": "rules_oci~1.4.3~oci~copy_to_directory_linux_arm64", "platform": "linux_arm64" } }, "oci_crane_linux_amd64": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_linux_amd64", + "name": "rules_oci~1.4.3~oci~oci_crane_linux_amd64", "platform": "linux_amd64", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "distroless_linux_arm64_v8": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_arm64_v8", + "name": "rules_oci~1.4.3~oci~distroless_linux_arm64_v8", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/arm64/v8", "target_name": "distroless_linux_arm64_v8" } @@ -3398,7 +3239,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:coreutils_toolchain.bzl", "ruleClassName": "coreutils_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~coreutils_darwin_amd64", + "name": "rules_oci~1.4.3~oci~coreutils_darwin_amd64", "platform": "darwin_amd64", "version": "0.0.16" } @@ -3407,7 +3248,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:coreutils_toolchain.bzl", "ruleClassName": "coreutils_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~coreutils_linux_arm64", + "name": "rules_oci~1.4.3~oci~coreutils_linux_arm64", "platform": "linux_arm64", "version": "0.0.16" } @@ -3416,7 +3257,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_linux_s390x", + "name": "rules_oci~1.4.3~oci~yq_linux_s390x", "platform": "linux_s390x", "version": "4.25.2" } @@ -3425,23 +3266,23 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_host_alias_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq" + "name": "rules_oci~1.4.3~oci~yq" } }, "oci_crane_darwin_arm64": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_darwin_arm64", + "name": "rules_oci~1.4.3~oci~oci_crane_darwin_arm64", "platform": "darwin_arm64", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "jq_darwin_arm64": { "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq_darwin_arm64", + "name": "rules_oci~1.4.3~oci~jq_darwin_arm64", "platform": "darwin_arm64", "version": "1.7" } @@ -3450,73 +3291,73 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_darwin_amd64", + "name": "rules_oci~1.4.3~oci~yq_darwin_amd64", "platform": "darwin_amd64", "version": "4.25.2" } }, "oci_crane_linux_i386": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_linux_i386", + "name": "rules_oci~1.4.3~oci~oci_crane_linux_i386", "platform": "linux_i386", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "distroless_linux_amd64": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_amd64", + "name": "rules_oci~1.4.3~oci~distroless_linux_amd64", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/amd64", "target_name": "distroless_linux_amd64" } }, "distroless_linux_arm_v7": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_arm_v7", + "name": "rules_oci~1.4.3~oci~distroless_linux_arm_v7", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/arm/v7", "target_name": "distroless_linux_arm_v7" } }, "distroless_linux_arm_v5": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_arm_v5", + "name": "rules_oci~1.4.3~oci~distroless_linux_arm_v5", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/arm/v5", "target_name": "distroless_linux_arm_v5" } }, "oci_crane_windows_armv6": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_windows_armv6", + "name": "rules_oci~1.4.3~oci~oci_crane_windows_armv6", "platform": "windows_armv6", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "oci_crane_toolchains": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:toolchains_repo.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:toolchains_repo.bzl", "ruleClassName": "toolchains_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_toolchains", + "name": "rules_oci~1.4.3~oci~oci_crane_toolchains", "toolchain_type": "@rules_oci//oci:crane_toolchain_type", "toolchain": "@oci_crane_{platform}//:crane_toolchain" } @@ -3525,7 +3366,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_darwin_amd64", + "name": "rules_oci~1.4.3~oci~copy_to_directory_darwin_amd64", "platform": "darwin_amd64" } }, @@ -3533,62 +3374,62 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_toolchains_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_toolchains", + "name": "rules_oci~1.4.3~oci~yq_toolchains", "user_repository_name": "yq" } }, "oci_crane_windows_amd64": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_windows_amd64", + "name": "rules_oci~1.4.3~oci~oci_crane_windows_amd64", "platform": "windows_amd64", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "distroless_linux_s390x": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_s390x", + "name": "rules_oci~1.4.3~oci~distroless_linux_s390x", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/s390x", "target_name": "distroless_linux_s390x" } }, "oci_crane_linux_s390x": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_linux_s390x", + "name": "rules_oci~1.4.3~oci~oci_crane_linux_s390x", "platform": "linux_s390x", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "jq": { "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_host_alias_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq" + "name": "rules_oci~1.4.3~oci~jq" } }, "oci_crane_darwin_amd64": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_darwin_amd64", + "name": "rules_oci~1.4.3~oci~oci_crane_darwin_amd64", "platform": "darwin_amd64", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "copy_to_directory_linux_amd64": { "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_linux_amd64", + "name": "rules_oci~1.4.3~oci~copy_to_directory_linux_amd64", "platform": "linux_amd64" } }, @@ -3596,7 +3437,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:coreutils_toolchain.bzl", "ruleClassName": "coreutils_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~coreutils_linux_amd64", + "name": "rules_oci~1.4.3~oci~coreutils_linux_amd64", "platform": "linux_amd64", "version": "0.0.16" } @@ -3605,37 +3446,37 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_linux_amd64", + "name": "rules_oci~1.4.3~oci~yq_linux_amd64", "platform": "linux_amd64", "version": "4.25.2" } }, "oci_crane_linux_armv6": { - "bzlFile": "@@rules_oci~1.4.0//oci:repositories.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci:repositories.bzl", "ruleClassName": "crane_repositories", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_crane_linux_armv6", + "name": "rules_oci~1.4.3~oci~oci_crane_linux_armv6", "platform": "linux_armv6", - "crane_version": "v0.14.0" + "crane_version": "v0.16.1" } }, "copy_to_directory_darwin_arm64": { "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_darwin_arm64", + "name": "rules_oci~1.4.3~oci~copy_to_directory_darwin_arm64", "platform": "darwin_arm64" } }, "distroless_linux_mips64le": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_mips64le", + "name": "rules_oci~1.4.3~oci~distroless_linux_mips64le", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/mips64le", "target_name": "distroless_linux_mips64le" } @@ -3644,7 +3485,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:coreutils_toolchain.bzl", "ruleClassName": "coreutils_toolchains_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~coreutils_toolchains", + "name": "rules_oci~1.4.3~oci~coreutils_toolchains", "user_repository_name": "coreutils" } }, @@ -3652,7 +3493,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq_linux_amd64", + "name": "rules_oci~1.4.3~oci~jq_linux_amd64", "platform": "linux_amd64", "version": "1.7" } @@ -3661,21 +3502,21 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_windows_amd64", + "name": "rules_oci~1.4.3~oci~yq_windows_amd64", "platform": "windows_amd64", "version": "4.25.2" } }, "distroless": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_alias", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless", + "name": "rules_oci~1.4.3~oci~distroless", "target_name": "distroless", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platforms": { "@@platforms//cpu:x86_64": "@distroless_linux_amd64", "@@platforms//cpu:armv7": "@distroless_linux_arm_v7", @@ -3693,20 +3534,20 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq_windows_amd64", + "name": "rules_oci~1.4.3~oci~jq_windows_amd64", "platform": "windows_amd64", "version": "1.7" } }, "distroless_linux_ppc64le": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_ppc64le", + "name": "rules_oci~1.4.3~oci~distroless_linux_ppc64le", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/ppc64le", "target_name": "distroless_linux_ppc64le" } @@ -3715,7 +3556,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_linux_ppc64le", + "name": "rules_oci~1.4.3~oci~yq_linux_ppc64le", "platform": "linux_ppc64le", "version": "4.25.2" } @@ -3724,7 +3565,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:jq_toolchain.bzl", "ruleClassName": "jq_toolchains_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~jq_toolchains", + "name": "rules_oci~1.4.3~oci~jq_toolchains", "user_repository_name": "jq" } }, @@ -3732,7 +3573,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:copy_to_directory_toolchain.bzl", "ruleClassName": "copy_to_directory_toolchains_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~copy_to_directory_toolchains", + "name": "rules_oci~1.4.3~oci~copy_to_directory_toolchains", "user_repository_name": "copy_to_directory" } }, @@ -3740,36 +3581,36 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_darwin_arm64", + "name": "rules_oci~1.4.3~oci~yq_darwin_arm64", "platform": "darwin_arm64", "version": "4.25.2" } }, "distroless_linux_386": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:pull.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:pull.bzl", "ruleClassName": "oci_pull", "attributes": { - "name": "rules_oci~1.4.0~oci~distroless_linux_386", + "name": "rules_oci~1.4.3~oci~distroless_linux_386", "scheme": "https", "registry": "gcr.io", "repository": "distroless/base-debian12", - "identifier": "sha256:832c73e0fadf08a6bc2680534057df63983146676248aa20f9ed52b8f0b662f9", + "identifier": "sha256:5a779e9c2635dbea68ae7988f398f95686ccde186cd2abf51207e41ed2ec51f4", "platform": "linux/386", "target_name": "distroless_linux_386" } }, "oci_auth_config": { - "bzlFile": "@@rules_oci~1.4.0//oci/private:auth_config_locator.bzl", + "bzlFile": "@@rules_oci~1.4.3//oci/private:auth_config_locator.bzl", "ruleClassName": "oci_auth_config_locator", "attributes": { - "name": "rules_oci~1.4.0~oci~oci_auth_config" + "name": "rules_oci~1.4.3~oci~oci_auth_config" } }, "coreutils_windows_amd64": { "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:coreutils_toolchain.bzl", "ruleClassName": "coreutils_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~coreutils_windows_amd64", + "name": "rules_oci~1.4.3~oci~coreutils_windows_amd64", "platform": "windows_amd64", "version": "0.0.16" } @@ -3778,7 +3619,7 @@ "bzlFile": "@@aspect_bazel_lib~2.0.0-rc1//lib/private:yq_toolchain.bzl", "ruleClassName": "yq_platform_repo", "attributes": { - "name": "rules_oci~1.4.0~oci~yq_linux_arm64", + "name": "rules_oci~1.4.3~oci~yq_linux_arm64", "platform": "linux_arm64", "version": "4.25.2" } @@ -3786,9 +3627,9 @@ } } }, - "@rules_python~0.25.0//python/extensions:python.bzl%python": { + "@@rules_python~0.25.0//python/extensions:python.bzl%python": { "general": { - "bzlTransitiveDigest": "B4RqEuNvNU/6NbB8Kq+4CRwMAlugW3+681jEYTDEaOM=", + "bzlTransitiveDigest": "UXnPXQNVnwL+5ffAHiA0MvONHiz01rvCbBfgZ301wHk=", "accumulatedFileDigests": {}, "envVariables": {}, "generatedRepoSpecs": { diff --git a/rules_download/.bazelignore b/rules_download/.bazelignore deleted file mode 100644 index c7ca8d09784be38d09265f6af319ceeec1a5dea8..0000000000000000000000000000000000000000 --- a/rules_download/.bazelignore +++ /dev/null @@ -1 +0,0 @@ -e2e diff --git a/rules_download/.bazelrc b/rules_download/.bazelrc deleted file mode 100644 index 9931842e7d152e956260e9e14dc7034db45d161d..0000000000000000000000000000000000000000 --- a/rules_download/.bazelrc +++ /dev/null @@ -1,14 +0,0 @@ -# Enable `bzlmod` -common --enable_bzlmod - -# Build cache -build --experimental_guard_against_concurrent_changes - -# Prevent `PATH` and `LD_LIBRARY_PATH` leaking into action enviroment -build --incompatible_strict_action_env - -# Prevent symlink forest under `.runfiles/wsname/external/repo` -build --nolegacy_external_runfiles - -# User-specific .bazelrc -try-import %workspace%/.bazelrc.user diff --git a/rules_download/.bazelrc.ci b/rules_download/.bazelrc.ci deleted file mode 100644 index 5af25a132c84aad13448e0f353fc1307ab7576fd..0000000000000000000000000000000000000000 --- a/rules_download/.bazelrc.ci +++ /dev/null @@ -1,36 +0,0 @@ -# Declare all run commands that are loaded -common --announce_rc - -# Use relative paths where possible for concise CI output -common --attempt_to_print_relative_paths - -# Prevent progress bars or similar -common --curses=no - -# CI "terminals" support colour -common --color=yes - -# Output timestamps for each command to aid debugging of CI runtime -common --show_timestamps - -# Do not wrap any output -common --terminal_columns=0 - -# Print relative paths where possible to reduce noise -common --attempt_to_print_relative_paths - -# Output as much information in the CI log about failures as possible -build --verbose_failures - -# Avoid building all targets when testing -test --build_tests_only - -# Noisy logs but allows debugging CI run failures -test --test_output=errors - -# Output as much information when a test exceeds a timeout -test --test_verbose_timeout_warnings - -# These locations are cached on the CI -build --disk_cache=${CI_PROJECT_DIR}/.cache/bazel/disk -build --repository_cache=${CI_PROJECT_DIR}/.cache/bazel/repo diff --git a/rules_download/.bazelversion b/rules_download/.bazelversion deleted file mode 100644 index 6543a03467f9e7a04e9ce102a32e3d1bf460789d..0000000000000000000000000000000000000000 --- a/rules_download/.bazelversion +++ /dev/null @@ -1,2 +0,0 @@ -last_rc -# TODO: relax this once we have `use_rule_repo` diff --git a/rules_download/.gitignore b/rules_download/.gitignore deleted file mode 100644 index eb9f311c64c4a2c1665e6970305c980b97d76f3e..0000000000000000000000000000000000000000 --- a/rules_download/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.cache -/bazel-bin -/bazel-testlogs -/bazel-rules_download -/bazel-out -/.bazelrc.user diff --git a/rules_download/MODULE.bazel b/rules_download/MODULE.bazel deleted file mode 100644 index 25e0615b0b84a595d80f033587251dc48cc32506..0000000000000000000000000000000000000000 --- a/rules_download/MODULE.bazel +++ /dev/null @@ -1,43 +0,0 @@ -module( - name = "rules_download", - bazel_compatibility = [ - ">=6.4.0", - ], -) - -bazel_dep(name = "bazel_skylib", version = "1.4.2") -bazel_dep(name = "rules_toolchain", version = "0.0.0") -local_path_override( - module_name = "rules_toolchain", - path = "../rules_toolchain", -) - -download_archive = use_repo_rule("//download:defs.bzl", "download_archive") - -download_archive( - name = "coreutils-arm64-linux-gnu", - coreutils = "//lib:stub", - integrity = "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - strip_prefix = "coreutils-0.0.21-aarch64-unknown-linux-gnu", - template = "//coreutils:BUILD.tmpl.bazel", - urls = ["https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz"], -) - -download_archive( - name = "coreutils-amd64-linux-gnu", - coreutils = "//lib:stub", - integrity = "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - strip_prefix = "coreutils-0.0.21-x86_64-unknown-linux-gnu", - template = "//coreutils:BUILD.tmpl.bazel", - urls = ["https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz"], -) - -select = use_repo_rule("@rules_toolchain//toolchain:defs.bzl", "toolchain_local_select") - -select( - name = "coreutils", - map = { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu", - }, -) diff --git a/rules_download/MODULE.bazel.lock b/rules_download/MODULE.bazel.lock deleted file mode 100644 index 04846f79215a621c8e80b70ba6c712a16af59e64..0000000000000000000000000000000000000000 --- a/rules_download/MODULE.bazel.lock +++ /dev/null @@ -1,797 +0,0 @@ -{ - "lockFileVersion": 3, - "moduleFileHash": "ab1bd2abd2ab15592746ab5cc2cf7274c8330d4fa1501fc41e7e48397217e5ac", - "flags": { - "cmdRegistries": [ - "https://bcr.bazel.build/" - ], - "cmdModuleOverrides": {}, - "allowedYankedVersions": [], - "envVarAllowedYankedVersions": "", - "ignoreDevDependency": false, - "directDependenciesMode": "WARNING", - "compatibilityMode": "ERROR" - }, - "localOverrideHashes": { - "rules_toolchain": "ff90300323aff25a6de41d9c13cfa32563723e24f76d495b493d2d18703911a2", - "bazel_tools": "18ffd442cf258c9048798a0d9bc49bbb06aba5ccb141dd357ce0c13c56f1ae78" - }, - "moduleDepGraph": { - "": { - "name": "rules_download", - "version": "", - "key": "", - "repoName": "rules_download", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "coreutils-arm64-linux-gnu": "coreutils-arm64-linux-gnu", - "coreutils-amd64-linux-gnu": "coreutils-amd64-linux-gnu", - "coreutils": "coreutils" - }, - "devImports": [], - "tags": [ - { - "tagName": "//download:defs.bzl%download_archive", - "attributeValues": { - "coreutils": "//lib:stub", - "integrity": "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - "strip_prefix": "coreutils-0.0.21-aarch64-unknown-linux-gnu", - "template": "//coreutils:BUILD.tmpl.bazel", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz" - ], - "name": "coreutils-arm64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 17, - "column": 17 - } - }, - { - "tagName": "//download:defs.bzl%download_archive", - "attributeValues": { - "coreutils": "//lib:stub", - "integrity": "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - "strip_prefix": "coreutils-0.0.21-x86_64-unknown-linux-gnu", - "template": "//coreutils:BUILD.tmpl.bazel", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz" - ], - "name": "coreutils-amd64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 26, - "column": 17 - } - }, - { - "tagName": "@rules_toolchain//toolchain:defs.bzl%toolchain_local_select", - "attributeValues": { - "map": { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu" - }, - "name": "coreutils" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 37, - "column": 7 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_toolchain": "rules_toolchain@_", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "bazel_skylib@1.4.2": { - "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "bazel_skylib~1.4.2", - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" - ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_toolchain@_": { - "name": "rules_toolchain", - "version": "", - "key": "rules_toolchain@_", - "repoName": "rules_toolchain", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "rules_toolchain@_", - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "local": "local" - }, - "devImports": [], - "tags": [ - { - "tagName": "//toolchain/local/triplet:repository.bzl%triplet", - "attributeValues": { - "name": "local" - }, - "devDependency": false, - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 13, - "column": 8 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "bazel_tools@_": { - "name": "bazel_tools", - "version": "", - "key": "bazel_tools@_", - "repoName": "bazel_tools", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all", - "@local_config_sh//:local_sh_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 17, - "column": 29 - }, - "imports": { - "local_config_cc": "local_config_cc", - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl", - "extensionName": "xcode_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 21, - "column": 32 - }, - "imports": { - "local_config_xcode": "local_config_xcode" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 24, - "column": 32 - }, - "imports": { - "local_jdk": "local_jdk", - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl", - "extensionName": "sh_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 35, - "column": 39 - }, - "imports": { - "local_config_sh": "local_config_sh" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl", - "extensionName": "remote_coverage_tools_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 39, - "column": 48 - }, - "imports": { - "remote_coverage_tools": "remote_coverage_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", - "extensionName": "remote_android_tools_extensions", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 42, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.0.6", - "rules_license": "rules_license@0.0.7", - "rules_proto": "rules_proto@4.0.0", - "rules_python": "rules_python@0.4.0", - "platforms": "platforms@0.0.7", - "com_google_protobuf": "protobuf@3.19.6", - "zlib": "zlib@1.3", - "build_bazel_apple_support": "apple_support@1.5.0", - "local_config_platform": "local_config_platform@_" - } - }, - "local_config_platform@_": { - "name": "local_config_platform", - "version": "", - "key": "local_config_platform@_", - "repoName": "local_config_platform", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_" - } - }, - "platforms@0.0.7": { - "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", - "repoName": "platforms", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "platforms", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" - ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_cc@0.0.9": { - "name": "rules_cc", - "version": "0.0.9", - "key": "rules_cc@0.0.9", - "repoName": "rules_cc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "rules_cc@0.0.9", - "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", - "line": 9, - "column": 29 - }, - "imports": { - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_cc~0.0.9", - "urls": [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" - ], - "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", - "strip_prefix": "rules_cc-0.0.9", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_java@7.0.6": { - "name": "rules_java", - "version": "7.0.6", - "key": "rules_java@7.0.6", - "repoName": "rules_java", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains:all", - "@local_jdk//:runtime_toolchain_definition", - "@local_jdk//:bootstrap_runtime_toolchain_definition", - "@remotejdk11_linux_toolchain_config_repo//:all", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk11_linux_s390x_toolchain_config_repo//:all", - "@remotejdk11_macos_toolchain_config_repo//:all", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk11_win_toolchain_config_repo//:all", - "@remotejdk11_win_arm64_toolchain_config_repo//:all", - "@remotejdk17_linux_toolchain_config_repo//:all", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk17_linux_s390x_toolchain_config_repo//:all", - "@remotejdk17_macos_toolchain_config_repo//:all", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk17_win_toolchain_config_repo//:all", - "@remotejdk17_win_arm64_toolchain_config_repo//:all", - "@remotejdk21_linux_toolchain_config_repo//:all", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk21_macos_toolchain_config_repo//:all", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk21_win_toolchain_config_repo//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "rules_java@7.0.6", - "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.0.6/MODULE.bazel", - "line": 18, - "column": 27 - }, - "imports": { - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64", - "local_jdk": "local_jdk", - "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo", - "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo", - "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo", - "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo", - "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo", - "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo", - "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo", - "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo", - "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo", - "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo", - "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo", - "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo", - "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo", - "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo", - "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo", - "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo", - "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo", - "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo", - "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@4.0.0", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6", - "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.0.6/rules_java-7.0.6.tar.gz" - ], - "integrity": "sha256-6B6d6q4NnZnvPdX2wbMjOER/4W1VZBVVMepOt+84hUs=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_license@0.0.7": { - "name": "rules_license", - "version": "0.0.7", - "key": "rules_license@0.0.7", - "repoName": "rules_license", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_license~0.0.7", - "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" - ], - "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_proto@4.0.0": { - "name": "rules_proto", - "version": "4.0.0", - "key": "rules_proto@4.0.0", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_proto~4.0.0", - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.zip" - ], - "integrity": "sha256-Lr5z6xyuRA19pNtRYMGjKaynwQpck4H/lwYyVjyhoq4=", - "strip_prefix": "rules_proto-4.0.0", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_proto/4.0.0/patches/module_dot_bazel.patch": "sha256-MclJO7tIAM2ElDAmscNId9pKTpOuDGHgVlW/9VBOIp0=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_python@0.4.0": { - "name": "rules_python", - "version": "0.4.0", - "key": "rules_python@0.4.0", - "repoName": "rules_python", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@bazel_tools//tools/python:autodetecting_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_python//bzlmod:extensions.bzl", - "extensionName": "pip_install", - "usingModule": "rules_python@0.4.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel", - "line": 7, - "column": 28 - }, - "imports": { - "pypi__click": "pypi__click", - "pypi__pip": "pypi__pip", - "pypi__pip_tools": "pypi__pip_tools", - "pypi__pkginfo": "pypi__pkginfo", - "pypi__setuptools": "pypi__setuptools", - "pypi__wheel": "pypi__wheel" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_python~0.4.0", - "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz" - ], - "integrity": "sha256-lUqom0kb5KCDMEosuDgBnIuMNyCnq7nEy4GseiQjDOo=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/propagate_pip_install_dependencies.patch": "sha256-v7S/dem/mixg63MF4KoRGDA4KEol9ab/tIVp+6Xq0D0=", - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/module_dot_bazel.patch": "sha256-kG4VIfWxQazzTuh50mvsx6pmyoRVA4lfH5rkto/Oq+Y=" - }, - "remote_patch_strip": 1 - } - } - }, - "protobuf@3.19.6": { - "name": "protobuf", - "version": "3.19.6", - "key": "protobuf@3.19.6", - "repoName": "protobuf", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "zlib": "zlib@1.3", - "rules_python": "rules_python@0.4.0", - "rules_cc": "rules_cc@0.0.9", - "rules_proto": "rules_proto@4.0.0", - "rules_java": "rules_java@7.0.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "protobuf~3.19.6", - "urls": [ - "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.6.zip" - ], - "integrity": "sha256-OH4sVZuyx8G8N5jE5s/wFTgaebJ1hpavy/johzC0c4k=", - "strip_prefix": "protobuf-3.19.6", - "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/relative_repo_names.patch": "sha256-w/5gw/zGv8NFId+669hcdw1Uus2lxgYpulATHIwIByI=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/remove_dependency_on_rules_jvm_external.patch": "sha256-THUTnVgEBmjA0W7fKzIyZOVG58DnW9HQTkr4D2zKUUc=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/add_module_dot_bazel_for_examples.patch": "sha256-s/b1gi3baK3LsXefI2rQilhmkb2R5jVJdnT6zEcdfHY=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/module_dot_bazel.patch": "sha256-S0DEni8zgx7rHscW3z/rCEubQnYec0XhNet640cw0h4=" - }, - "remote_patch_strip": 1 - } - } - }, - "zlib@1.3": { - "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", - "repoName": "zlib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "zlib~1.3", - "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" - ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", - "remote_patches": { - "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=", - "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk=" - }, - "remote_patch_strip": 0 - } - } - }, - "apple_support@1.5.0": { - "name": "apple_support", - "version": "1.5.0", - "key": "apple_support@1.5.0", - "repoName": "build_bazel_apple_support", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_apple_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl", - "extensionName": "apple_cc_configure_extension", - "usingModule": "apple_support@1.5.0", - "location": { - "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel", - "line": 17, - "column": 35 - }, - "imports": { - "local_config_apple_cc": "local_config_apple_cc", - "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "apple_support~1.5.0", - "urls": [ - "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz" - ], - "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - } - }, - "moduleExtensions": { - "//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "32Ix2TnOeWlYC+W7/ZTv5KEcgzJLOuHmzb+/KA1C4HA=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "coreutils-arm64-linux-gnu": { - "bzlFile": "@@//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "coreutils": "@@//lib:stub", - "integrity": "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - "strip_prefix": "coreutils-0.0.21-aarch64-unknown-linux-gnu", - "template": "@@//coreutils:BUILD.tmpl.bazel", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz" - ], - "name": "_main~_repo_rules~coreutils-arm64-linux-gnu" - } - }, - "coreutils-amd64-linux-gnu": { - "bzlFile": "@@//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "coreutils": "@@//lib:stub", - "integrity": "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - "strip_prefix": "coreutils-0.0.21-x86_64-unknown-linux-gnu", - "template": "@@//coreutils:BUILD.tmpl.bazel", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz" - ], - "name": "_main~_repo_rules~coreutils-amd64-linux-gnu" - } - }, - "coreutils": { - "bzlFile": "@@rules_toolchain~override//toolchain/local/select:repository.bzl", - "ruleClassName": "select", - "attributes": { - "map": { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu" - }, - "name": "_main~_repo_rules~coreutils" - } - } - } - } - } - } -} diff --git a/rules_download/README.md b/rules_download/README.md deleted file mode 100644 index 626d8a3747fd867e16dfcf7de75394c2083a24bf..0000000000000000000000000000000000000000 --- a/rules_download/README.md +++ /dev/null @@ -1,72 +0,0 @@ -# `rules_download` - -> A Bazel extension to download archives, files and packages for use within Bazel targets - -## Getting Started - -Use the repository rules in `MODULE.bazel` to download artifacts: - -```py -# Download an archive and unpack it -download_archive = use_repo_rule("@rules_download//download:defs.bzl", "download_archive") -download_archive( - name = "archive", - urls = ["https://some.thing/archive.tar"], -) - -# Download a single file and possibly make it executable -download_file = use_repo_rule("@rules_download//download:defs.bzl", "download_file") -download_file( - name = "file", - output = "executable", - executable = True, - urls = ["https://some.thing/executable-amd64-linux"], -) - -# Download a Debian package, unpack it then unpack the `data.tar.{xz,zst}` -download_deb = use_repo_rule("@rules_download//download:defs.bzl", "download_deb") -download_deb( - name = "deb", - integrity = "sha256-vMiq8kFBwoSrVEE+Tcs08RvaiNp6MsboWlXS7p1clO0=", - urls = ["https://some.thing/test_1.0-1_all.deb"], - commands = { - "symlink": [ - "ln", - "-s", - "etc/test/fixture.txt", - "fixture.txt", - ], - }, -) -``` - -### Integrity - -The [sub-resource integrity (SRI)][sri] is not required for secure URLs. For non-secure (`http`, `ftp`) it is. It is -recommended to _always_ add the `integrity` to allow reproducible builds and sharing of downloads. When the integrity is -omitted and the rule is resolved, the correct SRI is output to the terminal. The easiest way to download the artifact is -to query the targets within the repository: `bazelisk query @archive//...`. - -### Patches - -The rules accept `patches` to modify the content after download. Examples are provided in the [end to end][e2e] tests. - -Patches are applied _after_ the `BUILD.bazel` file is written so can be used to customise the targets exposed to the -Bazel build. _Usually_, however, a custom `BUILD.bazel` file is provided to the `template` argument. - -### Commands - -Hermetic commands can be ran against the unpacked repository. Core utilites are provided such as `ln`, `mkdir`, `rm`, -etc. The [`implementation`][commands] shows the core utilities exposed. - -Extra hermetic binaries can be provided via the `tools` argument and be found using `$(location =6.4.0", - ], -) - -bazel_dep(name = "rules_download", version = "0.0.0") -local_path_override( - module_name = "rules_download", - path = "..", -) - -bazel_dep(name = "rules_toolchain", version = "0.0.0") -local_path_override( - module_name = "rules_toolchain", - path = "../../rules_toolchain", -) - -archive = use_repo_rule("@rules_download//download:defs.bzl", "download_archive") - -archive( - name = "archive", - commands = { - "symlink": [ - "ln", - "-s", - "fixture.txt", - "symlink.txt", - ], - "Hello, world!": [ - "$(location //archive:posix.sh)", - "hello-world.txt", - ], - }, - integrity = "sha256-PWscbDJ+esMLMe4/ix5LTP+lsR1piMNe7r9eHsx/KOg=", - patches = [ - "//archive:fixture.patch", - ], - tools = [ - "//archive:posix.sh", - ], - urls = ["file://%workspace%/archive.tar.xz"], -) - -file = use_repo_rule("@rules_download//download:defs.bzl", "download_file") - -file( - name = "file", - integrity = "sha256-2QFMRiSESqW6wxR3PWtomtRn+k4dGlChuKmdWpX3L/U=", - output = "fixture.txt", - patches = [ - "//file:fixture.patch", - ], - urls = ["file://%workspace%/fixture.txt"], -) - -deb = use_repo_rule("@rules_download//download:defs.bzl", "download_deb") - -deb( - name = "deb", - integrity = "sha256-vMiq8kFBwoSrVEE+Tcs08RvaiNp6MsboWlXS7p1clO0=", - patches = [ - "//deb:fixture.patch", - ], - urls = ["file://%workspace%/test_1.0-1_all.deb"], -) diff --git a/rules_download/e2e/MODULE.bazel.lock b/rules_download/e2e/MODULE.bazel.lock deleted file mode 100644 index 9abd6e078db567e1a413d15a4213bc618a96e00b..0000000000000000000000000000000000000000 --- a/rules_download/e2e/MODULE.bazel.lock +++ /dev/null @@ -1,1054 +0,0 @@ -{ - "lockFileVersion": 3, - "moduleFileHash": "4606f1142b421ab21db0ee55764cd823c727bc5ce9e0df23b4f96443366ff990", - "flags": { - "cmdRegistries": [ - "https://bcr.bazel.build/" - ], - "cmdModuleOverrides": {}, - "allowedYankedVersions": [], - "envVarAllowedYankedVersions": "", - "ignoreDevDependency": false, - "directDependenciesMode": "WARNING", - "compatibilityMode": "ERROR" - }, - "localOverrideHashes": { - "rules_toolchain": "ff90300323aff25a6de41d9c13cfa32563723e24f76d495b493d2d18703911a2", - "bazel_tools": "18ffd442cf258c9048798a0d9bc49bbb06aba5ccb141dd357ce0c13c56f1ae78", - "rules_download": "993cbd21600b082194e930544483c1612728fa58a19e09a1ada2e7befd4ab01d" - }, - "moduleDepGraph": { - "": { - "name": "e2e", - "version": "", - "key": "", - "repoName": "e2e", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "archive": "archive", - "file": "file", - "deb": "deb" - }, - "devImports": [], - "tags": [ - { - "tagName": "@rules_download//download:defs.bzl%download_archive", - "attributeValues": { - "commands": { - "symlink": [ - "ln", - "-s", - "fixture.txt", - "symlink.txt" - ], - "Hello, world!": [ - "$(location //archive:posix.sh)", - "hello-world.txt" - ] - }, - "integrity": "sha256-PWscbDJ+esMLMe4/ix5LTP+lsR1piMNe7r9eHsx/KOg=", - "patches": [ - "//archive:fixture.patch" - ], - "tools": [ - "//archive:posix.sh" - ], - "urls": [ - "file://%workspace%/archive.tar.xz" - ], - "name": "archive" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 22, - "column": 8 - } - }, - { - "tagName": "@rules_download//download:defs.bzl%download_file", - "attributeValues": { - "integrity": "sha256-2QFMRiSESqW6wxR3PWtomtRn+k4dGlChuKmdWpX3L/U=", - "output": "fixture.txt", - "patches": [ - "//file:fixture.patch" - ], - "urls": [ - "file://%workspace%/fixture.txt" - ], - "name": "file" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 48, - "column": 5 - } - }, - { - "tagName": "@rules_download//download:defs.bzl%download_deb", - "attributeValues": { - "integrity": "sha256-vMiq8kFBwoSrVEE+Tcs08RvaiNp6MsboWlXS7p1clO0=", - "patches": [ - "//deb:fixture.patch" - ], - "urls": [ - "file://%workspace%/test_1.0-1_all.deb" - ], - "name": "deb" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 60, - "column": 4 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_download": "rules_download@_", - "rules_toolchain": "rules_toolchain@_", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "rules_download@_": { - "name": "rules_download", - "version": "", - "key": "rules_download@_", - "repoName": "rules_download", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "rules_download@_", - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "coreutils-arm64-linux-gnu": "coreutils-arm64-linux-gnu", - "coreutils-amd64-linux-gnu": "coreutils-amd64-linux-gnu", - "coreutils": "coreutils" - }, - "devImports": [], - "tags": [ - { - "tagName": "//download:defs.bzl%download_archive", - "attributeValues": { - "template": "//coreutils:BUILD.tmpl.bazel", - "integrity": "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - "strip_prefix": "coreutils-0.0.21-aarch64-unknown-linux-gnu", - "coreutils": "//lib:stub", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz" - ], - "name": "coreutils-arm64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 17, - "column": 17 - } - }, - { - "tagName": "//download:defs.bzl%download_archive", - "attributeValues": { - "template": "//coreutils:BUILD.tmpl.bazel", - "integrity": "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - "strip_prefix": "coreutils-0.0.21-x86_64-unknown-linux-gnu", - "coreutils": "//lib:stub", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz" - ], - "name": "coreutils-amd64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 26, - "column": 17 - } - }, - { - "tagName": "@rules_toolchain//toolchain:defs.bzl%toolchain_local_select", - "attributeValues": { - "map": { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu" - }, - "name": "coreutils" - }, - "devDependency": false, - "location": { - "file": "@@rules_download~override//:MODULE.bazel", - "line": 37, - "column": 7 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_toolchain": "rules_toolchain@_", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "rules_toolchain@_": { - "name": "rules_toolchain", - "version": "", - "key": "rules_toolchain@_", - "repoName": "rules_toolchain", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "rules_toolchain@_", - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "local": "local" - }, - "devImports": [], - "tags": [ - { - "tagName": "//toolchain/local/triplet:repository.bzl%triplet", - "attributeValues": { - "name": "local" - }, - "devDependency": false, - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 13, - "column": 8 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "bazel_tools@_": { - "name": "bazel_tools", - "version": "", - "key": "bazel_tools@_", - "repoName": "bazel_tools", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all", - "@local_config_sh//:local_sh_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 17, - "column": 29 - }, - "imports": { - "local_config_cc": "local_config_cc", - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl", - "extensionName": "xcode_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 21, - "column": 32 - }, - "imports": { - "local_config_xcode": "local_config_xcode" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 24, - "column": 32 - }, - "imports": { - "local_jdk": "local_jdk", - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl", - "extensionName": "sh_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 35, - "column": 39 - }, - "imports": { - "local_config_sh": "local_config_sh" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl", - "extensionName": "remote_coverage_tools_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 39, - "column": 48 - }, - "imports": { - "remote_coverage_tools": "remote_coverage_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", - "extensionName": "remote_android_tools_extensions", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 42, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.0.6", - "rules_license": "rules_license@0.0.7", - "rules_proto": "rules_proto@4.0.0", - "rules_python": "rules_python@0.4.0", - "platforms": "platforms@0.0.7", - "com_google_protobuf": "protobuf@3.19.6", - "zlib": "zlib@1.3", - "build_bazel_apple_support": "apple_support@1.5.0", - "local_config_platform": "local_config_platform@_" - } - }, - "local_config_platform@_": { - "name": "local_config_platform", - "version": "", - "key": "local_config_platform@_", - "repoName": "local_config_platform", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_" - } - }, - "bazel_skylib@1.4.2": { - "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "bazel_skylib~1.4.2", - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" - ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "platforms@0.0.7": { - "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", - "repoName": "platforms", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "platforms", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" - ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_cc@0.0.9": { - "name": "rules_cc", - "version": "0.0.9", - "key": "rules_cc@0.0.9", - "repoName": "rules_cc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "rules_cc@0.0.9", - "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", - "line": 9, - "column": 29 - }, - "imports": { - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_cc~0.0.9", - "urls": [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" - ], - "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", - "strip_prefix": "rules_cc-0.0.9", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_java@7.0.6": { - "name": "rules_java", - "version": "7.0.6", - "key": "rules_java@7.0.6", - "repoName": "rules_java", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains:all", - "@local_jdk//:runtime_toolchain_definition", - "@local_jdk//:bootstrap_runtime_toolchain_definition", - "@remotejdk11_linux_toolchain_config_repo//:all", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk11_linux_s390x_toolchain_config_repo//:all", - "@remotejdk11_macos_toolchain_config_repo//:all", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk11_win_toolchain_config_repo//:all", - "@remotejdk11_win_arm64_toolchain_config_repo//:all", - "@remotejdk17_linux_toolchain_config_repo//:all", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk17_linux_s390x_toolchain_config_repo//:all", - "@remotejdk17_macos_toolchain_config_repo//:all", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk17_win_toolchain_config_repo//:all", - "@remotejdk17_win_arm64_toolchain_config_repo//:all", - "@remotejdk21_linux_toolchain_config_repo//:all", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk21_macos_toolchain_config_repo//:all", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk21_win_toolchain_config_repo//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "rules_java@7.0.6", - "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.0.6/MODULE.bazel", - "line": 18, - "column": 27 - }, - "imports": { - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64", - "local_jdk": "local_jdk", - "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo", - "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo", - "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo", - "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo", - "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo", - "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo", - "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo", - "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo", - "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo", - "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo", - "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo", - "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo", - "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo", - "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo", - "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo", - "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo", - "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo", - "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo", - "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@4.0.0", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6", - "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.0.6/rules_java-7.0.6.tar.gz" - ], - "integrity": "sha256-6B6d6q4NnZnvPdX2wbMjOER/4W1VZBVVMepOt+84hUs=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_license@0.0.7": { - "name": "rules_license", - "version": "0.0.7", - "key": "rules_license@0.0.7", - "repoName": "rules_license", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_license~0.0.7", - "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" - ], - "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_proto@4.0.0": { - "name": "rules_proto", - "version": "4.0.0", - "key": "rules_proto@4.0.0", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_proto~4.0.0", - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.zip" - ], - "integrity": "sha256-Lr5z6xyuRA19pNtRYMGjKaynwQpck4H/lwYyVjyhoq4=", - "strip_prefix": "rules_proto-4.0.0", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_proto/4.0.0/patches/module_dot_bazel.patch": "sha256-MclJO7tIAM2ElDAmscNId9pKTpOuDGHgVlW/9VBOIp0=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_python@0.4.0": { - "name": "rules_python", - "version": "0.4.0", - "key": "rules_python@0.4.0", - "repoName": "rules_python", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@bazel_tools//tools/python:autodetecting_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_python//bzlmod:extensions.bzl", - "extensionName": "pip_install", - "usingModule": "rules_python@0.4.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel", - "line": 7, - "column": 28 - }, - "imports": { - "pypi__click": "pypi__click", - "pypi__pip": "pypi__pip", - "pypi__pip_tools": "pypi__pip_tools", - "pypi__pkginfo": "pypi__pkginfo", - "pypi__setuptools": "pypi__setuptools", - "pypi__wheel": "pypi__wheel" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_python~0.4.0", - "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz" - ], - "integrity": "sha256-lUqom0kb5KCDMEosuDgBnIuMNyCnq7nEy4GseiQjDOo=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/propagate_pip_install_dependencies.patch": "sha256-v7S/dem/mixg63MF4KoRGDA4KEol9ab/tIVp+6Xq0D0=", - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/module_dot_bazel.patch": "sha256-kG4VIfWxQazzTuh50mvsx6pmyoRVA4lfH5rkto/Oq+Y=" - }, - "remote_patch_strip": 1 - } - } - }, - "protobuf@3.19.6": { - "name": "protobuf", - "version": "3.19.6", - "key": "protobuf@3.19.6", - "repoName": "protobuf", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "zlib": "zlib@1.3", - "rules_python": "rules_python@0.4.0", - "rules_cc": "rules_cc@0.0.9", - "rules_proto": "rules_proto@4.0.0", - "rules_java": "rules_java@7.0.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "protobuf~3.19.6", - "urls": [ - "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.6.zip" - ], - "integrity": "sha256-OH4sVZuyx8G8N5jE5s/wFTgaebJ1hpavy/johzC0c4k=", - "strip_prefix": "protobuf-3.19.6", - "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/relative_repo_names.patch": "sha256-w/5gw/zGv8NFId+669hcdw1Uus2lxgYpulATHIwIByI=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/remove_dependency_on_rules_jvm_external.patch": "sha256-THUTnVgEBmjA0W7fKzIyZOVG58DnW9HQTkr4D2zKUUc=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/add_module_dot_bazel_for_examples.patch": "sha256-s/b1gi3baK3LsXefI2rQilhmkb2R5jVJdnT6zEcdfHY=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/module_dot_bazel.patch": "sha256-S0DEni8zgx7rHscW3z/rCEubQnYec0XhNet640cw0h4=" - }, - "remote_patch_strip": 1 - } - } - }, - "zlib@1.3": { - "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", - "repoName": "zlib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "zlib~1.3", - "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" - ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", - "remote_patches": { - "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=", - "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk=" - }, - "remote_patch_strip": 0 - } - } - }, - "apple_support@1.5.0": { - "name": "apple_support", - "version": "1.5.0", - "key": "apple_support@1.5.0", - "repoName": "build_bazel_apple_support", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_apple_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl", - "extensionName": "apple_cc_configure_extension", - "usingModule": "apple_support@1.5.0", - "location": { - "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel", - "line": 17, - "column": 35 - }, - "imports": { - "local_config_apple_cc": "local_config_apple_cc", - "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "apple_support~1.5.0", - "urls": [ - "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz" - ], - "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - } - }, - "moduleExtensions": { - "//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "aSC73tpzDH3XQFpnIo1UyRyloC7It3wip5HeP0rJqfI=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "archive": { - "bzlFile": "@@rules_download~override//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "commands": { - "symlink": [ - "ln", - "-s", - "fixture.txt", - "symlink.txt" - ], - "Hello, world!": [ - "$(location //archive:posix.sh)", - "hello-world.txt" - ] - }, - "integrity": "sha256-PWscbDJ+esMLMe4/ix5LTP+lsR1piMNe7r9eHsx/KOg=", - "patches": [ - "@@//archive:fixture.patch" - ], - "tools": [ - "@@//archive:posix.sh" - ], - "urls": [ - "file://%workspace%/archive.tar.xz" - ], - "name": "_main~_repo_rules~archive" - } - }, - "file": { - "bzlFile": "@@rules_download~override//download/file:repository.bzl", - "ruleClassName": "file", - "attributes": { - "integrity": "sha256-2QFMRiSESqW6wxR3PWtomtRn+k4dGlChuKmdWpX3L/U=", - "output": "fixture.txt", - "patches": [ - "@@//file:fixture.patch" - ], - "urls": [ - "file://%workspace%/fixture.txt" - ], - "name": "_main~_repo_rules~file" - } - }, - "deb": { - "bzlFile": "@@rules_download~override//download/deb:repository.bzl", - "ruleClassName": "deb", - "attributes": { - "integrity": "sha256-vMiq8kFBwoSrVEE+Tcs08RvaiNp6MsboWlXS7p1clO0=", - "patches": [ - "@@//deb:fixture.patch" - ], - "urls": [ - "file://%workspace%/test_1.0-1_all.deb" - ], - "name": "_main~_repo_rules~deb" - } - } - } - } - }, - "@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_apple_cc": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc" - } - }, - "local_config_apple_cc_toolchains": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf_toolchains", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc_toolchains" - } - } - } - } - }, - "@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "O9sf6ilKWU9Veed02jG9o2HM/xgV/UAyciuFBuxrFRY=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_cc": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc" - } - }, - "local_config_cc_toolchains": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf_toolchains", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc_toolchains" - } - } - } - } - }, - "@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { - "general": { - "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_xcode": { - "bzlFile": "@@bazel_tools//tools/osx:xcode_configure.bzl", - "ruleClassName": "xcode_autoconf", - "attributes": { - "name": "bazel_tools~xcode_configure_extension~local_config_xcode", - "xcode_locator": "@bazel_tools//tools/osx:xcode_locator.m", - "remote_xcode": "" - } - } - } - } - }, - "@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { - "general": { - "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_sh": { - "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", - "ruleClassName": "sh_config", - "attributes": { - "name": "bazel_tools~sh_configure_extension~local_config_sh" - } - } - } - } - }, - "@rules_download~override//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "UBv5JK/xskrHutVpCGGkuniumaRSivFkFVql4AM9sj8=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "coreutils-arm64-linux-gnu": { - "bzlFile": "@@rules_download~override//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "template": "@@rules_download~override//coreutils:BUILD.tmpl.bazel", - "integrity": "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - "strip_prefix": "coreutils-0.0.21-aarch64-unknown-linux-gnu", - "coreutils": "@@rules_download~override//lib:stub", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz" - ], - "name": "rules_download~override~_repo_rules~coreutils-arm64-linux-gnu" - } - }, - "coreutils-amd64-linux-gnu": { - "bzlFile": "@@rules_download~override//download/archive:repository.bzl", - "ruleClassName": "archive", - "attributes": { - "template": "@@rules_download~override//coreutils:BUILD.tmpl.bazel", - "integrity": "sha256-8zd3E3oh4kLUVnIl2grQyY+RekwvlQVlmZP5ftclnkg=", - "strip_prefix": "coreutils-0.0.21-x86_64-unknown-linux-gnu", - "coreutils": "@@rules_download~override//lib:stub", - "urls": [ - "https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-x86_64-unknown-linux-gnu.tar.gz" - ], - "name": "rules_download~override~_repo_rules~coreutils-amd64-linux-gnu" - } - }, - "coreutils": { - "bzlFile": "@@rules_toolchain~override//toolchain/local/select:repository.bzl", - "ruleClassName": "select", - "attributes": { - "map": { - "arm64-linux-gnu": "@coreutils-arm64-linux-gnu", - "amd64-linux-gnu": "@coreutils-amd64-linux-gnu" - }, - "name": "rules_download~override~_repo_rules~coreutils" - } - } - } - } - } - } -} diff --git a/rules_download/e2e/WORKSPACE b/rules_download/e2e/WORKSPACE deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_download/e2e/archive.tar.xz b/rules_download/e2e/archive.tar.xz deleted file mode 100644 index 66b6d1529624c1607c4e92ed24fb0b1e9a860796..0000000000000000000000000000000000000000 Binary files a/rules_download/e2e/archive.tar.xz and /dev/null differ diff --git a/rules_download/e2e/archive/BUILD.bazel b/rules_download/e2e/archive/BUILD.bazel deleted file mode 100644 index e6dac74f5b6239453f4555219368feceba7c4d4d..0000000000000000000000000000000000000000 --- a/rules_download/e2e/archive/BUILD.bazel +++ /dev/null @@ -1,22 +0,0 @@ -load("@bazel_skylib//rules:diff_test.bzl", "diff_test") - -diff_test( - name = "fixture", - size = "small", - file1 = "@archive//:fixture.txt", - file2 = ":fixture.txt", -) - -diff_test( - name = "symlink", - size = "small", - file1 = "@archive//:symlink.txt", - file2 = ":fixture.txt", -) - -diff_test( - name = "hello-world", - size = "small", - file1 = "@archive//:hello-world.txt", - file2 = ":hello-world.txt", -) diff --git a/rules_download/e2e/archive/fixture.patch b/rules_download/e2e/archive/fixture.patch deleted file mode 100644 index 5bc1fbfe0a8fab03f24ef5008386ec0d183c63ad..0000000000000000000000000000000000000000 --- a/rules_download/e2e/archive/fixture.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff '--color=auto' -aur a/fixture.txt b/fixture.txt ---- a/fixture.txt 2023-09-22 09:19:24.894179455 +0100 -+++ b/fixture.txt 2023-09-22 09:19:35.164080365 +0100 -@@ -1 +1,2 @@ - Hello, world! -+Second diff --git a/rules_download/e2e/archive/fixture.txt b/rules_download/e2e/archive/fixture.txt deleted file mode 100644 index 306465aba85c22e66f8eae6c30a57e82d79ae898..0000000000000000000000000000000000000000 --- a/rules_download/e2e/archive/fixture.txt +++ /dev/null @@ -1,2 +0,0 @@ -Hello, world! -Second diff --git a/rules_download/e2e/archive/hello-world.txt b/rules_download/e2e/archive/hello-world.txt deleted file mode 100644 index af5626b4a114abcb82d63db7c8082c3c4756e51b..0000000000000000000000000000000000000000 --- a/rules_download/e2e/archive/hello-world.txt +++ /dev/null @@ -1 +0,0 @@ -Hello, world! diff --git a/rules_download/e2e/archive/posix.sh b/rules_download/e2e/archive/posix.sh deleted file mode 100755 index 546f5c2628ca4798759950eeccd5e0ddc6031325..0000000000000000000000000000000000000000 --- a/rules_download/e2e/archive/posix.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/sh - -# e: quit on command errors -# u: quit on undefined variables -set -eu - -echo "Hello, world!" >"${1}" diff --git a/rules_download/e2e/deb/BUILD.bazel b/rules_download/e2e/deb/BUILD.bazel deleted file mode 100644 index 9159b4d3d58363e557dd226b9689395ff530c136..0000000000000000000000000000000000000000 --- a/rules_download/e2e/deb/BUILD.bazel +++ /dev/null @@ -1,8 +0,0 @@ -load("@bazel_skylib//rules:diff_test.bzl", "diff_test") - -diff_test( - name = "fixture", - file1 = "@deb//:etc/test/fixture.txt", - file2 = ":fixture.txt", - size = "small", -) diff --git a/rules_download/e2e/deb/fixture.patch b/rules_download/e2e/deb/fixture.patch deleted file mode 100644 index 370c7007c4fcb096e8d111104502537bb0a6c897..0000000000000000000000000000000000000000 --- a/rules_download/e2e/deb/fixture.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff '--color=auto' -aur a/etc/test/fixture.txt b/etc/test/fixture.txt ---- a/etc/test/fixture.txt 2023-09-22 09:19:24.894179455 +0100 -+++ b/etc/test/fixture.txt 2023-09-22 09:19:35.164080365 +0100 -@@ -1 +1,2 @@ - Hello, world! -+Debian rules! diff --git a/rules_download/e2e/deb/fixture.txt b/rules_download/e2e/deb/fixture.txt deleted file mode 100644 index 9e015e69c4c0f1e7fde613e5e42921bfcd22f9fc..0000000000000000000000000000000000000000 --- a/rules_download/e2e/deb/fixture.txt +++ /dev/null @@ -1,2 +0,0 @@ -Hello, world! -Debian rules! diff --git a/rules_download/e2e/file/BUILD.bazel b/rules_download/e2e/file/BUILD.bazel deleted file mode 100644 index 07bb37190ee3f6a45f1d73f7894c685b2f64cc58..0000000000000000000000000000000000000000 --- a/rules_download/e2e/file/BUILD.bazel +++ /dev/null @@ -1,8 +0,0 @@ -load("@bazel_skylib//rules:diff_test.bzl", "diff_test") - -diff_test( - name = "fixture", - size = "small", - file1 = "@file//:fixture.txt", - file2 = ":fixture.txt", -) diff --git a/rules_download/e2e/file/fixture.patch b/rules_download/e2e/file/fixture.patch deleted file mode 100644 index be81278d4ebdb4e8b560e068939f7e0d1c44d5a5..0000000000000000000000000000000000000000 --- a/rules_download/e2e/file/fixture.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff '--color=auto' -aur a/fixture.txt b/fixture.txt ---- a/fixture.txt 2023-09-22 09:19:24.894179455 +0100 -+++ b/fixture.txt 2023-09-22 09:19:35.164080365 +0100 -@@ -1 +1,2 @@ - Hello, world! -+File diff --git a/rules_download/e2e/file/fixture.txt b/rules_download/e2e/file/fixture.txt deleted file mode 100644 index a924652d6270985b215faa0d5481dec679b0b15d..0000000000000000000000000000000000000000 --- a/rules_download/e2e/file/fixture.txt +++ /dev/null @@ -1,2 +0,0 @@ -Hello, world! -File diff --git a/rules_download/e2e/fixture.txt b/rules_download/e2e/fixture.txt deleted file mode 100644 index af5626b4a114abcb82d63db7c8082c3c4756e51b..0000000000000000000000000000000000000000 --- a/rules_download/e2e/fixture.txt +++ /dev/null @@ -1 +0,0 @@ -Hello, world! diff --git a/rules_download/e2e/test/BUILD.bazel b/rules_download/e2e/test/BUILD.bazel deleted file mode 100644 index 8231ca133632fc7345c4c0f6515b74fc4135bf88..0000000000000000000000000000000000000000 --- a/rules_download/e2e/test/BUILD.bazel +++ /dev/null @@ -1,3 +0,0 @@ -exports_files([ - "content.sh", -]) diff --git a/rules_download/e2e/test_1.0-1_all.deb b/rules_download/e2e/test_1.0-1_all.deb deleted file mode 100644 index 04144f5af6fece3e2e555546b2e7a0b88dbcbca0..0000000000000000000000000000000000000000 Binary files a/rules_download/e2e/test_1.0-1_all.deb and /dev/null differ diff --git a/rules_download/lib/BUILD.bazel b/rules_download/lib/BUILD.bazel deleted file mode 100644 index e930bab766e9b0d7caff56f458ac7182d7085808..0000000000000000000000000000000000000000 --- a/rules_download/lib/BUILD.bazel +++ /dev/null @@ -1 +0,0 @@ -exports_files(["stub"]) diff --git a/rules_download/lib/commands.bzl b/rules_download/lib/commands.bzl deleted file mode 100644 index 6a0fa4a4489bb240aecdc9b446fd26352e4fade1..0000000000000000000000000000000000000000 --- a/rules_download/lib/commands.bzl +++ /dev/null @@ -1,75 +0,0 @@ -load("@bazel_skylib//lib:sets.bzl", "sets") - -visibility("//download/...") - -ATTRS = { - "commands": attr.string_list_dict( - doc = "TODO", - ), - "tools": attr.label_list( - doc = "TODO", - cfg = "exec", - ), - "timeout": attr.int( - doc = "Seconds before a command execution is killed.", - default = 600, - ), - "launcher": attr.label( - doc = "The patch command launcher executable", - ), - "coreutils": attr.label( - doc = "The core utilities multi-call binary.", - default = "@coreutils", - ), -} - -def commands(rctx): - """ - A mixin for `download` repository rules to run the post-download commands. - - Args: - rctx: The download repository context. - - Returns: - A map of canonical arguments - """ - canonical = {attr: getattr(rctx.attr, attr) for attr in ATTRS} - if not rctx.attr.commands: - return canonical - - coreutils = sets.make(("ln", "mkdir", "mv", "rm", "chmod")) - - # TODO: is there a built-in method for this? - def _label(label): - if label.workspace_name: - return "@{}//{}:{}".format(label.workspace_name, label.package, label.name) - return "//{}:{}".format(label.package, label.name) - - tools = {_label(t): rctx.path(t) for t in rctx.attr.tools} - - def _location(arg): - if not arg.startswith("$(location "): - return arg - - arg = arg.removeprefix("$(location ") - arg = arg.removesuffix(")") - - if arg not in tools: - fail("No hermetic tool provided for {}. Add the tool to the download repository rule `tools. Available tools are: {}".format(arg, ",".join(tools.keys()))) - - return tools[arg] - - # Run the commands - for progress, command in rctx.attr.commands.items(): - rctx.report_progress(progress) - - command = [_location(arg) for arg in command] - - if sets.contains(coreutils, command[0]): - command = [rctx.attr.coreutils] + command - - result = rctx.execute(command, timeout = rctx.attr.timeout, environment = {"PATH": ""}) - if result.return_code != 0: - fail("Failed to {}: {}\n{}".format(progress, " ".join(command), result.stderr)) - - return canonical diff --git a/rules_download/lib/stub b/rules_download/lib/stub deleted file mode 100755 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/.bazelignore b/rules_toolchain/.bazelignore deleted file mode 100644 index c7ca8d09784be38d09265f6af319ceeec1a5dea8..0000000000000000000000000000000000000000 --- a/rules_toolchain/.bazelignore +++ /dev/null @@ -1 +0,0 @@ -e2e diff --git a/rules_toolchain/.bazelrc b/rules_toolchain/.bazelrc deleted file mode 100644 index 9931842e7d152e956260e9e14dc7034db45d161d..0000000000000000000000000000000000000000 --- a/rules_toolchain/.bazelrc +++ /dev/null @@ -1,14 +0,0 @@ -# Enable `bzlmod` -common --enable_bzlmod - -# Build cache -build --experimental_guard_against_concurrent_changes - -# Prevent `PATH` and `LD_LIBRARY_PATH` leaking into action enviroment -build --incompatible_strict_action_env - -# Prevent symlink forest under `.runfiles/wsname/external/repo` -build --nolegacy_external_runfiles - -# User-specific .bazelrc -try-import %workspace%/.bazelrc.user diff --git a/rules_toolchain/.bazelrc.ci b/rules_toolchain/.bazelrc.ci deleted file mode 100644 index 5af25a132c84aad13448e0f353fc1307ab7576fd..0000000000000000000000000000000000000000 --- a/rules_toolchain/.bazelrc.ci +++ /dev/null @@ -1,36 +0,0 @@ -# Declare all run commands that are loaded -common --announce_rc - -# Use relative paths where possible for concise CI output -common --attempt_to_print_relative_paths - -# Prevent progress bars or similar -common --curses=no - -# CI "terminals" support colour -common --color=yes - -# Output timestamps for each command to aid debugging of CI runtime -common --show_timestamps - -# Do not wrap any output -common --terminal_columns=0 - -# Print relative paths where possible to reduce noise -common --attempt_to_print_relative_paths - -# Output as much information in the CI log about failures as possible -build --verbose_failures - -# Avoid building all targets when testing -test --build_tests_only - -# Noisy logs but allows debugging CI run failures -test --test_output=errors - -# Output as much information when a test exceeds a timeout -test --test_verbose_timeout_warnings - -# These locations are cached on the CI -build --disk_cache=${CI_PROJECT_DIR}/.cache/bazel/disk -build --repository_cache=${CI_PROJECT_DIR}/.cache/bazel/repo diff --git a/rules_toolchain/.bazelversion b/rules_toolchain/.bazelversion deleted file mode 100644 index 6543a03467f9e7a04e9ce102a32e3d1bf460789d..0000000000000000000000000000000000000000 --- a/rules_toolchain/.bazelversion +++ /dev/null @@ -1,2 +0,0 @@ -last_rc -# TODO: relax this once we have `use_rule_repo` diff --git a/rules_toolchain/.gitignore b/rules_toolchain/.gitignore deleted file mode 100644 index b7cd8bf34ae0220133dc839b079e576bc03c5205..0000000000000000000000000000000000000000 --- a/rules_toolchain/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.cache -/bazel-bin -/bazel-testlogs -/bazel-rules_toolchain -/bazel-out -/.bazelrc.user diff --git a/rules_toolchain/MODULE.bazel b/rules_toolchain/MODULE.bazel deleted file mode 100644 index 3a76922f0ab48dbbdc48b6f126d7e9daba481f19..0000000000000000000000000000000000000000 --- a/rules_toolchain/MODULE.bazel +++ /dev/null @@ -1,15 +0,0 @@ -module( - name = "rules_toolchain", - bazel_compatibility = [ - ">=6.4.0", - ], -) - -bazel_dep(name = "bazel_skylib", version = "1.4.2") -bazel_dep(name = "platforms", version = "0.0.7") - -triplet = use_repo_rule("//toolchain/local/triplet:repository.bzl", "triplet") - -triplet( - name = "local", -) diff --git a/rules_toolchain/MODULE.bazel.lock b/rules_toolchain/MODULE.bazel.lock deleted file mode 100644 index bcab4f05c27d2950a301d7f3c8ed911379b7e90c..0000000000000000000000000000000000000000 --- a/rules_toolchain/MODULE.bazel.lock +++ /dev/null @@ -1,1276 +0,0 @@ -{ - "lockFileVersion": 3, - "moduleFileHash": "ff90300323aff25a6de41d9c13cfa32563723e24f76d495b493d2d18703911a2", - "flags": { - "cmdRegistries": [ - "https://bcr.bazel.build/" - ], - "cmdModuleOverrides": {}, - "allowedYankedVersions": [], - "envVarAllowedYankedVersions": "", - "ignoreDevDependency": false, - "directDependenciesMode": "WARNING", - "compatibilityMode": "ERROR" - }, - "localOverrideHashes": { - "bazel_tools": "18ffd442cf258c9048798a0d9bc49bbb06aba5ccb141dd357ce0c13c56f1ae78" - }, - "moduleDepGraph": { - "": { - "name": "rules_toolchain", - "version": "", - "key": "", - "repoName": "rules_toolchain", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "local": "local" - }, - "devImports": [], - "tags": [ - { - "tagName": "//toolchain/local/triplet:repository.bzl%triplet", - "attributeValues": { - "name": "local" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 13, - "column": 8 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "bazel_skylib@1.4.2": { - "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "bazel_skylib~1.4.2", - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" - ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "platforms@0.0.7": { - "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", - "repoName": "platforms", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "platforms", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" - ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "bazel_tools@_": { - "name": "bazel_tools", - "version": "", - "key": "bazel_tools@_", - "repoName": "bazel_tools", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all", - "@local_config_sh//:local_sh_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 17, - "column": 29 - }, - "imports": { - "local_config_cc": "local_config_cc", - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl", - "extensionName": "xcode_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 21, - "column": 32 - }, - "imports": { - "local_config_xcode": "local_config_xcode" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 24, - "column": 32 - }, - "imports": { - "local_jdk": "local_jdk", - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl", - "extensionName": "sh_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 35, - "column": 39 - }, - "imports": { - "local_config_sh": "local_config_sh" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl", - "extensionName": "remote_coverage_tools_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 39, - "column": 48 - }, - "imports": { - "remote_coverage_tools": "remote_coverage_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", - "extensionName": "remote_android_tools_extensions", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 42, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.0.6", - "rules_license": "rules_license@0.0.7", - "rules_proto": "rules_proto@4.0.0", - "rules_python": "rules_python@0.4.0", - "platforms": "platforms@0.0.7", - "com_google_protobuf": "protobuf@3.19.6", - "zlib": "zlib@1.3", - "build_bazel_apple_support": "apple_support@1.5.0", - "local_config_platform": "local_config_platform@_" - } - }, - "local_config_platform@_": { - "name": "local_config_platform", - "version": "", - "key": "local_config_platform@_", - "repoName": "local_config_platform", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_" - } - }, - "rules_license@0.0.7": { - "name": "rules_license", - "version": "0.0.7", - "key": "rules_license@0.0.7", - "repoName": "rules_license", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_license~0.0.7", - "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" - ], - "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_cc@0.0.9": { - "name": "rules_cc", - "version": "0.0.9", - "key": "rules_cc@0.0.9", - "repoName": "rules_cc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "rules_cc@0.0.9", - "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", - "line": 9, - "column": 29 - }, - "imports": { - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_cc~0.0.9", - "urls": [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" - ], - "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", - "strip_prefix": "rules_cc-0.0.9", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_java@7.0.6": { - "name": "rules_java", - "version": "7.0.6", - "key": "rules_java@7.0.6", - "repoName": "rules_java", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains:all", - "@local_jdk//:runtime_toolchain_definition", - "@local_jdk//:bootstrap_runtime_toolchain_definition", - "@remotejdk11_linux_toolchain_config_repo//:all", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk11_linux_s390x_toolchain_config_repo//:all", - "@remotejdk11_macos_toolchain_config_repo//:all", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk11_win_toolchain_config_repo//:all", - "@remotejdk11_win_arm64_toolchain_config_repo//:all", - "@remotejdk17_linux_toolchain_config_repo//:all", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk17_linux_s390x_toolchain_config_repo//:all", - "@remotejdk17_macos_toolchain_config_repo//:all", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk17_win_toolchain_config_repo//:all", - "@remotejdk17_win_arm64_toolchain_config_repo//:all", - "@remotejdk21_linux_toolchain_config_repo//:all", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk21_macos_toolchain_config_repo//:all", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk21_win_toolchain_config_repo//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "rules_java@7.0.6", - "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.0.6/MODULE.bazel", - "line": 18, - "column": 27 - }, - "imports": { - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64", - "local_jdk": "local_jdk", - "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo", - "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo", - "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo", - "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo", - "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo", - "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo", - "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo", - "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo", - "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo", - "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo", - "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo", - "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo", - "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo", - "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo", - "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo", - "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo", - "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo", - "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo", - "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@4.0.0", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6", - "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.0.6/rules_java-7.0.6.tar.gz" - ], - "integrity": "sha256-6B6d6q4NnZnvPdX2wbMjOER/4W1VZBVVMepOt+84hUs=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_proto@4.0.0": { - "name": "rules_proto", - "version": "4.0.0", - "key": "rules_proto@4.0.0", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_proto~4.0.0", - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.zip" - ], - "integrity": "sha256-Lr5z6xyuRA19pNtRYMGjKaynwQpck4H/lwYyVjyhoq4=", - "strip_prefix": "rules_proto-4.0.0", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_proto/4.0.0/patches/module_dot_bazel.patch": "sha256-MclJO7tIAM2ElDAmscNId9pKTpOuDGHgVlW/9VBOIp0=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_python@0.4.0": { - "name": "rules_python", - "version": "0.4.0", - "key": "rules_python@0.4.0", - "repoName": "rules_python", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@bazel_tools//tools/python:autodetecting_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_python//bzlmod:extensions.bzl", - "extensionName": "pip_install", - "usingModule": "rules_python@0.4.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel", - "line": 7, - "column": 28 - }, - "imports": { - "pypi__click": "pypi__click", - "pypi__pip": "pypi__pip", - "pypi__pip_tools": "pypi__pip_tools", - "pypi__pkginfo": "pypi__pkginfo", - "pypi__setuptools": "pypi__setuptools", - "pypi__wheel": "pypi__wheel" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_python~0.4.0", - "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz" - ], - "integrity": "sha256-lUqom0kb5KCDMEosuDgBnIuMNyCnq7nEy4GseiQjDOo=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/propagate_pip_install_dependencies.patch": "sha256-v7S/dem/mixg63MF4KoRGDA4KEol9ab/tIVp+6Xq0D0=", - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/module_dot_bazel.patch": "sha256-kG4VIfWxQazzTuh50mvsx6pmyoRVA4lfH5rkto/Oq+Y=" - }, - "remote_patch_strip": 1 - } - } - }, - "protobuf@3.19.6": { - "name": "protobuf", - "version": "3.19.6", - "key": "protobuf@3.19.6", - "repoName": "protobuf", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "zlib": "zlib@1.3", - "rules_python": "rules_python@0.4.0", - "rules_cc": "rules_cc@0.0.9", - "rules_proto": "rules_proto@4.0.0", - "rules_java": "rules_java@7.0.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "protobuf~3.19.6", - "urls": [ - "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.6.zip" - ], - "integrity": "sha256-OH4sVZuyx8G8N5jE5s/wFTgaebJ1hpavy/johzC0c4k=", - "strip_prefix": "protobuf-3.19.6", - "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/relative_repo_names.patch": "sha256-w/5gw/zGv8NFId+669hcdw1Uus2lxgYpulATHIwIByI=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/remove_dependency_on_rules_jvm_external.patch": "sha256-THUTnVgEBmjA0W7fKzIyZOVG58DnW9HQTkr4D2zKUUc=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/add_module_dot_bazel_for_examples.patch": "sha256-s/b1gi3baK3LsXefI2rQilhmkb2R5jVJdnT6zEcdfHY=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/module_dot_bazel.patch": "sha256-S0DEni8zgx7rHscW3z/rCEubQnYec0XhNet640cw0h4=" - }, - "remote_patch_strip": 1 - } - } - }, - "zlib@1.3": { - "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", - "repoName": "zlib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "zlib~1.3", - "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" - ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", - "remote_patches": { - "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=", - "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk=" - }, - "remote_patch_strip": 0 - } - } - }, - "apple_support@1.5.0": { - "name": "apple_support", - "version": "1.5.0", - "key": "apple_support@1.5.0", - "repoName": "build_bazel_apple_support", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_apple_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl", - "extensionName": "apple_cc_configure_extension", - "usingModule": "apple_support@1.5.0", - "location": { - "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel", - "line": 17, - "column": 35 - }, - "imports": { - "local_config_apple_cc": "local_config_apple_cc", - "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "apple_support~1.5.0", - "urls": [ - "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz" - ], - "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - } - }, - "moduleExtensions": { - "//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "mvwjHUR6LfdJXlUKr5URiiM5nIkorGaL+UsIyVuakBw=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local": { - "bzlFile": "@@//toolchain/local/triplet:repository.bzl", - "ruleClassName": "triplet", - "attributes": { - "name": "_main~_repo_rules~local" - } - } - } - } - }, - "@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_apple_cc": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc" - } - }, - "local_config_apple_cc_toolchains": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf_toolchains", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc_toolchains" - } - } - } - } - }, - "@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "O9sf6ilKWU9Veed02jG9o2HM/xgV/UAyciuFBuxrFRY=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_cc": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc" - } - }, - "local_config_cc_toolchains": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf_toolchains", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc_toolchains" - } - } - } - } - }, - "@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { - "general": { - "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_sh": { - "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", - "ruleClassName": "sh_config", - "attributes": { - "name": "bazel_tools~sh_configure_extension~local_config_sh" - } - } - } - } - }, - "@rules_java~7.0.6//java:extensions.bzl%toolchains": { - "general": { - "bzlTransitiveDigest": "MgCo2BSYmyPA2WdKpPo9jP+FL4/VRknyohG5Q/Vm5hY=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "remotejdk21_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_s390x_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n" - } - }, - "remotejdk21_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk21_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "2a7a99a3ea263dbd8d32a67d1e6e363ba8b25c645c826f5e167a02bbafaff1fa", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz" - ] - } - }, - "remote_java_tools_windows": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_windows", - "sha256": "0224bb368b98f14d97afb749f3f956a177b60f753213b6c57db16deb2706c5dc", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_windows-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_windows-v13.0.zip" - ] - } - }, - "remotejdk11_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "43408193ce2fa0862819495b5ae8541085b95660153f2adcf91a52d3a1710e83", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip" - ] - } - }, - "remotejdk11_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "54174439f2b3fddd11f1048c397fe7bb45d4c9d66d452d6889b013d04d21c4de", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_s390x_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n" - } - }, - "remotejdk11_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "bcaab11cfe586fae7583c6d9d311c64384354fb2638eb9a012eca4c3f1a1d9fd", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz" - ] - } - }, - "remotejdk11_win_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win_arm64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", - "strip_prefix": "jdk-11.0.13+8", - "urls": [ - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" - ] - } - }, - "remotejdk17_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "9639b87db586d0c89f7a9892ae47f421e442c64b97baebdff31788fbe23265bd", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk17_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip" - ] - } - }, - "remotejdk11_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_ppc64le_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_ppc64le_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n" - } - }, - "remotejdk21_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "0c0eadfbdc47a7ca64aeab51b9c061f71b6e4d25d2d87674512e9b6387e9e3a6", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz" - ] - } - }, - "remote_java_tools_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_linux", - "sha256": "f950ecc09cbc2ca110016095fe2a46e661925115975c84039f4370db1e70fe27", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_linux-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_linux-v13.0.zip" - ] - } - }, - "remotejdk21_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "e9959d500a0d9a7694ac243baf657761479da132f0f94720cbffd092150bd802", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip" - ] - } - }, - "remotejdk21_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "1fb64b8036c5d463d8ab59af06bf5b6b006811e6012e3b0eb6bccf57f1c55835", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk11_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_s390x", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", - "strip_prefix": "jdk-11.0.15+10", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" - ] - } - }, - "remotejdk17_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win_arm64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a34b404f87a08a61148b38e1416d837189e1df7a040d949e743633daf4695a3c", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_ppc64le_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_ppc64le_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\n" - } - }, - "remotejdk17_win_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win_arm64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" - ] - } - }, - "remote_java_tools_darwin_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_darwin_arm64", - "sha256": "1ecd91bf870b4f246960c11445218798113b766762e26a3de09cfcf3e9b4c646", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_darwin_arm64-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_darwin_arm64-v13.0.zip" - ] - } - }, - "remotejdk17_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_ppc64le", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "cbedd0a1428b3058d156e99e8e9bc8769e0d633736d6776a4c4d9136648f2fd1", - "strip_prefix": "jdk-17.0.4.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.4.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.4.1_1.tar.gz" - ] - } - }, - "remotejdk21_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win_arm64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n" - } - }, - "local_jdk": { - "bzlFile": "@@rules_java~7.0.6//toolchains:local_java_repository.bzl", - "ruleClassName": "_local_java_repository_rule", - "attributes": { - "name": "rules_java~7.0.6~toolchains~local_jdk", - "java_home": "", - "version": "", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n" - } - }, - "remote_java_tools_darwin_x86_64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_darwin_x86_64", - "sha256": "3edf102f683bfece8651f206aee864628825b4f6e614d183154e6bdf98b8c494", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_darwin_x86_64-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_darwin_x86_64-v13.0.zip" - ] - } - }, - "remote_java_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools", - "sha256": "610e40b1a89c9941638e33c56cf1be58f2d9d24cf9ac5a34b63270e08bb7000a", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools-v13.0.zip" - ] - } - }, - "remotejdk17_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_s390x", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "fdc82f4b06c880762503b0cb40e25f46cf8190d06011b3b768f4091d3334ef7f", - "strip_prefix": "jdk-17.0.4.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.4.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.4.1_1.tar.gz" - ] - } - }, - "remotejdk17_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_ppc64le", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", - "strip_prefix": "jdk-11.0.15+10", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" - ] - } - }, - "remotejdk11_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "7632bc29f8a4b7d492b93f3bc75a7b61630894db85d136456035ab2a24d38885", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk21_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\n" - } - } - } - } - } - } -} diff --git a/rules_toolchain/README.md b/rules_toolchain/README.md deleted file mode 100644 index 3f87b858439aafa640370009db8f10ef592e868c..0000000000000000000000000000000000000000 --- a/rules_toolchain/README.md +++ /dev/null @@ -1,129 +0,0 @@ -# `rules_toolchain` - -> A Bazel ruleset to enable concise toolchain registration. - -## Getting Started - -### Local Tool - -Add the following to `MODULE.bazel`: - -```py -which = use_repo_rule("@rules_toolchain//toolchain:defs.bzl", "toolchain_local_which") -which("echo") -``` - -The `echo` tool will be found on the `PATH`. - -A repository with the `@echo//:echo` target will be created. - -### Downloaded Tool - -Use `rules_download` to provide a hermetic, pre-built binary in `MODULE.bazel` - -```py -archive = use_repo_rule("@rules_download//download:defs.bzl", "download_archive") -archive( - name = "coreutils-arm64-linux-gnu", - srcs = ["coreutils"], - integrity = "sha256-mlmkbeabyu4+5+cFiUSL6Ki4KFNqWu48gTjFc3NS43g=", - strip_prefix = "coreutils-0.0.21-aarch64-unknown-linux-gnu", - urls = ["https://github.com/uutils/coreutils/releases/download/0.0.21/coreutils-0.0.21-aarch64-unknown-linux-gnu.tar.gz"], -) -``` - -A repository with the `@coreutils-arm64-linux-gnu//:coreutils` target will be created. - -### Toolchains - -Create a `toolchain/echo/BUILD.bazel` with the following: - -```py -load("@rules_toolchain//toolchain:defs.bzl", "toolchain_symlink_target", "toolchain_test") - -# Custom rule, described in the next section -load(":resolved.bzl", "resolved") - -# The `toolchain/echo:type` for registration -toolchain_type( - name = "type", -) - -# Register the `local` binary as a toolchain -# No `exec_compatible_with` constraints are needed as a local binary is always compatible with the execution platform -toolchain( - name = "local", - toolchain = "@echo", - toolchain_type = ":type", -) - -# Create a toolchain binary from the downloaded `coreutils` -toolchain_symlink_target( - name = "coreutils-arm64-linux-gnu", - target = "@coreutils-arm64-linux-gnu//:coreutils", -) - -# Create a symlink to the multi-call binary -toolchain_symlink_target( - name = "echo-arm64-linux-gnu", - basename = "echo", - target = ":coreutils-arm64-linux-gnu", -) - -# Register the hermetic toolchain -# Use constraints to signify what host machines the toolchain is compatible with -toolchain( - name = "arm64-linux", - toolchain = ":echo-arm64-linux-gnu", - toolchain_type = ":type", - exec_compatible_with = [ - "@rules_toolchain//toolchain/constraint/cpu:arm64", - "@rules_toolchain//toolchain/constraint/os:linux", - # Bazel _assumes_ `glibc` for Linux - # "@rules_toolchain//toolchain/constraint/libc:gnu", - ], -) - -# Provide a resolved toolchain target -resolved( - name = "resolved", - toolchain_type = ":type", -) -``` - -#### Resolved - -To work around a [quirk in Bazel][resolved], the resolution of the toolchain must be defined in a separate rule. - -`@rules_toolchain` provides the necessary building blocks for this rule. - -Create `toolchain/echo/resolved.bzl` to provide the `resolved` rule that is used above: - -```py -load("@rules_toolchain//toolchain:resolved.bzl", _resolved = "export") - -visibility("toolchain/echo/...") - -DOC = _resolved.doc - -ATTRS = _resolved.attrs - -implementation = _resolve.implementation - -resolved = _resolved.rule( - toolchain = Label("//toolchain/echo:type"), -) -``` - -### Run - -The `resolved` target allows toolchain that is compatible with the current machine to be executed: - -```py -bazelisk run -- //toolchain/echo:resolved "Hello, world!" -``` - -If the machine is compatible with the downloaded toolchain constraints, that will be used. Otherwise, it will fallback -to finding the toolchain on the local `PATH`. - -[resolved]: https://github.com/bazelbuild/bazel/issues/14009 diff --git a/rules_toolchain/WORKSPACE b/rules_toolchain/WORKSPACE deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/e2e/.bazelrc b/rules_toolchain/e2e/.bazelrc deleted file mode 100644 index 9931842e7d152e956260e9e14dc7034db45d161d..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/.bazelrc +++ /dev/null @@ -1,14 +0,0 @@ -# Enable `bzlmod` -common --enable_bzlmod - -# Build cache -build --experimental_guard_against_concurrent_changes - -# Prevent `PATH` and `LD_LIBRARY_PATH` leaking into action enviroment -build --incompatible_strict_action_env - -# Prevent symlink forest under `.runfiles/wsname/external/repo` -build --nolegacy_external_runfiles - -# User-specific .bazelrc -try-import %workspace%/.bazelrc.user diff --git a/rules_toolchain/e2e/.bazelrc.ci b/rules_toolchain/e2e/.bazelrc.ci deleted file mode 100644 index 5af25a132c84aad13448e0f353fc1307ab7576fd..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/.bazelrc.ci +++ /dev/null @@ -1,36 +0,0 @@ -# Declare all run commands that are loaded -common --announce_rc - -# Use relative paths where possible for concise CI output -common --attempt_to_print_relative_paths - -# Prevent progress bars or similar -common --curses=no - -# CI "terminals" support colour -common --color=yes - -# Output timestamps for each command to aid debugging of CI runtime -common --show_timestamps - -# Do not wrap any output -common --terminal_columns=0 - -# Print relative paths where possible to reduce noise -common --attempt_to_print_relative_paths - -# Output as much information in the CI log about failures as possible -build --verbose_failures - -# Avoid building all targets when testing -test --build_tests_only - -# Noisy logs but allows debugging CI run failures -test --test_output=errors - -# Output as much information when a test exceeds a timeout -test --test_verbose_timeout_warnings - -# These locations are cached on the CI -build --disk_cache=${CI_PROJECT_DIR}/.cache/bazel/disk -build --repository_cache=${CI_PROJECT_DIR}/.cache/bazel/repo diff --git a/rules_toolchain/e2e/.bazelversion b/rules_toolchain/e2e/.bazelversion deleted file mode 100644 index 6543a03467f9e7a04e9ce102a32e3d1bf460789d..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/.bazelversion +++ /dev/null @@ -1,2 +0,0 @@ -last_rc -# TODO: relax this once we have `use_rule_repo` diff --git a/rules_toolchain/e2e/.gitignore b/rules_toolchain/e2e/.gitignore deleted file mode 100644 index 2f3a31bc766ca34dadd365be2495be0493243358..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/.cache -/bazel-bin -/bazel-testlogs -/bazel-e2e -/bazel-out -/.bazelrc.user - diff --git a/rules_toolchain/e2e/MODULE.bazel b/rules_toolchain/e2e/MODULE.bazel deleted file mode 100644 index 1138e73e8d515d4fc2e1ab3b621ae5b07c609ad0..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/MODULE.bazel +++ /dev/null @@ -1,44 +0,0 @@ -module( - name = "e2e", - bazel_compatibility = [ - ">=6.4.0", - ], -) - -bazel_dep(name = "bazel_skylib", version = "1.4.2") -bazel_dep(name = "rules_toolchain", version = "0.0.0") -local_path_override( - module_name = "rules_toolchain", - path = "..", -) - -which = use_repo_rule("@rules_toolchain//toolchain:defs.bzl", "toolchain_local_which") - -which(name = "echo") - -register_toolchains("//toolchain/echo:all") - -fixture = use_repo_rule("//test/fixture:repository.bzl", "fixture") - -fixture( - name = "fixture-amd64-linux-gnu", -) - -fixture( - name = "fixture-arm64-linux-gnu", -) - -fixture( - name = "fixture-arm-linux-musl", -) - -select = use_repo_rule("@rules_toolchain//toolchain:defs.bzl", "toolchain_local_select") - -select( - name = "fixture", - map = { - "amd64-linux-gnu": "@fixture-amd64-linux-gnu", - "arm64-linux-gnu": "@fixture-arm64-linux-gnu", - "arm-linux-musl": "@fixture-arm-linux-musl", - }, -) diff --git a/rules_toolchain/e2e/MODULE.bazel.lock b/rules_toolchain/e2e/MODULE.bazel.lock deleted file mode 100644 index 0dd4f5a0a8ad4585470c2fdf837b34428b01bd75..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/MODULE.bazel.lock +++ /dev/null @@ -1,1431 +0,0 @@ -{ - "lockFileVersion": 3, - "moduleFileHash": "7ff95807f953adb3cee60c034542c31fd3f27dec0c2bfcc56a49d1259662afe0", - "flags": { - "cmdRegistries": [ - "https://bcr.bazel.build/" - ], - "cmdModuleOverrides": {}, - "allowedYankedVersions": [], - "envVarAllowedYankedVersions": "", - "ignoreDevDependency": false, - "directDependenciesMode": "WARNING", - "compatibilityMode": "ERROR" - }, - "localOverrideHashes": { - "rules_toolchain": "ff90300323aff25a6de41d9c13cfa32563723e24f76d495b493d2d18703911a2", - "bazel_tools": "18ffd442cf258c9048798a0d9bc49bbb06aba5ccb141dd357ce0c13c56f1ae78" - }, - "moduleDepGraph": { - "": { - "name": "e2e", - "version": "", - "key": "", - "repoName": "e2e", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchain/echo:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "echo": "echo", - "fixture-amd64-linux-gnu": "fixture-amd64-linux-gnu", - "fixture-arm64-linux-gnu": "fixture-arm64-linux-gnu", - "fixture-arm-linux-musl": "fixture-arm-linux-musl", - "fixture": "fixture" - }, - "devImports": [], - "tags": [ - { - "tagName": "@rules_toolchain//toolchain:defs.bzl%toolchain_local_which", - "attributeValues": { - "name": "echo" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 17, - "column": 6 - } - }, - { - "tagName": "//test/fixture:repository.bzl%fixture", - "attributeValues": { - "name": "fixture-amd64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 23, - "column": 8 - } - }, - { - "tagName": "//test/fixture:repository.bzl%fixture", - "attributeValues": { - "name": "fixture-arm64-linux-gnu" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 27, - "column": 8 - } - }, - { - "tagName": "//test/fixture:repository.bzl%fixture", - "attributeValues": { - "name": "fixture-arm-linux-musl" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 31, - "column": 8 - } - }, - { - "tagName": "@rules_toolchain//toolchain:defs.bzl%toolchain_local_select", - "attributeValues": { - "map": { - "amd64-linux-gnu": "@fixture-amd64-linux-gnu", - "arm64-linux-gnu": "@fixture-arm64-linux-gnu", - "arm-linux-musl": "@fixture-arm-linux-musl" - }, - "name": "fixture" - }, - "devDependency": false, - "location": { - "file": "@@//:MODULE.bazel", - "line": 37, - "column": 7 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_toolchain": "rules_toolchain@_", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "bazel_skylib@1.4.2": { - "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "bazel_skylib~1.4.2", - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" - ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_toolchain@_": { - "name": "rules_toolchain", - "version": "", - "key": "rules_toolchain@_", - "repoName": "rules_toolchain", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "//:MODULE.bazel", - "extensionName": "_repo_rules", - "usingModule": "rules_toolchain@_", - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 0, - "column": 0 - }, - "imports": { - "local": "local" - }, - "devImports": [], - "tags": [ - { - "tagName": "//toolchain/local/triplet:repository.bzl%triplet", - "attributeValues": { - "name": "local" - }, - "devDependency": false, - "location": { - "file": "@@rules_toolchain~override//:MODULE.bazel", - "line": 13, - "column": 8 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "bazel_tools@_": { - "name": "bazel_tools", - "version": "", - "key": "bazel_tools@_", - "repoName": "bazel_tools", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all", - "@local_config_sh//:local_sh_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 17, - "column": 29 - }, - "imports": { - "local_config_cc": "local_config_cc", - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl", - "extensionName": "xcode_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 21, - "column": 32 - }, - "imports": { - "local_config_xcode": "local_config_xcode" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 24, - "column": 32 - }, - "imports": { - "local_jdk": "local_jdk", - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl", - "extensionName": "sh_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 35, - "column": 39 - }, - "imports": { - "local_config_sh": "local_config_sh" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl", - "extensionName": "remote_coverage_tools_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 39, - "column": 48 - }, - "imports": { - "remote_coverage_tools": "remote_coverage_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", - "extensionName": "remote_android_tools_extensions", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 42, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.0.6", - "rules_license": "rules_license@0.0.7", - "rules_proto": "rules_proto@4.0.0", - "rules_python": "rules_python@0.4.0", - "platforms": "platforms@0.0.7", - "com_google_protobuf": "protobuf@3.19.6", - "zlib": "zlib@1.3", - "build_bazel_apple_support": "apple_support@1.5.0", - "local_config_platform": "local_config_platform@_" - } - }, - "local_config_platform@_": { - "name": "local_config_platform", - "version": "", - "key": "local_config_platform@_", - "repoName": "local_config_platform", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_" - } - }, - "platforms@0.0.7": { - "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", - "repoName": "platforms", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "platforms", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" - ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_cc@0.0.9": { - "name": "rules_cc", - "version": "0.0.9", - "key": "rules_cc@0.0.9", - "repoName": "rules_cc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "rules_cc@0.0.9", - "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", - "line": 9, - "column": 29 - }, - "imports": { - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_cc~0.0.9", - "urls": [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" - ], - "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", - "strip_prefix": "rules_cc-0.0.9", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_java@7.0.6": { - "name": "rules_java", - "version": "7.0.6", - "key": "rules_java@7.0.6", - "repoName": "rules_java", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains:all", - "@local_jdk//:runtime_toolchain_definition", - "@local_jdk//:bootstrap_runtime_toolchain_definition", - "@remotejdk11_linux_toolchain_config_repo//:all", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk11_linux_s390x_toolchain_config_repo//:all", - "@remotejdk11_macos_toolchain_config_repo//:all", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk11_win_toolchain_config_repo//:all", - "@remotejdk11_win_arm64_toolchain_config_repo//:all", - "@remotejdk17_linux_toolchain_config_repo//:all", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk17_linux_s390x_toolchain_config_repo//:all", - "@remotejdk17_macos_toolchain_config_repo//:all", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk17_win_toolchain_config_repo//:all", - "@remotejdk17_win_arm64_toolchain_config_repo//:all", - "@remotejdk21_linux_toolchain_config_repo//:all", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk21_macos_toolchain_config_repo//:all", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk21_win_toolchain_config_repo//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "rules_java@7.0.6", - "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.0.6/MODULE.bazel", - "line": 18, - "column": 27 - }, - "imports": { - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64", - "local_jdk": "local_jdk", - "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo", - "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo", - "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo", - "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo", - "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo", - "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo", - "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo", - "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo", - "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo", - "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo", - "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo", - "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo", - "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo", - "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo", - "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo", - "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo", - "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo", - "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo", - "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@4.0.0", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6", - "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.0.6/rules_java-7.0.6.tar.gz" - ], - "integrity": "sha256-6B6d6q4NnZnvPdX2wbMjOER/4W1VZBVVMepOt+84hUs=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_license@0.0.7": { - "name": "rules_license", - "version": "0.0.7", - "key": "rules_license@0.0.7", - "repoName": "rules_license", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_license~0.0.7", - "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" - ], - "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_proto@4.0.0": { - "name": "rules_proto", - "version": "4.0.0", - "key": "rules_proto@4.0.0", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_proto~4.0.0", - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.zip" - ], - "integrity": "sha256-Lr5z6xyuRA19pNtRYMGjKaynwQpck4H/lwYyVjyhoq4=", - "strip_prefix": "rules_proto-4.0.0", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_proto/4.0.0/patches/module_dot_bazel.patch": "sha256-MclJO7tIAM2ElDAmscNId9pKTpOuDGHgVlW/9VBOIp0=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_python@0.4.0": { - "name": "rules_python", - "version": "0.4.0", - "key": "rules_python@0.4.0", - "repoName": "rules_python", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@bazel_tools//tools/python:autodetecting_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_python//bzlmod:extensions.bzl", - "extensionName": "pip_install", - "usingModule": "rules_python@0.4.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel", - "line": 7, - "column": 28 - }, - "imports": { - "pypi__click": "pypi__click", - "pypi__pip": "pypi__pip", - "pypi__pip_tools": "pypi__pip_tools", - "pypi__pkginfo": "pypi__pkginfo", - "pypi__setuptools": "pypi__setuptools", - "pypi__wheel": "pypi__wheel" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_python~0.4.0", - "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz" - ], - "integrity": "sha256-lUqom0kb5KCDMEosuDgBnIuMNyCnq7nEy4GseiQjDOo=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/propagate_pip_install_dependencies.patch": "sha256-v7S/dem/mixg63MF4KoRGDA4KEol9ab/tIVp+6Xq0D0=", - "https://bcr.bazel.build/modules/rules_python/0.4.0/patches/module_dot_bazel.patch": "sha256-kG4VIfWxQazzTuh50mvsx6pmyoRVA4lfH5rkto/Oq+Y=" - }, - "remote_patch_strip": 1 - } - } - }, - "protobuf@3.19.6": { - "name": "protobuf", - "version": "3.19.6", - "key": "protobuf@3.19.6", - "repoName": "protobuf", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "zlib": "zlib@1.3", - "rules_python": "rules_python@0.4.0", - "rules_cc": "rules_cc@0.0.9", - "rules_proto": "rules_proto@4.0.0", - "rules_java": "rules_java@7.0.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "protobuf~3.19.6", - "urls": [ - "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.6.zip" - ], - "integrity": "sha256-OH4sVZuyx8G8N5jE5s/wFTgaebJ1hpavy/johzC0c4k=", - "strip_prefix": "protobuf-3.19.6", - "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/relative_repo_names.patch": "sha256-w/5gw/zGv8NFId+669hcdw1Uus2lxgYpulATHIwIByI=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/remove_dependency_on_rules_jvm_external.patch": "sha256-THUTnVgEBmjA0W7fKzIyZOVG58DnW9HQTkr4D2zKUUc=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/add_module_dot_bazel_for_examples.patch": "sha256-s/b1gi3baK3LsXefI2rQilhmkb2R5jVJdnT6zEcdfHY=", - "https://bcr.bazel.build/modules/protobuf/3.19.6/patches/module_dot_bazel.patch": "sha256-S0DEni8zgx7rHscW3z/rCEubQnYec0XhNet640cw0h4=" - }, - "remote_patch_strip": 1 - } - } - }, - "zlib@1.3": { - "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", - "repoName": "zlib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "zlib~1.3", - "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" - ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", - "remote_patches": { - "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=", - "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk=" - }, - "remote_patch_strip": 0 - } - } - }, - "apple_support@1.5.0": { - "name": "apple_support", - "version": "1.5.0", - "key": "apple_support@1.5.0", - "repoName": "build_bazel_apple_support", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_apple_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl", - "extensionName": "apple_cc_configure_extension", - "usingModule": "apple_support@1.5.0", - "location": { - "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel", - "line": 17, - "column": 35 - }, - "imports": { - "local_config_apple_cc": "local_config_apple_cc", - "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "apple_support~1.5.0", - "urls": [ - "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz" - ], - "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - } - }, - "moduleExtensions": { - "//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "/3M749UD+XvXsUVUe82rrOR0fBWDVdiYpQ6mlpN1U1E=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "echo": { - "bzlFile": "@@rules_toolchain~override//toolchain/local/which:repository.bzl", - "ruleClassName": "which", - "attributes": { - "name": "_main~_repo_rules~echo" - } - }, - "fixture-amd64-linux-gnu": { - "bzlFile": "@@//test/fixture:repository.bzl", - "ruleClassName": "fixture", - "attributes": { - "name": "_main~_repo_rules~fixture-amd64-linux-gnu" - } - }, - "fixture-arm64-linux-gnu": { - "bzlFile": "@@//test/fixture:repository.bzl", - "ruleClassName": "fixture", - "attributes": { - "name": "_main~_repo_rules~fixture-arm64-linux-gnu" - } - }, - "fixture-arm-linux-musl": { - "bzlFile": "@@//test/fixture:repository.bzl", - "ruleClassName": "fixture", - "attributes": { - "name": "_main~_repo_rules~fixture-arm-linux-musl" - } - }, - "fixture": { - "bzlFile": "@@rules_toolchain~override//toolchain/local/select:repository.bzl", - "ruleClassName": "select", - "attributes": { - "map": { - "amd64-linux-gnu": "@fixture-amd64-linux-gnu", - "arm64-linux-gnu": "@fixture-arm64-linux-gnu", - "arm-linux-musl": "@fixture-arm-linux-musl" - }, - "name": "_main~_repo_rules~fixture" - } - } - } - } - }, - "@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_apple_cc": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc" - } - }, - "local_config_apple_cc_toolchains": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf_toolchains", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc_toolchains" - } - } - } - } - }, - "@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "O9sf6ilKWU9Veed02jG9o2HM/xgV/UAyciuFBuxrFRY=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_cc": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc" - } - }, - "local_config_cc_toolchains": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf_toolchains", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc_toolchains" - } - } - } - } - }, - "@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { - "general": { - "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_sh": { - "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", - "ruleClassName": "sh_config", - "attributes": { - "name": "bazel_tools~sh_configure_extension~local_config_sh" - } - } - } - } - }, - "@rules_java~7.0.6//java:extensions.bzl%toolchains": { - "general": { - "bzlTransitiveDigest": "MgCo2BSYmyPA2WdKpPo9jP+FL4/VRknyohG5Q/Vm5hY=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "remotejdk21_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_s390x_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n" - } - }, - "remotejdk21_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk21_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "2a7a99a3ea263dbd8d32a67d1e6e363ba8b25c645c826f5e167a02bbafaff1fa", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz" - ] - } - }, - "remote_java_tools_windows": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_windows", - "sha256": "0224bb368b98f14d97afb749f3f956a177b60f753213b6c57db16deb2706c5dc", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_windows-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_windows-v13.0.zip" - ] - } - }, - "remotejdk11_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "43408193ce2fa0862819495b5ae8541085b95660153f2adcf91a52d3a1710e83", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip" - ] - } - }, - "remotejdk11_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "54174439f2b3fddd11f1048c397fe7bb45d4c9d66d452d6889b013d04d21c4de", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_s390x_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n" - } - }, - "remotejdk11_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "bcaab11cfe586fae7583c6d9d311c64384354fb2638eb9a012eca4c3f1a1d9fd", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz" - ] - } - }, - "remotejdk11_win_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win_arm64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", - "strip_prefix": "jdk-11.0.13+8", - "urls": [ - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" - ] - } - }, - "remotejdk17_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "9639b87db586d0c89f7a9892ae47f421e442c64b97baebdff31788fbe23265bd", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk17_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip" - ] - } - }, - "remotejdk11_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_ppc64le_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_ppc64le_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n" - } - }, - "remotejdk21_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "0c0eadfbdc47a7ca64aeab51b9c061f71b6e4d25d2d87674512e9b6387e9e3a6", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz" - ] - } - }, - "remote_java_tools_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_linux", - "sha256": "f950ecc09cbc2ca110016095fe2a46e661925115975c84039f4370db1e70fe27", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_linux-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_linux-v13.0.zip" - ] - } - }, - "remotejdk21_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "e9959d500a0d9a7694ac243baf657761479da132f0f94720cbffd092150bd802", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip" - ] - } - }, - "remotejdk21_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "1fb64b8036c5d463d8ab59af06bf5b6b006811e6012e3b0eb6bccf57f1c55835", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk11_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_s390x", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", - "strip_prefix": "jdk-11.0.15+10", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" - ] - } - }, - "remotejdk17_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win_arm64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a34b404f87a08a61148b38e1416d837189e1df7a040d949e743633daf4695a3c", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_ppc64le_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_ppc64le_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\n" - } - }, - "remotejdk17_win_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win_arm64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", - "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" - ] - } - }, - "remote_java_tools_darwin_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_darwin_arm64", - "sha256": "1ecd91bf870b4f246960c11445218798113b766762e26a3de09cfcf3e9b4c646", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_darwin_arm64-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_darwin_arm64-v13.0.zip" - ] - } - }, - "remotejdk17_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_ppc64le", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "cbedd0a1428b3058d156e99e8e9bc8769e0d633736d6776a4c4d9136648f2fd1", - "strip_prefix": "jdk-17.0.4.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.4.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.4.1_1.tar.gz" - ] - } - }, - "remotejdk21_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_win_arm64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n" - } - }, - "local_jdk": { - "bzlFile": "@@rules_java~7.0.6//toolchains:local_java_repository.bzl", - "ruleClassName": "_local_java_repository_rule", - "attributes": { - "name": "rules_java~7.0.6~toolchains~local_jdk", - "java_home": "", - "version": "", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n" - } - }, - "remote_java_tools_darwin_x86_64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools_darwin_x86_64", - "sha256": "3edf102f683bfece8651f206aee864628825b4f6e614d183154e6bdf98b8c494", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools_darwin_x86_64-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools_darwin_x86_64-v13.0.zip" - ] - } - }, - "remote_java_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remote_java_tools", - "sha256": "610e40b1a89c9941638e33c56cf1be58f2d9d24cf9ac5a34b63270e08bb7000a", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.0/java_tools-v13.0.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.0/java_tools-v13.0.zip" - ] - } - }, - "remotejdk17_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_linux_s390x", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "fdc82f4b06c880762503b0cb40e25f46cf8190d06011b3b768f4091d3334ef7f", - "strip_prefix": "jdk-17.0.4.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.4.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.4.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.4.1_1.tar.gz" - ] - } - }, - "remotejdk17_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk17_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_linux_ppc64le", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", - "strip_prefix": "jdk-11.0.15+10", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" - ] - } - }, - "remotejdk11_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk11_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "7632bc29f8a4b7d492b93f3bc75a7b61630894db85d136456035ab2a24d38885", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk21_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.0.6//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.0.6~toolchains~remotejdk21_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\n" - } - } - } - } - }, - "@rules_toolchain~override//:MODULE.bazel%_repo_rules": { - "general": { - "bzlTransitiveDigest": "mvwjHUR6LfdJXlUKr5URiiM5nIkorGaL+UsIyVuakBw=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local": { - "bzlFile": "@@rules_toolchain~override//toolchain/local/triplet:repository.bzl", - "ruleClassName": "triplet", - "attributes": { - "name": "rules_toolchain~override~_repo_rules~local" - } - } - } - } - } - } -} diff --git a/rules_toolchain/e2e/WORKSPACE b/rules_toolchain/e2e/WORKSPACE deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/e2e/local/select/BUILD.bazel b/rules_toolchain/e2e/local/select/BUILD.bazel deleted file mode 100644 index 179fa93e1f1f82ad8c3e728ba5ea54d188d88979..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/local/select/BUILD.bazel +++ /dev/null @@ -1,8 +0,0 @@ -load("@bazel_skylib//rules:diff_test.bzl", "diff_test") - -diff_test( - name = "hello-world", - size = "small", - file1 = "@fixture//:test/fixture/hello-world.txt", - file2 = "//test/fixture:hello-world.txt", -) diff --git a/rules_toolchain/e2e/local/triplet/BUILD.bazel b/rules_toolchain/e2e/local/triplet/BUILD.bazel deleted file mode 100644 index 9b542a7e2959cb7233443611e407b2e64eaa7ffe..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/local/triplet/BUILD.bazel +++ /dev/null @@ -1,16 +0,0 @@ -load("@rules_toolchain//toolchain/triplet:local.bzl", "TRIPLET") -load("@bazel_skylib//rules:diff_test.bzl", "diff_test") -load("@bazel_skylib//rules:write_file.bzl", "write_file") - -write_file( - name = "expected", - out = "triplet.txt", - content = [TRIPLET.value], -) - -diff_test( - name = "test", - size = "small", - file1 = ":expected", - file2 = "@rules_toolchain//toolchain/triplet:local", -) diff --git a/rules_toolchain/e2e/test/BUILD.bazel b/rules_toolchain/e2e/test/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/e2e/test/fixture/BUILD.bazel b/rules_toolchain/e2e/test/fixture/BUILD.bazel deleted file mode 100644 index fb55e493bbd94769ae14bbec926caf4b169d658a..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/test/fixture/BUILD.bazel +++ /dev/null @@ -1,4 +0,0 @@ -exports_files( - ["hello-world.txt"], - visibility = ["//:__subpackages__"], -) diff --git a/rules_toolchain/e2e/test/fixture/BUILD.tmpl.bazel b/rules_toolchain/e2e/test/fixture/BUILD.tmpl.bazel deleted file mode 100644 index a64564607324f23e9a57875ceed73f3329a279d3..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/test/fixture/BUILD.tmpl.bazel +++ /dev/null @@ -1,4 +0,0 @@ -exports_files( - glob({{srcs}}), - visibility = ["//visibility:public"], -) diff --git a/rules_toolchain/e2e/test/fixture/hello-world.txt b/rules_toolchain/e2e/test/fixture/hello-world.txt deleted file mode 100644 index af5626b4a114abcb82d63db7c8082c3c4756e51b..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/test/fixture/hello-world.txt +++ /dev/null @@ -1 +0,0 @@ -Hello, world! diff --git a/rules_toolchain/e2e/test/fixture/repository.bzl b/rules_toolchain/e2e/test/fixture/repository.bzl deleted file mode 100644 index a0400cffc0699ab69ea83394c2d8eeed535eb22d..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/test/fixture/repository.bzl +++ /dev/null @@ -1,32 +0,0 @@ -DOC = "Creates a test fixture repository." - -visibility("//...") - -ATTRS = { - "srcs": attr.label_list( - doc = "Files that should be put into the repository.", - default = [":hello-world.txt"], - ), - "template": attr.label( - doc = "The template that is expanded into the `BUILD.bazel`.", - default = ":BUILD.tmpl.bazel", - allow_single_file = True, - ), -} - -def implementation(rctx): - map = {l: "{}/{}".format(l.package, l.name) for l in rctx.attr.srcs} - - for label, path in map.items(): - rctx.file(path, content = rctx.read(label)) - - rctx.template("BUILD.bazel", rctx.attr.template, { - "{{srcs}}": repr(map.values()), - }, executable = False) - -fixture = repository_rule( - doc = DOC, - implementation = implementation, - attrs = ATTRS, - configure = True, -) diff --git a/rules_toolchain/e2e/toolchain/echo/BUILD.bazel b/rules_toolchain/e2e/toolchain/echo/BUILD.bazel deleted file mode 100644 index bd8e13bce10bbf374e2eced3384ae8d052c9a18a..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/toolchain/echo/BUILD.bazel +++ /dev/null @@ -1,34 +0,0 @@ -load(":resolved.bzl", "resolved") -load("@rules_toolchain//toolchain:defs.bzl", "toolchain_symlink_target", "toolchain_test") - -toolchain_type( - name = "type", -) - -toolchain_symlink_target( - name = "hermetic", - target = ":echo.sh", -) - -toolchain( - name = "local", - toolchain = "@echo//:echo", - toolchain_type = ":type", -) - -alias( - name = "echo", - actual = "hermetic", -) - -resolved( - name = "resolved", - toolchain = ":type", -) - -toolchain_test( - name = "test", - args = ["Hello, world!"], - stdout = ":hello-world.txt", - toolchains = [":resolved"], -) diff --git a/rules_toolchain/e2e/toolchain/echo/echo.sh b/rules_toolchain/e2e/toolchain/echo/echo.sh deleted file mode 100755 index d749aa382ab618105efdff9e45ade72e706e12d1..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/toolchain/echo/echo.sh +++ /dev/null @@ -1,5 +0,0 @@ -#! /bin/sh - -set -eu - -PATH="" echo "${@}" diff --git a/rules_toolchain/e2e/toolchain/echo/hello-world.txt b/rules_toolchain/e2e/toolchain/echo/hello-world.txt deleted file mode 100644 index af5626b4a114abcb82d63db7c8082c3c4756e51b..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/toolchain/echo/hello-world.txt +++ /dev/null @@ -1 +0,0 @@ -Hello, world! diff --git a/rules_toolchain/e2e/toolchain/echo/resolved.bzl b/rules_toolchain/e2e/toolchain/echo/resolved.bzl deleted file mode 100644 index cc8543a0b4daa1637aa2afe186f1e16c24ad8fcf..0000000000000000000000000000000000000000 --- a/rules_toolchain/e2e/toolchain/echo/resolved.bzl +++ /dev/null @@ -1,13 +0,0 @@ -load("@rules_toolchain//toolchain:resolved.bzl", _resolved = "export") - -visibility("//toolchain/echo/...") - -DOC = _resolved.doc.format(toolchain = "echo") - -ATTRS = _resolved.attrs - -implementation = _resolved.implementation - -resolved = _resolved.rule( - toolchain_type = Label("//toolchain/echo:type"), -) diff --git a/rules_toolchain/toolchain/BUILD.bazel b/rules_toolchain/toolchain/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/constraint/BUILD.bazel b/rules_toolchain/toolchain/constraint/BUILD.bazel deleted file mode 100644 index a35ed05a23e70f40d455b310b225645264a387bb..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/BUILD.bazel +++ /dev/null @@ -1,16 +0,0 @@ -load("//toolchain/triplet:triplets.bzl", "TRIPLETS") - -[ - config_setting( - name = t.value, - constraint_values = t.constraints, - visibility = ["//visibility:public"], - ) - for t in TRIPLETS -] - -alias( - name = "local", - actual = "//toolchain/local:constraint", - visibility = ["//visibility:public"], -) diff --git a/rules_toolchain/toolchain/constraint/cpu/BUILD.bazel b/rules_toolchain/toolchain/constraint/cpu/BUILD.bazel deleted file mode 100644 index 68516e1c1a95b79663ea586b5a16c41298a58700..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/cpu/BUILD.bazel +++ /dev/null @@ -1,24 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -# TODO: add more CPU aliases when we are ready to support them. -[ - alias( - name = v, - actual = "@platforms//cpu:{}".format(v), - ) - for v in ( - "aarch64", - "x86_64", - ) -] - -[ - alias( - name = name, - actual = actual, - ) - for name, actual in ( - ("arm64", "aarch64"), - ("amd64", "x86_64"), - ) -] diff --git a/rules_toolchain/toolchain/constraint/libc/BUILD.bazel b/rules_toolchain/toolchain/constraint/libc/BUILD.bazel deleted file mode 100644 index bddb17a2a083ea4d880a9dc1645a0b05ced48e09..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/libc/BUILD.bazel +++ /dev/null @@ -1,8 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -constraint_setting(name = "libc") - -constraint_value( - name = "gnu", - constraint_setting = ":libc", -) diff --git a/rules_toolchain/toolchain/constraint/libc/gnu/BUILD.bazel b/rules_toolchain/toolchain/constraint/libc/gnu/BUILD.bazel deleted file mode 100644 index 16f3174b7c571f5e76c8ab0a432588030c0e42ae..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/libc/gnu/BUILD.bazel +++ /dev/null @@ -1,13 +0,0 @@ -load(":versions.bzl", "VERSIONS") - -package(default_visibility = ["//visibility:public"]) - -constraint_setting(name = "gnu") - -[ - constraint_value( - name = version, - constraint_setting = ":gnu", - ) - for version in VERSIONS -] diff --git a/rules_toolchain/toolchain/constraint/libc/gnu/versions.bzl b/rules_toolchain/toolchain/constraint/libc/gnu/versions.bzl deleted file mode 100644 index ba04cd0b6f7a9d571572dfcfbeb0ff7d82acc4d5..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/libc/gnu/versions.bzl +++ /dev/null @@ -1,77 +0,0 @@ -visibility("//toolchain/...") - -# git ls-remote --tags https://sourceware.org/git/glibc.git | -# awk '{print $2}' | -# grep -oe 'glibc-2\.[0-9]\+\(\.[0-9]\+\)\?$' | -# grep -ve '\.\(9[0-9]\|1[0-1][0-9]\|9000\)$' | -# sort -V | -# uniq | -# sed 's|glibc-\(.\+\)| "\1",|g' -VERSIONS = ( - "2.0.2", - "2.0.4", - "2.0.5", - "2.0.6", - "2.1", - "2.1.1", - "2.1.2", - "2.2", - "2.2.1", - "2.2.2", - "2.2.3", - "2.2.4", - "2.2.5", - "2.3", - "2.3.1", - "2.3.2", - "2.3.3", - "2.3.4", - "2.3.5", - "2.3.6", - "2.4", - "2.5", - "2.5.1", - "2.6", - "2.6.1", - "2.7", - "2.8", - "2.9", - "2.10", - "2.10.1", - "2.10.2", - "2.11", - "2.11.1", - "2.11.2", - "2.11.3", - "2.12", - "2.12.1", - "2.12.2", - "2.13", - "2.14", - "2.14.1", - "2.15", - "2.16", - "2.16.0", - "2.17", - "2.18", - "2.19", - "2.20", - "2.21", - "2.22", - "2.23", - "2.24", - "2.25", - "2.26", - "2.27", - "2.28", - "2.29", - "2.30", - "2.31", - "2.32", - "2.33", - "2.34", - "2.35", - "2.36", - "2.37", - "2.38", -) diff --git a/rules_toolchain/toolchain/constraint/os/BUILD.bazel b/rules_toolchain/toolchain/constraint/os/BUILD.bazel deleted file mode 100644 index 642cd8ebfb149eb7a82ec73b22a31038acb31e61..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/os/BUILD.bazel +++ /dev/null @@ -1,12 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -# TODO: add more OS aliases when we are ready to support them. -[ - alias( - name = v, - actual = "@platforms//os:{}".format(v), - ) - for v in ( - "linux", - ) -] diff --git a/rules_toolchain/toolchain/constraint/os/linux/BUILD.bazel b/rules_toolchain/toolchain/constraint/os/linux/BUILD.bazel deleted file mode 100644 index b0fbd864e684a712e6be99e48d173d2459bcb8ef..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/os/linux/BUILD.bazel +++ /dev/null @@ -1,13 +0,0 @@ -load(":versions.bzl", "VERSIONS") - -package(default_visibility = ["//visibility:public"]) - -constraint_setting(name = "linux") - -[ - constraint_value( - name = version, - constraint_setting = ":linux", - ) - for version in VERSIONS -] diff --git a/rules_toolchain/toolchain/constraint/os/linux/versions.bzl b/rules_toolchain/toolchain/constraint/os/linux/versions.bzl deleted file mode 100644 index 8915269f664f3ae8643922f4f39ee0b67f59a8c6..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/constraint/os/linux/versions.bzl +++ /dev/null @@ -1,19 +0,0 @@ -load("@local//:triplet.bzl", "TRIPLET") - -visibility("//toolchain/...") - -LOCAL = TRIPLET.os.version and TRIPLET.os.version.value - -# TODO: figure out a way to generate Linux versions -# Manually updating from https://en.wikipedia.org/wiki/Linux_kernel_version_history -# Only need the _latest_ patch version for each -LTS = ( - "4.4.302", - "4.14.325", - "4.19.294", - "5.4.256", - "5.10.194", - "5.15.131", -) - -VERSIONS = LTS + tuple([LOCAL] if LOCAL != None else []) diff --git a/rules_toolchain/toolchain/defs.bzl b/rules_toolchain/toolchain/defs.bzl deleted file mode 100644 index 75feeea90981d147c6454e5d554aa29d9851bf87..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/defs.bzl +++ /dev/null @@ -1,15 +0,0 @@ -load("//toolchain/triplet:TripletInfo.bzl", _TripletInfo = "TripletInfo") -load("//toolchain/symlink/path:rule.bzl", _symlink_path = "path") -load("//toolchain/symlink/target:rule.bzl", _symlink_target = "target") -load("//toolchain/test:rule.bzl", _test = "test") -load("//toolchain/local/which:repository.bzl", _local_which = "which") -load("//toolchain/local/select:repository.bzl", _local_select = "select") - -visibility("public") - -ToolchainTripletInfo = _TripletInfo -toolchain_symlink_path = _symlink_path -toolchain_symlink_target = _symlink_target -toolchain_test = _test -toolchain_local_which = _local_which -toolchain_local_select = _local_select diff --git a/rules_toolchain/toolchain/local/BUILD.bazel b/rules_toolchain/toolchain/local/BUILD.bazel deleted file mode 100644 index 033e57606bfcd0a3bbcf5e4d120310f34b11ba7f..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/BUILD.bazel +++ /dev/null @@ -1,20 +0,0 @@ -load("@local//:triplet.bzl", "TRIPLET") -load("//toolchain/triplet:rule.bzl", "triplet") - -triplet( - name = "triplet", - value = TRIPLET.value, - visibility = ["//visibility:public"], -) - -config_setting( - name = "constraint", - constraint_values = TRIPLET.constraints, - visibility = ["//visibility:public"], -) - -platform( - name = "platform", - constraint_values = TRIPLET.constraints, - visibility = ["//visibility:public"], -) diff --git a/rules_toolchain/toolchain/local/select/BUILD.bazel b/rules_toolchain/toolchain/local/select/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/local/select/repository.bzl b/rules_toolchain/toolchain/local/select/repository.bzl deleted file mode 100644 index aa3312747adbd0108b80772f070fb910ca1bd2b2..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/select/repository.bzl +++ /dev/null @@ -1,75 +0,0 @@ -load("//toolchain/local/triplet:detect.bzl", "detect") -load("//toolchain/triplet:TripletInfo.bzl", "TripletInfo") - -visibility("//toolchain/...") - -DOC = "Selects and symlinks a repository based on the local machine triplet." - -ATTRS = { - "map": attr.string_dict( - doc = """Local triplet to repository mappings: - -``` -toolchian_local_select( - name = "abc", - map = { - "arm64-linux-gnu": "@abc-arm64-linux-gnu", - "arm64-linux-musl": "@abc-arm64-linux-musl", - }, -) -""", - mandatory = True, - allow_empty = False, - ), - "triplet": attr.string( - doc = "Overrides local machine triplet.", - ), - "no_match_error": attr.string( - doc = """Error message to raise when no match is found in map. - - Can use the `{triplet}` replacement to show the resolved local triplet.""", - default = "No repository match found for `{triplet}`", - ), -} - -def canonical(rctx, label): - # This is _flaky_, it depends on `MODULE.bazel` repository naming[1] - # [1]: https://bazel.build/external/extension#repository_names_and_visibility - prefix = "~".join(rctx.name.split("~")[:-1]) - return "@@{}~{}".format(prefix, label.removeprefix("@")) - -def implementation(rctx): - t = TripletInfo(rctx.attr.triplet or detect(rctx).value) - - selects = ( - "{}-{}-{}".format(t.cpu, t.os.value, t.libc.value), - "{}-{}-{}".format(t.cpu, t.os.kind, t.libc.kind), - "{}-{}".format(t.cpu, t.os.value), - "{}-{}".format(t.cpu, t.os.kind), - "{}".format(t.cpu), - "//conditions:default", - ) - - for select in selects: - if select in rctx.attr.map: - label = rctx.attr.map[select] - canon = canonical(rctx, label) - workspace = Label("{}//:WORKSPACE".format(canon)) - path = rctx.path(workspace) - - if not path.exists: - fail("Missing `{}` for `{}`: {}".format(label, select, path)) - - rctx.delete(".") - rctx.symlink(path.dirname, ".") - return - - fail(rctx.attr.no_match_error.format(triplet = t.value)) - -select = repository_rule( - doc = DOC, - implementation = implementation, - attrs = ATTRS, - local = True, - configure = True, -) diff --git a/rules_toolchain/toolchain/local/triplet/BUILD.bazel b/rules_toolchain/toolchain/local/triplet/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/local/triplet/cpu.bzl b/rules_toolchain/toolchain/local/triplet/cpu.bzl deleted file mode 100644 index 081fc08f38276d4c6785993cfaf9587e2968322b..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/triplet/cpu.bzl +++ /dev/null @@ -1,18 +0,0 @@ -visibility("//toolchain/local/triplet/...") - -def cpu(rctx): - """ - Detects the host CPU. - - Args: - rctx: the repository context to use for detection. - - Return: - A CPU string. - """ - return { - "x86_64": "amd64", - "amd64": "amd64", - "arm64": "arm64", - "aarch64": "arm64", - }[rctx.os.arch] diff --git a/rules_toolchain/toolchain/local/triplet/detect.bzl b/rules_toolchain/toolchain/local/triplet/detect.bzl deleted file mode 100644 index 93ce87eaf6e9141f271ba575e93defdbebe74cb6..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/triplet/detect.bzl +++ /dev/null @@ -1,13 +0,0 @@ -load("//toolchain/triplet:TripletInfo.bzl", "TripletInfo") -load(":cpu.bzl", "cpu") -load(":os.bzl", "os") -load(":libc.bzl", "libc") - -visibility("//toolchain/local/...") - -def detect(rctx): - return TripletInfo("{}-{}-{}".format( - cpu(rctx), - os(rctx).value, - libc(rctx).value, - )) diff --git a/rules_toolchain/toolchain/local/triplet/libc.bzl b/rules_toolchain/toolchain/local/triplet/libc.bzl deleted file mode 100644 index d1d5c0b2a26ff7f802ec7ebbd7ddcbba841305b5..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/triplet/libc.bzl +++ /dev/null @@ -1,70 +0,0 @@ -load("//toolchain/triplet:split.bzl", "split") -load("//toolchain/triplet:VersionedInfo.bzl", "VersionedInfo") - -visibility("//toolchain/local/triplet/...") - -def _unquote(value): - if value[0] == '"' and value[-1] == '"': - return value[1:-1] - return value - -def _release(rctx, path): - content = rctx.read(path) - lines = content.splitlines() - pairs = [line.split("=", 1) for line in lines if "=" in line] - processed = {k.lower(): _unquote(v) for k, v in pairs} - data = struct(**processed) - - if data.id in ("arch", "debian", "fedora"): - return VersionedInfo("gnu") - - if data.id in ("alpine",): - return VersionedInfo("musl") - - if data.id_like in ("debian",): - return VersionedInfo("gnu") - - fail("Failed to determine host C library from `{}`".format(path)) - -def _ldd(rctx, path): - result = rctx.execute([path, "--version"]) - if result.return_code != 0: - fail("Failed to retrieve `ldd` version output:\n{}".format(result.stderr)) - - first, second = result.stdout.strip().splitlines()[:2] - - if first.startswith("musl lib"): - version = split(second, " ", { - 2: lambda _, v: v, - }) - return VersionedInfo("musl.{}".format(version)) - - if first.startswith("ldd") and "Free Software Foundation" in second: - _, _, description = first.partition(" (") - description, _, version = description.rpartition(") ") - version = version - - if description == "GNU libc" or "GLIBC" in description: - return VersionedInfo("gnu.{}".format(version)) - - fail("Failed to detect `{}` version:\n{}".format(path, result.stdout)) - -def libc(rctx): - """ - Detects the host C library. - - Args: - rctx: the repository context to use for detection. - - Return: - A `VersionedInfo` operating system triplet part. - """ - path = rctx.which("ldd") - if path: - return _ldd(rctx, path) - - path = rctx.path("/etc/os-release") - if path.exists: - return _release(rctx, path) - - fail("Failed to detect host C library") diff --git a/rules_toolchain/toolchain/local/triplet/os.bzl b/rules_toolchain/toolchain/local/triplet/os.bzl deleted file mode 100644 index 4b64c09144d5359d6a875debb7fdbef5895f89b6..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/triplet/os.bzl +++ /dev/null @@ -1,101 +0,0 @@ -load("//toolchain/triplet:split.bzl", "split") -load("//toolchain/triplet:VersionedInfo.bzl", "VersionedInfo") - -visibility("//toolchain/local/triplet/...") - -def _header(rctx, path): - """ - Reads the Linux version header to determine the correct Linux version. - - Args: - rctx: The repository context that can execute commands on the host machine. - path: the path to the Linux version header to read. - - Returns: - The `VersionedInfo` provider - """ - data = rctx.read(path).strip() - - def _split(line): - if not line.startswith("#define"): - return (None, None) - - _, name, value = line.split(" ", 2) - - if "(" in name: - return (None, None) - - name = name.removeprefix("LINUX_VERSION_").lower() - - return (name, value) - - pairs = [_split(line) for line in data.splitlines()] - map = {k: v for k, v in pairs if k and v} - - major = map.get("major", None) - minor = map.get("patchlevel", None) - patch = map.get("sublevel", None) - - if major and minor and patch: - return VersionedInfo("linux.{}.{}.{}".format(int(major), int(minor), int(patch))) - - if "code" not in map: - fail("Failed to find a `LINUX_VERSION_CODE` in {}".format(path)) - - code = int(map["code"]) - - major = (code >> 16) & 0xFF - minor = (code >> 8) & 0xFF - patch = (code >> 0) & 0xFF - - return VersionedInfo("linux.{}.{}.{}".format(major, minor, patch)) - -def _uname(rctx, path): - """ - Determines the operating system version from `uname` - - Args: - rctx: The repository context that can execute commands on the host machine. - path: the path to the `uname` executable. - - Returns: - The `VersionedInfo` provider - """ - result = rctx.execute((path, "-r")) - if result.return_code != 0: - fail("Failed to get `uname` release: {}".format(result.stderr)) - - version, _ = result.stdout.split("-", 1) - - major, minor, patch = split(version, ".", { - 1: lambda x: (x, None, None), - 2: lambda x, y: (x, y, None), - 3: lambda x, y, z: (x, y, z), - }) - - if rctx.path("/.dockerenv").exists: - print("`uname` release is the host kernel inside a container. We recommend installing `/usr/include/linux/version.h` into the container.") - - return VersionedInfo("linux.{}.{}.{}".format(int(major), int(minor), int(patch))) - -def os(rctx): - """ - Detects the host operating system. - - Args: - rctx: the repository context to use for detection. - - Return: - A `VersionedInfo` operating system triplet part. - """ - path = rctx.path("/usr/include/linux/version.h") - if path.exists: - return _header(rctx, path) - - path = rctx.which("uname") - if path.exists: - return _uname(rctx, path) - - return VersionedInfo({ - "linux": "linux", - }[rctx.os.name]) diff --git a/rules_toolchain/toolchain/local/triplet/repository.bzl b/rules_toolchain/toolchain/local/triplet/repository.bzl deleted file mode 100644 index 0a58f643319ac9f24a5f8bb43aaa20b9777ec289..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/triplet/repository.bzl +++ /dev/null @@ -1,28 +0,0 @@ -load(":detect.bzl", "detect") - -visibility("//toolchain/...") - -DOC = """Detects the host triplet. -""" - -ATTRS = { - "template": attr.label( - doc = "The template that is expanded into the `triplet.bzl`.", - default = Label(":triplet.tmpl.bzl"), - allow_single_file = True, - ), -} - -def implementation(rctx): - triplet = detect(rctx) - rctx.template("triplet.bzl", rctx.attr.template, { - "{{value}}": triplet.value, - }) - rctx.file("BUILD.bazel", "") - -triplet = repository_rule( - doc = DOC, - implementation = implementation, - attrs = ATTRS, - local = True, -) diff --git a/rules_toolchain/toolchain/local/triplet/triplet.tmpl.bzl b/rules_toolchain/toolchain/local/triplet/triplet.tmpl.bzl deleted file mode 100644 index 25af60e4393d19301a0ff1d8689f104cb977665a..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/triplet/triplet.tmpl.bzl +++ /dev/null @@ -1,5 +0,0 @@ -load("@rules_toolchain//toolchain:defs.bzl", "ToolchainTripletInfo") - -visibility("public") - -TRIPLET = ToolchainTripletInfo("{{value}}") diff --git a/rules_toolchain/toolchain/local/which/BUILD.bazel b/rules_toolchain/toolchain/local/which/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/local/which/BUILD.tmpl.bazel b/rules_toolchain/toolchain/local/which/BUILD.tmpl.bazel deleted file mode 100644 index 84f9d9260393e4b0ca8a15fbabfc3a5bbe7880cb..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/which/BUILD.tmpl.bazel +++ /dev/null @@ -1,10 +0,0 @@ -load("@rules_toolchain//toolchain:defs.bzl", "toolchain_symlink_path") - -package(default_visibility = ["//visibility:public"]) - -toolchain_symlink_path( - name = "{{name}}", - path = "{{path}}", - tags = ["no-remote"], - variable = "{{variable}}", -) diff --git a/rules_toolchain/toolchain/local/which/repository.bzl b/rules_toolchain/toolchain/local/which/repository.bzl deleted file mode 100644 index d5cb732e9aa0757a4daee5a643b82fc6145e6d6e..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/local/which/repository.bzl +++ /dev/null @@ -1,59 +0,0 @@ -visibility("//toolchain/...") - -DOC = """Creates a repository that provides a binary target wrapping a local binary found on `PATH`. - -The resulting repository has a `toolchain_symlink_path` target which can be used with the native `toolchain` rule to expose the local binary as a toolchain. - -Assuming a repository created as `name = "echo"`, by default the `echo` binary will be search for an the nested target will be named `:echo`. - -Consuming this target as a toolchain is trivial: - -```py -toolchain( - name = "local", - toolchain = "@echo", - toolchain_type = ":type", -) -``` -""" - -ATTRS = { - "program": attr.string( - doc = "The name of the binary to find on `PATH`.", - ), - "target": attr.string( - doc = "The name of the Bazel target to expose around the binary.", - ), - "variable": attr.string( - doc = "The variable name for Make or the execution environment.", - ), - "template": attr.label( - doc = "The template that is expanded into the `BUILD.bazel`.", - default = Label(":BUILD.tmpl.bazel"), - allow_single_file = True, - ), -} - -def implementation(rctx): - program = rctx.attr.program or rctx.attr.name.rsplit("~", 1)[1] - - path = rctx.which(program) - if not path: - fail("Cannot find `{}` on `PATH`".format(program)) - - rctx.template("BUILD.bazel", rctx.attr.template, { - "{{name}}": rctx.attr.target or program, - "{{program}}": program, - "{{path}}": str(path.realpath), - "{{variable}}": rctx.attr.variable or program.upper(), - }) - -which = repository_rule( - doc = DOC, - implementation = implementation, - attrs = ATTRS, - configure = True, - environ = [ - "PATH", - ], -) diff --git a/rules_toolchain/toolchain/platform/BUILD.bazel b/rules_toolchain/toolchain/platform/BUILD.bazel deleted file mode 100644 index 2cda2f76a4a7b3f5be25a547e3c4e2ba25c14956..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/platform/BUILD.bazel +++ /dev/null @@ -1,16 +0,0 @@ -load("//toolchain/triplet:triplets.bzl", "TRIPLETS") - -[ - platform( - name = t.value, - constraint_values = t.constraints, - visibility = ["//visibility:public"], - ) - for t in TRIPLETS -] - -alias( - name = "local", - actual = "//toolchain/local:platform", - visibility = ["//visibility:public"], -) diff --git a/rules_toolchain/toolchain/resolved.bzl b/rules_toolchain/toolchain/resolved.bzl deleted file mode 100644 index d6657c59ac531624a99e38a2d3d8593448086faf..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/resolved.bzl +++ /dev/null @@ -1,108 +0,0 @@ -visibility("public") - -DOC = """Resolved toolchain information for the `{toolchain}` toolchain. - -This target is runnable via: - - bazelisk run -- {toolchain} -""" - -PROVIDES = ( - platform_common.TemplateVariableInfo, - platform_common.ToolchainInfo, - DefaultInfo, -) - -ATTRS = { - "basename": attr.string( - doc = "The basename for the symlink, which defaults to `name`", - ), - "toolchain": attr.label( - doc = "The toolchain type to resolve and forward on providers.", - mandatory = True, - ), -} - -def implementation(ctx): - basename = ctx.attr.basename or ctx.label.name - toolchain = ctx.toolchains[ctx.attr.toolchain.label] - - executable = ctx.actions.declare_file(basename) - ctx.actions.symlink( - output = executable, - target_file = toolchain.executable, - is_executable = True, - ) - - files = depset([executable], transitive = [toolchain.default.files]) - runfiles = ctx.runfiles() - runfiles = runfiles.merge(toolchain.default.default_runfiles) - - default = DefaultInfo( - executable = executable, - files = files, - runfiles = runfiles, - ) - - return [ - toolchain, - toolchain.variables, - default, - ] - -def macro(*, toolchain_type): - """Provides a executable `rule` to resolve a toolchain. - - To provide the resolved toolchain create a `resolved.bzl` file: - - ```py - load("@rules_toolchain//toolchain:resolved.bzl", _resolved = "export") - - DOC = _resolved.doc.format(toolchain="cp") - - ATTRS = _resolve.attrs - - implementation = _resolved.implementation - - resolved = _resolved.rule( - toolchain_type = Label("//coreutils/toolchain/cp:type"), - ) - ``` - - This rule can then be used to provide the resolved toolchain: - - ```py - load(":resolved.bzl", "resolved") - - toolchain_type( - name = ":type", - ) - - # Some `toolchain` rules that are registered - - resolved( - name = "resolved", - toolchain = ":type", - ) - ``` - - The resulting `resolved` target is runnable via `bazelisk run`. - """ - if type(toolchain_type) != type(Label("//:all")): - fail("`toolchain_type` must be passed as a `Label`: {}".format(type(toolchain_type))) - - return rule( - doc = DOC.format(toolchain = toolchain_type), - attrs = ATTRS, - implementation = implementation, - provides = PROVIDES, - toolchains = [toolchain_type], - executable = True, - ) - -export = struct( - doc = DOC, - attrs = ATTRS, - implementation = implementation, - rule = macro, -) diff --git a/rules_toolchain/toolchain/symlink/path/BUILD.bazel b/rules_toolchain/toolchain/symlink/path/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/symlink/path/rule.bzl b/rules_toolchain/toolchain/symlink/path/rule.bzl deleted file mode 100644 index 7d5e18f23a2efc5d840a3a444cfcc860e758553e..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/symlink/path/rule.bzl +++ /dev/null @@ -1,84 +0,0 @@ -visibility("//toolchain/...") - -ATTRS = { - "path": attr.string( - doc = "The path to a binary to symlink.", - mandatory = True, - ), - "basename": attr.string( - doc = "The basename for the symlink, which defaults to `name`", - ), - "variable": attr.string( - doc = "The variable name for Make or the execution environment.", - ), - "data": attr.label_list( - doc = "Extra files that are needed at runtime.", - allow_files = True, - ), -} - -def implementation(ctx): - basename = ctx.attr.basename or ctx.label.name - variable = ctx.attr.variable or basename.upper() - - executable = ctx.actions.declare_symlink(basename) - ctx.actions.symlink( - output = executable, - target_path = ctx.attr.path, - ) - - variables = platform_common.TemplateVariableInfo({ - variable: executable.path, - }) - - default = DefaultInfo( - executable = executable, - files = depset([executable]), - runfiles = ctx.runfiles(ctx.attr.data + [executable]), - ) - - toolchain = platform_common.ToolchainInfo( - variables = variables, - default = default, - executable = executable, - ) - - return [variables, toolchain, default] - -path = rule( - doc = """Creates a executable symlink to a binary path. - -This rule can be used to symlink a executable file outside of the workspace. - -The external executable become part of the Bazel target graph. - -It exports the necessary providers for the target to be easily ingested by the native `toolchain` rule. - -``` -toolchain_type( - name = "type", -) - -toolchain_symlink_path( - name = "gcc-local", - path = "/usr/bin/gcc", -) - -toolchain( - name = "local", - toolchain = ":gcc-local", - toolchain_type = ":type", -) -``` - -_Commonly_, this target is not used directly and the `local.which` extension is used that looks up a binary on a path. -""", - attrs = ATTRS, - implementation = implementation, - provides = [ - platform_common.TemplateVariableInfo, - platform_common.ToolchainInfo, - DefaultInfo, - ], - executable = True, -) diff --git a/rules_toolchain/toolchain/symlink/target/BUILD.bazel b/rules_toolchain/toolchain/symlink/target/BUILD.bazel deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/symlink/target/rule.bzl b/rules_toolchain/toolchain/symlink/target/rule.bzl deleted file mode 100644 index 1c4a94c8148d8cc98bb9bf7ae9ca1616dd9878a9..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/symlink/target/rule.bzl +++ /dev/null @@ -1,96 +0,0 @@ -visibility("//toolchain/...") - -ATTRS = { - "target": attr.label( - doc = "The binary file to symlink.", - mandatory = True, - allow_files = True, - executable = True, - cfg = "exec", - ), - "basename": attr.string( - doc = "The basename for the symlink, which defaults to `name`", - ), - "variable": attr.string( - doc = "The variable name for Make or the execution environment.", - ), - "data": attr.label_list( - doc = "Extra files that are needed at runtime.", - allow_files = True, - ), -} - -def implementation(ctx): - basename = ctx.attr.basename or ctx.label.name - variable = ctx.attr.variable or basename.upper() - - executable = ctx.actions.declare_file(basename) - ctx.actions.symlink( - output = executable, - target_file = ctx.files.target[0], - is_executable = True, - ) - - variables = platform_common.TemplateVariableInfo({ - variable: executable.path, - }) - - default = DefaultInfo( - executable = executable, - files = depset([executable]), - runfiles = ctx.runfiles(ctx.attr.data + [executable]), - ) - - toolchain = platform_common.ToolchainInfo( - variables = variables, - default = default, - executable = executable, - ) - - return [variables, toolchain, default] - -target = rule( - doc = """Creates a executable symlink to a binary target file. - -This rule can be used to symlink a executable target and export the necessary toolchain providers. - -Often used with downloaded binary targets: - -```py -load("@rules_toolchain//toolchain:defs.bzl", "ToolchainTripletInfo") - -toolchain_type( - name = "type", -) - -# Setup a toolchain for each downloaded binary -[ - ( - toolchain_symlink_target( - name = "something-{}".format(triplet.value), - target = "@downloaded-{}//:something".format(triplet), - ), - toolchain( - name = triplet.value, - toolchain = ":something-{}".format(triplet.value), - exec_compatible_with = triplet.constraints, - ) - ) - for triplet in ( - ToolchainTripletInfo("arm64-linux-gnu"), - ToolchainTripletInfo("arm64-linux-musl"), - ) -] -``` - -`rules_download` has a `download.archive` and `download.file` extension that can help with retrieving remote binaries. -""", - attrs = ATTRS, - implementation = implementation, - provides = [ - platform_common.TemplateVariableInfo, - platform_common.ToolchainInfo, - DefaultInfo, - ], - executable = True, -) diff --git a/rules_toolchain/toolchain/test/BUILD.bazel b/rules_toolchain/toolchain/test/BUILD.bazel deleted file mode 100644 index 5a9399aa9cd8ffe10458fb17c091156c837e5f64..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/test/BUILD.bazel +++ /dev/null @@ -1,10 +0,0 @@ -exports_files(["posix.tmpl.sh"]) - -exports_files( - [ - "any", - "non-empty", - "empty", - ], - visibility = ["//visibility:public"], -) diff --git a/rules_toolchain/toolchain/test/any b/rules_toolchain/toolchain/test/any deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/test/empty b/rules_toolchain/toolchain/test/empty deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/test/non-empty b/rules_toolchain/toolchain/test/non-empty deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/rules_toolchain/toolchain/test/posix.tmpl.sh b/rules_toolchain/toolchain/test/posix.tmpl.sh deleted file mode 100755 index 0005c08246e2fe4c54a194b1bcf2a177fcfc67cd..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/test/posix.tmpl.sh +++ /dev/null @@ -1,176 +0,0 @@ -#! /bin/sh - -# e: quit on command errors -# u: quit on undefined variables -set -eu - -# Bazel substitutions -EXECUTABLE="{{executable}}" -STDOUT="{{stdout}}" -STDERR="{{stderr}}" -readonly EXECUTABLE STDOUT STDERR - -# Test environment -JUNIT="${XML_OUTPUT_FILE-junit.xml}" -readonly JUNIT - -# Run the toolchain executable and validate the output -if ! "${EXECUTABLE}" "${@}" >stdout.txt 2>stderr.txt; then - echo >&2 "Failed to run: ${EXECUTABLE} ${*}" - echo >&2 "stdout:" - while IFS= read -r LINE; do - echo >&2 "${LINE}" - done &2 "stderr:" - while IFS= read -r LINE; do - echo >&2 "${LINE}" - done &2 'ok %i - %s contained any content\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" -) - -non_empty() ( - INDEX="${1}" - FILEPATH="${2}" - - if ! test -s "${FILEPATH}"; then - printf >&2 'not ok %i - %s was an empty file when content was expected\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" - printf ' %s was an empty file when content was expected\n' "${FILEPATH}" - printf ' \n' - else - printf >&2 'ok %i - %s was an empty file\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" - fi -) - -empty() ( - INDEX="${1}" - FILEPATH="${2}" - - if test -s "${FILEPATH}"; then - printf >&2 'not ok %i - %s contained content when an empty file was expected\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" - printf ' %s contained unexpected content:\n' "${FILEPATH}" - while IFS= read -r LINE; do - printf '%s\n' "${LINE}" - done <"${FILEPATH}" - printf '%s\n' "${LINE}" - printf ' \n' - else - printf >&2 'ok %i - %s was a non-empty file\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" - fi -) - -diff() ( - INDEX="${1}" - FILEPATH="${2}" - EXPECTED="${3}" - - while true; do - FAILS=0 - IFS= read -r A <&3 || FAILS=$((FAILS + 1)) - IFS= read -r B <&4 || FAILS=$((FAILS + 1)) - if test "${FAILS}" -eq 1; then - printf >&2 'not ok %i - %s had a different number of lines to %s\n' "${INDEX}" "${FILEPATH}" "${EXPECTED}" - printf ' \n' "${FILEPATH}" - printf ' %s contained different line counts:\n' "${FILEPATH}" - printf '%s %s\n' '---' "${FILEPATH}" - printf '%s %s\n' '+++' "${EXPECTED}" - printf '@@ -1 +1 @@\n' - printf '%s%s\n' '-' "${A-}" - printf '%s%s\n' '+' "${B-}" - printf '\n' - printf ' \n' - exit - elif test "${FAILS}" -eq 2; then - exit - elif test "${A}" != "${B}"; then - printf >&2 'not ok %i: %s had different content to %s\n' "${INDEX}" "${FILEPATH}" "${EXPECTED}" - printf ' \n' "${FILEPATH}" - printf ' %s contained different content:\n' "${FILEPATH}" - printf '%s %s\n' '---' "${FILEPATH}" - printf '%s %s\n' '+++' "${EXPECTED}" - printf '@@ -1 +1 @@\n' - printf '%s%s\n' '-' "${A}" - printf '%s%s\n' '+' "${B}" - printf '\n' - printf ' \n' - exit - fi - done 3<"${FILEPATH}" 4<"${EXPECTED}" - - printf >&2 'ok %s - %s was a non-empty file\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" -) - -validate() ( - INDEX="${1}" - FILEPATH="${2}" - EXPECTED="${3}" - - if ! test -f "${FILEPATH}"; then - printf >&2 'not ok %i - %s not found\n' "${INDEX}" "${FILEPATH}" - printf ' \n' "${FILEPATH}" - printf ' %s was not found\n' "${FILEPATH}" - printf ' \n' - exit - elif ! test -f "${EXPECTED}"; then - printf >&2 'not ok %i - %s not found\n' "${INDEX}" "${EXPECTED}" - printf ' \n' "${FILEPATH}" - printf ' %s was not found\n' "${EXPECTED}" - printf ' \n' - exit - fi - - case "${EXPECTED}" in - *"/toolchain/test/any") - any "${INDEX}" "${FILEPATH}" - ;; - *"/toolchain/test/non-empty") - non_empty "${INDEX}" "${FILEPATH}" - ;; - *"/toolchain/test/empty") - empty "${INDEX}" "${FILEPATH}" - ;; - *) - diff "${INDEX}" "${FILEPATH}" "${EXPECTED}" - ;; - esac -) - -junit() ( - COUNT="${#}" - TESTS=$((COUNT / 2)) - readonly COUNT TESTS - printf '\n' "${TESTS}" - printf >&2 '1..%i\n' $((TESTS)) - INDEX=1 - while ! test -z ${2+x}; do - FILEPATH="${1}" - EXPECTED="${2}" - shift 2 - validate "${INDEX}" "${FILEPATH}" "${EXPECTED}" - INDEX=$((INDEX + 1)) - done - printf '\n' -) - -junit \ - stdout.txt "${STDOUT}" \ - stderr.txt "${STDERR}" \ - >"${JUNIT}" - -while IFS= read -r LINE; do - if test -z "${LINE#**}"; then - exit 1 - fi -done <"${JUNIT}" diff --git a/rules_toolchain/toolchain/test/rule.bzl b/rules_toolchain/toolchain/test/rule.bzl deleted file mode 100644 index 3c33f6da3838ec72c85251da05d71e275ffbf1f0..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/test/rule.bzl +++ /dev/null @@ -1,86 +0,0 @@ -visibility("//toolchain/...") - -ATTRS = { - "stdout": attr.label( - doc = """The expected standard output. - -Can be set to the following values for special handling: - -- `@rules_toolchain//toolchain/test:non-empty`: accept any non-empty output -- `@rules_toolchain//toolchain/test:empty`: require empty output -""", - default = ":non-empty", - allow_single_file = True, - ), - "stderr": attr.label( - doc = """The expected standard error. - -Can be set to the following values for special handling: - -- `@rules_toolchain//toolchain/test:non-empty`: accept any non-empty output -- `@rules_toolchain//toolchain/test:empty`: require empty output -""", - default = ":empty", - allow_single_file = True, - ), - "template": attr.label( - doc = """The template that is expanded into the binary. - -Can be overridden to a custom script that receives the following replacements: - -- `{{executable}}`: the toolchain executable path -- `{{stdout}}`: the expected standard output -- `{{stderr}}`: the expected standard error -""", - default = ":posix.tmpl.sh", - allow_single_file = True, - ), -} - -def implementation(ctx): - if len(ctx.attr.toolchains) != 1: - fail("Only one toolchain can be provided") - toolchain = ctx.attr.toolchains[0][platform_common.ToolchainInfo] - - executable = ctx.actions.declare_file("{}.executable".format(ctx.label.name)) - ctx.actions.expand_template( - template = ctx.file.template, - output = executable, - substitutions = { - "{{executable}}": str(toolchain.executable.short_path), - "{{stdout}}": str(ctx.file.stdout.short_path), - "{{stderr}}": str(ctx.file.stderr.short_path), - }, - is_executable = True, - ) - - return DefaultInfo( - executable = executable, - files = depset([executable]), - runfiles = ctx.runfiles([toolchain.executable, ctx.file.stdout, ctx.file.stderr]), - ) - -toolchain_test = rule( - doc = """Performs a simple test that a toolchain resolved to an executable. - -- Resolves the provided toolchain binary -- Executes with the provided arguments -- Captures `stdout` and `stderr` -- Can do optional `diff` checking of the output - -A common use case is to check that a toolchain can output some help text: - -``` -toolchain_test( - name = "test", - args = ["--help"], - toolchains = [":resolved"], -) -``` -""", - attrs = ATTRS, - implementation = implementation, - test = True, -) - -test = toolchain_test diff --git a/rules_toolchain/toolchain/triplet/BUILD.bazel b/rules_toolchain/toolchain/triplet/BUILD.bazel deleted file mode 100644 index 7a7903f25c6fbc1b8b33ee8e6bf3c831464fe767..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/BUILD.bazel +++ /dev/null @@ -1,22 +0,0 @@ -load(":triplets.bzl", "TRIPLETS") -load(":rule.bzl", "triplet") -load(":test.bzl", "test") - -[ - triplet( - name = t.value, - visibility = ["//visibility:public"], - ) - for t in TRIPLETS -] - -alias( - name = "local", - actual = "//toolchain/local:triplet", - visibility = ["//visibility:public"], -) - -test( - name = "test", - target_under_test = ":amd64-linux-gnu", -) diff --git a/rules_toolchain/toolchain/triplet/TripletInfo.bzl b/rules_toolchain/toolchain/triplet/TripletInfo.bzl deleted file mode 100644 index 99ee803ba1da869eece508f9db424ba120dfe202..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/TripletInfo.bzl +++ /dev/null @@ -1,57 +0,0 @@ -load("@bazel_skylib//lib:types.bzl", "types") -load(":VersionedInfo.bzl", "VersionedInfo") -load(":split.bzl", "split") - -visibility("//toolchain/...") - -def init(value): - """ - Initializes a `TripletInfo` provider. - - Processes `value` into the constituent parts. - - Args: - value: A machine triplet which can be kebab-separated such as `aarch64-linux-gnu.2.19` - - Returns: - A mapping of keywords for the `triplet_info` raw constructor. - """ - if not types.is_string(value): - fail("`TripletInfo.value` must be a `str`: {}".format(value)) - - cpu, vendor, os, libc = split(value, "-", { - 3: lambda c, o, l: (c, None, o, l), - 4: lambda c, v, o, l: (c, v, o, l), - }) - - os = VersionedInfo(os) - libc = VersionedInfo(libc) - - constraints = [ - "cpu:{}".format(cpu), - "os:{}".format(os.kind), - "libc:{}".format(libc.kind), - ] - - if os.version: - constraints.append("os/{}:{}".format(os.kind, os.version.value)) - if libc.version: - constraints.append("libc/{}:{}".format(libc.kind, libc.version.value)) - - return { - "value": value, - "cpu": cpu, - "vendor": vendor, - "os": os, - "libc": libc, - "constraints": tuple([ - Label("//toolchain/constraint/{}".format(c)) - for c in constraints - ]), - } - -TripletInfo, triplet_info = provider( - "A machine triplet. Has the associated compatible Bazel constraints.", - fields = ("value", "cpu", "vendor", "os", "libc", "constraints"), - init = init, -) diff --git a/rules_toolchain/toolchain/triplet/VersionInfo.bzl b/rules_toolchain/toolchain/triplet/VersionInfo.bzl deleted file mode 100644 index 8ef969d60415aa662ff649247edbd7bd0263ac00..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/VersionInfo.bzl +++ /dev/null @@ -1,52 +0,0 @@ -load("@bazel_skylib//lib:types.bzl", "types") -load(":split.bzl", "split") - -visibility("//toolchain/...") - -def init(value): - """ - Initializes a `VersionInfo` provider. - - Processes `value` into a semantic version[1] - - [1]: semver.org - - Args: - value: A semantic version such as `1.2.3`, `0.1.0-beta.1` or `1.0.0+aefc24ef`. - - Returns: - A mapping of keywords for the `version_info` raw constructor. - """ - if not types.is_string(value): - fail("`VersionInfo.value` must be a `str`: {}".format(value)) - - prefix, build = split(value, "+", { - 1: lambda a: (a, None), - 2: lambda a, b: (a, b), - }) - - prefix, pre = split(prefix, "-", { - 1: lambda a: (a, None), - 2: lambda a, b: (a, b), - }) - - major, minor, patch = split(prefix, ".", { - 1: lambda a: (a, 0, 0), - 2: lambda a, b: (a, b, 0), - 3: lambda a, b, c: (a, b, c), - }) - - return { - "value": value, - "major": int(major), - "minor": int(minor), - "patch": int(patch), - "pre": pre, - "build": build, - } - -VersionInfo, version_info = provider( - "A semantic version.", - fields = ["value", "major", "minor", "patch", "pre", "build"], - init = init, -) diff --git a/rules_toolchain/toolchain/triplet/VersionedInfo.bzl b/rules_toolchain/toolchain/triplet/VersionedInfo.bzl deleted file mode 100644 index 3140c31c09cc47b802820987abc83ccacc1ec657..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/VersionedInfo.bzl +++ /dev/null @@ -1,38 +0,0 @@ -load("@bazel_skylib//lib:types.bzl", "types") -load(":VersionInfo.bzl", "VersionInfo") - -visibility("//toolchain/...") - -def init(value): - """ - Initializes a `VersionedInfo` provider. - - Processes `value` into a `kind` and semantic version. - - Args: - value: A part of a full triplet which can be dot-separated such as `gnu.2.19` - - Returns: - A mapping of keywords for the `versioned_info` raw constructor. - """ - if not types.is_string(value): - fail("`VersionedInfo.value` must be a `str`: {}".format(value)) - - parts = value.split(".") - kind = parts[0] - version = ".".join(parts[1:]) or None - - if version: - version = VersionInfo(version) - - return { - "value": value, - "kind": kind, - "version": version, - } - -VersionedInfo, versioned_info = provider( - "A versioned triplet part.", - fields = ["value", "kind", "version"], - init = init, -) diff --git a/rules_toolchain/toolchain/triplet/local.bzl b/rules_toolchain/toolchain/triplet/local.bzl deleted file mode 100644 index e7a09155b3b7ce9c95d5f20620da386af7be6a63..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/local.bzl +++ /dev/null @@ -1,5 +0,0 @@ -load("@local//:triplet.bzl", _LOCAL = "TRIPLET") - -visibility("public") - -TRIPLET = _LOCAL diff --git a/rules_toolchain/toolchain/triplet/rule.bzl b/rules_toolchain/toolchain/triplet/rule.bzl deleted file mode 100644 index 2fa03d34c8aed918015c97a00c3e30d74ebff552..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/rule.bzl +++ /dev/null @@ -1,54 +0,0 @@ -load(":TripletInfo.bzl", "TripletInfo") - -visibility("//toolchain/...") - -ATTRS = { - "value": attr.string( - doc = "A triplet value that overrides `name`.", - ), -} - -def implementation(ctx): - value = ctx.attr.value or ctx.label.name - triplet = TripletInfo(value) - - output = ctx.actions.declare_file("{}.txt".format(value)) - ctx.actions.write( - output = output, - content = value, - ) - - executable = ctx.actions.declare_file("{}.sh".format(value)) - ctx.actions.write( - output = executable, - content = "#!/bin/sh\nprintf '%s\n' {}".format(value), - is_executable = True, - ) - - default = DefaultInfo( - executable = executable, - files = depset([output]), - runfiles = ctx.runfiles([output]), - ) - - return [triplet, default] - -triplet = rule( - doc = """Provides a machine triplet. - -A simple rule that provides a `ToolchainTripletInfo` provider. - -The resulting provider can be used in other rules to understand triplet values. - -Running the target with `bazel run` will result in the triplet being printed. - -The triplet runnable output is particularly useful for the resolved host triplet at `@rules_toolchain//toolchain/triplet:host` -""", - attrs = ATTRS, - implementation = implementation, - provides = [ - DefaultInfo, - TripletInfo, - ], - executable = True, -) diff --git a/rules_toolchain/toolchain/triplet/split.bzl b/rules_toolchain/toolchain/triplet/split.bzl deleted file mode 100644 index 62a5f9c1dd2f1a345b20371412387951ecd8be80..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/split.bzl +++ /dev/null @@ -1,29 +0,0 @@ -visibility("//toolchain/...") - -def split(value, delimiter, map): - """ - Splits a value and invokes a callback based on the number of split elements. - - ``` - a, b = split("a.b", ".", { - 1: lambda a: (major, None), - 2: lambda a, b: (major, minor), - }) - - ``` - - Args: - value: The value to invoke `.split` on, often a `str`. - delimiter: The argument to pass to `.split` which delimits the split parts. - map: A `Mapping[int, callable]` that processes the split parts. - - Returns: - The result of the matching callable - """ - parts = value.split(delimiter) - length = len(parts) - - def _fail(*_): - fail("No callable specified for a split length of `{}` with `{}` on `{}`".format(length, delimiter, value)) - - return map.get(length, _fail)(*parts) diff --git a/rules_toolchain/toolchain/triplet/test.bzl b/rules_toolchain/toolchain/triplet/test.bzl deleted file mode 100644 index 18ae4b739c3f8c7946a2d960e9adf320820d0ce3..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/test.bzl +++ /dev/null @@ -1,27 +0,0 @@ -load("@bazel_skylib//lib:unittest.bzl", "analysistest", "asserts") -load(":TripletInfo.bzl", "TripletInfo") -load(":unversioned.bzl", "unversioned") - -visibility("//toolchain/test/...") - -def implementation(ctx): - env = analysistest.begin(ctx) - target = analysistest.target_under_test(env) - info = target[TripletInfo] - asserts.equals(env, "amd64-linux-gnu", info.value) - asserts.equals(env, "amd64", info.cpu) - asserts.equals(env, "linux", info.os.kind) - asserts.equals(env, None, info.os.version) - asserts.equals(env, "gnu", info.libc.kind) - asserts.equals(env, None, info.libc.version) - asserts.equals(env, info.constraints, ( - Label("//toolchain/constraint/cpu:amd64"), - Label("//toolchain/constraint/os:linux"), - Label("//toolchain/constraint/libc:gnu"), - )) - asserts.equals(env, unversioned(info).value, "amd64-linux-gnu") - return analysistest.end(env) - -triplet_test = analysistest.make(implementation) - -test = triplet_test diff --git a/rules_toolchain/toolchain/triplet/triplets.bzl b/rules_toolchain/toolchain/triplet/triplets.bzl deleted file mode 100644 index 213651e1d740060049826573cce1200242f863bb..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/triplets.bzl +++ /dev/null @@ -1,10 +0,0 @@ -load("@local//:triplet.bzl", LOCAL = "TRIPLET") -load(":TripletInfo.bzl", "TripletInfo") - -visibility("//toolchain/...") - -TRIPLETS = ( - LOCAL, - TripletInfo("arm64-linux-gnu"), - TripletInfo("amd64-linux-gnu"), -) diff --git a/rules_toolchain/toolchain/triplet/unversioned.bzl b/rules_toolchain/toolchain/triplet/unversioned.bzl deleted file mode 100644 index 779bc74f01bd133fe56547b9dfc63566a01f2e72..0000000000000000000000000000000000000000 --- a/rules_toolchain/toolchain/triplet/unversioned.bzl +++ /dev/null @@ -1,21 +0,0 @@ -load(":TripletInfo.bzl", "TripletInfo") - -visibility("//toolchain/...") - -def unversioned(triplet): - """ - Converts a `TripletInfo` into an unversioned one. - - Args: - triplet: the `TripletInfo` to remove version numbers from. - - Returns: - An unversioned `TripletInfo` - """ - parts = ( - triplet.cpu, - triplet.vendor, - triplet.os.kind, - triplet.libc.kind, - ) - return TripletInfo("-".join([p for p in parts if p != None]))