From 7eebf73f43dd7d7eaee0293dba899e1039002224 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 11 Jun 2024 17:11:06 -0700 Subject: [PATCH 001/150] bytes: reference header in current directory Signed-off-by: Noah Watkins --- src/v/bytes/tests/iobuf_tests.cc | 2 +- src/v/bytes/tests/iobuf_utils_tests.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v/bytes/tests/iobuf_tests.cc b/src/v/bytes/tests/iobuf_tests.cc index 224c9671408bb..50bd8ccd692d5 100644 --- a/src/v/bytes/tests/iobuf_tests.cc +++ b/src/v/bytes/tests/iobuf_tests.cc @@ -15,7 +15,7 @@ #include "bytes/random.h" #include "bytes/scattered_message.h" #include "bytes/streambuf.h" -#include "bytes/tests/utils.h" +#include "utils.h" #include #include diff --git a/src/v/bytes/tests/iobuf_utils_tests.cc b/src/v/bytes/tests/iobuf_utils_tests.cc index 08d913f38186a..d47798ffe4518 100644 --- a/src/v/bytes/tests/iobuf_utils_tests.cc +++ b/src/v/bytes/tests/iobuf_utils_tests.cc @@ -10,7 +10,7 @@ #include "bytes/bytes.h" #include "bytes/hash.h" #include "bytes/iostream.h" -#include "bytes/tests/utils.h" +#include "utils.h" #include From 281b8c9036b7d6e03ff17aaefa305d66f634424d Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 5 Jun 2024 18:06:45 -0700 Subject: [PATCH 002/150] bazel: add third party dependencies Signed-off-by: Noah Watkins --- .bazelrc | 67 + .bazelversion | 1 + .gitignore | 3 + MODULE.bazel | 66 + MODULE.bazel.lock | 4444 ++++++++++++++++++++++++ bazel/BUILD | 0 bazel/extensions.bzl | 8 + bazel/install-deps.sh | 73 + bazel/repositories.bzl | 194 ++ bazel/thirdparty/BUILD | 0 bazel/thirdparty/ada.BUILD | 28 + bazel/thirdparty/avro.BUILD | 30 + bazel/thirdparty/base64.BUILD | 47 + bazel/thirdparty/c-ares.BUILD | 24 + bazel/thirdparty/cryptopp.BUILD | 21 + bazel/thirdparty/gmp.BUILD | 22 + bazel/thirdparty/gnutls.BUILD | 35 + bazel/thirdparty/hdrhistogram.BUILD | 26 + bazel/thirdparty/hwloc.BUILD | 23 + bazel/thirdparty/krb5.BUILD | 28 + bazel/thirdparty/libpciaccess.BUILD | 22 + bazel/thirdparty/libxml2.BUILD | 31 + bazel/thirdparty/lksctp.BUILD | 22 + bazel/thirdparty/nettle.BUILD | 31 + bazel/thirdparty/nettle.patch | 13 + bazel/thirdparty/numactl.BUILD | 49 + bazel/thirdparty/openssl.BUILD | 28 + bazel/thirdparty/rapidjson.BUILD | 13 + bazel/thirdparty/roaring.BUILD | 21 + bazel/thirdparty/seastar.BUILD | 155 + bazel/thirdparty/snappy.BUILD | 24 + bazel/thirdparty/unordered_dense.BUILD | 15 + bazel/thirdparty/wasmtime.BUILD | 28 + bazel/thirdparty/xz.BUILD | 22 + 34 files changed, 5614 insertions(+) create mode 100644 .bazelrc create mode 100644 .bazelversion create mode 100644 MODULE.bazel create mode 100644 MODULE.bazel.lock create mode 100644 bazel/BUILD create mode 100644 bazel/extensions.bzl create mode 100755 bazel/install-deps.sh create mode 100644 bazel/repositories.bzl create mode 100644 bazel/thirdparty/BUILD create mode 100644 bazel/thirdparty/ada.BUILD create mode 100644 bazel/thirdparty/avro.BUILD create mode 100644 bazel/thirdparty/base64.BUILD create mode 100644 bazel/thirdparty/c-ares.BUILD create mode 100644 bazel/thirdparty/cryptopp.BUILD create mode 100644 bazel/thirdparty/gmp.BUILD create mode 100644 bazel/thirdparty/gnutls.BUILD create mode 100644 bazel/thirdparty/hdrhistogram.BUILD create mode 100644 bazel/thirdparty/hwloc.BUILD create mode 100644 bazel/thirdparty/krb5.BUILD create mode 100644 bazel/thirdparty/libpciaccess.BUILD create mode 100644 bazel/thirdparty/libxml2.BUILD create mode 100644 bazel/thirdparty/lksctp.BUILD create mode 100644 bazel/thirdparty/nettle.BUILD create mode 100644 bazel/thirdparty/nettle.patch create mode 100644 bazel/thirdparty/numactl.BUILD create mode 100644 bazel/thirdparty/openssl.BUILD create mode 100644 bazel/thirdparty/rapidjson.BUILD create mode 100644 bazel/thirdparty/roaring.BUILD create mode 100644 bazel/thirdparty/seastar.BUILD create mode 100644 bazel/thirdparty/snappy.BUILD create mode 100644 bazel/thirdparty/unordered_dense.BUILD create mode 100644 bazel/thirdparty/wasmtime.BUILD create mode 100644 bazel/thirdparty/xz.BUILD diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 0000000000000..8bf19585f53cf --- /dev/null +++ b/.bazelrc @@ -0,0 +1,67 @@ +# use a compiler name that doesn't symlink to ccache +build --action_env=CC=clang-16 --host_action_env=CC=clang-16 +build --action_env=CXX=clang++-16 --host_action_env=CXX=clang++-16 +build --action_env=BAZEL_COMPILER=clang +build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 +build --linkopt -fuse-ld=lld + +# https://github.com/bazelbuild/rules_foreign_cc/issues/1065 +# https://github.com/bazelbuild/rules_foreign_cc/issues/1186#issuecomment-2053550487 +build --host_action_env=CXXFLAGS=-Wno-int-conversion +build --action_env=CXXFLAGS=-Wno-int-conversion +build --host_action_env=CFLAGS=-Wno-int-conversion +build --action_env=CFLAGS=-Wno-int-conversion + +# https://github.com/bazelbuild/bazel/issues/19915 +# https://github.com/bazelbuild/bazel/issues/20886 +build --noincompatible_sandbox_hermetic_tmp + +common --registry=https://bcr.bazel.build + +# ================================= +# Sanitizer +# ================================= +build:sanitizer --copt -fsanitize=address,undefined,vptr,function +build:sanitizer --linkopt -fsanitize=address,undefined,vptr,function +build:sanitizer --linkopt --rtlib=compiler-rt +build:sanitizer --linkopt -fsanitize-link-c++-runtime +build:sanitizer --copt -O1 + +# ================================= +# Security +# ================================= +build:cfi --copt -fsanitize=cfi +build:cfi --copt -fvisibility=hidden +build:cfi --copt -flto + +# fortify source requires a high optimization level. when using this feature add +# `--copt -O2` or combine with a compilation mode like `-c opt`. the default +# bazel toolchain adds _FORTIFY_SOURCE=1 in `-c opt`, so first clear the +# definition to avoid -Wmacro-redefined warnings. +build:fortify-source --copt -U_FORTIFY_SOURCE +build:fortify-source --copt -D_FORTIFY_SOURCE=2 + +build:safe-stack --copt -fsanitize=safe-stack +build:stack-clash --copt -fstack-clash-protection +build:stack-protector --copt -fstack-protector-strong +build:relro --copt -fno-plt +build:relro --linkopt -Wl,-z,relro,-z,now + +# Use `--config=secure` for all supported security settings +build:secure --config=fortify-source +build:secure --config=stack-clash +build:secure --config=stack-protector +build:secure --config=relro +# Cannot enable until all external deps support +#build:secure --config=cfi +#build:secure --config=safe-stack + +# ================================= +# Release +# ================================= +build:release --compilation_mode opt +build:release --config=secure +build:release --copt -mllvm +build:release --copt -inline-threshold=2500 + +try-import %workspace%/user.bazelrc diff --git a/.bazelversion b/.bazelversion new file mode 100644 index 0000000000000..a8a188756826d --- /dev/null +++ b/.bazelversion @@ -0,0 +1 @@ +7.1.2 diff --git a/.gitignore b/.gitignore index cf57cbf5350b8..e02eb2f3f4e85 100644 --- a/.gitignore +++ b/.gitignore @@ -262,3 +262,6 @@ vbuild/ #asdf tool version file .tool-versions + +# bazel +user.bazelrc diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000000000..59ea9165ce99e --- /dev/null +++ b/MODULE.bazel @@ -0,0 +1,66 @@ +module( + name = "redpanda", + repo_name = "com_github_redpanda_data_redpanda", +) + +bazel_dep(name = "hedron_compile_commands", dev_dependency = True) +git_override( + module_name = "hedron_compile_commands", + commit = "a14ad3a64e7bf398ab48105aaa0348e032ac87f8", + remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", +) + +bazel_dep(name = "rules_boost", repo_name = "com_github_nelhage_rules_boost") +archive_override( + module_name = "rules_boost", + integrity = "sha256-PcGxb6Ffi1CajH1PIqlAJ6mgqQ5/XW3NNL7TLZvlSBs=", + strip_prefix = "rules_boost-64bf4814222a6782fd0e7536532a257d7fdc9d80", + urls = "https://github.com/nelhage/rules_boost/archive/64bf4814222a6782fd0e7536532a257d7fdc9d80.tar.gz", +) + +non_module_boost_repositories = use_extension("@com_github_nelhage_rules_boost//:boost/repositories.bzl", "non_module_dependencies") +use_repo( + non_module_boost_repositories, + "boost", +) + +bazel_dep(name = "abseil-cpp", version = "20240116.1") +bazel_dep(name = "crc32c", version = "1.1.0") +bazel_dep(name = "fmt", version = "8.1.1") +bazel_dep(name = "googletest", version = "1.14.0.bcr.1") +bazel_dep(name = "liburing", version = "2.5") +bazel_dep(name = "lz4", version = "1.9.4") +bazel_dep(name = "platforms", version = "0.0.10") +bazel_dep(name = "protobuf", version = "26.0") +bazel_dep(name = "re2", version = "2023-09-01") +bazel_dep(name = "rules_foreign_cc", version = "0.10.1") +bazel_dep(name = "rules_proto", version = "5.3.0-21.7") +bazel_dep(name = "xxhash", version = "0.8.2") +bazel_dep(name = "yaml-cpp", version = "0.8.0") +bazel_dep(name = "zlib", version = "1.3") +bazel_dep(name = "zstd", version = "1.5.6") + +non_module_dependencies = use_extension("//bazel:extensions.bzl", "non_module_dependencies") +use_repo(non_module_dependencies, "ada") +use_repo(non_module_dependencies, "avro") +use_repo(non_module_dependencies, "base64") +use_repo(non_module_dependencies, "c-ares") +use_repo(non_module_dependencies, "cryptopp") +use_repo(non_module_dependencies, "gmp") +use_repo(non_module_dependencies, "gnutls") +use_repo(non_module_dependencies, "hdrhistogram") +use_repo(non_module_dependencies, "hwloc") +use_repo(non_module_dependencies, "krb5") +use_repo(non_module_dependencies, "libpciaccess") +use_repo(non_module_dependencies, "libxml2") +use_repo(non_module_dependencies, "lksctp") +use_repo(non_module_dependencies, "nettle") +use_repo(non_module_dependencies, "numactl") +use_repo(non_module_dependencies, "openssl") +use_repo(non_module_dependencies, "rapidjson") +use_repo(non_module_dependencies, "roaring") +use_repo(non_module_dependencies, "seastar") +use_repo(non_module_dependencies, "snappy") +use_repo(non_module_dependencies, "unordered_dense") +use_repo(non_module_dependencies, "wasmtime") +use_repo(non_module_dependencies, "xz") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock new file mode 100644 index 0000000000000..b7b332e3bdbc6 --- /dev/null +++ b/MODULE.bazel.lock @@ -0,0 +1,4444 @@ +{ + "lockFileVersion": 6, + "moduleFileHash": "622831c78d71ea73aa80b57802eb13e356d4fb4ff3a8e04fe980894f36666255", + "flags": { + "cmdRegistries": [ + "https://bcr.bazel.build" + ], + "cmdModuleOverrides": {}, + "allowedYankedVersions": [], + "envVarAllowedYankedVersions": "", + "ignoreDevDependency": false, + "directDependenciesMode": "WARNING", + "compatibilityMode": "ERROR" + }, + "localOverrideHashes": { + "bazel_tools": "1ae69322ac3823527337acf02016e8ee95813d8d356f47060255b8956fa642f0" + }, + "moduleDepGraph": { + "": { + "name": "redpanda", + "version": "", + "key": "", + "repoName": "com_github_redpanda_data_redpanda", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@com_github_nelhage_rules_boost//:boost/repositories.bzl", + "extensionName": "non_module_dependencies", + "usingModule": "", + "location": { + "file": "@@//:MODULE.bazel", + "line": 21, + "column": 46 + }, + "imports": { + "boost": "boost" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@com_github_redpanda_data_redpanda//bazel:extensions.bzl", + "extensionName": "non_module_dependencies", + "usingModule": "", + "location": { + "file": "@@//:MODULE.bazel", + "line": 43, + "column": 40 + }, + "imports": { + "ada": "ada", + "avro": "avro", + "base64": "base64", + "c-ares": "c-ares", + "cryptopp": "cryptopp", + "gmp": "gmp", + "gnutls": "gnutls", + "hdrhistogram": "hdrhistogram", + "hwloc": "hwloc", + "krb5": "krb5", + "libpciaccess": "libpciaccess", + "libxml2": "libxml2", + "lksctp": "lksctp", + "nettle": "nettle", + "numactl": "numactl", + "openssl": "openssl", + "rapidjson": "rapidjson", + "roaring": "roaring", + "seastar": "seastar", + "snappy": "snappy", + "unordered_dense": "unordered_dense", + "wasmtime": "wasmtime", + "xz": "xz" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "hedron_compile_commands": "hedron_compile_commands@_", + "com_github_nelhage_rules_boost": "rules_boost@_", + "abseil-cpp": "abseil-cpp@20240116.1", + "crc32c": "crc32c@1.1.0", + "fmt": "fmt@8.1.1", + "googletest": "googletest@1.14.0.bcr.1", + "liburing": "liburing@2.5", + "lz4": "lz4@1.9.4", + "platforms": "platforms@0.0.10", + "protobuf": "protobuf@26.0", + "re2": "re2@2023-09-01", + "rules_foreign_cc": "rules_foreign_cc@0.10.1", + "rules_proto": "rules_proto@5.3.0-21.7", + "xxhash": "xxhash@0.8.2", + "yaml-cpp": "yaml-cpp@0.8.0", + "zlib": "zlib@1.3", + "zstd": "zstd@1.5.6", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, + "hedron_compile_commands@_": { + "name": "hedron_compile_commands", + "version": "", + "key": "hedron_compile_commands@_", + "repoName": "hedron_compile_commands", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 3, + "column": 18 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 4, + "column": 19 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 5, + "column": 20 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 6, + "column": 21 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, + "rules_boost@_": { + "name": "rules_boost", + "version": "", + "key": "rules_boost@_", + "repoName": "com_github_nelhage_rules_boost", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@com_github_nelhage_rules_boost//:boost/repositories.bzl", + "extensionName": "non_module_dependencies", + "usingModule": "rules_boost@_", + "location": { + "file": "@@rules_boost~//:MODULE.bazel", + "line": 11, + "column": 46 + }, + "imports": { + "boost": "boost", + "zlib": "zlib" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.7.1", + "boringssl": "boringssl@0.0.0-20240530-2db0eb3", + "bzip2": "bzip2@1.0.8", + "platforms": "platforms@0.0.10", + "xz": "xz@5.4.5.bcr.2", + "zstd": "zstd@1.5.6", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, + "abseil-cpp@20240116.1": { + "name": "abseil-cpp", + "version": "20240116.1", + "key": "abseil-cpp@20240116.1", + "repoName": "abseil-cpp", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.7.1", + "com_google_googletest": "googletest@1.14.0.bcr.1", + "platforms": "platforms@0.0.10", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/abseil/abseil-cpp/releases/download/20240116.1/abseil-cpp-20240116.1.tar.gz" + ], + "integrity": "sha256-PHQyBN94NmrS6vI21mMdg/a8ko0XBd0AALhy5Ttz3Go=", + "strip_prefix": "abseil-cpp-20240116.1", + "remote_patches": { + "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/patches/module_dot_bazel.patch": "sha256-H6J0U5xTQRVVGFkTsBioOCeWetuCfpavigN8YvpQkIQ=" + }, + "remote_patch_strip": 0 + } + } + }, + "crc32c@1.1.0": { + "name": "crc32c", + "version": "1.1.0", + "key": "crc32c@1.1.0", + "repoName": "crc32c", + "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": { + "urls": [ + "https://github.com/google/crc32c/archive/refs/tags/1.1.0.tar.gz" + ], + "integrity": "sha256-Sd4Te/HC62Jo1RImdPfdFSS5FIumXHuFxa5Lm+EEolo=", + "strip_prefix": "crc32c-1.1.0", + "remote_patches": { + "https://bcr.bazel.build/modules/crc32c/1.1.0/patches/add_build_file.patch": "sha256-t61LQtaajsZ/mCXFAJO09YvWCC3s66mggA2A4UHO1XA=", + "https://bcr.bazel.build/modules/crc32c/1.1.0/patches/module_dot_bazel.patch": "sha256-eSH6nHDJxgtHK71YpMLWluZn7Gr+DAcIW8gEePMNrBw=" + }, + "remote_patch_strip": 0 + } + } + }, + "fmt@8.1.1": { + "name": "fmt", + "version": "8.1.1", + "key": "fmt@8.1.1", + "repoName": "fmt", + "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": { + "urls": [ + "https://github.com/fmtlib/fmt/archive/refs/tags/8.1.1.tar.gz" + ], + "integrity": "sha256-PXlNPPZ2M7NLJ3Hrnwc73ofoRuDTldJU33shHvHsc0Y=", + "strip_prefix": "fmt-8.1.1", + "remote_patches": { + "https://bcr.bazel.build/modules/fmt/8.1.1/patches/add_build_file.patch": "sha256-bUYJz9G64DPC99/aSnVNx3JD1nStIA4zXK89OvIDmfY=", + "https://bcr.bazel.build/modules/fmt/8.1.1/patches/module_dot_bazel.patch": "sha256-GuqjebS2ee0ezjzQO7YGVRpRcIMALRxk7MoKVerFtao=" + }, + "remote_patch_strip": 0 + } + } + }, + "googletest@1.14.0.bcr.1": { + "name": "googletest", + "version": "1.14.0.bcr.1", + "key": "googletest@1.14.0.bcr.1", + "repoName": "googletest", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "com_google_absl": "abseil-cpp@20240116.1", + "platforms": "platforms@0.0.10", + "rules_cc": "rules_cc@0.0.9", + "com_googlesource_code_re2": "re2@2023-09-01", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz" + ], + "integrity": "sha256-itWYxzrXluDYKAsILOvYKmMNc+c808cAV5OKZQG7pdc=", + "strip_prefix": "googletest-1.14.0", + "remote_patches": { + "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/patches/module_dot_bazel.patch": "sha256-jijctisPYOzP4X4cl0K7neRh/kqJB+yODNHf8V8heCE=" + }, + "remote_patch_strip": 0 + } + } + }, + "liburing@2.5": { + "name": "liburing", + "version": "2.5", + "key": "liburing@2.5", + "repoName": "liburing", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "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": { + "urls": [ + "https://github.com/axboe/liburing/archive/refs/tags/liburing-2.5.tar.gz" + ], + "integrity": "sha256-RW9fiCFlYw8Nx7dej9U70BqVXV1HIHKbQyMJfm6fKpg=", + "strip_prefix": "liburing-liburing-2.5", + "remote_patches": { + "https://bcr.bazel.build/modules/liburing/2.5/patches/add_build_file.patch": "sha256-bSFDyIEyJYYP0sXNNePKjbnLKGMveouIm6pZ6fRY9Yc=", + "https://bcr.bazel.build/modules/liburing/2.5/patches/module_dot_bazel.patch": "sha256-YB8pxLkYyg8znqTewNFcc9D/bPjQ30plU+xoLEKWSco=" + }, + "remote_patch_strip": 1 + } + } + }, + "lz4@1.9.4": { + "name": "lz4", + "version": "1.9.4", + "key": "lz4@1.9.4", + "repoName": "lz4", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "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": { + "urls": [ + "https://github.com/lz4/lz4/releases/download/v1.9.4/lz4-1.9.4.tar.gz" + ], + "integrity": "sha256-Cw46oHyMBj3fQLCCvffjehVivaQKD/UnKVfz6Yfg5Us=", + "strip_prefix": "lz4-1.9.4", + "remote_patches": { + "https://bcr.bazel.build/modules/lz4/1.9.4/patches/add_build_file.patch": "sha256-v1zbuA4Ya6cX2rDv54qh/8kwM7dimnWuyg40vCik4FM=", + "https://bcr.bazel.build/modules/lz4/1.9.4/patches/module_dot_bazel.patch": "sha256-V8GT+T9/zjsD3c67mJ4qVJoOkR4VZlXnpXl6b/FKI/Y=" + }, + "remote_patch_strip": 0 + } + } + }, + "platforms@0.0.10": { + "name": "platforms", + "version": "0.0.10", + "key": "platforms@0.0.10", + "repoName": "platforms", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@platforms//host:extension.bzl", + "extensionName": "host_platform", + "usingModule": "platforms@0.0.10", + "location": { + "file": "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel", + "line": 9, + "column": 30 + }, + "imports": { + "host_platform": "host_platform" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "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": { + "urls": [ + "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz" + ], + "integrity": "sha256-IY7+juc20mo1cmY7N0olPAErcW2K8MB+hC6C8jigp+4=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "protobuf@26.0": { + "name": "protobuf", + "version": "26.0", + "key": "protobuf@26.0", + "repoName": "protobuf", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "com_google_absl": "abseil-cpp@20240116.1", + "bazel_skylib": "bazel_skylib@1.7.1", + "jsoncpp": "jsoncpp@1.9.5", + "rules_cc": "rules_cc@0.0.9", + "rules_java": "rules_java@7.4.0", + "rules_jvm_external": "rules_jvm_external@5.1", + "rules_pkg": "rules_pkg@0.7.0", + "rules_python": "rules_python@0.25.0", + "platforms": "platforms@0.0.10", + "zlib": "zlib@1.3", + "rules_proto": "rules_proto@5.3.0-21.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": { + "urls": [ + "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v26.0.zip" + ], + "integrity": "sha256-wscevJCvl5bog09lCT8vq4iwqCsqPoBbNIQmRaKvxLA=", + "strip_prefix": "protobuf-26.0", + "remote_patches": { + "https://bcr.bazel.build/modules/protobuf/26.0/patches/0001-Add-MODULE.bazel.patch": "sha256-Sy7TJp6JGHzGsCebJBh+vaizSbJbytfX7JsRKYXGfKY=", + "https://bcr.bazel.build/modules/protobuf/26.0/patches/0002-relative-labels.patch": "sha256-NvicAuuDJLFNLEi9pvGj7PPj/GbpYYYoVdihRosZgSA=" + }, + "remote_patch_strip": 1 + } + } + }, + "re2@2023-09-01": { + "name": "re2", + "version": "2023-09-01", + "key": "re2@2023-09-01", + "repoName": "re2", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@pybind11_bazel//:python_configure.bzl", + "extensionName": "extension", + "usingModule": "re2@2023-09-01", + "location": { + "file": "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel", + "line": 22, + "column": 33 + }, + "imports": { + "local_config_python": "local_config_python", + "pybind11": "pybind11" + }, + "devImports": [], + "tags": [ + { + "tagName": "toolchain", + "attributeValues": { + "python_version": "3" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel", + "line": 23, + "column": 27 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "platforms": "platforms@0.0.10", + "rules_cc": "rules_cc@0.0.9", + "com_google_absl": "abseil-cpp@20240116.1", + "rules_python": "rules_python@0.25.0", + "pybind11_bazel": "pybind11_bazel@2.11.1", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/google/re2/releases/download/2023-09-01/re2-2023-09-01.zip" + ], + "integrity": "sha256-IkuDUdxGM7EBLb2EdWTgYKRr5goioUY9S1uZP9S/Wcw=", + "strip_prefix": "re2-2023-09-01", + "remote_patches": { + "https://bcr.bazel.build/modules/re2/2023-09-01/patches/module_dot_bazel.patch": "sha256-MUQkRNgPJ0lbYqOXoBu2m2vLH7IuKEbK/VWTw7WWrnA=" + }, + "remote_patch_strip": 0 + } + } + }, + "rules_foreign_cc@0.10.1": { + "name": "rules_foreign_cc", + "version": "0.10.1", + "key": "rules_foreign_cc@0.10.1", + "repoName": "rules_foreign_cc", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@rules_foreign_cc_framework_toolchains//:all", + "@rules_foreign_cc//toolchains:built_make_toolchain", + "@rules_foreign_cc//toolchains:built_meson_toolchain", + "@rules_foreign_cc//toolchains:built_pkgconfig_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_automake_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_m4_toolchain", + "@rules_foreign_cc//toolchains:preinstalled_pkgconfig_toolchain", + "@cmake_3.23.2_toolchains//:all", + "@ninja_1.11.1_toolchains//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_foreign_cc//foreign_cc:extensions.bzl", + "extensionName": "tools", + "usingModule": "rules_foreign_cc@0.10.1", + "location": { + "file": "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/MODULE.bazel", + "line": 14, + "column": 22 + }, + "imports": { + "cmake_3.23.2_toolchains": "cmake_3.23.2_toolchains", + "cmake_src": "cmake_src", + "gnumake_src": "gnumake_src", + "meson_src": "meson_src", + "ninja_1.11.1_toolchains": "ninja_1.11.1_toolchains", + "ninja_build_src": "ninja_build_src", + "pkgconfig_src": "pkgconfig_src", + "rules_foreign_cc_framework_toolchains": "rules_foreign_cc_framework_toolchains" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.7.1", + "platforms": "platforms@0.0.10", + "rules_python": "rules_python@0.25.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.1/rules_foreign_cc-0.10.1.tar.gz" + ], + "integrity": "sha256-R2MDvQ8bBMwxH8JY8XCKX274LTCR5T/Rl3+iA4NCWmo=", + "strip_prefix": "rules_foreign_cc-0.10.1", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/patches/module_dot_bazel.patch": "sha256-hDvLi+Nx91lvhEd2qRrPfPu0RjiG5w3a/c4N4AiJb3U=" + }, + "remote_patch_strip": 0 + } + } + }, + "rules_proto@5.3.0-21.7": { + "name": "rules_proto", + "version": "5.3.0-21.7", + "key": "rules_proto@5.3.0-21.7", + "repoName": "rules_proto", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.7.1", + "com_google_protobuf": "protobuf@26.0", + "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": { + "urls": [ + "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz" + ], + "integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=", + "strip_prefix": "rules_proto-5.3.0-21.7", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "xxhash@0.8.2": { + "name": "xxhash", + "version": "0.8.2", + "key": "xxhash@0.8.2", + "repoName": "xxhash", + "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": { + "urls": [ + "https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.2.tar.gz" + ], + "integrity": "sha256-uu4Mav1PAxZd56TmeYjRbw8rJXtR0OPLkZCTAqJqecQ=", + "strip_prefix": "xxHash-0.8.2", + "remote_patches": { + "https://bcr.bazel.build/modules/xxhash/0.8.2/patches/add_build_file.patch": "sha256-WQDdUpYas3Sbezqz0dJ5kMdr/c729ki+QLZv4iwEOj8=", + "https://bcr.bazel.build/modules/xxhash/0.8.2/patches/module_dot_bazel.patch": "sha256-ZLVQs0CBa7/fVGDx0804Hg7ORsWd92G06m2z1N5PeMg=" + }, + "remote_patch_strip": 0 + } + } + }, + "yaml-cpp@0.8.0": { + "name": "yaml-cpp", + "version": "0.8.0", + "key": "yaml-cpp@0.8.0", + "repoName": "yaml-cpp", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.10", + "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": { + "urls": [ + "https://github.com/stonier/yaml-cpp/releases/download/0.8.0/yaml-cpp-0.8.0.tar.gz" + ], + "integrity": "sha256-++dLvc7iHWVnFWiHBto8i+z9lG2SzURwXMYJi7I7OhY=", + "strip_prefix": "yaml-cpp-0.8.0", + "remote_patches": { + "https://bcr.bazel.build/modules/yaml-cpp/0.8.0/patches/module_dot_bazel.patch": "sha256-YM6xq0Mtu51Okntj5lRQ3V04DyZNm4hZdrSDMio1KeU=" + }, + "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.10", + "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": { + "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 + } + } + }, + "zstd@1.5.6": { + "name": "zstd", + "version": "1.5.6", + "key": "zstd@1.5.6", + "repoName": "zstd", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_cc": "rules_cc@0.0.9", + "platforms": "platforms@0.0.10", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz" + ], + "integrity": "sha256-jCngbPQqrMHq/EB3ri7Gxvy5amJhV+BZPV6Co0/UA8E=", + "strip_prefix": "zstd-1.5.6", + "remote_patches": { + "https://bcr.bazel.build/modules/zstd/1.5.6/patches/add_build_file.patch": "sha256-eWyxLXFI3vRjvK572z4lHJdoia96jUfQxzAP+hYY9ck=", + "https://bcr.bazel.build/modules/zstd/1.5.6/patches/module_dot_bazel.patch": "sha256-xNLcQox8GjyYhgThGYV16+CcXYkumiPAVXRZlWUqWJM=" + }, + "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": 18, + "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": 22, + "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": 25, + "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": 36, + "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": 40, + "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": 43, + "column": 42 + }, + "imports": { + "android_gmaven_r8": "android_gmaven_r8", + "android_tools": "android_tools" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@buildozer//:buildozer_binary.bzl", + "extensionName": "buildozer_binary", + "usingModule": "bazel_tools@_", + "location": { + "file": "@@bazel_tools//:MODULE.bazel", + "line": 47, + "column": 33 + }, + "imports": { + "buildozer_binary": "buildozer_binary" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "rules_cc": "rules_cc@0.0.9", + "rules_java": "rules_java@7.4.0", + "rules_license": "rules_license@0.0.7", + "rules_proto": "rules_proto@5.3.0-21.7", + "rules_python": "rules_python@0.25.0", + "buildozer": "buildozer@6.4.0.2", + "platforms": "platforms@0.0.10", + "com_google_protobuf": "protobuf@26.0", + "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.10", + "bazel_tools": "bazel_tools@_" + } + }, + "bazel_skylib@1.7.1": { + "name": "bazel_skylib", + "version": "1.7.1", + "key": "bazel_skylib@1.7.1", + "repoName": "bazel_skylib", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "//toolchains/unittest:cmd_toolchain", + "//toolchains/unittest:bash_toolchain" + ], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.10", + "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": { + "urls": [ + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz" + ], + "integrity": "sha256-vCg8381SalLDIBJ5zaS8KYZS76iYsQtNsIN9xRZSdW8=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "boringssl@0.0.0-20240530-2db0eb3": { + "name": "boringssl", + "version": "0.0.0-20240530-2db0eb3", + "key": "boringssl@0.0.0-20240530-2db0eb3", + "repoName": "boringssl", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "googletest": "googletest@1.14.0.bcr.1", + "platforms": "platforms@0.0.10", + "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": { + "urls": [ + "https://github.com/google/boringssl/archive/2db0eb3f96a5756298dcd7f9319e56a98585bd10.tar.gz" + ], + "integrity": "sha256-zSQL8nRQ91zV9BxRKgYpfABkbNusn4e2BOkxJ3HbFaY=", + "strip_prefix": "boringssl-2db0eb3f96a5756298dcd7f9319e56a98585bd10", + "remote_patches": { + "https://bcr.bazel.build/modules/boringssl/0.0.0-20240530-2db0eb3/patches/module_dot_bazel.patch": "sha256-ROmpGIa6bWfDTV1c02V7xp0uScaKaRWYJKoz0uAhaoA=" + }, + "remote_patch_strip": 0 + } + } + }, + "bzip2@1.0.8": { + "name": "bzip2", + "version": "1.0.8", + "key": "bzip2@1.0.8", + "repoName": "bzip2", + "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": { + "urls": [ + "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz" + ], + "integrity": "sha256-q1oDF27hBtPw+pDjgdpHjdrkBZGBU8yiSOaCzQxKImk=", + "strip_prefix": "bzip2-1.0.8", + "remote_patches": { + "https://bcr.bazel.build/modules/bzip2/1.0.8/patches/add_build_file.patch": "sha256-xJNk2k+qB6WjPQYB00KeIXmH/9k3asL6en5schN9hMI=", + "https://bcr.bazel.build/modules/bzip2/1.0.8/patches/module_dot_bazel.patch": "sha256-0L0dzTSwiKpuEZAqbpUf+x+WOXt0qyCX8lBR+bRZ7so=" + }, + "remote_patch_strip": 0 + } + } + }, + "xz@5.4.5.bcr.2": { + "name": "xz", + "version": "5.4.5.bcr.2", + "key": "xz@5.4.5.bcr.2", + "repoName": "xz", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.7.1", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/tukaani-project/xz/releases/download/v5.4.5/xz-5.4.5.tar.gz" + ], + "integrity": "sha256-E1yQuTSu6PvA1Gfeh6Bctw1ifaNqvlGMNXqHNwnlt9Y=", + "strip_prefix": "xz-5.4.5", + "remote_patches": { + "https://bcr.bazel.build/modules/xz/5.4.5.bcr.2/patches/patch.diff": "sha256-/p4OtkABqNVS/ujgPMKK8iBMyF/N+CO4zc5Yt02t2+o=" + }, + "remote_patch_strip": 1 + } + } + }, + "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.10", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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_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": { + "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 + } + } + }, + "jsoncpp@1.9.5": { + "name": "jsoncpp", + "version": "1.9.5", + "key": "jsoncpp@1.9.5", + "repoName": "jsoncpp", + "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": { + "urls": [ + "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.5.tar.gz" + ], + "integrity": "sha256-9AmFblkgwY0ML7hSduJO5gfSoJtefV8KNxNokDwnXaI=", + "strip_prefix": "jsoncpp-1.9.5", + "remote_patches": { + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/patches/build_dot_bazel.patch": "sha256-Vj8diXSWps8I8h5cdEqBDYmKBA2ulvWxMZBEQlIgcpU=", + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/patches/module_dot_bazel.patch": "sha256-7RC7fS8N11vcyeDEaUZ05yBqr0YY7OzuzqaWz5W2XDo=" + }, + "remote_patch_strip": 1 + } + } + }, + "rules_java@7.4.0": { + "name": "rules_java", + "version": "7.4.0", + "key": "rules_java@7.4.0", + "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.4.0", + "location": { + "file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel", + "line": 19, + "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.10", + "rules_cc": "rules_cc@0.0.9", + "bazel_skylib": "bazel_skylib@1.7.1", + "rules_proto": "rules_proto@5.3.0-21.7", + "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": { + "urls": [ + "https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz" + ], + "integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "rules_jvm_external@5.1": { + "name": "rules_jvm_external", + "version": "5.1", + "key": "rules_jvm_external@5.1", + "repoName": "rules_jvm_external", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_jvm_external//:non-module-deps.bzl", + "extensionName": "non_module_deps", + "usingModule": "rules_jvm_external@5.1", + "location": { + "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel", + "line": 9, + "column": 32 + }, + "imports": { + "io_bazel_rules_kotlin": "io_bazel_rules_kotlin" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@rules_jvm_external//:extensions.bzl", + "extensionName": "maven", + "usingModule": "rules_jvm_external@5.1", + "location": { + "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel", + "line": 16, + "column": 22 + }, + "imports": { + "rules_jvm_external_deps": "rules_jvm_external_deps" + }, + "devImports": [], + "tags": [ + { + "tagName": "install", + "attributeValues": { + "name": "rules_jvm_external_deps", + "artifacts": [ + "com.google.auth:google-auth-library-credentials:0.22.0", + "com.google.auth:google-auth-library-oauth2-http:0.22.0", + "com.google.cloud:google-cloud-core:1.93.10", + "com.google.cloud:google-cloud-storage:1.113.4", + "com.google.code.gson:gson:2.9.0", + "com.google.googlejavaformat:google-java-format:1.15.0", + "com.google.guava:guava:31.1-jre", + "org.apache.maven:maven-artifact:3.8.6", + "software.amazon.awssdk:s3:2.17.183" + ], + "lock_file": "@rules_jvm_external//:rules_jvm_external_deps_install.json" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel", + "line": 18, + "column": 14 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_skylib": "bazel_skylib@1.7.1", + "io_bazel_stardoc": "stardoc@0.5.3", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_jvm_external/releases/download/5.1/rules_jvm_external-5.1.tar.gz" + ], + "integrity": "sha256-jDsgdyLl+X8cgzEVgqbBHfmSJuZeJHEIbillYeV8yVQ=", + "strip_prefix": "rules_jvm_external-5.1", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "rules_pkg@0.7.0": { + "name": "rules_pkg", + "version": "0.7.0", + "key": "rules_pkg@0.7.0", + "repoName": "rules_pkg", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_python": "rules_python@0.25.0", + "bazel_skylib": "bazel_skylib@1.7.1", + "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": { + "urls": [ + "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" + ], + "integrity": "sha256-iimOgydi7aGDBZfWT+fbWBeKqEzVkm121bdE1lWJQcI=", + "strip_prefix": "", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/patches/module_dot_bazel.patch": "sha256-4OaEPZwYF6iC71ZTDg6MJ7LLqX7ZA0/kK4mT+4xKqiE=" + }, + "remote_patch_strip": 0 + } + } + }, + "rules_python@0.25.0": { + "name": "rules_python", + "version": "0.25.0", + "key": "rules_python@0.25.0", + "repoName": "rules_python", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "@pythons_hub//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@rules_python//python/extensions/private:internal_deps.bzl", + "extensionName": "internal_deps", + "usingModule": "rules_python@0.25.0", + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", + "line": 14, + "column": 30 + }, + "imports": { + "pypi__build": "pypi__build", + "pypi__click": "pypi__click", + "pypi__colorama": "pypi__colorama", + "pypi__importlib_metadata": "pypi__importlib_metadata", + "pypi__installer": "pypi__installer", + "pypi__more_itertools": "pypi__more_itertools", + "pypi__packaging": "pypi__packaging", + "pypi__pep517": "pypi__pep517", + "pypi__pip": "pypi__pip", + "pypi__pip_tools": "pypi__pip_tools", + "pypi__setuptools": "pypi__setuptools", + "pypi__tomli": "pypi__tomli", + "pypi__wheel": "pypi__wheel", + "pypi__zipp": "pypi__zipp" + }, + "devImports": [], + "tags": [ + { + "tagName": "install", + "attributeValues": {}, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", + "line": 15, + "column": 22 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@rules_python//python/extensions:python.bzl", + "extensionName": "python", + "usingModule": "rules_python@0.25.0", + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", + "line": 38, + "column": 23 + }, + "imports": { + "pythons_hub": "pythons_hub" + }, + "devImports": [], + "tags": [ + { + "tagName": "toolchain", + "attributeValues": { + "is_default": true, + "python_version": "3.11" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", + "line": 44, + "column": 17 + } + } + ], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.7.1", + "rules_proto": "rules_proto@5.3.0-21.7", + "com_google_protobuf": "protobuf@26.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/rules_python/releases/download/0.25.0/rules_python-0.25.0.tar.gz" + ], + "integrity": "sha256-WGjnMQeo6F2PMjgG5gytcoPzSzIWPqb/ECDPJ6vvYDY=", + "strip_prefix": "rules_python-0.25.0", + "remote_patches": { + "https://bcr.bazel.build/modules/rules_python/0.25.0/patches/module_dot_bazel_version.patch": "sha256-6c8MrjTxYoqUpI8Y1QlmPps5p+N2RaZ5V+iXOrSHkwI=" + }, + "remote_patch_strip": 0 + } + } + }, + "pybind11_bazel@2.11.1": { + "name": "pybind11_bazel", + "version": "2.11.1", + "key": "pybind11_bazel@2.11.1", + "repoName": "pybind11_bazel", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.10", + "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": { + "urls": [ + "https://github.com/pybind/pybind11_bazel/releases/download/v2.11.1/pybind11_bazel-2.11.1.zip" + ], + "integrity": "sha256-LEZsmzzKeFK0fgeFADEomE/PDV1hoaLkxazu/ZNawiA=", + "strip_prefix": "pybind11_bazel-2.11.1", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "buildozer@6.4.0.2": { + "name": "buildozer", + "version": "6.4.0.2", + "key": "buildozer@6.4.0.2", + "repoName": "buildozer", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@buildozer//:buildozer_binary.bzl", + "extensionName": "buildozer_binary", + "usingModule": "buildozer@6.4.0.2", + "location": { + "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "line": 7, + "column": 33 + }, + "imports": { + "buildozer_binary": "buildozer_binary" + }, + "devImports": [], + "tags": [ + { + "tagName": "buildozer", + "attributeValues": { + "sha256": { + "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e", + "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d", + "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119", + "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa", + "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" + }, + "version": "6.4.0" + }, + "devDependency": false, + "location": { + "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "line": 8, + "column": 27 + } + } + ], + "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": { + "urls": [ + "https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz" + ], + "integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=", + "strip_prefix": "buildozer-6.4.0.2", + "remote_patches": { + "https://bcr.bazel.build/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU=" + }, + "remote_patch_strip": 1 + } + } + }, + "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.7.1", + "platforms": "platforms@0.0.10", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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 + } + } + }, + "stardoc@0.5.3": { + "name": "stardoc", + "version": "0.5.3", + "key": "stardoc@0.5.3", + "repoName": "stardoc", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.7.1", + "rules_java": "rules_java@7.4.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + }, + "repoSpec": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz" + ], + "integrity": "sha256-P9j+xN3sPGcL2BCQTi4zFwvt/hL5Ct+UNQgYS+RYyLs=", + "strip_prefix": "", + "remote_patches": { + "https://bcr.bazel.build/modules/stardoc/0.5.3/patches/module_dot_bazel.patch": "sha256-Lgpy9OCr0zBWYuHoyM1rJJrgxn23X/bwgICEF7XiEug=" + }, + "remote_patch_strip": 0 + } + } + } + }, + "moduleExtensions": { + "//bazel:extensions.bzl%non_module_dependencies": { + "general": { + "bzlTransitiveDigest": "ar0M3iOZB7MQ+lIfGcMQeeKy5lkq3r5B1XBeIdny/KE=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "hwloc": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:hwloc.BUILD", + "sha256": "1f6d0f3edddd0070717f9f17e3a090a26d203e026c192144aa5f587725cf11e3", + "strip_prefix": "hwloc-hwloc-2.9.3", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/hwloc-2.9.3.tar.gz" + } + }, + "rapidjson": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:rapidjson.BUILD", + "sha256": "d085ef6d175d9b20800958c695c7767d65f9c1985a73d172150e57e84f6cd61c", + "strip_prefix": "rapidjson-14a5dd756e9bef26f9b53d3b4eb1b73c6a1794d5", + "url": "https://github.com/redpanda-data/rapidjson/archive/14a5dd756e9bef26f9b53d3b4eb1b73c6a1794d5.tar.gz" + } + }, + "libpciaccess": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:libpciaccess.BUILD", + "sha256": "9938b18509553452c6e13f79e16cbaffec9ea67119aa2de5d75e83c4f67ff400", + "strip_prefix": "libpciaccess-libpciaccess-0.16", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/libpciaccess-0.16.tar.bz2" + } + }, + "numactl": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:numactl.BUILD", + "sha256": "1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035", + "strip_prefix": "numactl-2.0.14", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/numactl-v2.0.14.tar.gz" + } + }, + "xz": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:xz.BUILD", + "sha256": "0d2b89629f13dd1a0602810529327195eff5f62a0142ccd65b903bc16a4ac78a", + "strip_prefix": "xz-5.2.5", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/xz-v5.2.5.tar.gz" + } + }, + "gnutls": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:gnutls.BUILD", + "sha256": "f74fc5954b27d4ec6dfbb11dea987888b5b124289a3703afcada0ee520f4173e", + "strip_prefix": "gnutls-3.8.3", + "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/gnutls-3.8.3.tar.xz" + } + }, + "hdrhistogram": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:hdrhistogram.BUILD", + "sha256": "f81a192b62ae25bcebe63c9f3c74f371d04f88a74c1867532ec8a0012a9e482c", + "strip_prefix": "HdrHistogram_c-0.11.5", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/HdrHistogram_c-0.11.5.tar.gz" + } + }, + "base64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:base64.BUILD", + "sha256": "b21be58a90d31302ba86056db7ef77a481393b9359c505be5337d7d54e8a0559", + "strip_prefix": "base64-0.5.0", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/base64-v0.5.0.tar.gz" + } + }, + "krb5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:krb5.BUILD", + "sha256": "ec3861c3bec29aa8da9281953c680edfdab1754d1b1db8761c1d824e4b25496a", + "strip_prefix": "krb5-krb5-1.20.1-final", + "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/krb5-krb5-1.20.1-final.tar.gz" + } + }, + "roaring": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:roaring.BUILD", + "sha256": "78487658b774f27546e79de2ddd37fca56679b23f256425d2c86aabf7d1b8066", + "strip_prefix": "CRoaring-c433d1c70c10fb2e40f049e019e2abbcafa6e69d", + "url": "https://github.com/redpanda-data/CRoaring/archive/c433d1c70c10fb2e40f049e019e2abbcafa6e69d.tar.gz" + } + }, + "nettle": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:nettle.BUILD", + "sha256": "ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3", + "strip_prefix": "nettle-3.9.1", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/nettle-3.9.1.tar.gz", + "patches": [ + "@@//bazel/thirdparty:nettle.patch" + ], + "patch_args": [ + "-p1" + ] + } + }, + "snappy": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:snappy.BUILD", + "sha256": "774c337a545d6b818163c12455627ba61ed8d2daa9a9236b3aa88c64f081560e", + "strip_prefix": "snappy-ca541bd6c80d97cf93d1a33e613521947701ea53", + "url": "https://github.com/redpanda-data/snappy/archive/ca541bd6c80d97cf93d1a33e613521947701ea53.tar.gz" + } + }, + "wasmtime": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:wasmtime.BUILD", + "sha256": "a7f989b170d109696b928b4b3d1ec1d930064af7df47178e1341bd96e5c34465", + "strip_prefix": "wasmtime-9e1084ffac08b1bf9c82de40c0efc1baff14b9ad", + "url": "https://github.com/bytecodealliance/wasmtime/archive/9e1084ffac08b1bf9c82de40c0efc1baff14b9ad.tar.gz" + } + }, + "gmp": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:gmp.BUILD", + "sha256": "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2", + "strip_prefix": "gmp-6.2.1", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/gmp-6.2.1.tar.xz" + } + }, + "libxml2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:libxml2.BUILD", + "sha256": "ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45", + "strip_prefix": "libxml2-2.10.4", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/libxml2-2.10.4.tar.xz" + } + }, + "lksctp": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:lksctp.BUILD", + "sha256": "0c8fac0a5c66eea339dce6be857101b308ce1064c838b81125b0dde3901e8032", + "strip_prefix": "lksctp-tools-lksctp-tools-1.0.19", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/lksctp-tools-1.0.19.tar.gz" + } + }, + "unordered_dense": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:unordered_dense.BUILD", + "sha256": "98c9d02ff8761d50a2cb6ebd53f78f7d311f6980aef509efdcdaa5f3868ca06c", + "strip_prefix": "unordered_dense-9338f301522a965309ecec58ce61f54a52fb5c22", + "url": "https://github.com/redpanda-data/unordered_dense/archive/9338f301522a965309ecec58ce61f54a52fb5c22.tar.gz" + } + }, + "seastar": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:seastar.BUILD", + "sha256": "166ac9f38ac5f7e900d8f9c892afaaa7c8d9909b0dd4b6315bcb335f50ddf728", + "strip_prefix": "seastar-16a722bc0a8792daa20c165dabc07e4b1e5dff26", + "url": "https://github.com/redpanda-data/seastar/archive/16a722bc0a8792daa20c165dabc07e4b1e5dff26.tar.gz" + } + }, + "cryptopp": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:cryptopp.BUILD", + "sha256": "11a6dbc749c27687ddf13195950589596f51361210a1f67e3c383cc4961f3e61", + "strip_prefix": "cryptopp-CRYPTOPP_8_7_0", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/CRYPTOPP_8_7_0.tar.xz" + } + }, + "openssl": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:openssl.BUILD", + "sha256": "eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90", + "strip_prefix": "openssl-3.0.9", + "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/openssl-3.0.9.tar.gz" + } + }, + "c-ares": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:c-ares.BUILD", + "sha256": "321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e", + "strip_prefix": "c-ares-1.19.1", + "url": "https://vectorized-public.s3.amazonaws.com/dependencies/c-ares-1.19.1.tar.gz" + } + }, + "ada": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:ada.BUILD", + "sha256": "8e222d536d237269488f7d454544eedf12847f47b3d42651e8c9963c3fb0cf5e", + "strip_prefix": "ada-2.7.3", + "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/ada-2.7.3.tar.gz" + } + }, + "avro": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:avro.BUILD", + "sha256": "d4043000885812223c7a8a444781f9ded46aca4dc6216d86bbde18fd94c1562a", + "strip_prefix": "avro-836cb1004090435a985becda1daa619c407e1376", + "url": "https://github.com/redpanda-data/avro/archive/836cb1004090435a985becda1daa619c407e1376.tar.gz" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": { + "general": { + "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_apple_cc": { + "bzlFile": "@@apple_support~//crosstool:setup.bzl", + "ruleClassName": "_apple_cc_autoconf", + "attributes": {} + }, + "local_config_apple_cc_toolchains": { + "bzlFile": "@@apple_support~//crosstool:setup.bzl", + "ruleClassName": "_apple_cc_autoconf_toolchains", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [ + [ + "apple_support~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": { + "general": { + "bzlTransitiveDigest": "ZggrqnDIPRFCqT9XaCYOxLiJx1XuMtOZNG1jvKYZ5lA=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "android_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "2b661a761a735b41c41b3a78089f4fc1982626c76ddb944604ae3ff8c545d3c2", + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.30.0.tar" + } + }, + "android_gmaven_r8": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_jar", + "attributes": { + "sha256": "57a696749695a09381a87bc2f08c3a8ed06a717a5caa3ef878a3077e0d3af19d", + "url": "https://maven.google.com/com/android/tools/r8/8.1.56/r8-8.1.56.jar" + } + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { + "general": { + "bzlTransitiveDigest": "PHpT2yqMGms2U4L3E/aZ+WcQalmZWm+ILdP3yiLsDhA=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_cc": { + "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", + "ruleClassName": "cc_autoconf", + "attributes": {} + }, + "local_config_cc_toolchains": { + "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", + "ruleClassName": "cc_autoconf_toolchains", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [ + [ + "bazel_tools", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { + "general": { + "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_xcode": { + "bzlFile": "@@bazel_tools//tools/osx:xcode_configure.bzl", + "ruleClassName": "xcode_autoconf", + "attributes": { + "xcode_locator": "@bazel_tools//tools/osx:xcode_locator.m", + "remote_xcode": "" + } + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { + "general": { + "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_sh": { + "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", + "ruleClassName": "sh_config", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@bazel_tools//tools/test:extensions.bzl%remote_coverage_tools_extension": { + "general": { + "bzlTransitiveDigest": "7n9r2sWPYvn/OzUdHUoiJN/1hgIqWKOFCEQFVwHZGU0=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "remote_coverage_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af", + "urls": [ + "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip" + ] + } + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@buildozer~//:buildozer_binary.bzl%buildozer_binary": { + "general": { + "bzlTransitiveDigest": "EleDU/FQ1+e/RgkW3aIDmdaxZEthvoWQhsqFTxiSgMI=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "buildozer_binary": { + "bzlFile": "@@buildozer~//private:buildozer_binary.bzl", + "ruleClassName": "_buildozer_binary_repo", + "attributes": { + "sha256": { + "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e", + "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d", + "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119", + "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa", + "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" + }, + "version": "6.4.0" + } + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@hedron_compile_commands~//:workspace_setup.bzl%hedron_compile_commands_extension": { + "general": { + "bzlTransitiveDigest": "yoEt+Bvr4Bfwups/fc3ckiVxVABBD5dzrnkQHYNDwwM=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": {}, + "recordedRepoMappingEntries": [ + [ + "hedron_compile_commands~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@hedron_compile_commands~//:workspace_setup_transitive.bzl%hedron_compile_commands_extension": { + "general": { + "bzlTransitiveDigest": "IfDf0vEa2jjQ11RNpUM0u4xftPXIs+pyM8IMVkRqVMk=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": {}, + "recordedRepoMappingEntries": [] + } + }, + "@@hedron_compile_commands~//:workspace_setup_transitive_transitive.bzl%hedron_compile_commands_extension": { + "general": { + "bzlTransitiveDigest": "1p58k3o2Jgjt/pBE7cb8WmmkplrSguIKma/h32x7X10=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": {}, + "recordedRepoMappingEntries": [] + } + }, + "@@hedron_compile_commands~//:workspace_setup_transitive_transitive_transitive.bzl%hedron_compile_commands_extension": { + "general": { + "bzlTransitiveDigest": "arNWX4EleUjJxqkM5nCRTj+ce05Zz1gSdGH1DCKOoLs=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": {}, + "recordedRepoMappingEntries": [] + } + }, + "@@platforms//host:extension.bzl%host_platform": { + "general": { + "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "host_platform": { + "bzlFile": "@@platforms//host:extension.bzl", + "ruleClassName": "host_platform_repo", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [] + } + }, + "@@pybind11_bazel~//:python_configure.bzl%extension": { + "general": { + "bzlTransitiveDigest": "q6ddxeMz4Hd0Rn0A9MAq1+IXVX3cn08AcezivCF9Rp0=", + "recordedFileInputs": { + "@@pybind11_bazel~//MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e" + }, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_python": { + "bzlFile": "@@pybind11_bazel~//:python_configure.bzl", + "ruleClassName": "python_configure", + "attributes": {} + }, + "pybind11": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@pybind11_bazel~//:pybind11.BUILD", + "strip_prefix": "pybind11-2.11.1", + "urls": [ + "https://github.com/pybind/pybind11/archive/v2.11.1.zip" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "pybind11_bazel~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_boost~//:boost/repositories.bzl%non_module_dependencies": { + "general": { + "bzlTransitiveDigest": "cSwnvOlH12FNrfJ/fpcGNzF2ovSDU/s8eozweTd0WC0=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "zlib": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@rules_boost~//:zlib.BUILD", + "url": "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz", + "sha256": "ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e", + "strip_prefix": "zlib-1.3" + } + }, + "boost": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@rules_boost~//:boost.BUILD", + "patch_cmds": [ + "rm -f doc/pdf/BUILD" + ], + "patch_cmds_win": [ + "Remove-Item -Force doc/pdf/BUILD" + ], + "url": "https://github.com/boostorg/boost/releases/download/boost-1.84.0/boost-1.84.0.tar.gz", + "sha256": "4d27e9efed0f6f152dc28db6430b9d3dfb40c0345da7342eaa5a987dde57bd95", + "strip_prefix": "boost-1.84.0" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_boost~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_boost~", + "com_github_nelhage_rules_boost", + "rules_boost~" + ] + ] + } + }, + "@@rules_foreign_cc~//foreign_cc:extensions.bzl%tools": { + "general": { + "bzlTransitiveDigest": "2l17wMiQVlXlDgBIWDXCg9gmsR98F1JQiHf5BVcc8fk=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "cmake-3.23.2-linux-aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-aarch64.tar.gz" + ], + "sha256": "f2654bf780b53f170bbbec44d8ac67d401d24788e590faa53036a89476efa91e", + "strip_prefix": "cmake-3.23.2-linux-aarch64", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n)\n" + } + }, + "rules_foreign_cc_framework_toolchain_macos": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:macos_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:macos" + ] + } + }, + "gnumake_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "581f4d4e872da74b3941c874215898a7d35802f03732bdccee1d4a7979105d18", + "strip_prefix": "make-4.4", + "urls": [ + "https://mirror.bazel.build/ftpmirror.gnu.org/gnu/make/make-4.4.tar.gz", + "http://ftpmirror.gnu.org/gnu/make/make-4.4.tar.gz" + ] + } + }, + "gettext_runtime": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\ncc_import(\n name = \"gettext_runtime\",\n shared_library = \"bin/libintl-8.dll\",\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "1f4269c0e021076d60a54e98da6f978a3195013f6de21674ba0edbc339c5b079", + "urls": [ + "https://download.gnome.org/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip" + ] + } + }, + "cmake_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "f316b40053466f9a416adf981efda41b160ca859e97f6a484b447ea299ff26aa", + "strip_prefix": "cmake-3.23.2", + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2.tar.gz" + ] + } + }, + "bazel_skylib": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz" + ], + "sha256": "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728" + } + }, + "cmake-3.23.2-macos-universal": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-macos-universal.tar.gz" + ], + "sha256": "853a0f9af148c5ef47282ffffee06c4c9f257be2635936755f39ca13c3286c88", + "strip_prefix": "cmake-3.23.2-macos-universal/CMake.app/Contents", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n)\n" + } + }, + "meson_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "exports_files([\"meson.py\"])\n\nfilegroup(\n name = \"runtime\",\n srcs = glob([\"mesonbuild/**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "strip_prefix": "meson-1.1.1", + "url": "https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz" + } + }, + "rules_foreign_cc_framework_toolchain_freebsd": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:freebsd_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:freebsd" + ] + } + }, + "rules_foreign_cc_framework_toolchain_linux": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:linux_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:linux" + ] + } + }, + "rules_python": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "84aec9e21cc56fbc7f1335035a71c850d1b9b5cc6ff497306f84cced9a769841", + "strip_prefix": "rules_python-0.23.1", + "url": "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.23.1.tar.gz" + } + }, + "pkgconfig_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591", + "strip_prefix": "pkg-config-0.29.2", + "patches": [ + "@@rules_foreign_cc~//toolchains:pkgconfig-detectenv.patch", + "@@rules_foreign_cc~//toolchains:pkgconfig-makefile-vc.patch" + ], + "urls": [ + "https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz" + ] + } + }, + "ninja_build_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "filegroup(\n name = \"all_srcs\",\n srcs = glob([\"**\"]),\n visibility = [\"//visibility:public\"],\n)\n", + "sha256": "31747ae633213f1eda3842686f83c2aa1412e0f5691d1c14dbbcc67fe7400cea", + "strip_prefix": "ninja-1.11.1", + "urls": [ + "https://github.com/ninja-build/ninja/archive/v1.11.1.tar.gz" + ] + } + }, + "ninja_1.11.1_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-linux.zip" + ], + "sha256": "b901ba96e486dce377f9a070ed4ef3f79deb45f4ffe2938f8e7ddc69cfb3df77", + "strip_prefix": "", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" + } + }, + "glib_src": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\ncc_import(\n name = \"msvc_hdr\",\n hdrs = [\"msvc_recommended_pragmas.h\"],\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "bc96f63112823b7d6c9f06572d2ad626ddac7eb452c04d762592197f6e07898e", + "strip_prefix": "glib-2.26.1", + "urls": [ + "https://download.gnome.org/sources/glib/2.26/glib-2.26.1.tar.gz" + ] + } + }, + "cmake-3.23.2-windows-x86_64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-x86_64.zip" + ], + "sha256": "2329387f3166b84c25091c86389fb891193967740c9bcf01e7f6d3306f7ffda0", + "strip_prefix": "cmake-3.23.2-windows-x86_64", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake.exe\",\n target = \":cmake_data\",\n)\n" + } + }, + "glib_runtime": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nexports_files(\n [\n \"bin/libgio-2.0-0.dll\",\n \"bin/libglib-2.0-0.dll\",\n \"bin/libgmodule-2.0-0.dll\",\n \"bin/libgobject-2.0-0.dll\",\n \"bin/libgthread-2.0-0.dll\",\n ],\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "88d857087e86f16a9be651ee7021880b3f7ba050d34a1ed9f06113b8799cb973", + "urls": [ + "https://download.gnome.org/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip" + ] + } + }, + "rules_foreign_cc_framework_toolchains": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository_hub", + "attributes": {} + }, + "glib_dev": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file_content": "\nload(\"@rules_cc//cc:defs.bzl\", \"cc_library\")\n\ncc_import(\n name = \"glib_dev\",\n hdrs = glob([\"include/**\"]),\n shared_library = \"@glib_runtime//:bin/libglib-2.0-0.dll\",\n visibility = [\"//visibility:public\"],\n)\n ", + "sha256": "bdf18506df304d38be98a4b3f18055b8b8cca81beabecad0eece6ce95319c369", + "urls": [ + "https://download.gnome.org/binaries/win64/glib/2.26/glib-dev_2.26.1-1_win64.zip" + ] + } + }, + "ninja_1.11.1_mac": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-mac.zip" + ], + "sha256": "482ecb23c59ae3d4f158029112de172dd96bb0e97549c4b1ca32d8fad11f873e", + "strip_prefix": "", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" + } + }, + "cmake_3.23.2_toolchains": { + "bzlFile": "@@rules_foreign_cc~//toolchains:prebuilt_toolchains_repository.bzl", + "ruleClassName": "prebuilt_toolchains_repository", + "attributes": { + "repos": { + "cmake-3.23.2-linux-aarch64": [ + "@platforms//cpu:aarch64", + "@platforms//os:linux" + ], + "cmake-3.23.2-linux-x86_64": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "cmake-3.23.2-macos-universal": [ + "@platforms//os:macos" + ], + "cmake-3.23.2-windows-i386": [ + "@platforms//cpu:x86_32", + "@platforms//os:windows" + ], + "cmake-3.23.2-windows-x86_64": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ] + }, + "tool": "cmake" + } + }, + "ninja_1.11.1_toolchains": { + "bzlFile": "@@rules_foreign_cc~//toolchains:prebuilt_toolchains_repository.bzl", + "ruleClassName": "prebuilt_toolchains_repository", + "attributes": { + "repos": { + "ninja_1.11.1_linux": [ + "@platforms//cpu:x86_64", + "@platforms//os:linux" + ], + "ninja_1.11.1_mac": [ + "@platforms//cpu:x86_64", + "@platforms//os:macos" + ], + "ninja_1.11.1_win": [ + "@platforms//cpu:x86_64", + "@platforms//os:windows" + ] + }, + "tool": "ninja" + } + }, + "ninja_1.11.1_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip" + ], + "sha256": "524b344a1a9a55005eaf868d991e090ab8ce07fa109f1820d40e74642e289abc", + "strip_prefix": "", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"ninja_bin\",\n srcs = [\"ninja.exe\"],\n)\n\nnative_tool_toolchain(\n name = \"ninja_tool\",\n env = {\"NINJA\": \"$(execpath :ninja_bin)\"},\n path = \"$(execpath :ninja_bin)\",\n target = \":ninja_bin\",\n)\n" + } + }, + "cmake-3.23.2-windows-i386": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-windows-i386.zip" + ], + "sha256": "6a4fcd6a2315b93cb23c93507efccacc30c449c2bf98f14d6032bb226c582e07", + "strip_prefix": "cmake-3.23.2-windows-i386", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake.exe\",\n target = \":cmake_data\",\n)\n" + } + }, + "cmake-3.23.2-linux-x86_64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "urls": [ + "https://github.com/Kitware/CMake/releases/download/v3.23.2/cmake-3.23.2-linux-x86_64.tar.gz" + ], + "sha256": "aaced6f745b86ce853661a595bdac6c5314a60f8181b6912a0a4920acfa32708", + "strip_prefix": "cmake-3.23.2-linux-x86_64", + "build_file_content": "load(\"@rules_foreign_cc//toolchains/native_tools:native_tools_toolchain.bzl\", \"native_tool_toolchain\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nfilegroup(\n name = \"cmake_data\",\n srcs = glob(\n [\n \"**\",\n ],\n exclude = [\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n \"BUILD\",\n \"BUILD.bazel\",\n ],\n ),\n)\n\nnative_tool_toolchain(\n name = \"cmake_tool\",\n path = \"bin/cmake\",\n target = \":cmake_data\",\n)\n" + } + }, + "rules_foreign_cc_framework_toolchain_windows": { + "bzlFile": "@@rules_foreign_cc~//foreign_cc/private/framework:toolchain.bzl", + "ruleClassName": "framework_toolchain_repository", + "attributes": { + "commands_src": "@rules_foreign_cc//foreign_cc/private/framework/toolchains:windows_commands.bzl", + "exec_compatible_with": [ + "@platforms//os:windows" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_foreign_cc~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_foreign_cc~", + "rules_foreign_cc", + "rules_foreign_cc~" + ] + ] + } + }, + "@@rules_java~//java:extensions.bzl%toolchains": { + "general": { + "bzlTransitiveDigest": "0N5b5J9fUzo0sgvH4F3kIEaeXunz4Wy2/UtSFV/eXUY=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "remotejdk21_linux_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": "e8260516de8b60661422a725f1df2c36ef888f6fb35393566b00e7325db3d04e", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-macosx_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_aarch64.tar.gz" + ] + } + }, + "remotejdk17_linux_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": "314b04568ec0ae9b36ba03c9cbd42adc9e1265f74678923b19297d66eb84dcca", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz" + ] + } + }, + "remote_java_tools_windows": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "fe2f88169696d6c6fc6e90ba61bb46be7d0ae3693cbafdf336041bf56679e8d1", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_windows-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_windows-v13.4.zip" + ] + } + }, + "remotejdk11_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": { + "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": "b9482f2304a1a68a614dfacddcf29569a72f0fac32e6c74f83dc1b9a157b8340", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz" + ] + } + }, + "remotejdk11_linux_s390x_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": { + "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": { + "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": "640453e8afe8ffe0fb4dceb4535fb50db9c283c64665eebb0ba68b19e65f4b1f", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz" + ] + } + }, + "remotejdk21_macos": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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": "3ad8fe288eb57d975c2786ae453a036aa46e47ab2ac3d81538ebae2a54d3c025", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-macosx_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_x64.tar.gz" + ] + } + }, + "remotejdk21_macos_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": "192f2afca57701de6ec496234f7e45d971bf623ff66b8ee4a5c81582054e5637", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip" + ] + } + }, + "remotejdk11_macos_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": "5ad730fbee6bb49bfff10bf39e84392e728d89103d3474a7e5def0fd134b300a", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-linux_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz" + ] + } + }, + "remote_java_tools_linux": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "ba10f09a138cf185d04cbc807d67a3da42ab13d618c5d1ce20d776e199c33a39", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_linux-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_linux-v13.4.zip" + ] + } + }, + "remotejdk21_win": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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": "f7cc15ca17295e69c907402dfe8db240db446e75d3b150da7bf67243cded93de", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-win_x64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip" + ] + } + }, + "remotejdk21_linux_aarch64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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": "ce7df1af5d44a9f455617c4b8891443fbe3e4b269c777d8b82ed66f77167cfe0", + "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-linux_aarch64", + "urls": [ + "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz", + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz" + ] + } + }, + "remotejdk11_linux_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": { + "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": "6531cef61e416d5a7b691555c8cf2bdff689201b8a001ff45ab6740062b44313", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz" + ] + } + }, + "remotejdk17_win_arm64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": "6802c99eae0d788e21f52d03cab2e2b3bf42bc334ca03cbf19f71eb70ee19f85", + "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_aarch64", + "urls": [ + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip" + ] + } + }, + "remote_java_tools_darwin_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "076a7e198ad077f8c7d997986ef5102427fae6bbfce7a7852d2e080ed8767528", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_darwin_arm64-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_darwin_arm64-v13.4.zip" + ] + } + }, + "remotejdk17_linux_ppc64le": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd", + "strip_prefix": "jdk-17.0.8.1+1", + "urls": [ + "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", + "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz" + ] + } + }, + "remotejdk21_linux_aarch64_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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~//toolchains:local_java_repository.bzl", + "ruleClassName": "_local_java_repository_rule", + "attributes": { + "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": { + "sha256": "4523aec4d09c587091a2dae6f5c9bc6922c220f3b6030e5aba9c8f015913cc65", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_darwin_x86_64-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_darwin_x86_64-v13.4.zip" + ] + } + }, + "remote_java_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "e025fd260ac39b47c111f5212d64ec0d00d85dec16e49368aae82fc626a940cf", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools-v13.4.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools-v13.4.zip" + ] + } + }, + "remotejdk17_linux_s390x": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "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": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37", + "strip_prefix": "jdk-17.0.8.1+1", + "urls": [ + "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", + "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz" + ] + } + }, + "remotejdk17_win_toolchain_config_repo": { + "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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": { + "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": { + "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~//toolchains:remote_java_repository.bzl", + "ruleClassName": "_toolchain_config", + "attributes": { + "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" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_java~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_java~", + "remote_java_tools", + "rules_java~~toolchains~remote_java_tools" + ] + ] + } + }, + "@@rules_jvm_external~//:extensions.bzl%maven": { + "general": { + "bzlTransitiveDigest": "WNKshRSp0N5LCNl8XZRtv3nN8jUtdgCFIffh5r4+RZI=", + "recordedFileInputs": { + "@@rules_jvm_external~//rules_jvm_external_deps_install.json": "3ab1f67b0de4815df110bc72ccd6c77882b3b21d3d1e0a84445847b6ce3235a3" + }, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "org_slf4j_slf4j_api_1_7_30": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "cdba07964d1bb40a0761485c6b1e8c2f8fd9eb1d19c53928ac0d7f9510105c57", + "urls": [ + "https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar", + "https://maven.google.com/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" + ], + "downloaded_file_path": "org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" + } + }, + "com_google_api_grpc_proto_google_common_protos_2_0_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "5ce71656118618731e34a5d4c61aa3a031be23446dc7de8b5a5e77b66ebcd6ef", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-common-protos/2.0.1/proto-google-common-protos-2.0.1.jar", + "https://maven.google.com/com/google/api/grpc/proto-google-common-protos/2.0.1/proto-google-common-protos-2.0.1.jar" + ], + "downloaded_file_path": "com/google/api/grpc/proto-google-common-protos/2.0.1/proto-google-common-protos-2.0.1.jar" + } + }, + "com_google_api_gax_1_60_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "02f37d4ff1a7b8d71dff8064cf9568aa4f4b61bcc4485085d16130f32afa5a79", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/gax/1.60.0/gax-1.60.0.jar", + "https://maven.google.com/com/google/api/gax/1.60.0/gax-1.60.0.jar" + ], + "downloaded_file_path": "com/google/api/gax/1.60.0/gax-1.60.0.jar" + } + }, + "com_google_guava_failureaccess_1_0_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26", + "urls": [ + "https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar", + "https://maven.google.com/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar" + ], + "downloaded_file_path": "com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar" + } + }, + "commons_logging_commons_logging_1_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "daddea1ea0be0f56978ab3006b8ac92834afeefbd9b7e4e6316fca57df0fa636", + "urls": [ + "https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar", + "https://maven.google.com/commons-logging/commons-logging/1.2/commons-logging-1.2.jar" + ], + "downloaded_file_path": "commons-logging/commons-logging/1.2/commons-logging-1.2.jar" + } + }, + "com_google_http_client_google_http_client_appengine_1_38_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "f97b495fd97ac3a3d59099eb2b55025f4948230da15a076f189b9cff37c6b4d2", + "urls": [ + "https://repo1.maven.org/maven2/com/google/http-client/google-http-client-appengine/1.38.0/google-http-client-appengine-1.38.0.jar", + "https://maven.google.com/com/google/http-client/google-http-client-appengine/1.38.0/google-http-client-appengine-1.38.0.jar" + ], + "downloaded_file_path": "com/google/http-client/google-http-client-appengine/1.38.0/google-http-client-appengine-1.38.0.jar" + } + }, + "com_google_cloud_google_cloud_storage_1_113_4": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "796833e9bdab80c40bbc820e65087eb8f28c6bfbca194d2e3e00d98cb5bc55d6", + "urls": [ + "https://repo1.maven.org/maven2/com/google/cloud/google-cloud-storage/1.113.4/google-cloud-storage-1.113.4.jar", + "https://maven.google.com/com/google/cloud/google-cloud-storage/1.113.4/google-cloud-storage-1.113.4.jar" + ], + "downloaded_file_path": "com/google/cloud/google-cloud-storage/1.113.4/google-cloud-storage-1.113.4.jar" + } + }, + "io_grpc_grpc_context_1_33_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "99b8aea2b614fe0e61c3676e681259dc43c2de7f64620998e1a8435eb2976496", + "urls": [ + "https://repo1.maven.org/maven2/io/grpc/grpc-context/1.33.1/grpc-context-1.33.1.jar", + "https://maven.google.com/io/grpc/grpc-context/1.33.1/grpc-context-1.33.1.jar" + ], + "downloaded_file_path": "io/grpc/grpc-context/1.33.1/grpc-context-1.33.1.jar" + } + }, + "com_google_api_grpc_proto_google_iam_v1_1_0_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "64cee7383a97e846da8d8e160e6c8fe30561e507260552c59e6ccfc81301fdc8", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-iam-v1/1.0.3/proto-google-iam-v1-1.0.3.jar", + "https://maven.google.com/com/google/api/grpc/proto-google-iam-v1/1.0.3/proto-google-iam-v1-1.0.3.jar" + ], + "downloaded_file_path": "com/google/api/grpc/proto-google-iam-v1/1.0.3/proto-google-iam-v1-1.0.3.jar" + } + }, + "com_google_api_api_common_1_10_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "2a033f24bb620383eda440ad307cb8077cfec1c7eadc684d65216123a1b9613a", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/api-common/1.10.1/api-common-1.10.1.jar", + "https://maven.google.com/com/google/api/api-common/1.10.1/api-common-1.10.1.jar" + ], + "downloaded_file_path": "com/google/api/api-common/1.10.1/api-common-1.10.1.jar" + } + }, + "com_google_auth_google_auth_library_oauth2_http_0_22_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "1722d895c42dc42ea1d1f392ddbec1fbb28f7a979022c3a6c29acc39cc777ad1", + "urls": [ + "https://repo1.maven.org/maven2/com/google/auth/google-auth-library-oauth2-http/0.22.0/google-auth-library-oauth2-http-0.22.0.jar", + "https://maven.google.com/com/google/auth/google-auth-library-oauth2-http/0.22.0/google-auth-library-oauth2-http-0.22.0.jar" + ], + "downloaded_file_path": "com/google/auth/google-auth-library-oauth2-http/0.22.0/google-auth-library-oauth2-http-0.22.0.jar" + } + }, + "com_typesafe_netty_netty_reactive_streams_2_0_5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "f949849fc8ee75fde468ba3a35df2e04577fa31a2940b83b2a7dc9d14dac13d6", + "urls": [ + "https://repo1.maven.org/maven2/com/typesafe/netty/netty-reactive-streams/2.0.5/netty-reactive-streams-2.0.5.jar", + "https://maven.google.com/com/typesafe/netty/netty-reactive-streams/2.0.5/netty-reactive-streams-2.0.5.jar" + ], + "downloaded_file_path": "com/typesafe/netty/netty-reactive-streams/2.0.5/netty-reactive-streams-2.0.5.jar" + } + }, + "com_typesafe_netty_netty_reactive_streams_http_2_0_5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "b39224751ad936758176e9d994230380ade5e9079e7c8ad778e3995779bcf303", + "urls": [ + "https://repo1.maven.org/maven2/com/typesafe/netty/netty-reactive-streams-http/2.0.5/netty-reactive-streams-http-2.0.5.jar", + "https://maven.google.com/com/typesafe/netty/netty-reactive-streams-http/2.0.5/netty-reactive-streams-http-2.0.5.jar" + ], + "downloaded_file_path": "com/typesafe/netty/netty-reactive-streams-http/2.0.5/netty-reactive-streams-http-2.0.5.jar" + } + }, + "javax_annotation_javax_annotation_api_1_3_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e04ba5195bcd555dc95650f7cc614d151e4bcd52d29a10b8aa2197f3ab89ab9b", + "urls": [ + "https://repo1.maven.org/maven2/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar", + "https://maven.google.com/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar" + ], + "downloaded_file_path": "javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar" + } + }, + "com_google_j2objc_j2objc_annotations_1_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "21af30c92267bd6122c0e0b4d20cccb6641a37eaf956c6540ec471d584e64a7b", + "urls": [ + "https://repo1.maven.org/maven2/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar", + "https://maven.google.com/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar" + ], + "downloaded_file_path": "com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar" + } + }, + "software_amazon_awssdk_metrics_spi_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "08a11dc8c4ba464beafbcc7ac05b8c724c1ccb93da99482e82a68540ac704e4a", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/metrics-spi/2.17.183/metrics-spi-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/metrics-spi/2.17.183/metrics-spi-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/metrics-spi/2.17.183/metrics-spi-2.17.183.jar" + } + }, + "org_reactivestreams_reactive_streams_1_0_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "1dee0481072d19c929b623e155e14d2f6085dc011529a0a0dbefc84cf571d865", + "urls": [ + "https://repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar", + "https://maven.google.com/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar" + ], + "downloaded_file_path": "org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar" + } + }, + "com_google_http_client_google_http_client_jackson2_1_38_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e6504a82425fcc2168a4ca4175138ddcc085168daed8cdedb86d8f6fdc296e1e", + "urls": [ + "https://repo1.maven.org/maven2/com/google/http-client/google-http-client-jackson2/1.38.0/google-http-client-jackson2-1.38.0.jar", + "https://maven.google.com/com/google/http-client/google-http-client-jackson2/1.38.0/google-http-client-jackson2-1.38.0.jar" + ], + "downloaded_file_path": "com/google/http-client/google-http-client-jackson2/1.38.0/google-http-client-jackson2-1.38.0.jar" + } + }, + "io_netty_netty_transport_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "c5fb68e9a65b6e8a516adfcb9fa323479ee7b4d9449d8a529d2ecab3d3711d5a", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-transport/4.1.72.Final/netty-transport-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-transport/4.1.72.Final/netty-transport-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-transport/4.1.72.Final/netty-transport-4.1.72.Final.jar" + } + }, + "io_netty_netty_codec_http2_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "c89a70500f59e8563e720aaa808263a514bd9e2bd91ba84eab8c2ccb45f234b2", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-codec-http2/4.1.72.Final/netty-codec-http2-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-codec-http2/4.1.72.Final/netty-codec-http2-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-codec-http2/4.1.72.Final/netty-codec-http2-4.1.72.Final.jar" + } + }, + "io_opencensus_opencensus_api_0_24_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "f561b1cc2673844288e596ddf5bb6596868a8472fd2cb8993953fc5c034b2352", + "urls": [ + "https://repo1.maven.org/maven2/io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar", + "https://maven.google.com/io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar" + ], + "downloaded_file_path": "io/opencensus/opencensus-api/0.24.0/opencensus-api-0.24.0.jar" + } + }, + "rules_jvm_external_deps": { + "bzlFile": "@@rules_jvm_external~//:coursier.bzl", + "ruleClassName": "pinned_coursier_fetch", + "attributes": { + "repositories": [ + "{ \"repo_url\": \"https://repo1.maven.org/maven2\" }" + ], + "artifacts": [ + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-credentials\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-oauth2-http\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-core\", \"version\": \"1.93.10\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-storage\", \"version\": \"1.113.4\" }", + "{ \"group\": \"com.google.code.gson\", \"artifact\": \"gson\", \"version\": \"2.9.0\" }", + "{ \"group\": \"com.google.googlejavaformat\", \"artifact\": \"google-java-format\", \"version\": \"1.15.0\" }", + "{ \"group\": \"com.google.guava\", \"artifact\": \"guava\", \"version\": \"31.1-jre\" }", + "{ \"group\": \"org.apache.maven\", \"artifact\": \"maven-artifact\", \"version\": \"3.8.6\" }", + "{ \"group\": \"software.amazon.awssdk\", \"artifact\": \"s3\", \"version\": \"2.17.183\" }" + ], + "fetch_sources": true, + "fetch_javadoc": false, + "generate_compat_repositories": false, + "maven_install_json": "@@rules_jvm_external~//:rules_jvm_external_deps_install.json", + "override_targets": {}, + "strict_visibility": false, + "strict_visibility_value": [ + "@@//visibility:private" + ], + "jetify": false, + "jetify_include_list": [ + "*" + ], + "additional_netrc_lines": [], + "fail_if_repin_required": false, + "use_starlark_android_rules": false, + "aar_import_bzl_label": "@build_bazel_rules_android//android:rules.bzl", + "duplicate_version_warning": "warn" + } + }, + "org_threeten_threetenbp_1_5_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "dcf9c0f940739f2a825cd8626ff27113459a2f6eb18797c7152f93fff69c264f", + "urls": [ + "https://repo1.maven.org/maven2/org/threeten/threetenbp/1.5.0/threetenbp-1.5.0.jar", + "https://maven.google.com/org/threeten/threetenbp/1.5.0/threetenbp-1.5.0.jar" + ], + "downloaded_file_path": "org/threeten/threetenbp/1.5.0/threetenbp-1.5.0.jar" + } + }, + "software_amazon_awssdk_http_client_spi_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fe7120f175df9e47ebcc5d946d7f40110faf2ba0a30364f3b935d5b8a5a6c3c6", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/http-client-spi/2.17.183/http-client-spi-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/http-client-spi/2.17.183/http-client-spi-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/http-client-spi/2.17.183/http-client-spi-2.17.183.jar" + } + }, + "software_amazon_awssdk_third_party_jackson_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "1bc27c9960993c20e1ab058012dd1ae04c875eec9f0f08f2b2ca41e578dee9a4", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/third-party-jackson-core/2.17.183/third-party-jackson-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/third-party-jackson-core/2.17.183/third-party-jackson-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/third-party-jackson-core/2.17.183/third-party-jackson-core-2.17.183.jar" + } + }, + "software_amazon_eventstream_eventstream_1_0_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "0c37d8e696117f02c302191b8110b0d0eb20fa412fce34c3a269ec73c16ce822", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/eventstream/eventstream/1.0.1/eventstream-1.0.1.jar", + "https://maven.google.com/software/amazon/eventstream/eventstream/1.0.1/eventstream-1.0.1.jar" + ], + "downloaded_file_path": "software/amazon/eventstream/eventstream/1.0.1/eventstream-1.0.1.jar" + } + }, + "com_google_oauth_client_google_oauth_client_1_31_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4ed4e2948251dbda66ce251bd7f3b32cd8570055e5cdb165a3c7aea8f43da0ff", + "urls": [ + "https://repo1.maven.org/maven2/com/google/oauth-client/google-oauth-client/1.31.1/google-oauth-client-1.31.1.jar", + "https://maven.google.com/com/google/oauth-client/google-oauth-client/1.31.1/google-oauth-client-1.31.1.jar" + ], + "downloaded_file_path": "com/google/oauth-client/google-oauth-client/1.31.1/google-oauth-client-1.31.1.jar" + } + }, + "software_amazon_awssdk_aws_xml_protocol_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "566bba05d49256fa6994efd68fa625ae05a62ea45ee74bb9130d20ea20988363", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/aws-xml-protocol/2.17.183/aws-xml-protocol-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/aws-xml-protocol/2.17.183/aws-xml-protocol-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/aws-xml-protocol/2.17.183/aws-xml-protocol-2.17.183.jar" + } + }, + "software_amazon_awssdk_annotations_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "8e4d72361ca805a0bd8bbd9017cd7ff77c8d170f2dd469c7d52d5653330bb3fd", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/annotations/2.17.183/annotations-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/annotations/2.17.183/annotations-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/annotations/2.17.183/annotations-2.17.183.jar" + } + }, + "software_amazon_awssdk_netty_nio_client_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "a6d356f364c56d7b90006b0b7e503b8630010993a5587ce42e74b10b8dca2238", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/netty-nio-client/2.17.183/netty-nio-client-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/netty-nio-client/2.17.183/netty-nio-client-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/netty-nio-client/2.17.183/netty-nio-client-2.17.183.jar" + } + }, + "com_google_guava_guava_31_1_jre": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "a42edc9cab792e39fe39bb94f3fca655ed157ff87a8af78e1d6ba5b07c4a00ab", + "urls": [ + "https://repo1.maven.org/maven2/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar", + "https://maven.google.com/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar" + ], + "downloaded_file_path": "com/google/guava/guava/31.1-jre/guava-31.1-jre.jar" + } + }, + "com_google_auto_value_auto_value_annotations_1_7_4": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fedd59b0b4986c342f6ab2d182f2a4ee9fceb2c7e2d5bdc4dc764c92394a23d3", + "urls": [ + "https://repo1.maven.org/maven2/com/google/auto/value/auto-value-annotations/1.7.4/auto-value-annotations-1.7.4.jar", + "https://maven.google.com/com/google/auto/value/auto-value-annotations/1.7.4/auto-value-annotations-1.7.4.jar" + ], + "downloaded_file_path": "com/google/auto/value/auto-value-annotations/1.7.4/auto-value-annotations-1.7.4.jar" + } + }, + "io_netty_netty_transport_native_unix_common_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "6f8f1cc29b5a234eeee9439a63eb3f03a5994aa540ff555cb0b2c88cefaf6877", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-transport-native-unix-common/4.1.72.Final/netty-transport-native-unix-common-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-transport-native-unix-common/4.1.72.Final/netty-transport-native-unix-common-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-transport-native-unix-common/4.1.72.Final/netty-transport-native-unix-common-4.1.72.Final.jar" + } + }, + "io_opencensus_opencensus_contrib_http_util_0_24_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "7155273bbb1ed3d477ea33cf19d7bbc0b285ff395f43b29ae576722cf247000f", + "urls": [ + "https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar", + "https://maven.google.com/io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar" + ], + "downloaded_file_path": "io/opencensus/opencensus-contrib-http-util/0.24.0/opencensus-contrib-http-util-0.24.0.jar" + } + }, + "com_fasterxml_jackson_core_jackson_core_2_11_3": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "78cd0a6b936232e06dd3e38da8a0345348a09cd1ff9c4d844c6ee72c75cfc402", + "urls": [ + "https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar", + "https://maven.google.com/com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar" + ], + "downloaded_file_path": "com/fasterxml/jackson/core/jackson-core/2.11.3/jackson-core-2.11.3.jar" + } + }, + "com_google_cloud_google_cloud_core_1_93_10": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "832d74eca66f4601e162a8460d6f59f50d1d23f93c18b02654423b6b0d67c6ea", + "urls": [ + "https://repo1.maven.org/maven2/com/google/cloud/google-cloud-core/1.93.10/google-cloud-core-1.93.10.jar", + "https://maven.google.com/com/google/cloud/google-cloud-core/1.93.10/google-cloud-core-1.93.10.jar" + ], + "downloaded_file_path": "com/google/cloud/google-cloud-core/1.93.10/google-cloud-core-1.93.10.jar" + } + }, + "com_google_auth_google_auth_library_credentials_0_22_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "42c76031276de5b520909e9faf88c5b3c9a722d69ee9cfdafedb1c52c355dfc5", + "urls": [ + "https://repo1.maven.org/maven2/com/google/auth/google-auth-library-credentials/0.22.0/google-auth-library-credentials-0.22.0.jar", + "https://maven.google.com/com/google/auth/google-auth-library-credentials/0.22.0/google-auth-library-credentials-0.22.0.jar" + ], + "downloaded_file_path": "com/google/auth/google-auth-library-credentials/0.22.0/google-auth-library-credentials-0.22.0.jar" + } + }, + "software_amazon_awssdk_profiles_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "78833b32fde3f1c5320373b9ea955c1bbc28f2c904010791c4784e610193ee56", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/profiles/2.17.183/profiles-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/profiles/2.17.183/profiles-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/profiles/2.17.183/profiles-2.17.183.jar" + } + }, + "org_apache_httpcomponents_httpcore_4_4_13": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e06e89d40943245fcfa39ec537cdbfce3762aecde8f9c597780d2b00c2b43424", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar", + "https://maven.google.com/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar" + ], + "downloaded_file_path": "org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar" + } + }, + "io_netty_netty_common_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "8adb4c291260ceb2859a68c49f0adeed36bf49587608e2b81ecff6aaf06025e9", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-common/4.1.72.Final/netty-common-4.1.72.Final.jar" + } + }, + "io_netty_netty_transport_classes_epoll_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e1528a9751c1285aa7beaf3a1eb0597151716426ce38598ac9bc0891209b9e68", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-transport-classes-epoll/4.1.72.Final/netty-transport-classes-epoll-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-transport-classes-epoll/4.1.72.Final/netty-transport-classes-epoll-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-transport-classes-epoll/4.1.72.Final/netty-transport-classes-epoll-4.1.72.Final.jar" + } + }, + "org_checkerframework_checker_qual_3_12_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ff10785ac2a357ec5de9c293cb982a2cbb605c0309ea4cc1cb9b9bc6dbe7f3cb", + "urls": [ + "https://repo1.maven.org/maven2/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar", + "https://maven.google.com/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar" + ], + "downloaded_file_path": "org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar" + } + }, + "com_google_cloud_google_cloud_core_http_1_93_10": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "81ac67c14c7c4244d2b7db2607ad352416aca8d3bb2adf338964e8fea25b1b3c", + "urls": [ + "https://repo1.maven.org/maven2/com/google/cloud/google-cloud-core-http/1.93.10/google-cloud-core-http-1.93.10.jar", + "https://maven.google.com/com/google/cloud/google-cloud-core-http/1.93.10/google-cloud-core-http-1.93.10.jar" + ], + "downloaded_file_path": "com/google/cloud/google-cloud-core-http/1.93.10/google-cloud-core-http-1.93.10.jar" + } + }, + "software_amazon_awssdk_utils_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "7bd849bb5aa71bfdf6b849643736ecab3a7b3f204795804eefe5754104231ec6", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/utils/2.17.183/utils-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/utils/2.17.183/utils-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/utils/2.17.183/utils-2.17.183.jar" + } + }, + "org_apache_commons_commons_lang3_3_8_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "dac807f65b07698ff39b1b07bfef3d87ae3fd46d91bbf8a2bc02b2a831616f68", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar", + "https://maven.google.com/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar" + ], + "downloaded_file_path": "org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar" + } + }, + "software_amazon_awssdk_aws_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "bccbdbea689a665a702ff19828662d87fb7fe81529df13f02ef1e4c474ea9f93", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/aws-core/2.17.183/aws-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/aws-core/2.17.183/aws-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/aws-core/2.17.183/aws-core-2.17.183.jar" + } + }, + "com_google_api_gax_httpjson_0_77_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fd4dae47fa016d3b26e8d90b67ddc6c23c4c06e8bcdf085c70310ab7ef324bd6", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api/gax-httpjson/0.77.0/gax-httpjson-0.77.0.jar", + "https://maven.google.com/com/google/api/gax-httpjson/0.77.0/gax-httpjson-0.77.0.jar" + ], + "downloaded_file_path": "com/google/api/gax-httpjson/0.77.0/gax-httpjson-0.77.0.jar" + } + }, + "unpinned_rules_jvm_external_deps": { + "bzlFile": "@@rules_jvm_external~//:coursier.bzl", + "ruleClassName": "coursier_fetch", + "attributes": { + "repositories": [ + "{ \"repo_url\": \"https://repo1.maven.org/maven2\" }" + ], + "artifacts": [ + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-credentials\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.auth\", \"artifact\": \"google-auth-library-oauth2-http\", \"version\": \"0.22.0\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-core\", \"version\": \"1.93.10\" }", + "{ \"group\": \"com.google.cloud\", \"artifact\": \"google-cloud-storage\", \"version\": \"1.113.4\" }", + "{ \"group\": \"com.google.code.gson\", \"artifact\": \"gson\", \"version\": \"2.9.0\" }", + "{ \"group\": \"com.google.googlejavaformat\", \"artifact\": \"google-java-format\", \"version\": \"1.15.0\" }", + "{ \"group\": \"com.google.guava\", \"artifact\": \"guava\", \"version\": \"31.1-jre\" }", + "{ \"group\": \"org.apache.maven\", \"artifact\": \"maven-artifact\", \"version\": \"3.8.6\" }", + "{ \"group\": \"software.amazon.awssdk\", \"artifact\": \"s3\", \"version\": \"2.17.183\" }" + ], + "fail_on_missing_checksum": true, + "fetch_sources": true, + "fetch_javadoc": false, + "excluded_artifacts": [], + "generate_compat_repositories": false, + "version_conflict_policy": "default", + "override_targets": {}, + "strict_visibility": false, + "strict_visibility_value": [ + "@@//visibility:private" + ], + "maven_install_json": "@@rules_jvm_external~//:rules_jvm_external_deps_install.json", + "resolve_timeout": 600, + "jetify": false, + "jetify_include_list": [ + "*" + ], + "use_starlark_android_rules": false, + "aar_import_bzl_label": "@build_bazel_rules_android//android:rules.bzl", + "duplicate_version_warning": "warn" + } + }, + "com_google_errorprone_error_prone_annotations_2_11_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "721cb91842b46fa056847d104d5225c8b8e1e8b62263b993051e1e5a0137b7ec", + "urls": [ + "https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar", + "https://maven.google.com/com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar" + ], + "downloaded_file_path": "com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar" + } + }, + "software_amazon_awssdk_regions_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "d3079395f3ffc07d04ffcce16fca29fb5968197f6e9ea3dbff6be297102b40a5", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/regions/2.17.183/regions-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/regions/2.17.183/regions-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/regions/2.17.183/regions-2.17.183.jar" + } + }, + "io_netty_netty_handler_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "9cb6012af7e06361d738ac4e3bdc49a158f8cf87d9dee0f2744056b7d99c28d5", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-handler/4.1.72.Final/netty-handler-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-handler/4.1.72.Final/netty-handler-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-handler/4.1.72.Final/netty-handler-4.1.72.Final.jar" + } + }, + "software_amazon_awssdk_aws_query_protocol_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4dace03c76f80f3dec920cb3dedb2a95984c4366ef4fda728660cb90bed74848", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/aws-query-protocol/2.17.183/aws-query-protocol-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/aws-query-protocol/2.17.183/aws-query-protocol-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/aws-query-protocol/2.17.183/aws-query-protocol-2.17.183.jar" + } + }, + "io_netty_netty_codec_http_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "fa6fec88010bfaf6a7415b5364671b6b18ffb6b35a986ab97b423fd8c3a0174b", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-codec-http/4.1.72.Final/netty-codec-http-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-codec-http/4.1.72.Final/netty-codec-http-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-codec-http/4.1.72.Final/netty-codec-http-4.1.72.Final.jar" + } + }, + "io_netty_netty_resolver_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "6474598aab7cc9d8d6cfa06c05bd1b19adbf7f8451dbdd73070b33a6c60b1b90", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-resolver/4.1.72.Final/netty-resolver-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-resolver/4.1.72.Final/netty-resolver-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-resolver/4.1.72.Final/netty-resolver-4.1.72.Final.jar" + } + }, + "software_amazon_awssdk_protocol_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "10e7c4faa1f05e2d73055d0390dbd0bb6450e2e6cb85beda051b1e4693c826ce", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/protocol-core/2.17.183/protocol-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/protocol-core/2.17.183/protocol-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/protocol-core/2.17.183/protocol-core-2.17.183.jar" + } + }, + "org_checkerframework_checker_compat_qual_2_5_5": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "11d134b245e9cacc474514d2d66b5b8618f8039a1465cdc55bbc0b34e0008b7a", + "urls": [ + "https://repo1.maven.org/maven2/org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar", + "https://maven.google.com/org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar" + ], + "downloaded_file_path": "org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar" + } + }, + "com_google_apis_google_api_services_storage_v1_rev20200927_1_30_10": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "52d26a9d105f8d8a0850807285f307a76cea8f3e0cdb2be4d3b15b1adfa77351", + "urls": [ + "https://repo1.maven.org/maven2/com/google/apis/google-api-services-storage/v1-rev20200927-1.30.10/google-api-services-storage-v1-rev20200927-1.30.10.jar", + "https://maven.google.com/com/google/apis/google-api-services-storage/v1-rev20200927-1.30.10/google-api-services-storage-v1-rev20200927-1.30.10.jar" + ], + "downloaded_file_path": "com/google/apis/google-api-services-storage/v1-rev20200927-1.30.10/google-api-services-storage-v1-rev20200927-1.30.10.jar" + } + }, + "com_google_api_client_google_api_client_1_30_11": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ee6f97865cc7de6c7c80955c3f37372cf3887bd75e4fc06f1058a6b4cd9bf4da", + "urls": [ + "https://repo1.maven.org/maven2/com/google/api-client/google-api-client/1.30.11/google-api-client-1.30.11.jar", + "https://maven.google.com/com/google/api-client/google-api-client/1.30.11/google-api-client-1.30.11.jar" + ], + "downloaded_file_path": "com/google/api-client/google-api-client/1.30.11/google-api-client-1.30.11.jar" + } + }, + "software_amazon_awssdk_s3_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "ab073b91107a9e4ed9f030314077d137fe627e055ad895fabb036980a050e360", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/s3/2.17.183/s3-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/s3/2.17.183/s3-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/s3/2.17.183/s3-2.17.183.jar" + } + }, + "org_apache_maven_maven_artifact_3_8_6": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "de22a4c6f54fe31276a823b1bbd3adfd6823529e732f431b5eff0852c2b9252b", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.8.6/maven-artifact-3.8.6.jar", + "https://maven.google.com/org/apache/maven/maven-artifact/3.8.6/maven-artifact-3.8.6.jar" + ], + "downloaded_file_path": "org/apache/maven/maven-artifact/3.8.6/maven-artifact-3.8.6.jar" + } + }, + "com_google_googlejavaformat_google_java_format_1_15_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4f546cfe159547ac3b9547daa9649e728f6abc254979c975f1cb9971793692c3", + "urls": [ + "https://repo1.maven.org/maven2/com/google/googlejavaformat/google-java-format/1.15.0/google-java-format-1.15.0.jar", + "https://maven.google.com/com/google/googlejavaformat/google-java-format/1.15.0/google-java-format-1.15.0.jar" + ], + "downloaded_file_path": "com/google/googlejavaformat/google-java-format/1.15.0/google-java-format-1.15.0.jar" + } + }, + "org_apache_httpcomponents_httpclient_4_5_13": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "6fe9026a566c6a5001608cf3fc32196641f6c1e5e1986d1037ccdbd5f31ef743", + "urls": [ + "https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar", + "https://maven.google.com/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar" + ], + "downloaded_file_path": "org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar" + } + }, + "com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "b372a037d4230aa57fbeffdef30fd6123f9c0c2db85d0aced00c91b974f33f99", + "urls": [ + "https://repo1.maven.org/maven2/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar", + "https://maven.google.com/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar" + ], + "downloaded_file_path": "com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar" + } + }, + "com_google_http_client_google_http_client_1_38_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "411f4a42519b6b78bdc0fcfdf74c9edcef0ee97afa4a667abe04045a508d6302", + "urls": [ + "https://repo1.maven.org/maven2/com/google/http-client/google-http-client/1.38.0/google-http-client-1.38.0.jar", + "https://maven.google.com/com/google/http-client/google-http-client/1.38.0/google-http-client-1.38.0.jar" + ], + "downloaded_file_path": "com/google/http-client/google-http-client/1.38.0/google-http-client-1.38.0.jar" + } + }, + "software_amazon_awssdk_apache_client_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "78ceae502fce6a97bbe5ff8f6a010a52ab7ea3ae66cb1a4122e18185fce45022", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/apache-client/2.17.183/apache-client-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/apache-client/2.17.183/apache-client-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/apache-client/2.17.183/apache-client-2.17.183.jar" + } + }, + "software_amazon_awssdk_arns_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "659a185e191d66c71de81209490e66abeaccae208ea7b2831a738670823447aa", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/arns/2.17.183/arns-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/arns/2.17.183/arns-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/arns/2.17.183/arns-2.17.183.jar" + } + }, + "com_google_code_gson_gson_2_9_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "c96d60551331a196dac54b745aa642cd078ef89b6f267146b705f2c2cbef052d", + "urls": [ + "https://repo1.maven.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar", + "https://maven.google.com/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar" + ], + "downloaded_file_path": "com/google/code/gson/gson/2.9.0/gson-2.9.0.jar" + } + }, + "io_netty_netty_buffer_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "568ff7cd9d8e2284ec980730c88924f686642929f8f219a74518b4e64755f3a1", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-buffer/4.1.72.Final/netty-buffer-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-buffer/4.1.72.Final/netty-buffer-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-buffer/4.1.72.Final/netty-buffer-4.1.72.Final.jar" + } + }, + "com_google_code_findbugs_jsr305_3_0_2": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7", + "urls": [ + "https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar", + "https://maven.google.com/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar" + ], + "downloaded_file_path": "com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar" + } + }, + "commons_codec_commons_codec_1_11": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "e599d5318e97aa48f42136a2927e6dfa4e8881dff0e6c8e3109ddbbff51d7b7d", + "urls": [ + "https://repo1.maven.org/maven2/commons-codec/commons-codec/1.11/commons-codec-1.11.jar", + "https://maven.google.com/commons-codec/commons-codec/1.11/commons-codec-1.11.jar" + ], + "downloaded_file_path": "commons-codec/commons-codec/1.11/commons-codec-1.11.jar" + } + }, + "software_amazon_awssdk_auth_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "8820c6636e5c14efc29399fb5565ce50212b0c1f4ed720a025a2c402d54e0978", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/auth/2.17.183/auth-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/auth/2.17.183/auth-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/auth/2.17.183/auth-2.17.183.jar" + } + }, + "software_amazon_awssdk_json_utils_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "51ab7f550adc06afcb49f5270cdf690f1bfaaee243abaa5d978095e2a1e4e1a5", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/json-utils/2.17.183/json-utils-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/json-utils/2.17.183/json-utils-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/json-utils/2.17.183/json-utils-2.17.183.jar" + } + }, + "org_codehaus_plexus_plexus_utils_3_3_1": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "4b570fcdbe5a894f249d2eb9b929358a9c88c3e548d227a80010461930222f2a", + "urls": [ + "https://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar", + "https://maven.google.com/org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar" + ], + "downloaded_file_path": "org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar" + } + }, + "com_google_protobuf_protobuf_java_util_3_13_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "d9de66b8c9445905dfa7064f6d5213d47ce88a20d34e21d83c4a94a229e14e62", + "urls": [ + "https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java-util/3.13.0/protobuf-java-util-3.13.0.jar", + "https://maven.google.com/com/google/protobuf/protobuf-java-util/3.13.0/protobuf-java-util-3.13.0.jar" + ], + "downloaded_file_path": "com/google/protobuf/protobuf-java-util/3.13.0/protobuf-java-util-3.13.0.jar" + } + }, + "io_netty_netty_codec_4_1_72_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "5d8591ca271a1e9c224e8de3873aa9936acb581ee0db514e7dc18523df36d16c", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-codec/4.1.72.Final/netty-codec-4.1.72.Final.jar", + "https://maven.google.com/io/netty/netty-codec/4.1.72.Final/netty-codec-4.1.72.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-codec/4.1.72.Final/netty-codec-4.1.72.Final.jar" + } + }, + "com_google_protobuf_protobuf_java_3_13_0": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "97d5b2758408690c0dc276238707492a0b6a4d71206311b6c442cdc26c5973ff", + "urls": [ + "https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar", + "https://maven.google.com/com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar" + ], + "downloaded_file_path": "com/google/protobuf/protobuf-java/3.13.0/protobuf-java-3.13.0.jar" + } + }, + "io_netty_netty_tcnative_classes_2_0_46_Final": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "d3ec888dcc4ac7915bf88b417c5e04fd354f4311032a748a6882df09347eed9a", + "urls": [ + "https://repo1.maven.org/maven2/io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar", + "https://maven.google.com/io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar" + ], + "downloaded_file_path": "io/netty/netty-tcnative-classes/2.0.46.Final/netty-tcnative-classes-2.0.46.Final.jar" + } + }, + "software_amazon_awssdk_sdk_core_2_17_183": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "sha256": "677e9cc90fdd82c1f40f97b99cb115b13ad6c3f58beeeab1c061af6954d64c77", + "urls": [ + "https://repo1.maven.org/maven2/software/amazon/awssdk/sdk-core/2.17.183/sdk-core-2.17.183.jar", + "https://maven.google.com/software/amazon/awssdk/sdk-core/2.17.183/sdk-core-2.17.183.jar" + ], + "downloaded_file_path": "software/amazon/awssdk/sdk-core/2.17.183/sdk-core-2.17.183.jar" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_jvm_external~", + "bazel_tools", + "bazel_tools" + ], + [ + "rules_jvm_external~", + "rules_jvm_external", + "rules_jvm_external~" + ] + ] + } + }, + "@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": { + "general": { + "bzlTransitiveDigest": "Fq6CvJMzD0/LbttG5TUaCtEm/pFvTgO5X9tCUH87Fb0=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "io_bazel_rules_kotlin": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "sha256": "946747acdbeae799b085d12b240ec346f775ac65236dfcf18aa0cd7300f6de78", + "urls": [ + "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.7.0-RC-2/rules_kotlin_release.tgz" + ] + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_jvm_external~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_python~//python/extensions:python.bzl%python": { + "general": { + "bzlTransitiveDigest": "hcJ2K4XvZ3hi0G4g5MkUEs8xowZlCfrgq3JX4dyipWY=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "python_3_11_s390x-unknown-linux-gnu": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "e477f0749161f9aa7887964f089d9460a539f6b4a8fdab5166f898210e1a87a4", + "patches": [], + "platform": "s390x-unknown-linux-gnu", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-s390x-unknown-linux-gnu-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-s390x-unknown-linux-gnu-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + }, + "python_3_11": { + "bzlFile": "@@rules_python~//python/private:toolchains_repo.bzl", + "ruleClassName": "toolchain_aliases", + "attributes": { + "python_version": "3.11.4", + "user_repository_name": "python_3_11" + } + }, + "python_3_11_aarch64-unknown-linux-gnu": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "2e84fc53f4e90e11963281c5c871f593abcb24fc796a50337fa516be99af02fb", + "patches": [], + "platform": "aarch64-unknown-linux-gnu", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + }, + "python_3_11_aarch64-apple-darwin": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "cb6d2948384a857321f2aa40fa67744cd9676a330f08b6dad7070bda0b6120a4", + "patches": [], + "platform": "aarch64-apple-darwin", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + }, + "python_3_11_ppc64le-unknown-linux-gnu": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "df7b92ed9cec96b3bb658fb586be947722ecd8e420fb23cee13d2e90abcfcf25", + "patches": [], + "platform": "ppc64le-unknown-linux-gnu", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-ppc64le-unknown-linux-gnu-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-ppc64le-unknown-linux-gnu-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + }, + "python_3_11_x86_64-apple-darwin": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "47e1557d93a42585972772e82661047ca5f608293158acb2778dccf120eabb00", + "patches": [], + "platform": "x86_64-apple-darwin", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + }, + "pythons_hub": { + "bzlFile": "@@rules_python~//python/extensions/private:pythons_hub.bzl", + "ruleClassName": "hub_repo", + "attributes": { + "default_python_version": "3.11", + "toolchain_prefixes": [ + "_0000_python_3_11_" + ], + "toolchain_python_versions": [ + "3.11" + ], + "toolchain_set_python_version_constraints": [ + "False" + ], + "toolchain_user_repository_names": [ + "python_3_11" + ] + } + }, + "python_versions": { + "bzlFile": "@@rules_python~//python/private:toolchains_repo.bzl", + "ruleClassName": "multi_toolchain_aliases", + "attributes": { + "python_versions": { + "3.11": "python_3_11" + } + } + }, + "python_3_11_x86_64-pc-windows-msvc": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "878614c03ea38538ae2f758e36c85d2c0eb1eaaca86cd400ff8c76693ee0b3e1", + "patches": [], + "platform": "x86_64-pc-windows-msvc", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + }, + "python_3_11_x86_64-unknown-linux-gnu": { + "bzlFile": "@@rules_python~//python:repositories.bzl", + "ruleClassName": "python_repository", + "attributes": { + "sha256": "e26247302bc8e9083a43ce9e8dd94905b40d464745b1603041f7bc9a93c65d05", + "patches": [], + "platform": "x86_64-unknown-linux-gnu", + "python_version": "3.11.4", + "release_filename": "20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz", + "urls": [ + "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz" + ], + "distutils_content": "", + "strip_prefix": "python", + "coverage_tool": "", + "ignore_root_user_error": false + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_python~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": { + "general": { + "bzlTransitiveDigest": "k1lpzk+V/Fg5HOfU/v+WYDRXer5xeA7LBEt+YyQC64k=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "pypi__wheel": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/bd/7c/d38a0b30ce22fc26ed7dbc087c6d00851fb3395e9d0dac40bec1f905030c/wheel-0.38.4-py3-none-any.whl", + "sha256": "b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__click": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/76/0a/b6c5f311e32aeb3b406e03c079ade51e905ea630fc19d1262a46249c1c86/click-8.0.1-py3-none-any.whl", + "sha256": "fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__importlib_metadata": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl", + "sha256": "bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__pep517": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/ee/2f/ef63e64e9429111e73d3d6cbee80591672d16f2725e648ebc52096f3d323/pep517-0.13.0-py3-none-any.whl", + "sha256": "4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__packaging": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/8f/7b/42582927d281d7cb035609cd3a543ffac89b74f3f4ee8e1c50914bcb57eb/packaging-22.0-py3-none-any.whl", + "sha256": "957e2148ba0e1a3b282772e791ef1d8083648bc131c8ab0c1feba110ce1146c3", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__pip_tools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/5e/e8/f6d7d1847c7351048da870417724ace5c4506e816b38db02f4d7c675c189/pip_tools-6.12.1-py3-none-any.whl", + "sha256": "f0c0c0ec57b58250afce458e2e6058b1f30a4263db895b7d72fd6311bf1dc6f7", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__setuptools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/7c/5b/3d92b9f0f7ca1645cba48c080b54fe7d8b1033a4e5720091d1631c4266db/setuptools-60.10.0-py3-none-any.whl", + "sha256": "782ef48d58982ddb49920c11a0c5c9c0b02e7d7d1c2ad0aa44e1a1e133051c96", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__zipp": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl", + "sha256": "8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__colorama": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", + "sha256": "4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__build": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/03/97/f58c723ff036a8d8b4d3115377c0a37ed05c1f68dd9a0d66dab5e82c5c1c/build-0.9.0-py3-none-any.whl", + "sha256": "38a7a2b7a0bdc61a42a0a67509d88c71ecfc37b393baba770fae34e20929ff69", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__pip": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl", + "sha256": "908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__installer": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/e5/ca/1172b6638d52f2d6caa2dd262ec4c811ba59eee96d54a7701930726bce18/installer-0.7.0-py3-none-any.whl", + "sha256": "05d1933f0a5ba7d8d6296bb6d5018e7c94fa473ceb10cf198a92ccea19c27b53", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__more_itertools": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/bd/3f/c4b3dbd315e248f84c388bd4a72b131a29f123ecacc37ffb2b3834546e42/more_itertools-8.13.0-py3-none-any.whl", + "sha256": "c5122bffc5f104d37c1626b8615b511f3427aa5389b94d61e5ef8236bfbc3ddb", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + }, + "pypi__tomli": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl", + "sha256": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", + "type": "zip", + "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "rules_python~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "rules_python~", + "bazel_tools", + "bazel_tools" + ] + ] + } + } + } +} diff --git a/bazel/BUILD b/bazel/BUILD new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/bazel/extensions.bzl b/bazel/extensions.bzl new file mode 100644 index 0000000000000..8c99a211090df --- /dev/null +++ b/bazel/extensions.bzl @@ -0,0 +1,8 @@ +load("//bazel:repositories.bzl", "data_dependency") + +def _non_module_dependencies_impl(_ctx): + data_dependency() + +non_module_dependencies = module_extension( + implementation = _non_module_dependencies_impl, +) diff --git a/bazel/install-deps.sh b/bazel/install-deps.sh new file mode 100755 index 0000000000000..2e4a26b60d47c --- /dev/null +++ b/bazel/install-deps.sh @@ -0,0 +1,73 @@ +#!/bin/bash +# Copyright 2020 Redpanda Data, Inc. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.md +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0 +set -e + +echo "installing redpanda toolchain" + +if [[ $EUID -ne 0 ]]; then + echo "This script should be run as root." + exit 1 +fi +if [ -f "/etc/os-release" ]; then + . /etc/os-release +elif [ -f "/etc/arch-release" ]; then + export ID=arch +else + echo "/etc/os-release missing." + exit 1 +fi + +deb_deps=( + clang + lld + ragel + automake + make + autoconf + libtool + autopoint + xfslibs-dev + valgrind + git +) + +fedora_deps=( + lld + ragel + perl + autoconf + libtool + automake + xfsprogs-devel + gettext-devel + valgrind-devel + git + clang +) + +case "$ID" in + ubuntu | debian | pop) + apt-get update + DEBIAN_FRONTEND=noninteractive apt-get install -y "${deb_deps[@]}" + if [[ $CLEAN_PKG_CACHE == true ]]; then + rm -rf /var/lib/apt/lists/* + fi + ;; + fedora) + dnf install -y "${fedora_deps[@]}" + if [[ $CLEAN_PKG_CACHE == true ]]; then + dnf clean all + fi + ;; + *) + echo "Please help us make the script better by sending patches with your OS $ID" + exit 1 + ;; +esac diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl new file mode 100644 index 0000000000000..f0cebbd54db35 --- /dev/null +++ b/bazel/repositories.bzl @@ -0,0 +1,194 @@ +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +def data_dependency(): + http_archive( + name = "ada", + build_file = "//bazel/thirdparty:ada.BUILD", + sha256 = "8e222d536d237269488f7d454544eedf12847f47b3d42651e8c9963c3fb0cf5e", + strip_prefix = "ada-2.7.3", + url = "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/ada-2.7.3.tar.gz", + ) + + http_archive( + name = "avro", + build_file = "//bazel/thirdparty:avro.BUILD", + sha256 = "d4043000885812223c7a8a444781f9ded46aca4dc6216d86bbde18fd94c1562a", + strip_prefix = "avro-836cb1004090435a985becda1daa619c407e1376", + url = "https://github.com/redpanda-data/avro/archive/836cb1004090435a985becda1daa619c407e1376.tar.gz", + ) + + http_archive( + name = "base64", + build_file = "//bazel/thirdparty:base64.BUILD", + sha256 = "b21be58a90d31302ba86056db7ef77a481393b9359c505be5337d7d54e8a0559", + strip_prefix = "base64-0.5.0", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/base64-v0.5.0.tar.gz", + ) + + http_archive( + name = "c-ares", + build_file = "//bazel/thirdparty:c-ares.BUILD", + sha256 = "321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e", + strip_prefix = "c-ares-1.19.1", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/c-ares-1.19.1.tar.gz", + ) + + http_archive( + name = "cryptopp", + build_file = "//bazel/thirdparty:cryptopp.BUILD", + sha256 = "11a6dbc749c27687ddf13195950589596f51361210a1f67e3c383cc4961f3e61", + strip_prefix = "cryptopp-CRYPTOPP_8_7_0", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/CRYPTOPP_8_7_0.tar.xz", + ) + + http_archive( + name = "gmp", + build_file = "//bazel/thirdparty:gmp.BUILD", + sha256 = "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2", + strip_prefix = "gmp-6.2.1", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/gmp-6.2.1.tar.xz", + ) + + http_archive( + name = "gnutls", + build_file = "//bazel/thirdparty:gnutls.BUILD", + sha256 = "f74fc5954b27d4ec6dfbb11dea987888b5b124289a3703afcada0ee520f4173e", + strip_prefix = "gnutls-3.8.3", + url = "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/gnutls-3.8.3.tar.xz", + ) + + http_archive( + name = "hdrhistogram", + build_file = "//bazel/thirdparty:hdrhistogram.BUILD", + sha256 = "f81a192b62ae25bcebe63c9f3c74f371d04f88a74c1867532ec8a0012a9e482c", + strip_prefix = "HdrHistogram_c-0.11.5", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/HdrHistogram_c-0.11.5.tar.gz", + ) + + http_archive( + name = "hwloc", + build_file = "//bazel/thirdparty:hwloc.BUILD", + sha256 = "1f6d0f3edddd0070717f9f17e3a090a26d203e026c192144aa5f587725cf11e3", + strip_prefix = "hwloc-hwloc-2.9.3", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/hwloc-2.9.3.tar.gz", + ) + + http_archive( + name = "krb5", + build_file = "//bazel/thirdparty:krb5.BUILD", + sha256 = "ec3861c3bec29aa8da9281953c680edfdab1754d1b1db8761c1d824e4b25496a", + strip_prefix = "krb5-krb5-1.20.1-final", + url = "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/krb5-krb5-1.20.1-final.tar.gz", + ) + + http_archive( + name = "libpciaccess", + build_file = "//bazel/thirdparty:libpciaccess.BUILD", + sha256 = "9938b18509553452c6e13f79e16cbaffec9ea67119aa2de5d75e83c4f67ff400", + strip_prefix = "libpciaccess-libpciaccess-0.16", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/libpciaccess-0.16.tar.bz2", + ) + + http_archive( + name = "libxml2", + build_file = "//bazel/thirdparty:libxml2.BUILD", + sha256 = "ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45", + strip_prefix = "libxml2-2.10.4", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/libxml2-2.10.4.tar.xz", + ) + + http_archive( + name = "lksctp", + build_file = "//bazel/thirdparty:lksctp.BUILD", + sha256 = "0c8fac0a5c66eea339dce6be857101b308ce1064c838b81125b0dde3901e8032", + strip_prefix = "lksctp-tools-lksctp-tools-1.0.19", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/lksctp-tools-1.0.19.tar.gz", + ) + + http_archive( + name = "nettle", + build_file = "//bazel/thirdparty:nettle.BUILD", + sha256 = "ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3", + strip_prefix = "nettle-3.9.1", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/nettle-3.9.1.tar.gz", + patches = ["//bazel/thirdparty:nettle.patch"], + patch_args = ["-p1"], + ) + + http_archive( + name = "numactl", + build_file = "//bazel/thirdparty:numactl.BUILD", + sha256 = "1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035", + strip_prefix = "numactl-2.0.14", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/numactl-v2.0.14.tar.gz", + ) + + ############################################################################### + # IMPORTANT + # DO NOT CHANGE THIS VERSION + # As of 2/26 - 3.0.9 is the latest FIPS _approved_ version: + # https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/4282 + ############################################################################### + http_archive( + name = "openssl", + build_file = "//bazel/thirdparty:openssl.BUILD", + sha256 = "eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90", + strip_prefix = "openssl-3.0.9", + url = "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/openssl-3.0.9.tar.gz", + ) + + http_archive( + name = "rapidjson", + build_file = "//bazel/thirdparty:rapidjson.BUILD", + sha256 = "d085ef6d175d9b20800958c695c7767d65f9c1985a73d172150e57e84f6cd61c", + strip_prefix = "rapidjson-14a5dd756e9bef26f9b53d3b4eb1b73c6a1794d5", + url = "https://github.com/redpanda-data/rapidjson/archive/14a5dd756e9bef26f9b53d3b4eb1b73c6a1794d5.tar.gz", + ) + + http_archive( + name = "roaring", + build_file = "//bazel/thirdparty:roaring.BUILD", + sha256 = "78487658b774f27546e79de2ddd37fca56679b23f256425d2c86aabf7d1b8066", + strip_prefix = "CRoaring-c433d1c70c10fb2e40f049e019e2abbcafa6e69d", + url = "https://github.com/redpanda-data/CRoaring/archive/c433d1c70c10fb2e40f049e019e2abbcafa6e69d.tar.gz", + ) + + http_archive( + name = "seastar", + build_file = "//bazel/thirdparty:seastar.BUILD", + sha256 = "166ac9f38ac5f7e900d8f9c892afaaa7c8d9909b0dd4b6315bcb335f50ddf728", + strip_prefix = "seastar-16a722bc0a8792daa20c165dabc07e4b1e5dff26", + url = "https://github.com/redpanda-data/seastar/archive/16a722bc0a8792daa20c165dabc07e4b1e5dff26.tar.gz", + ) + + http_archive( + name = "snappy", + build_file = "//bazel/thirdparty:snappy.BUILD", + sha256 = "774c337a545d6b818163c12455627ba61ed8d2daa9a9236b3aa88c64f081560e", + strip_prefix = "snappy-ca541bd6c80d97cf93d1a33e613521947701ea53", + url = "https://github.com/redpanda-data/snappy/archive/ca541bd6c80d97cf93d1a33e613521947701ea53.tar.gz", + ) + + http_archive( + name = "unordered_dense", + build_file = "//bazel/thirdparty:unordered_dense.BUILD", + sha256 = "98c9d02ff8761d50a2cb6ebd53f78f7d311f6980aef509efdcdaa5f3868ca06c", + strip_prefix = "unordered_dense-9338f301522a965309ecec58ce61f54a52fb5c22", + url = "https://github.com/redpanda-data/unordered_dense/archive/9338f301522a965309ecec58ce61f54a52fb5c22.tar.gz", + ) + + http_archive( + name = "wasmtime", + build_file = "//bazel/thirdparty:wasmtime.BUILD", + sha256 = "a7f989b170d109696b928b4b3d1ec1d930064af7df47178e1341bd96e5c34465", + strip_prefix = "wasmtime-9e1084ffac08b1bf9c82de40c0efc1baff14b9ad", + url = "https://github.com/bytecodealliance/wasmtime/archive/9e1084ffac08b1bf9c82de40c0efc1baff14b9ad.tar.gz", + ) + + http_archive( + name = "xz", + build_file = "//bazel/thirdparty:xz.BUILD", + sha256 = "0d2b89629f13dd1a0602810529327195eff5f62a0142ccd65b903bc16a4ac78a", + strip_prefix = "xz-5.2.5", + url = "https://vectorized-public.s3.amazonaws.com/dependencies/xz-v5.2.5.tar.gz", + ) diff --git a/bazel/thirdparty/BUILD b/bazel/thirdparty/BUILD new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/bazel/thirdparty/ada.BUILD b/bazel/thirdparty/ada.BUILD new file mode 100644 index 0000000000000..103a4d3c21b63 --- /dev/null +++ b/bazel/thirdparty/ada.BUILD @@ -0,0 +1,28 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "ada", + cache_entries = { + "BUILD_SHARED_LIBS": "OFF", + "ADA_TESTING": "OFF", + "ADA_TOOLS": "OFF", + "ADA_BENCHMARKS": "OFF", + "CMAKE_INSTALL_LIBDIR": "lib", + }, + env = { + # prevent cmake from trying to open the ccache read/write directory + # which is outside the bazel sandbox. + "CCACHE_DISABLE": "1", + }, + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libada.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/avro.BUILD b/bazel/thirdparty/avro.BUILD new file mode 100644 index 0000000000000..c4517b703f8fa --- /dev/null +++ b/bazel/thirdparty/avro.BUILD @@ -0,0 +1,30 @@ +cc_library( + name = "avro", + srcs = glob([ + "lang/c++/impl/**/*.cc", + "lang/c++/impl/**/*.hh", + ]), + hdrs = glob([ + "lang/c++/include/avro/**/*.hh", + ]), + copts = [ + "-Wno-unused-but-set-variable", + ], + defines = ["SNAPPY_CODEC_AVAILABLE"], + includes = [ + "lang/c++/include", + # TODO this one is here because the source files assume they can include + # without the avro prefix. it'd be nice to avoid leaking this path out + # to anything that depends on avro. according to the docs, it sounds + # like adding -I to copts for the private compile options is the right + # way to go, but so far I haven't been able to get the path correct. + "lang/c++/include/avro", + ], + local_defines = ["AVRO_VERSION=1"], + visibility = [ + "//visibility:public", + ], + deps = [ + "@boost", + ], +) diff --git a/bazel/thirdparty/base64.BUILD b/bazel/thirdparty/base64.BUILD new file mode 100644 index 0000000000000..d530556fddd65 --- /dev/null +++ b/bazel/thirdparty/base64.BUILD @@ -0,0 +1,47 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +# TODO +# - Verify architecture specific settings +# - Verify that platform select works as expected + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +common_cache_entries = { + "BUILD_SHARED_LIBS": "OFF", + "CMAKE_INSTALL_LIBDIR": "lib", + "BASE64_WITH_OpenMP": "OFF", + "BASE64_WERROR": "OFF", +} + +cmake( + name = "base64", + cache_entries = common_cache_entries | select({ + "@platforms//cpu:x86_64": { + "BASE64_WITH_SSSE3": "ON", + "BASE64_WITH_SSE41": "ON", + "BASE64_WITH_SSE42": "ON", + "BASE64_WITH_AVX": "OFF", + "BASE64_WITH_AVX2": "OFF", + "BASE64_WITH_NEON32": "OFF", + "BASE64_WITH_NEON64": "OFF", + }, + "@platforms//cpu:arm64": { + "BASE64_WITH_SSSE3": "OFF", + "BASE64_WITH_SSE41": "OFF", + "BASE64_WITH_SSE42": "OFF", + "BASE64_WITH_AVX": "OFF", + "BASE64_WITH_AVX2": "OFF", + "BASE64_WITH_NEON32": "OFF", + "BASE64_WITH_NEON64": "ON", + }, + }), + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libbase64.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/c-ares.BUILD b/bazel/thirdparty/c-ares.BUILD new file mode 100644 index 0000000000000..a9ca2615eb09f --- /dev/null +++ b/bazel/thirdparty/c-ares.BUILD @@ -0,0 +1,24 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "c-ares", + cache_entries = { + "BUILD_SHARED_LIBS": "OFF", + "CARES_SHARED": "OFF", + "CARES_STATIC": "ON", + "CMAKE_INSTALL_LIBDIR": "lib", + "CARES_BUILD_TOOLS": "OFF", + "CARES_INSTALL": "ON", + }, + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libcares.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/cryptopp.BUILD b/bazel/thirdparty/cryptopp.BUILD new file mode 100644 index 0000000000000..6c84a649736e2 --- /dev/null +++ b/bazel/thirdparty/cryptopp.BUILD @@ -0,0 +1,21 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "cryptopp", + cache_entries = { + "BUILD_SHARED": "OFF", + "BUILD_TESTING": "OFF", + "CMAKE_INSTALL_LIBDIR": "lib", + }, + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libcryptopp.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/gmp.BUILD b/bazel/thirdparty/gmp.BUILD new file mode 100644 index 0000000000000..caf1a0d809ca2 --- /dev/null +++ b/bazel/thirdparty/gmp.BUILD @@ -0,0 +1,22 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "gmp", + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--disable-shared", + "--enable-static", + ], + lib_source = ":srcs", + out_static_libs = ["libgmp.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/gnutls.BUILD b/bazel/thirdparty/gnutls.BUILD new file mode 100644 index 0000000000000..e52e55fd3c25c --- /dev/null +++ b/bazel/thirdparty/gnutls.BUILD @@ -0,0 +1,35 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "gnutls", + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--with-included-unistring", + "--with-included-libtasn1", + "--without-idn", + "--without-brotli", + "--without-p11-kit", + # https://lists.gnupg.org/pipermail/gnutls-help/2016-February/004085.html + "--disable-non-suiteb-curves", + "--disable-doc", + "--disable-tests", + "--disable-shared", + "--enable-static", + ], + env = {"GTKDOCIZE": "echo"}, + lib_source = ":srcs", + out_static_libs = ["libgnutls.a"], + visibility = [ + "//visibility:public", + ], + deps = [ + "@nettle", + ], +) diff --git a/bazel/thirdparty/hdrhistogram.BUILD b/bazel/thirdparty/hdrhistogram.BUILD new file mode 100644 index 0000000000000..b6773724564b2 --- /dev/null +++ b/bazel/thirdparty/hdrhistogram.BUILD @@ -0,0 +1,26 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "hdrhistogram", + cache_entries = { + "BUILD_SHARED_LIBS": "OFF", + "CMAKE_INSTALL_LIBDIR": "lib", + "HDR_HISTOGRAM_BUILD_PROGRAMS": "OFF", + "HDR_HISTOGRAM_BUILD_SHARED": "OFF", + "HDR_HISTOGRAM_BUILD_STATIC": "ON", + }, + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libhdr_histogram_static.a"], + visibility = [ + "//visibility:public", + ], + deps = [ + "@zlib", + ], +) diff --git a/bazel/thirdparty/hwloc.BUILD b/bazel/thirdparty/hwloc.BUILD new file mode 100644 index 0000000000000..26a4136aa6d66 --- /dev/null +++ b/bazel/thirdparty/hwloc.BUILD @@ -0,0 +1,23 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "hwloc", + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--disable-libudev", + "--disable-shared", + "--enable-static", + ], + lib_source = ":srcs", + out_static_libs = ["libhwloc.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/krb5.BUILD b/bazel/thirdparty/krb5.BUILD new file mode 100644 index 0000000000000..d0ab2d0846217 --- /dev/null +++ b/bazel/thirdparty/krb5.BUILD @@ -0,0 +1,28 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "krb5", + autoreconf = True, + autoreconf_options = ["-ivf ./src"], + configure_command = "./src/configure", + configure_in_place = True, + configure_options = [ + "--srcdir=./src", + "--disable-thread-support", + "--without-netlib", + # TODO when building the static library the linker is exiting with a + # duplicate symbol error + "--enable-shared", + "--disable-static", + ], + lib_source = ":srcs", + out_shared_libs = ["libkrb5.so"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/libpciaccess.BUILD b/bazel/thirdparty/libpciaccess.BUILD new file mode 100644 index 0000000000000..0b06303e012a4 --- /dev/null +++ b/bazel/thirdparty/libpciaccess.BUILD @@ -0,0 +1,22 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "libpciaccess", + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--disable-shared", + "--enable-static", + ], + lib_source = ":srcs", + out_static_libs = ["libpciaccess.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/libxml2.BUILD b/bazel/thirdparty/libxml2.BUILD new file mode 100644 index 0000000000000..2442bd66c767a --- /dev/null +++ b/bazel/thirdparty/libxml2.BUILD @@ -0,0 +1,31 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "libxml2", + autogen = True, + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--without-python", + "--disable-shared", + "--enable-static", + "--with-zlib=$$EXT_BUILD_DEPS/zlib", + "--with-lzma=$$EXT_BUILD_DEPS/xz", + ], + lib_source = ":srcs", + out_include_dir = "include/libxml2", + out_static_libs = ["libxml2.a"], + visibility = [ + "//visibility:public", + ], + deps = [ + "@xz", + "@zlib", + ], +) diff --git a/bazel/thirdparty/lksctp.BUILD b/bazel/thirdparty/lksctp.BUILD new file mode 100644 index 0000000000000..80dcce2ac3ea2 --- /dev/null +++ b/bazel/thirdparty/lksctp.BUILD @@ -0,0 +1,22 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "lksctp", + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--disable-shared", + "--enable-static", + ], + lib_source = ":srcs", + out_static_libs = ["libsctp.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/nettle.BUILD b/bazel/thirdparty/nettle.BUILD new file mode 100644 index 0000000000000..95ed708313517 --- /dev/null +++ b/bazel/thirdparty/nettle.BUILD @@ -0,0 +1,31 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "nettle", + autogen = True, + autogen_command = ".bootstrap", + configure_in_place = True, + configure_options = [ + "--disable-documentation", + "--disable-shared", + "--enable-static", + "--enable-x86-aesni", + "--libdir=$$INSTALLDIR/lib", + ], + lib_source = ":srcs", + out_static_libs = [ + "libnettle.a", + "libhogweed.a", + ], + visibility = [ + "//visibility:public", + ], + deps = [ + "@gmp", + ], +) diff --git a/bazel/thirdparty/nettle.patch b/bazel/thirdparty/nettle.patch new file mode 100644 index 0000000000000..803aba02588f8 --- /dev/null +++ b/bazel/thirdparty/nettle.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index c8862f3..4911756 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -922,7 +922,7 @@ if test x$enable_assembler = xyes ; then + fi], + [AC_MSG_WARN([test program with a single global could not be compiled!?])])]) + if test x$nettle_cv_asm_underscore = xyes ; then +- ASM_SYMBOL_PREFIX='_' ++ ASM_SYMBOL_PREFIX='' + fi + + AC_CACHE_CHECK([for ELF-style .type,%function pseudo-ops], diff --git a/bazel/thirdparty/numactl.BUILD b/bazel/thirdparty/numactl.BUILD new file mode 100644 index 0000000000000..210c305f2c67b --- /dev/null +++ b/bazel/thirdparty/numactl.BUILD @@ -0,0 +1,49 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +# TODO +# - inspect implementation to see what should go into config.h +# - understand more if we are using versions.ldscript correctly +# - check if libtool -version-info flag is needed +# - look into this warning +# external/_main~_repo_rules~numactl/libnuma.c:68:2: warning: "not threadsafe" [-W#warnings] +# #warning "not threadsafe" +# - probably needs a header prefix +genrule( + name = "config_h", + outs = ["config.h"], + cmd = "touch $(location config.h)", +) + +cc_library( + name = "numactl", + srcs = [ + "affinity.c", + "affinity.h", + "distance.c", + "libnuma.c", + "numaint.h", + "rtnetlink.c", + "rtnetlink.h", + "syscall.c", + "sysfs.c", + "sysfs.h", + "util.h", + ":config.h", + ], + hdrs = [ + "numa.h", + "numacompat1.h", + "numaif.h", + ], + linkopts = [ + "-Wl,--version-script,$(location :versions.ldscript)", + "-Wl,-init,numa_init", + "-Wl,-fini,numa_fini", + ], + visibility = [ + "//visibility:public", + ], + deps = [ + ":versions.ldscript", + ], +) diff --git a/bazel/thirdparty/openssl.BUILD b/bazel/thirdparty/openssl.BUILD new file mode 100644 index 0000000000000..3be8d4ffc379a --- /dev/null +++ b/bazel/thirdparty/openssl.BUILD @@ -0,0 +1,28 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +# TODO +# - handle --debug vs --release mode flags +# - package up the fips.so module file + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "openssl", + configure_command = "Configure", + configure_options = [ + "enable-fips", + "--debug", + "--libdir=lib", + ], + lib_source = ":srcs", + out_shared_libs = [ + "libssl.so", + "libcrypto.so", + ], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/rapidjson.BUILD b/bazel/thirdparty/rapidjson.BUILD new file mode 100644 index 0000000000000..c4b56ce3d11cc --- /dev/null +++ b/bazel/thirdparty/rapidjson.BUILD @@ -0,0 +1,13 @@ +cc_library( + name = "rapidjson", + hdrs = glob([ + "include/rapidjson/**/*.h", + ]), + defines = [ + "RAPIDJSON_HAS_STDSTRING", + ], + strip_include_prefix = "include", + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/roaring.BUILD b/bazel/thirdparty/roaring.BUILD new file mode 100644 index 0000000000000..7fd90d94a6004 --- /dev/null +++ b/bazel/thirdparty/roaring.BUILD @@ -0,0 +1,21 @@ +# TODO +# - Take a closer look at compile options that control cpu features. + +cc_library( + name = "roaring", + srcs = glob([ + "src/**/*.c", + ]), + hdrs = glob([ + "include/roaring/**/*.h", + "include/roaring/**/*.hh", + ]), + copts = [ + "-DDISABLE_NEON=1", + "-DROARING_DISABLE_AVX=1", + ], + strip_include_prefix = "include", + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD new file mode 100644 index 0000000000000..370843d66ad2d --- /dev/null +++ b/bazel/thirdparty/seastar.BUILD @@ -0,0 +1,155 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") +load("@rules_proto//proto:defs.bzl", "proto_library") + +py_binary( + name = "seastar-json2code", + srcs = ["scripts/seastar-json2code.py"], + visibility = ["//visibility:public"], + deps = [ + ], +) + +genrule( + name = "http_request_parser", + srcs = ["src/http/request_parser.rl"], + outs = ["include/seastar/http/request_parser.hh"], + cmd = "ragel -G2 -o $@ $(SRCS)", +) + +genrule( + name = "http_response_parser", + srcs = ["src/http/response_parser.rl"], + outs = ["include/seastar/http/response_parser.hh"], + cmd = "ragel -G2 -o $@ $(SRCS)", +) + +genrule( + name = "http_chunk_parsers", + srcs = ["src/http/chunk_parsers.rl"], + outs = ["include/seastar/http/chunk_parsers.hh"], + cmd = "ragel -G2 -o $@ $(SRCS)", +) + +proto_library( + name = "metrics_proto", + srcs = ["src/proto/metrics2.proto"], + deps = ["@protobuf//:timestamp_proto"], +) + +cc_proto_library( + name = "metrics_cc_proto", + deps = [":metrics_proto"], +) + +cc_library( + name = "seastar", + srcs = glob( + [ + "src/**/*.cc", + "src/**/*.hh", + ], + exclude = [ + "src/seastar.cc", + "src/testing/*", + ], + ), + hdrs = glob([ + "include/**/*.hh", + ], + exclude = [ + "include/seastar/testing/*", + ], + ) + [ + "include/seastar/http/chunk_parsers.hh", + "include/seastar/http/request_parser.hh", + "include/seastar/http/response_parser.hh", + ], + copts = [ + "-std=c++20", + ], + defines = [ + "SEASTAR_API_LEVEL=6", + "SEASTAR_SSTRING", + "SEASTAR_SCHEDULING_GROUPS_COUNT=32", + # "BOOST_TEST_ALTERNATIVE_INIT_API", + "BOOST_TEST_DYN_LINK", + "BOOST_TEST_NO_LIB", + ], + includes = [ + "include", + "src", + ], + visibility = [ + "//visibility:public", + ], + deps = [ + ":metrics_cc_proto", + "@boost//:filesystem", + "@boost//:program_options", + "@boost//:test.so", + "@boost//:thread", + "@boost//:algorithm", + "@boost//:lockfree", + "@boost//:endian", + "@boost//:asio", + "@c-ares", + "@fmt", + "@gnutls", + "@lksctp", + "@lz4", + "@protobuf", + "@yaml-cpp", + ], +) + +cc_library( + name = "testing", + srcs = [ + "src/testing/entry_point.cc", + "src/testing/random.cc", + "src/testing/seastar_test.cc", + "src/testing/test_runner.cc", + ], + hdrs = [ + "include/seastar/testing/entry_point.hh", + "include/seastar/testing/exchanger.hh", + "include/seastar/testing/random.hh", + "include/seastar/testing/seastar_test.hh", + "include/seastar/testing/test_case.hh", + "include/seastar/testing/test_runner.hh", + "include/seastar/testing/thread_test_case.hh", + # cc file is in core, but should only be used in testing + "include/seastar/testing/on_internal_error.hh", + ], + includes = [ + "include", + ], + visibility = [ + "//visibility:public", + ], + deps = [ + ":seastar", + ], +) + +cc_library( + name = "benchmark", + srcs = [ + "tests/perf/perf_tests.cc", + "tests/perf/linux_perf_event.cc", + ], + hdrs = [ + "include/seastar/testing/test_runner.hh", + "include/seastar/testing/perf_tests.hh", + "include/seastar/testing/linux_perf_event.hh", + ], + includes = [ + "include", + ], + visibility = [ + "//visibility:public", + ], + deps = [ + ":testing", + ], +) diff --git a/bazel/thirdparty/snappy.BUILD b/bazel/thirdparty/snappy.BUILD new file mode 100644 index 0000000000000..bf56a3ffe1eb5 --- /dev/null +++ b/bazel/thirdparty/snappy.BUILD @@ -0,0 +1,24 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "snappy", + cache_entries = { + "BUILD_SHARED_LIBS": "OFF", + "CMAKE_INSTALL_LIBDIR": "lib", + "SNAPPY_INSTALL": "ON", + "SNAPPY_BUILD_TESTS": "OFF", + "SNAPPY_BUILD_BENCHMARKS": "OFF", + "CMAKE_SHARED_LINKER_FLAGS": "-Wno-fuse-ld-path", + }, + generate_args = ["-GNinja"], + lib_source = ":srcs", + out_static_libs = ["libsnappy.a"], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/unordered_dense.BUILD b/bazel/thirdparty/unordered_dense.BUILD new file mode 100644 index 0000000000000..b4508c26acb7d --- /dev/null +++ b/bazel/thirdparty/unordered_dense.BUILD @@ -0,0 +1,15 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +cmake( + name = "unordered_dense", + lib_source = ":srcs", + out_headers_only = True, + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/wasmtime.BUILD b/bazel/thirdparty/wasmtime.BUILD new file mode 100644 index 0000000000000..cb7a113a840bc --- /dev/null +++ b/bazel/thirdparty/wasmtime.BUILD @@ -0,0 +1,28 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +options = [ + "--no-default-features", + "--features=async", + "--features=addr2line", + "--features=wat", +] + +cmake( + name = "wasmtime", + cache_entries = { + "CMAKE_INSTALL_LIBDIR": "lib", + "WASMTIME_USER_CARGO_BUILD_OPTIONS": ";".join(options), + "WASMTIME_ALWAYS_BUILD": "OFF", + }, + lib_source = ":srcs", + out_static_libs = ["libwasmtime.a"], + visibility = [ + "//visibility:public", + ], + working_directory = "crates/c-api", +) diff --git a/bazel/thirdparty/xz.BUILD b/bazel/thirdparty/xz.BUILD new file mode 100644 index 0000000000000..63173fd21ac2f --- /dev/null +++ b/bazel/thirdparty/xz.BUILD @@ -0,0 +1,22 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +configure_make( + name = "xz", + autoreconf = True, + autoreconf_options = ["-ivf"], + configure_in_place = True, + configure_options = [ + "--disable-shared", + "--enable-static", + ], + lib_source = ":srcs", + out_static_libs = ["liblzma.a"], + visibility = [ + "//visibility:public", + ], +) From 9895d330682ef827895ecf3e71f5a44c10acba1c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 18:31:28 -0700 Subject: [PATCH 003/150] bazel: build wrapper Signed-off-by: Noah Watkins --- bazel/build.bzl | 142 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 bazel/build.bzl diff --git a/bazel/build.bzl b/bazel/build.bzl new file mode 100644 index 0000000000000..db121a5acbf18 --- /dev/null +++ b/bazel/build.bzl @@ -0,0 +1,142 @@ +# TODO Bazel prefers -iquote "path" style includes in many cases. However, our +# source tree uses bracket style for dependencies. We need a way to +# bridge this gap until we decide to fully switch over to Bazel at which point +# this hack can be removed. Many deps lists in the tree will probably need to be +# updated to include abseil explicitly when this is removed. +def _inject_copt_includes(deps): + copts = [] + copts.append("-Iexternal/abseil-cpp~") + return copts + +def redpanda_cc_library( + name, + srcs = [], + hdrs = [], + strip_include_prefix = None, + visibility = None, + include_prefix = None, + deps = []): + native.cc_library( + name = name, + srcs = srcs, + hdrs = hdrs, + visibility = visibility, + include_prefix = include_prefix, + strip_include_prefix = strip_include_prefix, + deps = deps, + copts = _inject_copt_includes(deps), + ) + +def has_flags(args, *flags): + for arg in args: + for flag in flags: + if arg.startswith(flags): + return True + return False + +# TODO +# - Rename to reflect that this is a seastar unit test +# - Make log level configurable (e.g. CI) +# - Set --overprovisioned in CI context +def _redpanda_cc_test( + name, + timeout, + dash_dash_protocol, + srcs = [], + deps = [], + default_memory_gb = None, + default_cores = None, + # from test wrappers + extra_args = [], + # from test author + custom_args = []): + common_args = [ + "--blocked-reactor-notify-ms 2000000", + ] + + args = common_args + extra_args + custom_args + + # Unit tests should never need all of a node's memory. Unless an explicit + # size was requested, set a reasonable fixed value. + if default_memory_gb and not has_flags(args, "-m", "--memory"): + args.append("-m{}G".format(default_memory_gb)) + + # Use a fixed core count unless an explicit number of cores was requested. + # This can help (some what) with determinism across different node shapes. + # Additionally, using a smaller value can help speed up indvidiual tests as + # well as when multiple tests are running in parallel. + if default_cores and not has_flags(args, "-c", "--smp"): + args.append("-c{}".format(default_cores)) + + # Google test / benchmarks don't understand the "--" protocol + if args and dash_dash_protocol: + args = ["--"] + args + + native.cc_test( + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + copts = _inject_copt_includes(deps), + args = args, + ) + +def _redpanda_cc_unit_test(**kwargs): + extra_args = [ + "--unsafe-bypass-fsync 1", + "--default-log-level=trace", + "--logger-log-level='io=debug'", + "--logger-log-level='exception=debug'", + ] + _redpanda_cc_test( + default_memory_gb = 1, + default_cores = 4, + extra_args = extra_args, + **kwargs + ) + +def redpanda_cc_gtest( + name, + timeout, + srcs = [], + deps = [], + args = []): + _redpanda_cc_unit_test( + dash_dash_protocol = False, + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + custom_args = args, + ) + +def redpanda_cc_btest( + name, + timeout, + srcs = [], + deps = [], + args = []): + _redpanda_cc_unit_test( + dash_dash_protocol = True, + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + custom_args = args, + ) + +def redpanda_cc_bench( + name, + timeout, + srcs = [], + deps = [], + args = []): + _redpanda_cc_test( + dash_dash_protocol = False, + default_cores = 1, + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + custom_args = args, + ) From 39d3d9ab09b233e44ac2fea86a9a26f788cffdbb Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 10:56:48 -0700 Subject: [PATCH 004/150] bazel: add baes library bazel build Signed-off-by: Noah Watkins --- src/v/base/BUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/v/base/BUILD diff --git a/src/v/base/BUILD b/src/v/base/BUILD new file mode 100644 index 0000000000000..8764b3b149a5c --- /dev/null +++ b/src/v/base/BUILD @@ -0,0 +1,22 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "base", + hdrs = [ + "include/base/likely.h", + "include/base/oncore.h", + "include/base/outcome.h", + "include/base/seastarx.h", + "include/base/source_location.h", + "include/base/type_traits.h", + "include/base/units.h", + "include/base/vassert.h", + "include/base/vlog.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "@boost//:outcome", + "@seastar", + ], +) From 61a0fe19e460eb262a656f83bfe8de768760068c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:39:21 -0700 Subject: [PATCH 005/150] bazel: add ssx library bazel build Signed-off-by: Noah Watkins --- src/v/ssx/BUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/v/ssx/BUILD diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD new file mode 100644 index 0000000000000..3bd28a095e8bc --- /dev/null +++ b/src/v/ssx/BUILD @@ -0,0 +1,23 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "thread_worker", + hdrs = [ + "include/ssx/thread_worker.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ], +) + +redpanda_cc_library( + name = "sformat", + hdrs = [ + "include/ssx/sformat.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ], +) From 65ffd83f3724b4749cbc62397aca95d0ef06e30c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:39:28 -0700 Subject: [PATCH 006/150] bazel: add strings library bazel build Signed-off-by: Noah Watkins --- src/v/strings/BUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/v/strings/BUILD diff --git a/src/v/strings/BUILD b/src/v/strings/BUILD new file mode 100644 index 0000000000000..dff95846e9d99 --- /dev/null +++ b/src/v/strings/BUILD @@ -0,0 +1,18 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "strings", + srcs = [ + "utf8.cc", + ], + hdrs = [ + "include/strings/string_switch.h", + "include/strings/utf8.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "@boost//:locale", + ], +) From 80802aeb71bd87d6d87c4bfa8d370255f8c55ff3 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:38:44 -0700 Subject: [PATCH 007/150] bazel: add bytes library bazel build Signed-off-by: Noah Watkins --- src/v/bytes/BUILD | 170 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 src/v/bytes/BUILD diff --git a/src/v/bytes/BUILD b/src/v/bytes/BUILD new file mode 100644 index 0000000000000..93b2542bc52a6 --- /dev/null +++ b/src/v/bytes/BUILD @@ -0,0 +1,170 @@ +load("//bazel:build.bzl", "redpanda_cc_btest", "redpanda_cc_library") + +redpanda_cc_library( + name = "iobuf", + srcs = [ + "iobuf.cc", + ], + hdrs = [ + "include/bytes/details/io_allocation_size.h", + "include/bytes/details/io_byte_iterator.h", + "include/bytes/details/io_fragment.h", + "include/bytes/details/io_iterator_consumer.h", + "include/bytes/details/io_placeholder.h", + "include/bytes/details/out_of_range.h", + "include/bytes/iobuf.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/container:intrusive", + ], +) + +redpanda_cc_library( + name = "bytes", + srcs = [ + "bytes.cc", + ], + hdrs = [ + "include/bytes/bytes.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":iobuf", + ], +) + +redpanda_cc_library( + name = "hash", + hdrs = [ + "include/bytes/hash.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":iobuf", + "@boost//:container_hash", + ], +) + +redpanda_cc_library( + name = "random", + srcs = [ + "random.cc", + ], + hdrs = [ + "include/bytes/random.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":bytes", + "//src/v/random", + ], +) + +redpanda_cc_library( + name = "iostream", + srcs = [ + "iostream.cc", + ], + hdrs = [ + "include/bytes/iostream.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":iobuf", + ], +) + +redpanda_cc_library( + name = "scattered_message", + srcs = [ + "scattered_message.cc", + ], + hdrs = [ + "include/bytes/scattered_message.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":iobuf", + ], +) + +redpanda_cc_library( + name = "iobuf_parser", + hdrs = [ + "include/bytes/iobuf_parser.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":bytes", + "//src/v/strings", + "//src/v/utils:vint", + ], +) + +redpanda_cc_library( + name = "streambuf", + hdrs = [ + "include/bytes/streambuf.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":iobuf", + ], +) + +redpanda_cc_btest( + name = "iobuf_test", + timeout = "short", + srcs = [ + "tests/iobuf_tests.cc", + "tests/utils.h", + ], + deps = [ + ":bytes", + ":iobuf", + ":iobuf_parser", + ":iostream", + ":random", + ":scattered_message", + ":streambuf", + "//src/v/test_utils:seastar_boost", + ], +) + +redpanda_cc_btest( + name = "iobuf_utils_test", + timeout = "short", + srcs = [ + "tests/iobuf_utils_tests.cc", + "tests/utils.h", + ], + deps = [ + ":bytes", + ":hash", + ":iostream", + "//src/v/random", + "//src/v/test_utils:seastar_boost", + ], +) + +redpanda_cc_btest( + name = "bytes_test", + timeout = "short", + srcs = [ + "tests/bytes_tests.cc", + ], + deps = [ + ":bytes", + "//src/v/test_utils:seastar_boost", + ], +) From e5aa44f63722fe506eb6996ac9a2800439a7db5b Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 10:58:21 -0700 Subject: [PATCH 008/150] bazel: add container library bazel build Signed-off-by: Noah Watkins --- src/v/container/BUILD | 173 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 src/v/container/BUILD diff --git a/src/v/container/BUILD b/src/v/container/BUILD new file mode 100644 index 0000000000000..8f1488264108f --- /dev/null +++ b/src/v/container/BUILD @@ -0,0 +1,173 @@ +load("//bazel:build.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest", "redpanda_cc_library") + +redpanda_cc_library( + name = "intrusive", + hdrs = [ + "include/container/intrusive_list_helpers.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "@boost//:intrusive", + ], +) + +redpanda_cc_library( + name = "fragmented_vector", + hdrs = [ + "include/container/fragmented_vector.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + ], +) + +redpanda_cc_library( + name = "chunked_hash_map", + hdrs = [ + "include/container/chunked_hash_map.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":fragmented_vector", + "@abseil-cpp//absl/hash", + "@unordered_dense", + ], +) + +redpanda_cc_library( + name = "interval_set", + hdrs = [ + "include/container/interval_set.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], +) + +redpanda_cc_library( + name = "contiguous_range_map", + hdrs = [ + "include/container/contiguous_range_map.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":fragmented_vector", + ], +) + +redpanda_cc_library( + name = "zip", + hdrs = [ + "include/container/zip.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], +) + +redpanda_cc_gtest( + name = "chunked_hash_map_test", + timeout = "short", + srcs = [ + "tests/chunked_hash_map_test.cc", + ], + deps = [ + ":chunked_hash_map", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "fragmented_vector_test", + timeout = "short", + srcs = [ + "tests/fragmented_vector_test.cc", + ], + deps = [ + ":fragmented_vector", + "//src/v/random", + "//src/v/serde", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "contiguous_range_map_test", + timeout = "short", + srcs = [ + "tests/contiguous_range_map_test.cc", + ], + deps = [ + ":contiguous_range_map", + ":zip", + "//src/v/random", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "interval_set_test", + timeout = "short", + srcs = [ + "tests/interval_set_test.cc", + ], + deps = [ + ":interval_set", + "//src/v/random", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_btest( + name = "fragmented_vector_async_test", + timeout = "short", + srcs = [ + "tests/fragmented_vector_async_test.cc", + ], + deps = [ + ":fragmented_vector", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + ], +) + +redpanda_cc_library( + name = "bench_utils", + hdrs = [ + "tests/bench_utils.h", + ], + include_prefix = "container", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/random", + "@seastar//:benchmark", + ], +) + +redpanda_cc_bench( + name = "vector_bench", + timeout = "short", + srcs = [ + "tests/vector_bench.cc", + ], + deps = [ + ":bench_utils", + ":fragmented_vector", + ], +) + +redpanda_cc_bench( + name = "map_bench", + timeout = "short", + srcs = [ + "tests/map_bench.cc", + ], + deps = [ + ":bench_utils", + ":contiguous_range_map", + ], +) From 06ff9604820c6514e80670cc5171e3ccff608752 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:39:37 -0700 Subject: [PATCH 009/150] bazel: add utils library bazel build Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/v/utils/BUILD diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD new file mode 100644 index 0000000000000..a08edecb36e28 --- /dev/null +++ b/src/v/utils/BUILD @@ -0,0 +1,29 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "vint", + srcs = [ + "vint.cc", + ], + hdrs = [ + "vint.h", + "vint_iostream.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/bytes", + ], +) + +redpanda_cc_library( + name = "tristate", + hdrs = [ + "tristate.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + ], +) From b90e0caaca002932491c60d63d359915a086ba21 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:38:54 -0700 Subject: [PATCH 010/150] bazel: add crypto library bazel build Signed-off-by: Noah Watkins --- src/v/crypto/BUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/v/crypto/BUILD diff --git a/src/v/crypto/BUILD b/src/v/crypto/BUILD new file mode 100644 index 0000000000000..7f530d0cb798d --- /dev/null +++ b/src/v/crypto/BUILD @@ -0,0 +1,32 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "crypto", + srcs = [ + "crypto.cc", + "digest.cc", + "hmac.cc", + "internal.h", + "key.cc", + "key.h", + "ossl_context_service.cc", + "random.cc", + "signature.cc", + "ssl_utils.cc", + "ssl_utils.h", + ], + hdrs = [ + "include/crypto/crypto.h", + "include/crypto/exceptions.h", + "include/crypto/ossl_context_service.h", + "include/crypto/types.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/bytes", + "//src/v/ssx:thread_worker", + "@abseil-cpp//absl/container:node_hash_map", + "@openssl", + ], +) From 2b47fbdec14223ce41c8e790a84af9cdee6d4ef5 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:39:03 -0700 Subject: [PATCH 011/150] bazel: add random library bazel build Signed-off-by: Noah Watkins --- src/v/random/BUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/v/random/BUILD diff --git a/src/v/random/BUILD b/src/v/random/BUILD new file mode 100644 index 0000000000000..814b07774ee17 --- /dev/null +++ b/src/v/random/BUILD @@ -0,0 +1,19 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "random", + srcs = [ + "generators.cc", + ], + hdrs = [ + "include/random/fast_prng.h", + "include/random/generators.h", + "include/random/simple_time_jitter.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/crypto", + ], +) From b8d3ed2d776dd663b760cf0048b5e41a6dedff55 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 16:39:11 -0700 Subject: [PATCH 012/150] bazel: add serde library bazel build Signed-off-by: Noah Watkins --- src/v/serde/BUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/v/serde/BUILD diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD new file mode 100644 index 0000000000000..5995bbb57f503 --- /dev/null +++ b/src/v/serde/BUILD @@ -0,0 +1,25 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "serde", + hdrs = glob([ + "read_header.h", + "serde_exception.h", + "type_str.h", + "serde_size_t.h", + "checksum_t.h", + "envelope.h", + "serde_is_enum.h", + "rw/tags.h", + "rw/reservable.h", + "rw/rw.h", + "rw/scalar.h", + "rw/vector.h", + ]), + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + "//src/v/bytes:iobuf_parser", + "//src/v/ssx:sformat", + ], +) From e8efde5b1d83abfe51a2a1f07585175656cb2a43 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 8 Jun 2024 10:57:14 -0700 Subject: [PATCH 013/150] bazel: add test_utils library bazel build Signed-off-by: Noah Watkins --- src/v/test_utils/BUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/v/test_utils/BUILD diff --git a/src/v/test_utils/BUILD b/src/v/test_utils/BUILD new file mode 100644 index 0000000000000..52fbc4c57d571 --- /dev/null +++ b/src/v/test_utils/BUILD @@ -0,0 +1,41 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "gtest", + srcs = [ + "gtest_main.cc", + "gtest_utils.cc", + ], + hdrs = [ + "gtest_utils.h", + "randoms.h", + "test.h", + ], + include_prefix = "test_utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/container:fragmented_vector", + "//src/v/random", + "//src/v/utils:tristate", + "@abseil-cpp//absl/container:btree", + "@abseil-cpp//absl/container:node_hash_map", + "@abseil-cpp//absl/container:node_hash_set", + "@googletest//:gtest", + "@seastar//:testing", + ], +) + +redpanda_cc_library( + name = "seastar_boost", + srcs = [ + "seastar_testing_main.cc", + ], + hdrs = [ + ], + include_prefix = "test_utils", + visibility = ["//visibility:public"], + deps = [ + "@seastar//:testing", + ], +) From 68266274a5162c2c7b4a7f6b8ce83b1694b726e7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 18 Jun 2024 20:53:23 -0700 Subject: [PATCH 014/150] bazel: update seastar and add config options Signed-off-by: Noah Watkins --- MODULE.bazel | 1 + MODULE.bazel.lock | 127 ++++---- bazel/repositories.bzl | 6 +- bazel/thirdparty/seastar.BUILD | 545 +++++++++++++++++++++++++++++++-- 4 files changed, 581 insertions(+), 98 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 59ea9165ce99e..e70effc50f901 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -25,6 +25,7 @@ use_repo( ) bazel_dep(name = "abseil-cpp", version = "20240116.1") +bazel_dep(name = "bazel_skylib", version = "1.4.2") bazel_dep(name = "crc32c", version = "1.1.0") bazel_dep(name = "fmt", version = "8.1.1") bazel_dep(name = "googletest", version = "1.14.0.bcr.1") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index b7b332e3bdbc6..1c72498b45a8e 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 6, - "moduleFileHash": "622831c78d71ea73aa80b57802eb13e356d4fb4ff3a8e04fe980894f36666255", + "moduleFileHash": "3aa9ac5bff697074780c803bba19af3974260a579e2879fb78cabd3357f2f0d7", "flags": { "cmdRegistries": [ "https://bcr.bazel.build" @@ -47,7 +47,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 43, + "line": 44, "column": 40 }, "imports": { @@ -85,6 +85,7 @@ "hedron_compile_commands": "hedron_compile_commands@_", "com_github_nelhage_rules_boost": "rules_boost@_", "abseil-cpp": "abseil-cpp@20240116.1", + "bazel_skylib": "bazel_skylib@1.7.1", "crc32c": "crc32c@1.1.0", "fmt": "fmt@8.1.1", "googletest": "googletest@1.14.0.bcr.1", @@ -246,6 +247,37 @@ } } }, + "bazel_skylib@1.7.1": { + "name": "bazel_skylib", + "version": "1.7.1", + "key": "bazel_skylib@1.7.1", + "repoName": "bazel_skylib", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [ + "//toolchains/unittest:cmd_toolchain", + "//toolchains/unittest:bash_toolchain" + ], + "extensionUsages": [], + "deps": { + "platforms": "platforms@0.0.10", + "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": { + "urls": [ + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz" + ], + "integrity": "sha256-vCg8381SalLDIBJ5zaS8KYZS76iYsQtNsIN9xRZSdW8=", + "strip_prefix": "", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, "crc32c@1.1.0": { "name": "crc32c", "version": "1.1.0", @@ -928,37 +960,6 @@ "bazel_tools": "bazel_tools@_" } }, - "bazel_skylib@1.7.1": { - "name": "bazel_skylib", - "version": "1.7.1", - "key": "bazel_skylib@1.7.1", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.10", - "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": { - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz" - ], - "integrity": "sha256-vCg8381SalLDIBJ5zaS8KYZS76iYsQtNsIN9xRZSdW8=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, "boringssl@0.0.0-20240530-2db0eb3": { "name": "boringssl", "version": "0.0.0-20240530-2db0eb3", @@ -1049,6 +1050,32 @@ } } }, + "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": { + "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", @@ -1098,32 +1125,6 @@ } } }, - "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": { - "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 - } - } - }, "jsoncpp@1.9.5": { "name": "jsoncpp", "version": "1.9.5", @@ -1656,7 +1657,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "ar0M3iOZB7MQ+lIfGcMQeeKy5lkq3r5B1XBeIdny/KE=", + "bzlTransitiveDigest": "NFDIveOmSmoTp4ye/uD8T9X0qB35Apsh6idTWKNukmU=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -1842,9 +1843,9 @@ "ruleClassName": "http_archive", "attributes": { "build_file": "@@//bazel/thirdparty:seastar.BUILD", - "sha256": "166ac9f38ac5f7e900d8f9c892afaaa7c8d9909b0dd4b6315bcb335f50ddf728", - "strip_prefix": "seastar-16a722bc0a8792daa20c165dabc07e4b1e5dff26", - "url": "https://github.com/redpanda-data/seastar/archive/16a722bc0a8792daa20c165dabc07e4b1e5dff26.tar.gz" + "sha256": "34fe74d82caa50873b74520f5233c609213bc6ff7b46762f467e4fccd3a70d30", + "strip_prefix": "seastar-debb8f3792fb18b1490e13ce33580883c80e089a", + "url": "https://github.com/redpanda-data/seastar/archive/debb8f3792fb18b1490e13ce33580883c80e089a.tar.gz" } }, "cryptopp": { diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index f0cebbd54db35..8de70a9233795 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -156,9 +156,9 @@ def data_dependency(): http_archive( name = "seastar", build_file = "//bazel/thirdparty:seastar.BUILD", - sha256 = "166ac9f38ac5f7e900d8f9c892afaaa7c8d9909b0dd4b6315bcb335f50ddf728", - strip_prefix = "seastar-16a722bc0a8792daa20c165dabc07e4b1e5dff26", - url = "https://github.com/redpanda-data/seastar/archive/16a722bc0a8792daa20c165dabc07e4b1e5dff26.tar.gz", + sha256 = "34fe74d82caa50873b74520f5233c609213bc6ff7b46762f467e4fccd3a70d30", + strip_prefix = "seastar-debb8f3792fb18b1490e13ce33580883c80e089a", + url = "https://github.com/redpanda-data/seastar/archive/debb8f3792fb18b1490e13ce33580883c80e089a.tar.gz", ) http_archive( diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 370843d66ad2d..21cd5b8a91cce 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -1,6 +1,129 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") +load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "int_flag") load("@rules_proto//proto:defs.bzl", "proto_library") +bool_flag( + name = "task_backtrace", + build_setting_default = False, +) + +bool_flag( + name = "heap_profiling", + build_setting_default = False, +) + +# "Enable the compile-time {fmt} check when formatting logging messages" ON +# "fmt_VERSION VERSION_GREATER_EQUAL 8.0.0" OFF) +bool_flag( + name = "logger_compile_time_fmt", + build_setting_default = False, +) + +# TODO the default should be true, but need to fix a numactl undefined reference +bool_flag( + name = "numa", + build_setting_default = False, +) + +bool_flag( + name = "hwloc", + build_setting_default = True, +) + +bool_flag( + name = "debug_allocations", + build_setting_default = False, +) + +bool_flag( + name = "openssl", + build_setting_default = False, +) + +bool_flag( + name = "sstring", + build_setting_default = True, +) + +bool_flag( + name = "io_uring", + build_setting_default = True, +) + +int_flag( + name = "api_level", + build_setting_default = 6, + make_variable = "API_LEVEL", +) + +int_flag( + name = "scheduling_groups", + build_setting_default = 16, + make_variable = "SCHEDULING_GROUPS", +) + +config_setting( + name = "use_sstring", + flag_values = { + ":sstring": "true", + }, +) + +config_setting( + name = "use_openssl", + flag_values = { + ":openssl": "true", + }, +) + +config_setting( + name = "use_logger_compile_time_fmt", + flag_values = { + ":logger_compile_time_fmt": "true", + }, +) + +config_setting( + name = "use_numa", + flag_values = { + ":numa": "true", + }, +) + +config_setting( + name = "use_task_backtrace", + flag_values = { + ":task_backtrace": "true", + }, +) + +config_setting( + name = "use_debug_allocations", + flag_values = { + ":debug_allocations": "true", + }, +) + +config_setting( + name = "use_hwloc", + flag_values = { + ":hwloc": "true", + }, +) + +config_setting( + name = "use_io_uring", + flag_values = { + ":io_uring": "true", + }, +) + +config_setting( + name = "use_heap_profiling", + flag_values = { + ":heap_profiling": "true", + }, +) + py_binary( name = "seastar-json2code", srcs = ["scripts/seastar-json2code.py"], @@ -43,63 +166,421 @@ cc_proto_library( cc_library( name = "seastar", - srcs = glob( - [ - "src/**/*.cc", - "src/**/*.hh", - ], - exclude = [ - "src/seastar.cc", - "src/testing/*", - ], - ), - hdrs = glob([ - "include/**/*.hh", - ], - exclude = [ - "include/seastar/testing/*", - ], - ) + [ + srcs = [ + "src/core/alien.cc", + "src/core/app-template.cc", + "src/core/cgroup.hh", + "src/core/condition-variable.cc", + "src/core/cpu_profiler.cc", + "src/core/dpdk_rte.cc", + "src/core/exception_hacks.cc", + "src/core/execution_stage.cc", + "src/core/fair_queue.cc", + "src/core/file.cc", + "src/core/file-impl.hh", + "src/core/fsnotify.cc", + "src/core/fsqual.cc", + "src/core/fstream.cc", + "src/core/future.cc", + "src/core/future-util.cc", + "src/core/io_queue.cc", + "src/core/linux-aio.cc", + "src/core/memory.cc", + "src/core/metrics.cc", + "src/core/on_internal_error.cc", + "src/core/posix.cc", + "src/core/prefault.hh", + "src/core/program_options.cc", + "src/core/program_options.hh", + "src/core/prometheus.cc", + "src/core/reactor.cc", + "src/core/reactor_backend.cc", + "src/core/reactor_backend.hh", + "src/core/resource.cc", + "src/core/scollectd.cc", + "src/core/scollectd-impl.hh", + "src/core/semaphore.cc", + "src/core/sharded.cc", + "src/core/smp.cc", + "src/core/sstring.cc", + "src/core/syscall_result.hh", + "src/core/syscall_work_queue.hh", + "src/core/systemwide_memory_barrier.cc", + "src/core/thread.cc", + "src/core/thread_pool.cc", + "src/core/thread_pool.hh", + "src/core/uname.cc", + "src/core/vla.hh", + "src/http/api_docs.cc", + "src/http/client.cc", + "src/http/common.cc", + "src/http/file_handler.cc", + "src/http/httpd.cc", + "src/http/json_path.cc", + "src/http/matcher.cc", + "src/http/mime_types.cc", + "src/http/reply.cc", + "src/http/request.cc", + "src/http/routes.cc", + "src/http/transformers.cc", + "src/http/url.cc", + "src/json/formatter.cc", + "src/json/json_elements.cc", + "src/net/arp.cc", + "src/net/config.cc", + "src/net/dhcp.cc", + "src/net/dns.cc", + "src/net/dpdk.cc", + "src/net/ethernet.cc", + "src/net/inet_address.cc", + "src/net/ip.cc", + "src/net/ip_checksum.cc", + "src/net/native-stack.cc", + "src/net/native-stack-impl.hh", + "src/net/net.cc", + "src/net/packet.cc", + "src/net/posix-stack.cc", + "src/net/proxy.cc", + "src/net/socket_address.cc", + "src/net/stack.cc", + "src/net/tcp.cc", + "src/net/tls-impl.cc", + "src/net/tls-impl.hh", + "src/net/udp.cc", + "src/net/unix_address.cc", + "src/net/virtio.cc", + "src/rpc/lz4_compressor.cc", + "src/rpc/lz4_fragmented_compressor.cc", + "src/rpc/rpc.cc", + "src/util/alloc_failure_injector.cc", + "src/util/backtrace.cc", + "src/util/conversions.cc", + "src/util/exceptions.cc", + "src/util/file.cc", + "src/util/log.cc", + "src/util/process.cc", + "src/util/program-options.cc", + "src/util/read_first_line.cc", + "src/util/short_streams.cc", + "src/util/tmp_file.cc", + "src/websocket/server.cc", + ] + select({ + "use_openssl": ["src/net/ossl.cc"], + "//conditions:default": ["src/net/tls.cc"], + }), + hdrs = [ + "include/seastar/core/abort_on_ebadf.hh", + "include/seastar/core/abort_on_expiry.hh", + "include/seastar/core/abort_source.hh", + "include/seastar/core/abortable_fifo.hh", + "include/seastar/core/alien.hh", + "include/seastar/core/align.hh", + "include/seastar/core/aligned_buffer.hh", + "include/seastar/core/app-template.hh", + "include/seastar/core/array_map.hh", + "include/seastar/core/bitops.hh", + "include/seastar/core/bitset-iter.hh", + "include/seastar/core/byteorder.hh", + "include/seastar/core/cacheline.hh", + "include/seastar/core/checked_ptr.hh", + "include/seastar/core/chunked_fifo.hh", + "include/seastar/core/circular_buffer.hh", + "include/seastar/core/circular_buffer_fixed_capacity.hh", + "include/seastar/core/condition-variable.hh", + "include/seastar/core/coroutine.hh", + "include/seastar/core/deleter.hh", + "include/seastar/core/distributed.hh", + "include/seastar/core/do_with.hh", + "include/seastar/core/dpdk_rte.hh", + "include/seastar/core/enum.hh", + "include/seastar/core/exception_hacks.hh", + "include/seastar/core/execution_stage.hh", + "include/seastar/core/expiring_fifo.hh", + "include/seastar/core/fair_queue.hh", + "include/seastar/core/file.hh", + "include/seastar/core/file-types.hh", + "include/seastar/core/fsnotify.hh", + "include/seastar/core/fsqual.hh", + "include/seastar/core/fstream.hh", + "include/seastar/core/function_traits.hh", + "include/seastar/core/future.hh", + "include/seastar/core/future-util.hh", + "include/seastar/core/gate.hh", + "include/seastar/core/idle_cpu_handler.hh", + "include/seastar/core/internal/api-level.hh", + "include/seastar/core/internal/buffer_allocator.hh", + "include/seastar/core/internal/cpu_profiler.hh", + "include/seastar/core/internal/estimated_histogram.hh", + "include/seastar/core/internal/io_desc.hh", + "include/seastar/core/internal/io_intent.hh", + "include/seastar/core/internal/io_request.hh", + "include/seastar/core/internal/io_sink.hh", + "include/seastar/core/internal/poll.hh", + "include/seastar/core/internal/pollable_fd.hh", + "include/seastar/core/internal/read_state.hh", + "include/seastar/core/internal/run_in_background.hh", + "include/seastar/core/internal/stall_detector.hh", + "include/seastar/core/internal/timers.hh", + "include/seastar/core/internal/uname.hh", + "include/seastar/core/io_intent.hh", + "include/seastar/core/io_priority_class.hh", + "include/seastar/core/io_queue.hh", + "include/seastar/core/iostream.hh", + "include/seastar/core/iostream-impl.hh", + "include/seastar/core/layered_file.hh", + "include/seastar/core/linux-aio.hh", + "include/seastar/core/loop.hh", + "include/seastar/core/lowres_clock.hh", + "include/seastar/core/make_task.hh", + "include/seastar/core/manual_clock.hh", + "include/seastar/core/map_reduce.hh", + "include/seastar/core/memory.hh", + "include/seastar/core/metrics.hh", + "include/seastar/core/metrics_api.hh", + "include/seastar/core/metrics_registration.hh", + "include/seastar/core/metrics_types.hh", + "include/seastar/core/on_internal_error.hh", + "include/seastar/core/pipe.hh", + "include/seastar/core/polymorphic_temporary_buffer.hh", + "include/seastar/core/posix.hh", + "include/seastar/core/preempt.hh", + "include/seastar/core/prefetch.hh", + "include/seastar/core/print.hh", + "include/seastar/core/prometheus.hh", + "include/seastar/core/queue.hh", + "include/seastar/core/ragel.hh", + "include/seastar/core/reactor.hh", + "include/seastar/core/reactor_config.hh", + "include/seastar/core/relabel_config.hh", + "include/seastar/core/report_exception.hh", + "include/seastar/core/resource.hh", + "include/seastar/core/rwlock.hh", + "include/seastar/core/scattered_message.hh", + "include/seastar/core/scheduling.hh", + "include/seastar/core/scheduling_specific.hh", + "include/seastar/core/scollectd.hh", + "include/seastar/core/scollectd_api.hh", + "include/seastar/core/seastar.hh", + "include/seastar/core/semaphore.hh", + "include/seastar/core/shard_id.hh", + "include/seastar/core/sharded.hh", + "include/seastar/core/shared_future.hh", + "include/seastar/core/shared_mutex.hh", + "include/seastar/core/shared_ptr.hh", + "include/seastar/core/shared_ptr_debug_helper.hh", + "include/seastar/core/shared_ptr_incomplete.hh", + "include/seastar/core/simple-stream.hh", + "include/seastar/core/slab.hh", + "include/seastar/core/sleep.hh", + "include/seastar/core/smp.hh", + "include/seastar/core/smp_options.hh", + "include/seastar/core/sstring.hh", + "include/seastar/core/stall_sampler.hh", + "include/seastar/core/stream.hh", + "include/seastar/core/systemwide_memory_barrier.hh", + "include/seastar/core/task.hh", + "include/seastar/core/temporary_buffer.hh", + "include/seastar/core/thread.hh", + "include/seastar/core/thread_cputime_clock.hh", + "include/seastar/core/thread_impl.hh", + "include/seastar/core/timed_out_error.hh", + "include/seastar/core/timer.hh", + "include/seastar/core/timer-set.hh", + "include/seastar/core/transfer.hh", + "include/seastar/core/unaligned.hh", + "include/seastar/core/units.hh", + "include/seastar/core/vector-data-sink.hh", + "include/seastar/core/weak_ptr.hh", + "include/seastar/core/when_all.hh", + "include/seastar/core/with_scheduling_group.hh", + "include/seastar/core/with_timeout.hh", + "include/seastar/coroutine/exception.hh", + "include/seastar/coroutine/generator.hh", + "include/seastar/http/api_docs.hh", "include/seastar/http/chunk_parsers.hh", + "include/seastar/http/client.hh", + "include/seastar/http/common.hh", + "include/seastar/http/exception.hh", + "include/seastar/http/file_handler.hh", + "include/seastar/http/function_handlers.hh", + "include/seastar/http/handlers.hh", + "include/seastar/http/httpd.hh", + "include/seastar/http/internal/content_source.hh", + "include/seastar/http/json_path.hh", + "include/seastar/http/matcher.hh", + "include/seastar/http/matchrules.hh", + "include/seastar/http/mime_types.hh", + "include/seastar/http/reply.hh", + "include/seastar/http/request.hh", "include/seastar/http/request_parser.hh", "include/seastar/http/response_parser.hh", + "include/seastar/http/routes.hh", + "include/seastar/http/short_streams.hh", + "include/seastar/http/transformers.hh", + "include/seastar/http/url.hh", + "include/seastar/json/formatter.hh", + "include/seastar/json/json_elements.hh", + "include/seastar/net/api.hh", + "include/seastar/net/arp.hh", + "include/seastar/net/byteorder.hh", + "include/seastar/net/config.hh", + "include/seastar/net/const.hh", + "include/seastar/net/dhcp.hh", + "include/seastar/net/dns.hh", + "include/seastar/net/dpdk.hh", + "include/seastar/net/ethernet.hh", + "include/seastar/net/inet_address.hh", + "include/seastar/net/ip.hh", + "include/seastar/net/ip_checksum.hh", + "include/seastar/net/ipv4_address.hh", + "include/seastar/net/ipv6_address.hh", + "include/seastar/net/native-stack.hh", + "include/seastar/net/net.hh", + "include/seastar/net/packet.hh", + "include/seastar/net/packet-data-source.hh", + "include/seastar/net/packet-util.hh", + "include/seastar/net/posix-stack.hh", + "include/seastar/net/proxy.hh", + "include/seastar/net/socket_defs.hh", + "include/seastar/net/stack.hh", + "include/seastar/net/tcp.hh", + "include/seastar/net/tcp-stack.hh", + "include/seastar/net/tls.hh", + "include/seastar/net/toeplitz.hh", + "include/seastar/net/udp.hh", + "include/seastar/net/unix_address.hh", + "include/seastar/net/virtio.hh", + "include/seastar/net/virtio-interface.hh", + "include/seastar/rpc/lz4_compressor.hh", + "include/seastar/rpc/lz4_fragmented_compressor.hh", + "include/seastar/rpc/multi_algo_compressor_factory.hh", + "include/seastar/rpc/rpc.hh", + "include/seastar/rpc/rpc_impl.hh", + "include/seastar/rpc/rpc_types.hh", + "include/seastar/util/alloc_failure_injector.hh", + "include/seastar/util/backtrace.hh", + "include/seastar/util/bool_class.hh", + "include/seastar/util/closeable.hh", + "include/seastar/util/concepts.hh", + "include/seastar/util/conversions.hh", + "include/seastar/util/critical_alloc_section.hh", + "include/seastar/util/defer.hh", + "include/seastar/util/eclipse.hh", + "include/seastar/util/exceptions.hh", + "include/seastar/util/file.hh", + "include/seastar/util/function_input_iterator.hh", + "include/seastar/util/indirect.hh", + "include/seastar/util/internal/iovec_utils.hh", + "include/seastar/util/internal/magic.hh", + "include/seastar/util/is_smart_ptr.hh", + "include/seastar/util/later.hh", + "include/seastar/util/lazy.hh", + "include/seastar/util/log.hh", + "include/seastar/util/log-cli.hh", + "include/seastar/util/log-impl.hh", + "include/seastar/util/memory_diagnostics.hh", + "include/seastar/util/modules.hh", + "include/seastar/util/noncopyable_function.hh", + "include/seastar/util/optimized_optional.hh", + "include/seastar/util/print_safe.hh", + "include/seastar/util/process.hh", + "include/seastar/util/program-options.hh", + "include/seastar/util/read_first_line.hh", + "include/seastar/util/reference_wrapper.hh", + "include/seastar/util/sampler.hh", + "include/seastar/util/shared_token_bucket.hh", + "include/seastar/util/short_streams.hh", + "include/seastar/util/source_location-compat.hh", + "include/seastar/util/spinlock.hh", + "include/seastar/util/std-compat.hh", + "include/seastar/util/string_utils.hh", + "include/seastar/util/tmp_file.hh", + "include/seastar/util/transform_iterator.hh", + "include/seastar/util/tuple_utils.hh", + "include/seastar/util/used_size.hh", + "include/seastar/util/variant_utils.hh", + "include/seastar/websocket/server.hh", ], copts = [ "-std=c++20", ], defines = [ - "SEASTAR_API_LEVEL=6", - "SEASTAR_SSTRING", - "SEASTAR_SCHEDULING_GROUPS_COUNT=32", - # "BOOST_TEST_ALTERNATIVE_INIT_API", "BOOST_TEST_DYN_LINK", "BOOST_TEST_NO_LIB", - ], + "SEASTAR_API_LEVEL=$(API_LEVEL)", + "SEASTAR_SCHEDULING_GROUPS_COUNT=$(SCHEDULING_GROUPS)", + ] + select({ + "use_task_backtrace": ["SEASTAR_TASK_BACKTRACE"], + "//conditions:default": [], + }) + select({ + "use_sstring": ["SEASTAR_SSTRING"], + "//conditions:default": [], + }) + select({ + "use_logger_compile_time_fmt": ["SEASTAR_LOGGER_COMPILE_TIME_FMT"], + "//conditions:default": [], + }) + select({ + "use_openssl": ["SEASTAR_WITH_TLS_OSSL"], + "//conditions:default": [], + }), includes = [ "include", "src", ], + local_defines = [ + "SEASTAR_DEFERRED_ACTION_REQUIRE_NOEXCEPT", + ] + select({ + "use_debug_allocations": ["SEASTAR_DEBUG_ALLOCATIONS"], + "//conditions:default": [], + }) + select({ + "use_hwloc": ["SEASTAR_HAVE_HWLOC"], + "//conditions:default": [], + }) + select({ + "use_io_uring": ["SEASTAR_HAVE_URING"], + "//conditions:default": [], + }) + select({ + "use_numa": ["SEASTAR_HAVE_NUMA"], + "//conditions:default": [], + }) + select({ + # these only need to be applied to memory.cc and reactor.cc + "use_heap_profiling": ["SEASTAR_HEAPPROF"], + "//conditions:default": [], + }), + toolchains = [ + ":api_level", + ":scheduling_groups", + ], visibility = [ "//visibility:public", ], deps = [ ":metrics_cc_proto", + "@boost//:algorithm", + "@boost//:asio", + "@boost//:endian", "@boost//:filesystem", + "@boost//:lockfree", "@boost//:program_options", "@boost//:test.so", "@boost//:thread", - "@boost//:algorithm", - "@boost//:lockfree", - "@boost//:endian", - "@boost//:asio", "@c-ares", "@fmt", - "@gnutls", "@lksctp", "@lz4", "@protobuf", "@yaml-cpp", - ], + ] + select({ + "use_hwloc": ["@hwloc"], + "//conditions:default": [], + }) + select({ + "use_io_uring": ["@liburing"], + "//conditions:default": [], + }) + select({ + "use_numa": ["@numactl"], + "//conditions:default": [], + }) + select({ + "use_openssl": ["@openssl"], + "//conditions:default": ["@gnutls"], + }), ) cc_library( @@ -135,13 +616,13 @@ cc_library( cc_library( name = "benchmark", srcs = [ - "tests/perf/perf_tests.cc", "tests/perf/linux_perf_event.cc", + "tests/perf/perf_tests.cc", ], hdrs = [ - "include/seastar/testing/test_runner.hh", - "include/seastar/testing/perf_tests.hh", "include/seastar/testing/linux_perf_event.hh", + "include/seastar/testing/perf_tests.hh", + "include/seastar/testing/test_runner.hh", ], includes = [ "include", From e2fcf0adc9c182f3540acb397acc6f95a8f8a696 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 18 Jun 2024 20:53:48 -0700 Subject: [PATCH 015/150] bazel: add missing hwloc depdendency Signed-off-by: Noah Watkins --- bazel/thirdparty/hwloc.BUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bazel/thirdparty/hwloc.BUILD b/bazel/thirdparty/hwloc.BUILD index 26a4136aa6d66..7d71b4cc8ec11 100644 --- a/bazel/thirdparty/hwloc.BUILD +++ b/bazel/thirdparty/hwloc.BUILD @@ -20,4 +20,7 @@ configure_make( visibility = [ "//visibility:public", ], + deps = [ + "@libpciaccess", + ], ) From be287e1a2eb6155e0ea12b54f6f51e54c8d3a36e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 18 Jun 2024 21:24:25 -0700 Subject: [PATCH 016/150] bazel: use label conditions Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 21cd5b8a91cce..c979b528c0192 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -265,7 +265,7 @@ cc_library( "src/util/tmp_file.cc", "src/websocket/server.cc", ] + select({ - "use_openssl": ["src/net/ossl.cc"], + ":use_openssl": ["src/net/ossl.cc"], "//conditions:default": ["src/net/tls.cc"], }), hdrs = [ @@ -510,16 +510,16 @@ cc_library( "SEASTAR_API_LEVEL=$(API_LEVEL)", "SEASTAR_SCHEDULING_GROUPS_COUNT=$(SCHEDULING_GROUPS)", ] + select({ - "use_task_backtrace": ["SEASTAR_TASK_BACKTRACE"], + ":use_task_backtrace": ["SEASTAR_TASK_BACKTRACE"], "//conditions:default": [], }) + select({ - "use_sstring": ["SEASTAR_SSTRING"], + ":use_sstring": ["SEASTAR_SSTRING"], "//conditions:default": [], }) + select({ - "use_logger_compile_time_fmt": ["SEASTAR_LOGGER_COMPILE_TIME_FMT"], + ":use_logger_compile_time_fmt": ["SEASTAR_LOGGER_COMPILE_TIME_FMT"], "//conditions:default": [], }) + select({ - "use_openssl": ["SEASTAR_WITH_TLS_OSSL"], + ":use_openssl": ["SEASTAR_WITH_TLS_OSSL"], "//conditions:default": [], }), includes = [ @@ -529,20 +529,20 @@ cc_library( local_defines = [ "SEASTAR_DEFERRED_ACTION_REQUIRE_NOEXCEPT", ] + select({ - "use_debug_allocations": ["SEASTAR_DEBUG_ALLOCATIONS"], + ":use_debug_allocations": ["SEASTAR_DEBUG_ALLOCATIONS"], "//conditions:default": [], }) + select({ - "use_hwloc": ["SEASTAR_HAVE_HWLOC"], + ":use_hwloc": ["SEASTAR_HAVE_HWLOC"], "//conditions:default": [], }) + select({ - "use_io_uring": ["SEASTAR_HAVE_URING"], + ":use_io_uring": ["SEASTAR_HAVE_URING"], "//conditions:default": [], }) + select({ - "use_numa": ["SEASTAR_HAVE_NUMA"], + ":use_numa": ["SEASTAR_HAVE_NUMA"], "//conditions:default": [], }) + select({ # these only need to be applied to memory.cc and reactor.cc - "use_heap_profiling": ["SEASTAR_HEAPPROF"], + ":use_heap_profiling": ["SEASTAR_HEAPPROF"], "//conditions:default": [], }), toolchains = [ @@ -569,16 +569,16 @@ cc_library( "@protobuf", "@yaml-cpp", ] + select({ - "use_hwloc": ["@hwloc"], + ":use_hwloc": ["@hwloc"], "//conditions:default": [], }) + select({ - "use_io_uring": ["@liburing"], + ":use_io_uring": ["@liburing"], "//conditions:default": [], }) + select({ - "use_numa": ["@numactl"], + ":use_numa": ["@numactl"], "//conditions:default": [], }) + select({ - "use_openssl": ["@openssl"], + ":use_openssl": ["@openssl"], "//conditions:default": ["@gnutls"], }), ) From e58bd474ea1678b3522fd39602c42a85f58f6855 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 19 Jun 2024 07:14:05 -0700 Subject: [PATCH 017/150] bazel: use inherited c++ standard setting Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 3 --- 1 file changed, 3 deletions(-) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index c979b528c0192..d01d84f61794c 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -501,9 +501,6 @@ cc_library( "include/seastar/util/variant_utils.hh", "include/seastar/websocket/server.hh", ], - copts = [ - "-std=c++20", - ], defines = [ "BOOST_TEST_DYN_LINK", "BOOST_TEST_NO_LIB", From f9319a1512e1c2f591aa2c566525dbc57f61e521 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 19 Jun 2024 07:15:33 -0700 Subject: [PATCH 018/150] bazel: clarify seastar build comments Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index d01d84f61794c..9447aff077ce3 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -132,6 +132,9 @@ py_binary( ], ) +# the fix to the generated parsers applied in the cmake build appears to be +# unnecessary with recent versions of ragel. omitting until needed. see +# https://github.com/scylladb/seastar/commit/1cb8b0e for more info. genrule( name = "http_request_parser", srcs = ["src/http/request_parser.rl"], @@ -538,7 +541,9 @@ cc_library( ":use_numa": ["SEASTAR_HAVE_NUMA"], "//conditions:default": [], }) + select({ - # these only need to be applied to memory.cc and reactor.cc + # this only needs to be applied to memory.cc and reactor.cc. could be + # split out into a separate cc_library, but we'd need to inherit all the + # build settings. defining for all compilation units seems harmless. ":use_heap_profiling": ["SEASTAR_HEAPPROF"], "//conditions:default": [], }), @@ -596,7 +601,8 @@ cc_library( "include/seastar/testing/test_case.hh", "include/seastar/testing/test_runner.hh", "include/seastar/testing/thread_test_case.hh", - # cc file is in core, but should only be used in testing + # the corresponding cc file is in the core directory, but it is only + # needed in the testing library "include/seastar/testing/on_internal_error.hh", ], includes = [ From 82e795453370b54fe6b86056cf912e5cf79abda1 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 19 Jun 2024 11:51:11 -0700 Subject: [PATCH 019/150] bazel: make strings library fine grained Signed-off-by: Noah Watkins --- src/v/bytes/BUILD | 2 +- src/v/strings/BUILD | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/v/bytes/BUILD b/src/v/bytes/BUILD index 93b2542bc52a6..93c3dd4298b26 100644 --- a/src/v/bytes/BUILD +++ b/src/v/bytes/BUILD @@ -105,7 +105,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ ":bytes", - "//src/v/strings", + "//src/v/strings:utf8", "//src/v/utils:vint", ], ) diff --git a/src/v/strings/BUILD b/src/v/strings/BUILD index dff95846e9d99..8921430f3d175 100644 --- a/src/v/strings/BUILD +++ b/src/v/strings/BUILD @@ -1,12 +1,11 @@ load("//bazel:build.bzl", "redpanda_cc_library") redpanda_cc_library( - name = "strings", + name = "utf8", srcs = [ "utf8.cc", ], hdrs = [ - "include/strings/string_switch.h", "include/strings/utf8.h", ], strip_include_prefix = "include", @@ -16,3 +15,12 @@ redpanda_cc_library( "@boost//:locale", ], ) + +redpanda_cc_library( + name = "string_switch", + hdrs = [ + "include/strings/string_switch.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], +) From 4e96dccd2d5187b2194a99253aef3b7bdb81283e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 19 Jun 2024 11:51:33 -0700 Subject: [PATCH 020/150] bazel: add no-seastar boost test macro Signed-off-by: Noah Watkins --- bazel/build.bzl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bazel/build.bzl b/bazel/build.bzl index db121a5acbf18..1ca233a7a529d 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -140,3 +140,15 @@ def redpanda_cc_bench( deps = deps, custom_args = args, ) + +def redpanda_cc_btest_no_seastar( + name, + timeout, + srcs = [], + deps = []): + native.cc_test( + name = name, + timeout = timeout, + srcs = srcs, + deps = ["@boost//:test.so"] + deps, + ) From bbfde7de00f219e9256fb044d7cd4f8c08d375ff Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 19 Jun 2024 11:53:16 -0700 Subject: [PATCH 021/150] bazel: add strings library tests Signed-off-by: Noah Watkins --- src/v/strings/BUILD | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/v/strings/BUILD b/src/v/strings/BUILD index 8921430f3d175..1a61e694800b6 100644 --- a/src/v/strings/BUILD +++ b/src/v/strings/BUILD @@ -1,4 +1,4 @@ -load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_btest_no_seastar", "redpanda_cc_library") redpanda_cc_library( name = "utf8", @@ -24,3 +24,17 @@ redpanda_cc_library( strip_include_prefix = "include", visibility = ["//visibility:public"], ) + +redpanda_cc_btest_no_seastar( + name = "strings_test", + timeout = "short", + srcs = [ + "tests/constexpr_string_switch.cc", + "tests/string_switch_test.cc", + "tests/utf8_control_chars.cc", + ], + deps = [ + ":string_switch", + ":utf8", + ], +) From 9a1f8e6cd769d66bda82877bf0a86c3aea227a9e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 19 Jun 2024 14:49:12 -0700 Subject: [PATCH 022/150] bazel: add crypto tests Signed-off-by: Noah Watkins --- src/v/crypto/BUILD | 65 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/src/v/crypto/BUILD b/src/v/crypto/BUILD index 7f530d0cb798d..f0dea38f6a7ac 100644 --- a/src/v/crypto/BUILD +++ b/src/v/crypto/BUILD @@ -1,4 +1,4 @@ -load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_gtest", "redpanda_cc_library") redpanda_cc_library( name = "crypto", @@ -30,3 +30,66 @@ redpanda_cc_library( "@openssl", ], ) + +redpanda_cc_library( + name = "crypto_test_utils", + hdrs = [ + "tests/crypto_test_utils.h", + "tests/test_values.h", + ], + deps = [ + "//src/v/bytes", + "@boost//:algorithm", + ], +) + +redpanda_cc_gtest( + name = "digest_test", + timeout = "short", + srcs = [ + "tests/digest_tests.cc", + ], + deps = [ + ":crypto", + ":crypto_test_utils", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "hmac_test", + timeout = "short", + srcs = [ + "tests/hmac_tests.cc", + ], + deps = [ + ":crypto", + ":crypto_test_utils", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "random_test", + timeout = "short", + srcs = [ + "tests/random_tests.cc", + ], + deps = [ + ":crypto", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "signature_test", + timeout = "short", + srcs = [ + "tests/signature_tests.cc", + ], + deps = [ + ":crypto", + ":crypto_test_utils", + "//src/v/test_utils:gtest", + ], +) From b52e2a75d0ff07b81eb43665c93623ce4e110e69 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 20 Jun 2024 08:01:26 -0700 Subject: [PATCH 023/150] bazel: make random library more fine grained Signed-off-by: Noah Watkins --- src/v/bytes/BUILD | 4 ++-- src/v/container/BUILD | 8 ++++---- src/v/random/BUILD | 28 +++++++++++++++++++++++++--- src/v/test_utils/BUILD | 2 +- 4 files changed, 32 insertions(+), 10 deletions(-) diff --git a/src/v/bytes/BUILD b/src/v/bytes/BUILD index 93c3dd4298b26..c8270f6816b29 100644 --- a/src/v/bytes/BUILD +++ b/src/v/bytes/BUILD @@ -62,7 +62,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ ":bytes", - "//src/v/random", + "//src/v/random:generators", ], ) @@ -152,7 +152,7 @@ redpanda_cc_btest( ":bytes", ":hash", ":iostream", - "//src/v/random", + "//src/v/random:generators", "//src/v/test_utils:seastar_boost", ], ) diff --git a/src/v/container/BUILD b/src/v/container/BUILD index 8f1488264108f..4bf48fdf94a52 100644 --- a/src/v/container/BUILD +++ b/src/v/container/BUILD @@ -88,7 +88,7 @@ redpanda_cc_gtest( ], deps = [ ":fragmented_vector", - "//src/v/random", + "//src/v/random:generators", "//src/v/serde", "//src/v/test_utils:gtest", ], @@ -103,7 +103,7 @@ redpanda_cc_gtest( deps = [ ":contiguous_range_map", ":zip", - "//src/v/random", + "//src/v/random:generators", "//src/v/test_utils:gtest", ], ) @@ -116,7 +116,7 @@ redpanda_cc_gtest( ], deps = [ ":interval_set", - "//src/v/random", + "//src/v/random:generators", "//src/v/test_utils:gtest", ], ) @@ -143,7 +143,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ "//src/v/base", - "//src/v/random", + "//src/v/random:generators", "@seastar//:benchmark", ], ) diff --git a/src/v/random/BUILD b/src/v/random/BUILD index 814b07774ee17..2aeb9bceeb8b3 100644 --- a/src/v/random/BUILD +++ b/src/v/random/BUILD @@ -1,14 +1,24 @@ load("//bazel:build.bzl", "redpanda_cc_library") redpanda_cc_library( - name = "random", + name = "fast_prng", + hdrs = [ + "include/random/fast_prng.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "@abseil-cpp//absl/random", + ], +) + +redpanda_cc_library( + name = "generators", srcs = [ "generators.cc", ], hdrs = [ - "include/random/fast_prng.h", "include/random/generators.h", - "include/random/simple_time_jitter.h", ], strip_include_prefix = "include", visibility = ["//visibility:public"], @@ -17,3 +27,15 @@ redpanda_cc_library( "//src/v/crypto", ], ) + +redpanda_cc_library( + name = "time_jitter", + hdrs = [ + "include/random/simple_time_jitter.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + ":fast_prng", + ], +) diff --git a/src/v/test_utils/BUILD b/src/v/test_utils/BUILD index 52fbc4c57d571..5561c2d25944e 100644 --- a/src/v/test_utils/BUILD +++ b/src/v/test_utils/BUILD @@ -16,7 +16,7 @@ redpanda_cc_library( deps = [ "//src/v/base", "//src/v/container:fragmented_vector", - "//src/v/random", + "//src/v/random:generators", "//src/v/utils:tristate", "@abseil-cpp//absl/container:btree", "@abseil-cpp//absl/container:node_hash_map", From 169f910e6a8dbb6dc5d5574d73f662774a49e887 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 20 Jun 2024 08:01:40 -0700 Subject: [PATCH 024/150] bazel: add random library tests Signed-off-by: Noah Watkins --- src/v/random/BUILD | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/v/random/BUILD b/src/v/random/BUILD index 2aeb9bceeb8b3..ec55a13f1e456 100644 --- a/src/v/random/BUILD +++ b/src/v/random/BUILD @@ -1,4 +1,4 @@ -load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_btest", "redpanda_cc_library") redpanda_cc_library( name = "fast_prng", @@ -39,3 +39,17 @@ redpanda_cc_library( ":fast_prng", ], ) + +redpanda_cc_btest( + name = "random_test", + timeout = "short", + srcs = [ + "tests/random_test.cc", + ], + deps = [ + ":fast_prng", + ":generators", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + ], +) From ddd4cbd0a67e8f17cb13b3de4a2c13b48ee5ae28 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 20 Jun 2024 08:45:23 -0700 Subject: [PATCH 025/150] bazel: allow defines to pass through for test macro Useful for passing in BOOST_TEST_MODULE=foo to add a main(). Signed-off-by: Noah Watkins --- bazel/build.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazel/build.bzl b/bazel/build.bzl index 1ca233a7a529d..59b9fca9fa85e 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -145,10 +145,12 @@ def redpanda_cc_btest_no_seastar( name, timeout, srcs = [], + defines = [], deps = []): native.cc_test( name = name, timeout = timeout, srcs = srcs, + defines = defines, deps = ["@boost//:test.so"] + deps, ) From cc035b8b3225cbd4b3c440b82e1c3bcb46c9580c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 20 Jun 2024 08:46:21 -0700 Subject: [PATCH 026/150] bazel: add tests to utils library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index a08edecb36e28..1024ddf0ab44a 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -1,4 +1,4 @@ -load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar", "redpanda_cc_library") redpanda_cc_library( name = "vint", @@ -13,6 +13,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ "//src/v/bytes", + "//src/v/bytes:iostream", ], ) @@ -27,3 +28,43 @@ redpanda_cc_library( "//src/v/base", ], ) + +redpanda_cc_btest_no_seastar( + name = "tristate_test", + timeout = "short", + srcs = [ + "tests/tristate_test.cc", + ], + defines = [ + "BOOST_TEST_MODULE=tristate", + ], + deps = [ + ":tristate", + ], +) + +redpanda_cc_btest( + name = "vint_test", + timeout = "short", + srcs = [ + "tests/vint_test.cc", + ], + deps = [ + ":vint", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + ], +) + +redpanda_cc_bench( + name = "vint_bench", + timeout = "short", + srcs = [ + "tests/vint_bench.cc", + ], + deps = [ + ":vint", + "//src/v/random:generators", + "@seastar//:benchmark", + ], +) From 01abe7aa5ccd7335032f39f6a31e65319affd57e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 20 Jun 2024 10:21:13 -0700 Subject: [PATCH 027/150] bazel: add base outcome test Signed-off-by: Noah Watkins --- src/v/base/BUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/v/base/BUILD b/src/v/base/BUILD index 8764b3b149a5c..1df8b083f7415 100644 --- a/src/v/base/BUILD +++ b/src/v/base/BUILD @@ -1,4 +1,4 @@ -load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_btest_no_seastar", "redpanda_cc_library") redpanda_cc_library( name = "base", @@ -20,3 +20,14 @@ redpanda_cc_library( "@seastar", ], ) + +redpanda_cc_btest_no_seastar( + name = "outcome_test", + timeout = "short", + srcs = [ + "tests/outcome_test.cc", + ], + deps = [ + ":base", + ], +) From 075f5eb4e8928e745a1ff4c00b3790f0f0c7f55f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 20 Jun 2024 18:22:31 -0700 Subject: [PATCH 028/150] bazel: use a better name for seastar numactl option The config option `--@seastar//:numa=True` didn't read very intuitively, so changed it to `numactl`. Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 9447aff077ce3..5c04726675a7f 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -20,7 +20,7 @@ bool_flag( # TODO the default should be true, but need to fix a numactl undefined reference bool_flag( - name = "numa", + name = "numactl", build_setting_default = False, ) @@ -83,9 +83,9 @@ config_setting( ) config_setting( - name = "use_numa", + name = "use_numactl", flag_values = { - ":numa": "true", + ":numactl": "true", }, ) @@ -538,7 +538,7 @@ cc_library( ":use_io_uring": ["SEASTAR_HAVE_URING"], "//conditions:default": [], }) + select({ - ":use_numa": ["SEASTAR_HAVE_NUMA"], + ":use_numactl": ["SEASTAR_HAVE_NUMA"], "//conditions:default": [], }) + select({ # this only needs to be applied to memory.cc and reactor.cc. could be @@ -577,7 +577,7 @@ cc_library( ":use_io_uring": ["@liburing"], "//conditions:default": [], }) + select({ - ":use_numa": ["@numactl"], + ":use_numactl": ["@numactl"], "//conditions:default": [], }) + select({ ":use_openssl": ["@openssl"], From 1fcd7706f3fbfcdef30a62029f28b2af9adbcf79 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 06:56:07 -0700 Subject: [PATCH 029/150] bazel: add ssx tests Signed-off-by: Noah Watkins --- src/v/ssx/BUILD | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 3bd28a095e8bc..980fbec8f4a74 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -1,4 +1,4 @@ -load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_btest", "redpanda_cc_library") redpanda_cc_library( name = "thread_worker", @@ -21,3 +21,29 @@ redpanda_cc_library( deps = [ ], ) + +redpanda_cc_btest( + name = "thread_worker_test", + timeout = "short", + srcs = [ + "tests/thread_worker.cc", + ], + deps = [ + ":thread_worker", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + ], +) + +redpanda_cc_btest( + name = "sformat_test", + timeout = "short", + srcs = [ + "tests/sformat.cc", + ], + deps = [ + ":sformat", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + ], +) From fad3b0010932860bc53d792bbf1bc4010cd89794 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 07:11:46 -0700 Subject: [PATCH 030/150] bazel: split build from test helpers Signed-off-by: Noah Watkins --- bazel/build.bzl | 140 +----------------------------------------- bazel/internal.bzl | 9 +++ bazel/test.bzl | 129 ++++++++++++++++++++++++++++++++++++++ src/v/base/BUILD | 3 +- src/v/bytes/BUILD | 3 +- src/v/container/BUILD | 3 +- src/v/crypto/BUILD | 3 +- src/v/random/BUILD | 3 +- src/v/ssx/BUILD | 3 +- src/v/strings/BUILD | 3 +- src/v/utils/BUILD | 3 +- 11 files changed, 156 insertions(+), 146 deletions(-) create mode 100644 bazel/internal.bzl create mode 100644 bazel/test.bzl diff --git a/bazel/build.bzl b/bazel/build.bzl index 59b9fca9fa85e..f8f3dd4cd4737 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -1,12 +1,4 @@ -# TODO Bazel prefers -iquote "path" style includes in many cases. However, our -# source tree uses bracket style for dependencies. We need a way to -# bridge this gap until we decide to fully switch over to Bazel at which point -# this hack can be removed. Many deps lists in the tree will probably need to be -# updated to include abseil explicitly when this is removed. -def _inject_copt_includes(deps): - copts = [] - copts.append("-Iexternal/abseil-cpp~") - return copts +load(":internal.bzl", "redpanda_copts") def redpanda_cc_library( name, @@ -24,133 +16,5 @@ def redpanda_cc_library( include_prefix = include_prefix, strip_include_prefix = strip_include_prefix, deps = deps, - copts = _inject_copt_includes(deps), - ) - -def has_flags(args, *flags): - for arg in args: - for flag in flags: - if arg.startswith(flags): - return True - return False - -# TODO -# - Rename to reflect that this is a seastar unit test -# - Make log level configurable (e.g. CI) -# - Set --overprovisioned in CI context -def _redpanda_cc_test( - name, - timeout, - dash_dash_protocol, - srcs = [], - deps = [], - default_memory_gb = None, - default_cores = None, - # from test wrappers - extra_args = [], - # from test author - custom_args = []): - common_args = [ - "--blocked-reactor-notify-ms 2000000", - ] - - args = common_args + extra_args + custom_args - - # Unit tests should never need all of a node's memory. Unless an explicit - # size was requested, set a reasonable fixed value. - if default_memory_gb and not has_flags(args, "-m", "--memory"): - args.append("-m{}G".format(default_memory_gb)) - - # Use a fixed core count unless an explicit number of cores was requested. - # This can help (some what) with determinism across different node shapes. - # Additionally, using a smaller value can help speed up indvidiual tests as - # well as when multiple tests are running in parallel. - if default_cores and not has_flags(args, "-c", "--smp"): - args.append("-c{}".format(default_cores)) - - # Google test / benchmarks don't understand the "--" protocol - if args and dash_dash_protocol: - args = ["--"] + args - - native.cc_test( - name = name, - timeout = timeout, - srcs = srcs, - deps = deps, - copts = _inject_copt_includes(deps), - args = args, - ) - -def _redpanda_cc_unit_test(**kwargs): - extra_args = [ - "--unsafe-bypass-fsync 1", - "--default-log-level=trace", - "--logger-log-level='io=debug'", - "--logger-log-level='exception=debug'", - ] - _redpanda_cc_test( - default_memory_gb = 1, - default_cores = 4, - extra_args = extra_args, - **kwargs - ) - -def redpanda_cc_gtest( - name, - timeout, - srcs = [], - deps = [], - args = []): - _redpanda_cc_unit_test( - dash_dash_protocol = False, - name = name, - timeout = timeout, - srcs = srcs, - deps = deps, - custom_args = args, - ) - -def redpanda_cc_btest( - name, - timeout, - srcs = [], - deps = [], - args = []): - _redpanda_cc_unit_test( - dash_dash_protocol = True, - name = name, - timeout = timeout, - srcs = srcs, - deps = deps, - custom_args = args, - ) - -def redpanda_cc_bench( - name, - timeout, - srcs = [], - deps = [], - args = []): - _redpanda_cc_test( - dash_dash_protocol = False, - default_cores = 1, - name = name, - timeout = timeout, - srcs = srcs, - deps = deps, - custom_args = args, - ) - -def redpanda_cc_btest_no_seastar( - name, - timeout, - srcs = [], - defines = [], - deps = []): - native.cc_test( - name = name, - timeout = timeout, - srcs = srcs, - defines = defines, - deps = ["@boost//:test.so"] + deps, + copts = redpanda_copts(), ) diff --git a/bazel/internal.bzl b/bazel/internal.bzl new file mode 100644 index 0000000000000..d2f08c178d090 --- /dev/null +++ b/bazel/internal.bzl @@ -0,0 +1,9 @@ +def redpanda_copts(): + # TODO Bazel prefers -iquote "path" style includes in many cases. However, + # our source tree uses bracket style for dependencies. We need a way + # to bridge this gap until we decide to fully switch over to Bazel at which + # point this hack can be removed. Many deps lists in the tree will probably + # need to be updated to include abseil explicitly when this is removed. + copts = [] + copts.append("-Iexternal/abseil-cpp~") + return copts diff --git a/bazel/test.bzl b/bazel/test.bzl new file mode 100644 index 0000000000000..fe36ad5ae19db --- /dev/null +++ b/bazel/test.bzl @@ -0,0 +1,129 @@ +load(":internal.bzl", "redpanda_copts") + +def has_flags(args, *flags): + for arg in args: + for flag in flags: + if arg.startswith(flags): + return True + return False + +# TODO +# - Make log level configurable (e.g. CI) +# - Set --overprovisioned in CI context +# - Other ASAN settings used in cmake_test.py +def _redpanda_cc_test( + name, + timeout, + dash_dash_protocol, + srcs = [], + deps = [], + default_memory_gb = None, + default_cores = None, + # from test wrappers + extra_args = [], + # from test author + custom_args = []): + common_args = [ + "--blocked-reactor-notify-ms 2000000", + ] + + args = common_args + extra_args + custom_args + + # Unit tests should never need all of a node's memory. Unless an explicit + # size was requested, set a reasonable fixed value. + if default_memory_gb and not has_flags(args, "-m", "--memory"): + args.append("-m{}G".format(default_memory_gb)) + + # Use a fixed core count unless an explicit number of cores was requested. + # This can help (some what) with determinism across different node shapes. + # Additionally, using a smaller value can help speed up indvidiual tests as + # well as when multiple tests are running in parallel. + if default_cores and not has_flags(args, "-c", "--smp"): + args.append("-c{}".format(default_cores)) + + # Google test / benchmarks don't understand the "--" protocol + if args and dash_dash_protocol: + args = ["--"] + args + + native.cc_test( + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + copts = redpanda_copts(), + args = args, + ) + +def _redpanda_cc_unit_test(**kwargs): + extra_args = [ + "--unsafe-bypass-fsync 1", + "--default-log-level=trace", + "--logger-log-level='io=debug'", + "--logger-log-level='exception=debug'", + ] + _redpanda_cc_test( + default_memory_gb = 1, + default_cores = 4, + extra_args = extra_args, + **kwargs + ) + +def redpanda_cc_gtest( + name, + timeout, + srcs = [], + deps = [], + args = []): + _redpanda_cc_unit_test( + dash_dash_protocol = False, + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + custom_args = args, + ) + +def redpanda_cc_btest( + name, + timeout, + srcs = [], + deps = [], + args = []): + _redpanda_cc_unit_test( + dash_dash_protocol = True, + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + custom_args = args, + ) + +def redpanda_cc_bench( + name, + timeout, + srcs = [], + deps = [], + args = []): + _redpanda_cc_test( + dash_dash_protocol = False, + default_cores = 1, + name = name, + timeout = timeout, + srcs = srcs, + deps = deps, + custom_args = args, + ) + +def redpanda_cc_btest_no_seastar( + name, + timeout, + srcs = [], + defines = [], + deps = []): + native.cc_test( + name = name, + timeout = timeout, + srcs = srcs, + defines = defines, + deps = ["@boost//:test.so"] + deps, + ) diff --git a/src/v/base/BUILD b/src/v/base/BUILD index 1df8b083f7415..9451dacc17986 100644 --- a/src/v/base/BUILD +++ b/src/v/base/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_btest_no_seastar", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest_no_seastar") redpanda_cc_library( name = "base", diff --git a/src/v/bytes/BUILD b/src/v/bytes/BUILD index c8270f6816b29..2565bb8ccbc78 100644 --- a/src/v/bytes/BUILD +++ b/src/v/bytes/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_btest", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "iobuf", diff --git a/src/v/container/BUILD b/src/v/container/BUILD index 4bf48fdf94a52..7df33484d677d 100644 --- a/src/v/container/BUILD +++ b/src/v/container/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest") redpanda_cc_library( name = "intrusive", diff --git a/src/v/crypto/BUILD b/src/v/crypto/BUILD index f0dea38f6a7ac..98a7d57762ee2 100644 --- a/src/v/crypto/BUILD +++ b/src/v/crypto/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_gtest", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_gtest") redpanda_cc_library( name = "crypto", diff --git a/src/v/random/BUILD b/src/v/random/BUILD index ec55a13f1e456..046d3c5d87184 100644 --- a/src/v/random/BUILD +++ b/src/v/random/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_btest", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "fast_prng", diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 980fbec8f4a74..f59c6229eea0f 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_btest", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "thread_worker", diff --git a/src/v/strings/BUILD b/src/v/strings/BUILD index 1a61e694800b6..a6e1a2987368c 100644 --- a/src/v/strings/BUILD +++ b/src/v/strings/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_btest_no_seastar", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest_no_seastar") redpanda_cc_library( name = "utf8", diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 1024ddf0ab44a..a432d1871e275 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -1,4 +1,5 @@ -load("//bazel:build.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar", "redpanda_cc_library") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar") redpanda_cc_library( name = "vint", From 329d13a4edf2a73bae0c1b278b8a43f7b77dbd5e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 12:28:47 -0700 Subject: [PATCH 031/150] bazel: update skylib Signed-off-by: Noah Watkins --- MODULE.bazel | 2 +- MODULE.bazel.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index e70effc50f901..e02df58cc9a8e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -25,7 +25,7 @@ use_repo( ) bazel_dep(name = "abseil-cpp", version = "20240116.1") -bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "crc32c", version = "1.1.0") bazel_dep(name = "fmt", version = "8.1.1") bazel_dep(name = "googletest", version = "1.14.0.bcr.1") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 1c72498b45a8e..557870b0ffbe1 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 6, - "moduleFileHash": "3aa9ac5bff697074780c803bba19af3974260a579e2879fb78cabd3357f2f0d7", + "moduleFileHash": "fbb904fa9a659d173656bcbf9341067cd215c4d79ccf0c53a46939043ea8ebbc", "flags": { "cmdRegistries": [ "https://bcr.bazel.build" From 590810faa866f29e2defccec3ed69fe3160baa0f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 12:27:12 -0700 Subject: [PATCH 032/150] bazel: upgrade to bazel 7.2 Signed-off-by: Noah Watkins --- .bazelrc | 4 - .bazelversion | 2 +- MODULE.bazel.lock | 2436 +++------------------------------------------ 3 files changed, 133 insertions(+), 2309 deletions(-) diff --git a/.bazelrc b/.bazelrc index 8bf19585f53cf..7759d83717f19 100644 --- a/.bazelrc +++ b/.bazelrc @@ -12,10 +12,6 @@ build --action_env=CXXFLAGS=-Wno-int-conversion build --host_action_env=CFLAGS=-Wno-int-conversion build --action_env=CFLAGS=-Wno-int-conversion -# https://github.com/bazelbuild/bazel/issues/19915 -# https://github.com/bazelbuild/bazel/issues/20886 -build --noincompatible_sandbox_hermetic_tmp - common --registry=https://bcr.bazel.build # ================================= diff --git a/.bazelversion b/.bazelversion index a8a188756826d..0ee843cc60466 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -7.1.2 +7.2.0 diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 557870b0ffbe1..72747133af237 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,1663 +1,118 @@ { - "lockFileVersion": 6, - "moduleFileHash": "fbb904fa9a659d173656bcbf9341067cd215c4d79ccf0c53a46939043ea8ebbc", - "flags": { - "cmdRegistries": [ - "https://bcr.bazel.build" - ], - "cmdModuleOverrides": {}, - "allowedYankedVersions": [], - "envVarAllowedYankedVersions": "", - "ignoreDevDependency": false, - "directDependenciesMode": "WARNING", - "compatibilityMode": "ERROR" - }, - "localOverrideHashes": { - "bazel_tools": "1ae69322ac3823527337acf02016e8ee95813d8d356f47060255b8956fa642f0" - }, - "moduleDepGraph": { - "": { - "name": "redpanda", - "version": "", - "key": "", - "repoName": "com_github_redpanda_data_redpanda", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@com_github_nelhage_rules_boost//:boost/repositories.bzl", - "extensionName": "non_module_dependencies", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 21, - "column": 46 - }, - "imports": { - "boost": "boost" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@com_github_redpanda_data_redpanda//bazel:extensions.bzl", - "extensionName": "non_module_dependencies", - "usingModule": "", - "location": { - "file": "@@//:MODULE.bazel", - "line": 44, - "column": 40 - }, - "imports": { - "ada": "ada", - "avro": "avro", - "base64": "base64", - "c-ares": "c-ares", - "cryptopp": "cryptopp", - "gmp": "gmp", - "gnutls": "gnutls", - "hdrhistogram": "hdrhistogram", - "hwloc": "hwloc", - "krb5": "krb5", - "libpciaccess": "libpciaccess", - "libxml2": "libxml2", - "lksctp": "lksctp", - "nettle": "nettle", - "numactl": "numactl", - "openssl": "openssl", - "rapidjson": "rapidjson", - "roaring": "roaring", - "seastar": "seastar", - "snappy": "snappy", - "unordered_dense": "unordered_dense", - "wasmtime": "wasmtime", - "xz": "xz" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "hedron_compile_commands": "hedron_compile_commands@_", - "com_github_nelhage_rules_boost": "rules_boost@_", - "abseil-cpp": "abseil-cpp@20240116.1", - "bazel_skylib": "bazel_skylib@1.7.1", - "crc32c": "crc32c@1.1.0", - "fmt": "fmt@8.1.1", - "googletest": "googletest@1.14.0.bcr.1", - "liburing": "liburing@2.5", - "lz4": "lz4@1.9.4", - "platforms": "platforms@0.0.10", - "protobuf": "protobuf@26.0", - "re2": "re2@2023-09-01", - "rules_foreign_cc": "rules_foreign_cc@0.10.1", - "rules_proto": "rules_proto@5.3.0-21.7", - "xxhash": "xxhash@0.8.2", - "yaml-cpp": "yaml-cpp@0.8.0", - "zlib": "zlib@1.3", - "zstd": "zstd@1.5.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "hedron_compile_commands@_": { - "name": "hedron_compile_commands", - "version": "", - "key": "hedron_compile_commands@_", - "repoName": "hedron_compile_commands", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@hedron_compile_commands//:workspace_setup.bzl", - "extensionName": "hedron_compile_commands_extension", - "usingModule": "hedron_compile_commands@_", - "location": { - "file": "@@hedron_compile_commands~//:MODULE.bazel", - "line": 3, - "column": 18 - }, - "imports": {}, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive.bzl", - "extensionName": "hedron_compile_commands_extension", - "usingModule": "hedron_compile_commands@_", - "location": { - "file": "@@hedron_compile_commands~//:MODULE.bazel", - "line": 4, - "column": 19 - }, - "imports": {}, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", - "extensionName": "hedron_compile_commands_extension", - "usingModule": "hedron_compile_commands@_", - "location": { - "file": "@@hedron_compile_commands~//:MODULE.bazel", - "line": 5, - "column": 20 - }, - "imports": {}, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", - "extensionName": "hedron_compile_commands_extension", - "usingModule": "hedron_compile_commands@_", - "location": { - "file": "@@hedron_compile_commands~//:MODULE.bazel", - "line": 6, - "column": 21 - }, - "imports": {}, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "rules_boost@_": { - "name": "rules_boost", - "version": "", - "key": "rules_boost@_", - "repoName": "com_github_nelhage_rules_boost", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@com_github_nelhage_rules_boost//:boost/repositories.bzl", - "extensionName": "non_module_dependencies", - "usingModule": "rules_boost@_", - "location": { - "file": "@@rules_boost~//:MODULE.bazel", - "line": 11, - "column": 46 - }, - "imports": { - "boost": "boost", - "zlib": "zlib" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.7.1", - "boringssl": "boringssl@0.0.0-20240530-2db0eb3", - "bzip2": "bzip2@1.0.8", - "platforms": "platforms@0.0.10", - "xz": "xz@5.4.5.bcr.2", - "zstd": "zstd@1.5.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "abseil-cpp@20240116.1": { - "name": "abseil-cpp", - "version": "20240116.1", - "key": "abseil-cpp@20240116.1", - "repoName": "abseil-cpp", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.7.1", - "com_google_googletest": "googletest@1.14.0.bcr.1", - "platforms": "platforms@0.0.10", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/abseil/abseil-cpp/releases/download/20240116.1/abseil-cpp-20240116.1.tar.gz" - ], - "integrity": "sha256-PHQyBN94NmrS6vI21mMdg/a8ko0XBd0AALhy5Ttz3Go=", - "strip_prefix": "abseil-cpp-20240116.1", - "remote_patches": { - "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/patches/module_dot_bazel.patch": "sha256-H6J0U5xTQRVVGFkTsBioOCeWetuCfpavigN8YvpQkIQ=" - }, - "remote_patch_strip": 0 - } - } - }, - "bazel_skylib@1.7.1": { - "name": "bazel_skylib", - "version": "1.7.1", - "key": "bazel_skylib@1.7.1", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.10", - "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": { - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz" - ], - "integrity": "sha256-vCg8381SalLDIBJ5zaS8KYZS76iYsQtNsIN9xRZSdW8=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "crc32c@1.1.0": { - "name": "crc32c", - "version": "1.1.0", - "key": "crc32c@1.1.0", - "repoName": "crc32c", - "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": { - "urls": [ - "https://github.com/google/crc32c/archive/refs/tags/1.1.0.tar.gz" - ], - "integrity": "sha256-Sd4Te/HC62Jo1RImdPfdFSS5FIumXHuFxa5Lm+EEolo=", - "strip_prefix": "crc32c-1.1.0", - "remote_patches": { - "https://bcr.bazel.build/modules/crc32c/1.1.0/patches/add_build_file.patch": "sha256-t61LQtaajsZ/mCXFAJO09YvWCC3s66mggA2A4UHO1XA=", - "https://bcr.bazel.build/modules/crc32c/1.1.0/patches/module_dot_bazel.patch": "sha256-eSH6nHDJxgtHK71YpMLWluZn7Gr+DAcIW8gEePMNrBw=" - }, - "remote_patch_strip": 0 - } - } - }, - "fmt@8.1.1": { - "name": "fmt", - "version": "8.1.1", - "key": "fmt@8.1.1", - "repoName": "fmt", - "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": { - "urls": [ - "https://github.com/fmtlib/fmt/archive/refs/tags/8.1.1.tar.gz" - ], - "integrity": "sha256-PXlNPPZ2M7NLJ3Hrnwc73ofoRuDTldJU33shHvHsc0Y=", - "strip_prefix": "fmt-8.1.1", - "remote_patches": { - "https://bcr.bazel.build/modules/fmt/8.1.1/patches/add_build_file.patch": "sha256-bUYJz9G64DPC99/aSnVNx3JD1nStIA4zXK89OvIDmfY=", - "https://bcr.bazel.build/modules/fmt/8.1.1/patches/module_dot_bazel.patch": "sha256-GuqjebS2ee0ezjzQO7YGVRpRcIMALRxk7MoKVerFtao=" - }, - "remote_patch_strip": 0 - } - } - }, - "googletest@1.14.0.bcr.1": { - "name": "googletest", - "version": "1.14.0.bcr.1", - "key": "googletest@1.14.0.bcr.1", - "repoName": "googletest", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "com_google_absl": "abseil-cpp@20240116.1", - "platforms": "platforms@0.0.10", - "rules_cc": "rules_cc@0.0.9", - "com_googlesource_code_re2": "re2@2023-09-01", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz" - ], - "integrity": "sha256-itWYxzrXluDYKAsILOvYKmMNc+c808cAV5OKZQG7pdc=", - "strip_prefix": "googletest-1.14.0", - "remote_patches": { - "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/patches/module_dot_bazel.patch": "sha256-jijctisPYOzP4X4cl0K7neRh/kqJB+yODNHf8V8heCE=" - }, - "remote_patch_strip": 0 - } - } - }, - "liburing@2.5": { - "name": "liburing", - "version": "2.5", - "key": "liburing@2.5", - "repoName": "liburing", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "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": { - "urls": [ - "https://github.com/axboe/liburing/archive/refs/tags/liburing-2.5.tar.gz" - ], - "integrity": "sha256-RW9fiCFlYw8Nx7dej9U70BqVXV1HIHKbQyMJfm6fKpg=", - "strip_prefix": "liburing-liburing-2.5", - "remote_patches": { - "https://bcr.bazel.build/modules/liburing/2.5/patches/add_build_file.patch": "sha256-bSFDyIEyJYYP0sXNNePKjbnLKGMveouIm6pZ6fRY9Yc=", - "https://bcr.bazel.build/modules/liburing/2.5/patches/module_dot_bazel.patch": "sha256-YB8pxLkYyg8znqTewNFcc9D/bPjQ30plU+xoLEKWSco=" - }, - "remote_patch_strip": 1 - } - } - }, - "lz4@1.9.4": { - "name": "lz4", - "version": "1.9.4", - "key": "lz4@1.9.4", - "repoName": "lz4", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "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": { - "urls": [ - "https://github.com/lz4/lz4/releases/download/v1.9.4/lz4-1.9.4.tar.gz" - ], - "integrity": "sha256-Cw46oHyMBj3fQLCCvffjehVivaQKD/UnKVfz6Yfg5Us=", - "strip_prefix": "lz4-1.9.4", - "remote_patches": { - "https://bcr.bazel.build/modules/lz4/1.9.4/patches/add_build_file.patch": "sha256-v1zbuA4Ya6cX2rDv54qh/8kwM7dimnWuyg40vCik4FM=", - "https://bcr.bazel.build/modules/lz4/1.9.4/patches/module_dot_bazel.patch": "sha256-V8GT+T9/zjsD3c67mJ4qVJoOkR4VZlXnpXl6b/FKI/Y=" - }, - "remote_patch_strip": 0 - } - } - }, - "platforms@0.0.10": { - "name": "platforms", - "version": "0.0.10", - "key": "platforms@0.0.10", - "repoName": "platforms", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@platforms//host:extension.bzl", - "extensionName": "host_platform", - "usingModule": "platforms@0.0.10", - "location": { - "file": "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel", - "line": 9, - "column": 30 - }, - "imports": { - "host_platform": "host_platform" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "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": { - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz" - ], - "integrity": "sha256-IY7+juc20mo1cmY7N0olPAErcW2K8MB+hC6C8jigp+4=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "protobuf@26.0": { - "name": "protobuf", - "version": "26.0", - "key": "protobuf@26.0", - "repoName": "protobuf", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "com_google_absl": "abseil-cpp@20240116.1", - "bazel_skylib": "bazel_skylib@1.7.1", - "jsoncpp": "jsoncpp@1.9.5", - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.4.0", - "rules_jvm_external": "rules_jvm_external@5.1", - "rules_pkg": "rules_pkg@0.7.0", - "rules_python": "rules_python@0.25.0", - "platforms": "platforms@0.0.10", - "zlib": "zlib@1.3", - "rules_proto": "rules_proto@5.3.0-21.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": { - "urls": [ - "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v26.0.zip" - ], - "integrity": "sha256-wscevJCvl5bog09lCT8vq4iwqCsqPoBbNIQmRaKvxLA=", - "strip_prefix": "protobuf-26.0", - "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/26.0/patches/0001-Add-MODULE.bazel.patch": "sha256-Sy7TJp6JGHzGsCebJBh+vaizSbJbytfX7JsRKYXGfKY=", - "https://bcr.bazel.build/modules/protobuf/26.0/patches/0002-relative-labels.patch": "sha256-NvicAuuDJLFNLEi9pvGj7PPj/GbpYYYoVdihRosZgSA=" - }, - "remote_patch_strip": 1 - } - } - }, - "re2@2023-09-01": { - "name": "re2", - "version": "2023-09-01", - "key": "re2@2023-09-01", - "repoName": "re2", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@pybind11_bazel//:python_configure.bzl", - "extensionName": "extension", - "usingModule": "re2@2023-09-01", - "location": { - "file": "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel", - "line": 22, - "column": 33 - }, - "imports": { - "local_config_python": "local_config_python", - "pybind11": "pybind11" - }, - "devImports": [], - "tags": [ - { - "tagName": "toolchain", - "attributeValues": { - "python_version": "3" - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel", - "line": 23, - "column": 27 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.10", - "rules_cc": "rules_cc@0.0.9", - "com_google_absl": "abseil-cpp@20240116.1", - "rules_python": "rules_python@0.25.0", - "pybind11_bazel": "pybind11_bazel@2.11.1", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/google/re2/releases/download/2023-09-01/re2-2023-09-01.zip" - ], - "integrity": "sha256-IkuDUdxGM7EBLb2EdWTgYKRr5goioUY9S1uZP9S/Wcw=", - "strip_prefix": "re2-2023-09-01", - "remote_patches": { - "https://bcr.bazel.build/modules/re2/2023-09-01/patches/module_dot_bazel.patch": "sha256-MUQkRNgPJ0lbYqOXoBu2m2vLH7IuKEbK/VWTw7WWrnA=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_foreign_cc@0.10.1": { - "name": "rules_foreign_cc", - "version": "0.10.1", - "key": "rules_foreign_cc@0.10.1", - "repoName": "rules_foreign_cc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@rules_foreign_cc_framework_toolchains//:all", - "@rules_foreign_cc//toolchains:built_make_toolchain", - "@rules_foreign_cc//toolchains:built_meson_toolchain", - "@rules_foreign_cc//toolchains:built_pkgconfig_toolchain", - "@rules_foreign_cc//toolchains:preinstalled_autoconf_toolchain", - "@rules_foreign_cc//toolchains:preinstalled_automake_toolchain", - "@rules_foreign_cc//toolchains:preinstalled_m4_toolchain", - "@rules_foreign_cc//toolchains:preinstalled_pkgconfig_toolchain", - "@cmake_3.23.2_toolchains//:all", - "@ninja_1.11.1_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_foreign_cc//foreign_cc:extensions.bzl", - "extensionName": "tools", - "usingModule": "rules_foreign_cc@0.10.1", - "location": { - "file": "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/MODULE.bazel", - "line": 14, - "column": 22 - }, - "imports": { - "cmake_3.23.2_toolchains": "cmake_3.23.2_toolchains", - "cmake_src": "cmake_src", - "gnumake_src": "gnumake_src", - "meson_src": "meson_src", - "ninja_1.11.1_toolchains": "ninja_1.11.1_toolchains", - "ninja_build_src": "ninja_build_src", - "pkgconfig_src": "pkgconfig_src", - "rules_foreign_cc_framework_toolchains": "rules_foreign_cc_framework_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.7.1", - "platforms": "platforms@0.0.10", - "rules_python": "rules_python@0.25.0", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.1/rules_foreign_cc-0.10.1.tar.gz" - ], - "integrity": "sha256-R2MDvQ8bBMwxH8JY8XCKX274LTCR5T/Rl3+iA4NCWmo=", - "strip_prefix": "rules_foreign_cc-0.10.1", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/patches/module_dot_bazel.patch": "sha256-hDvLi+Nx91lvhEd2qRrPfPu0RjiG5w3a/c4N4AiJb3U=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_proto@5.3.0-21.7": { - "name": "rules_proto", - "version": "5.3.0-21.7", - "key": "rules_proto@5.3.0-21.7", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.7.1", - "com_google_protobuf": "protobuf@26.0", - "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": { - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz" - ], - "integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=", - "strip_prefix": "rules_proto-5.3.0-21.7", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "xxhash@0.8.2": { - "name": "xxhash", - "version": "0.8.2", - "key": "xxhash@0.8.2", - "repoName": "xxhash", - "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": { - "urls": [ - "https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.2.tar.gz" - ], - "integrity": "sha256-uu4Mav1PAxZd56TmeYjRbw8rJXtR0OPLkZCTAqJqecQ=", - "strip_prefix": "xxHash-0.8.2", - "remote_patches": { - "https://bcr.bazel.build/modules/xxhash/0.8.2/patches/add_build_file.patch": "sha256-WQDdUpYas3Sbezqz0dJ5kMdr/c729ki+QLZv4iwEOj8=", - "https://bcr.bazel.build/modules/xxhash/0.8.2/patches/module_dot_bazel.patch": "sha256-ZLVQs0CBa7/fVGDx0804Hg7ORsWd92G06m2z1N5PeMg=" - }, - "remote_patch_strip": 0 - } - } - }, - "yaml-cpp@0.8.0": { - "name": "yaml-cpp", - "version": "0.8.0", - "key": "yaml-cpp@0.8.0", - "repoName": "yaml-cpp", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.10", - "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": { - "urls": [ - "https://github.com/stonier/yaml-cpp/releases/download/0.8.0/yaml-cpp-0.8.0.tar.gz" - ], - "integrity": "sha256-++dLvc7iHWVnFWiHBto8i+z9lG2SzURwXMYJi7I7OhY=", - "strip_prefix": "yaml-cpp-0.8.0", - "remote_patches": { - "https://bcr.bazel.build/modules/yaml-cpp/0.8.0/patches/module_dot_bazel.patch": "sha256-YM6xq0Mtu51Okntj5lRQ3V04DyZNm4hZdrSDMio1KeU=" - }, - "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.10", - "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": { - "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 - } - } - }, - "zstd@1.5.6": { - "name": "zstd", - "version": "1.5.6", - "key": "zstd@1.5.6", - "repoName": "zstd", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.10", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz" - ], - "integrity": "sha256-jCngbPQqrMHq/EB3ri7Gxvy5amJhV+BZPV6Co0/UA8E=", - "strip_prefix": "zstd-1.5.6", - "remote_patches": { - "https://bcr.bazel.build/modules/zstd/1.5.6/patches/add_build_file.patch": "sha256-eWyxLXFI3vRjvK572z4lHJdoia96jUfQxzAP+hYY9ck=", - "https://bcr.bazel.build/modules/zstd/1.5.6/patches/module_dot_bazel.patch": "sha256-xNLcQox8GjyYhgThGYV16+CcXYkumiPAVXRZlWUqWJM=" - }, - "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": 18, - "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": 22, - "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": 25, - "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": 36, - "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": 40, - "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": 43, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@buildozer//:buildozer_binary.bzl", - "extensionName": "buildozer_binary", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 47, - "column": 33 - }, - "imports": { - "buildozer_binary": "buildozer_binary" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.4.0", - "rules_license": "rules_license@0.0.7", - "rules_proto": "rules_proto@5.3.0-21.7", - "rules_python": "rules_python@0.25.0", - "buildozer": "buildozer@6.4.0.2", - "platforms": "platforms@0.0.10", - "com_google_protobuf": "protobuf@26.0", - "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.10", - "bazel_tools": "bazel_tools@_" - } - }, - "boringssl@0.0.0-20240530-2db0eb3": { - "name": "boringssl", - "version": "0.0.0-20240530-2db0eb3", - "key": "boringssl@0.0.0-20240530-2db0eb3", - "repoName": "boringssl", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "googletest": "googletest@1.14.0.bcr.1", - "platforms": "platforms@0.0.10", - "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": { - "urls": [ - "https://github.com/google/boringssl/archive/2db0eb3f96a5756298dcd7f9319e56a98585bd10.tar.gz" - ], - "integrity": "sha256-zSQL8nRQ91zV9BxRKgYpfABkbNusn4e2BOkxJ3HbFaY=", - "strip_prefix": "boringssl-2db0eb3f96a5756298dcd7f9319e56a98585bd10", - "remote_patches": { - "https://bcr.bazel.build/modules/boringssl/0.0.0-20240530-2db0eb3/patches/module_dot_bazel.patch": "sha256-ROmpGIa6bWfDTV1c02V7xp0uScaKaRWYJKoz0uAhaoA=" - }, - "remote_patch_strip": 0 - } - } - }, - "bzip2@1.0.8": { - "name": "bzip2", - "version": "1.0.8", - "key": "bzip2@1.0.8", - "repoName": "bzip2", - "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": { - "urls": [ - "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz" - ], - "integrity": "sha256-q1oDF27hBtPw+pDjgdpHjdrkBZGBU8yiSOaCzQxKImk=", - "strip_prefix": "bzip2-1.0.8", - "remote_patches": { - "https://bcr.bazel.build/modules/bzip2/1.0.8/patches/add_build_file.patch": "sha256-xJNk2k+qB6WjPQYB00KeIXmH/9k3asL6en5schN9hMI=", - "https://bcr.bazel.build/modules/bzip2/1.0.8/patches/module_dot_bazel.patch": "sha256-0L0dzTSwiKpuEZAqbpUf+x+WOXt0qyCX8lBR+bRZ7so=" - }, - "remote_patch_strip": 0 - } - } - }, - "xz@5.4.5.bcr.2": { - "name": "xz", - "version": "5.4.5.bcr.2", - "key": "xz@5.4.5.bcr.2", - "repoName": "xz", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.10", - "bazel_skylib": "bazel_skylib@1.7.1", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/tukaani-project/xz/releases/download/v5.4.5/xz-5.4.5.tar.gz" - ], - "integrity": "sha256-E1yQuTSu6PvA1Gfeh6Bctw1ifaNqvlGMNXqHNwnlt9Y=", - "strip_prefix": "xz-5.4.5", - "remote_patches": { - "https://bcr.bazel.build/modules/xz/5.4.5.bcr.2/patches/patch.diff": "sha256-/p4OtkABqNVS/ujgPMKK8iBMyF/N+CO4zc5Yt02t2+o=" - }, - "remote_patch_strip": 1 - } - } - }, - "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": { - "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.10", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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 - } - } - }, - "jsoncpp@1.9.5": { - "name": "jsoncpp", - "version": "1.9.5", - "key": "jsoncpp@1.9.5", - "repoName": "jsoncpp", - "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": { - "urls": [ - "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.5.tar.gz" - ], - "integrity": "sha256-9AmFblkgwY0ML7hSduJO5gfSoJtefV8KNxNokDwnXaI=", - "strip_prefix": "jsoncpp-1.9.5", - "remote_patches": { - "https://bcr.bazel.build/modules/jsoncpp/1.9.5/patches/build_dot_bazel.patch": "sha256-Vj8diXSWps8I8h5cdEqBDYmKBA2ulvWxMZBEQlIgcpU=", - "https://bcr.bazel.build/modules/jsoncpp/1.9.5/patches/module_dot_bazel.patch": "sha256-7RC7fS8N11vcyeDEaUZ05yBqr0YY7OzuzqaWz5W2XDo=" - }, - "remote_patch_strip": 1 - } - } - }, - "rules_java@7.4.0": { - "name": "rules_java", - "version": "7.4.0", - "key": "rules_java@7.4.0", - "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.4.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel", - "line": 19, - "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.10", - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.7.1", - "rules_proto": "rules_proto@5.3.0-21.7", - "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": { - "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz" - ], - "integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_jvm_external@5.1": { - "name": "rules_jvm_external", - "version": "5.1", - "key": "rules_jvm_external@5.1", - "repoName": "rules_jvm_external", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_jvm_external//:non-module-deps.bzl", - "extensionName": "non_module_deps", - "usingModule": "rules_jvm_external@5.1", - "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel", - "line": 9, - "column": 32 - }, - "imports": { - "io_bazel_rules_kotlin": "io_bazel_rules_kotlin" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_jvm_external//:extensions.bzl", - "extensionName": "maven", - "usingModule": "rules_jvm_external@5.1", - "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel", - "line": 16, - "column": 22 - }, - "imports": { - "rules_jvm_external_deps": "rules_jvm_external_deps" - }, - "devImports": [], - "tags": [ - { - "tagName": "install", - "attributeValues": { - "name": "rules_jvm_external_deps", - "artifacts": [ - "com.google.auth:google-auth-library-credentials:0.22.0", - "com.google.auth:google-auth-library-oauth2-http:0.22.0", - "com.google.cloud:google-cloud-core:1.93.10", - "com.google.cloud:google-cloud-storage:1.113.4", - "com.google.code.gson:gson:2.9.0", - "com.google.googlejavaformat:google-java-format:1.15.0", - "com.google.guava:guava:31.1-jre", - "org.apache.maven:maven-artifact:3.8.6", - "software.amazon.awssdk:s3:2.17.183" - ], - "lock_file": "@rules_jvm_external//:rules_jvm_external_deps_install.json" - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel", - "line": 18, - "column": 14 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.7.1", - "io_bazel_stardoc": "stardoc@0.5.3", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/bazelbuild/rules_jvm_external/releases/download/5.1/rules_jvm_external-5.1.tar.gz" - ], - "integrity": "sha256-jDsgdyLl+X8cgzEVgqbBHfmSJuZeJHEIbillYeV8yVQ=", - "strip_prefix": "rules_jvm_external-5.1", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_pkg@0.7.0": { - "name": "rules_pkg", - "version": "0.7.0", - "key": "rules_pkg@0.7.0", - "repoName": "rules_pkg", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_python": "rules_python@0.25.0", - "bazel_skylib": "bazel_skylib@1.7.1", - "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": { - "urls": [ - "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" - ], - "integrity": "sha256-iimOgydi7aGDBZfWT+fbWBeKqEzVkm121bdE1lWJQcI=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_pkg/0.7.0/patches/module_dot_bazel.patch": "sha256-4OaEPZwYF6iC71ZTDg6MJ7LLqX7ZA0/kK4mT+4xKqiE=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_python@0.25.0": { - "name": "rules_python", - "version": "0.25.0", - "key": "rules_python@0.25.0", - "repoName": "rules_python", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@pythons_hub//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_python//python/extensions/private:internal_deps.bzl", - "extensionName": "internal_deps", - "usingModule": "rules_python@0.25.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", - "line": 14, - "column": 30 - }, - "imports": { - "pypi__build": "pypi__build", - "pypi__click": "pypi__click", - "pypi__colorama": "pypi__colorama", - "pypi__importlib_metadata": "pypi__importlib_metadata", - "pypi__installer": "pypi__installer", - "pypi__more_itertools": "pypi__more_itertools", - "pypi__packaging": "pypi__packaging", - "pypi__pep517": "pypi__pep517", - "pypi__pip": "pypi__pip", - "pypi__pip_tools": "pypi__pip_tools", - "pypi__setuptools": "pypi__setuptools", - "pypi__tomli": "pypi__tomli", - "pypi__wheel": "pypi__wheel", - "pypi__zipp": "pypi__zipp" - }, - "devImports": [], - "tags": [ - { - "tagName": "install", - "attributeValues": {}, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", - "line": 15, - "column": 22 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_python//python/extensions:python.bzl", - "extensionName": "python", - "usingModule": "rules_python@0.25.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", - "line": 38, - "column": 23 - }, - "imports": { - "pythons_hub": "pythons_hub" - }, - "devImports": [], - "tags": [ - { - "tagName": "toolchain", - "attributeValues": { - "is_default": true, - "python_version": "3.11" - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel", - "line": 44, - "column": 17 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.10", - "bazel_skylib": "bazel_skylib@1.7.1", - "rules_proto": "rules_proto@5.3.0-21.7", - "com_google_protobuf": "protobuf@26.0", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.25.0/rules_python-0.25.0.tar.gz" - ], - "integrity": "sha256-WGjnMQeo6F2PMjgG5gytcoPzSzIWPqb/ECDPJ6vvYDY=", - "strip_prefix": "rules_python-0.25.0", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.25.0/patches/module_dot_bazel_version.patch": "sha256-6c8MrjTxYoqUpI8Y1QlmPps5p+N2RaZ5V+iXOrSHkwI=" - }, - "remote_patch_strip": 0 - } - } - }, - "pybind11_bazel@2.11.1": { - "name": "pybind11_bazel", - "version": "2.11.1", - "key": "pybind11_bazel@2.11.1", - "repoName": "pybind11_bazel", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.10", - "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": { - "urls": [ - "https://github.com/pybind/pybind11_bazel/releases/download/v2.11.1/pybind11_bazel-2.11.1.zip" - ], - "integrity": "sha256-LEZsmzzKeFK0fgeFADEomE/PDV1hoaLkxazu/ZNawiA=", - "strip_prefix": "pybind11_bazel-2.11.1", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "buildozer@6.4.0.2": { - "name": "buildozer", - "version": "6.4.0.2", - "key": "buildozer@6.4.0.2", - "repoName": "buildozer", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@buildozer//:buildozer_binary.bzl", - "extensionName": "buildozer_binary", - "usingModule": "buildozer@6.4.0.2", - "location": { - "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", - "line": 7, - "column": 33 - }, - "imports": { - "buildozer_binary": "buildozer_binary" - }, - "devImports": [], - "tags": [ - { - "tagName": "buildozer", - "attributeValues": { - "sha256": { - "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e", - "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d", - "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119", - "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa", - "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" - }, - "version": "6.4.0" - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", - "line": 8, - "column": 27 - } - } - ], - "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": { - "urls": [ - "https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz" - ], - "integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=", - "strip_prefix": "buildozer-6.4.0.2", - "remote_patches": { - "https://bcr.bazel.build/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU=" - }, - "remote_patch_strip": 1 - } - } - }, - "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.7.1", - "platforms": "platforms@0.0.10", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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 - } - } - }, - "stardoc@0.5.3": { - "name": "stardoc", - "version": "0.5.3", - "key": "stardoc@0.5.3", - "repoName": "stardoc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.7.1", - "rules_java": "rules_java@7.4.0", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "urls": [ - "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz" - ], - "integrity": "sha256-P9j+xN3sPGcL2BCQTi4zFwvt/hL5Ct+UNQgYS+RYyLs=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/stardoc/0.5.3/patches/module_dot_bazel.patch": "sha256-Lgpy9OCr0zBWYuHoyM1rJJrgxn23X/bwgICEF7XiEug=" - }, - "remote_patch_strip": 0 - } - } - } + "lockFileVersion": 11, + "registryFileHashes": { + "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", + "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", + "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", + "https://bcr.bazel.build/modules/abseil-cpp/20230125.1/MODULE.bazel": "89047429cb0207707b2dface14ba7f8df85273d484c2572755be4bab7ce9c3a0", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.0.bcr.1/MODULE.bazel": "1c8cec495288dccd14fdae6e3f95f772c1c91857047a098fad772034264cc8cb", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/MODULE.bazel": "d253ae36a8bd9ee3c5955384096ccb6baf16a1b1e93e858370da0a3b94f77c16", + "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", + "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/source.json": "9be551b8d4e3ef76875c0d744b5d6a504a27e3ae67bc6b28f46415fd2d2957da", + "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel": "50341a62efbc483e8a2a6aec30994a58749bd7b885e18dd96aa8c33031e558ef", + "https://bcr.bazel.build/modules/apple_support/1.5.0/source.json": "eb98a7627c0bc486b57f598ad8da50f6625d974c8f723e9ea71bd39f709c9862", + "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", + "https://bcr.bazel.build/modules/bazel_features/1.11.0/source.json": "c9320aa53cd1c441d24bd6b716da087ad7e4ff0d9742a9884587596edfe53015", + "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", + "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", + "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", + "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", + "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", + "https://bcr.bazel.build/modules/bazel_skylib/1.5.0/MODULE.bazel": "32880f5e2945ce6a03d1fbd588e9198c0a959bb42297b2cfaf1685b7bc32e138", + "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", + "https://bcr.bazel.build/modules/boringssl/0.0.0-20240530-2db0eb3/MODULE.bazel": "d0405b762c5e87cd445b7015f2b8da5400ef9a8dbca0bfefa6c1cea79d528a97", + "https://bcr.bazel.build/modules/boringssl/0.0.0-20240530-2db0eb3/source.json": "0d413869349e82e5d679802abe9ce23e0326bbf56daa97ae9e7dbdcec72982fc", + "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", + "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", + "https://bcr.bazel.build/modules/bzip2/1.0.8/MODULE.bazel": "83ee443b286b0b91566e5ee77e74ba6445895f3135467893871560f9e4ebc159", + "https://bcr.bazel.build/modules/bzip2/1.0.8/source.json": "b64f3a2f973749cf5f6ee32b3d804af56a35a746228a7845ed5daa31c8cc8af1", + "https://bcr.bazel.build/modules/crc32c/1.1.0/MODULE.bazel": "f11439d063a2b4e0f19b56bb8da6a931f9691bf583bd1ec0718645bce6c62b06", + "https://bcr.bazel.build/modules/crc32c/1.1.0/source.json": "aabc6ce46d4b71343d500270c2ddfd45f59cff9fd171313bdd773bf620cf2a6f", + "https://bcr.bazel.build/modules/fmt/8.1.1/MODULE.bazel": "0f55e72316f1593d78998e2dc2ddf2d80697c226c43dc66e4bf2e2e9fd99f52d", + "https://bcr.bazel.build/modules/fmt/8.1.1/source.json": "a1328a27287011fb054c7e9d99919d750658fac74b165fd6d0e8587d8c187ba6", + "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", + "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", + "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", + "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/source.json": "41e9e129f80d8c8bf103a7acc337b76e54fad1214ac0a7084bf24f4cd924b8b4", + "https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f", + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/source.json": "4108ee5085dd2885a341c7fab149429db457b3169b86eb081fa245eadf69169d", + "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902", + "https://bcr.bazel.build/modules/liburing/2.5/MODULE.bazel": "51768194b0b344123b2d7237b65928c9c119e7fc18a3f86f4870e83c0b71c00a", + "https://bcr.bazel.build/modules/liburing/2.5/source.json": "1ff3e7c04563757f99cc7d33c2d4cb4900c45d6aca2cf54d58a1b199e66460ec", + "https://bcr.bazel.build/modules/lz4/1.9.4/MODULE.bazel": "e3d307b1d354d70f6c809167eafecf5d622c3f27e3971ab7273410f429c7f83a", + "https://bcr.bazel.build/modules/lz4/1.9.4/source.json": "233f0bdfc21f254e3dda14683ddc487ca68c6a3a83b7d5db904c503f85bd089b", + "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", + "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", + "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", + "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", + "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", + "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", + "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", + "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", + "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", + "https://bcr.bazel.build/modules/protobuf/26.0/MODULE.bazel": "8402da964092af40097f4a205eec2a33fd4a7748dc43632b7d1629bfd9a2b856", + "https://bcr.bazel.build/modules/protobuf/26.0/source.json": "1d712839d9a0ad0948046b84bdf1619a0abd4d3a0a9d8ce6192b919a7c18df40", + "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", + "https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel": "9233edc5e1f2ee276a60de3eaa47ac4132302ef9643238f23128fea53ea12858", + "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", + "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/source.json": "be4789e951dd5301282729fe3d4938995dc4c1a81c2ff150afc9f1b0504c6022", + "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel": "cb3d511531b16cfc78a225a9e2136007a48cf8a677e4264baeab57fe78a80206", + "https://bcr.bazel.build/modules/re2/2023-09-01/source.json": "e044ce89c2883cd957a2969a43e79f7752f9656f6b20050b62f90ede21ec6eb4", + "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", + "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", + "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", + "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", + "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", + "https://bcr.bazel.build/modules/rules_cc/0.0.9/source.json": "1f1ba6fea244b616de4a554a0f4983c91a9301640c8fe0dd1d410254115c8430", + "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/MODULE.bazel": "b9527010e5fef060af92b6724edb3691970a5b1f76f74b21d39f7d433641be60", + "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/source.json": "9300e71df0cdde0952f10afff1401fa664e9fc5d9ae6204660ba1b158d90d6a6", + "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", + "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", + "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", + "https://bcr.bazel.build/modules/rules_java/7.6.1/source.json": "8f3f3076554e1558e8e468b2232991c510ecbcbed9e6f8c06ac31c93bcf38362", + "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7", + "https://bcr.bazel.build/modules/rules_jvm_external/5.1/MODULE.bazel": "33f6f999e03183f7d088c9be518a63467dfd0be94a11d0055fe2d210f89aa909", + "https://bcr.bazel.build/modules/rules_jvm_external/5.1/source.json": "5abb45cc9beb27b77aec6a65a11855ef2b55d95dfdc358e9f312b78ae0ba32d5", + "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", + "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", + "https://bcr.bazel.build/modules/rules_license/0.0.7/source.json": "355cc5737a0f294e560d52b1b7a6492d4fff2caf0bef1a315df5a298fca2d34a", + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/source.json": "c2557066e0c0342223ba592510ad3d812d4963b9024831f7f66fd0584dd8c66c", + "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", + "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", + "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/source.json": "d57902c052424dfda0e71646cb12668d39c4620ee0544294d9d941e7d12bc3a9", + "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", + "https://bcr.bazel.build/modules/rules_python/0.20.0/MODULE.bazel": "bfe14d17f20e3fe900b9588f526f52c967a6f281e47a1d6b988679bd15082286", + "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", + "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel": "72f1506841c920a1afec76975b35312410eea3aa7b63267436bfb1dd91d2d382", + "https://bcr.bazel.build/modules/rules_python/0.25.0/source.json": "c45006984eeaa18ad14c006091b264bff620c41952e9184edfe225ea95c3f986", + "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", + "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", + "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", + "https://bcr.bazel.build/modules/stardoc/0.5.3/source.json": "cd53fe968dc8cd98197c052db3db6d82562960c87b61e7a90ee96f8e4e0dda97", + "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", + "https://bcr.bazel.build/modules/xxhash/0.8.2/MODULE.bazel": "d9337c1b24d08861bcf2fca2acd3dc6568a96f6d66f5eeaab008fb50567d4eed", + "https://bcr.bazel.build/modules/xxhash/0.8.2/source.json": "4499f6c71bfc1fdb9ff2ddb2e799c08d5f4af3846a7acfbe4ce559c6b85c73a9", + "https://bcr.bazel.build/modules/xz/5.4.5.bcr.2/MODULE.bazel": "463976fb85f578a2535421ba4c38fe90657ab348e4b5d5404b75c061602705d0", + "https://bcr.bazel.build/modules/xz/5.4.5.bcr.2/source.json": "e735da8a3f396bf200ed06c585f670f7667e08c4e1ed2849bae7c2691bcb10cf", + "https://bcr.bazel.build/modules/yaml-cpp/0.8.0/MODULE.bazel": "879443fbbf128457a187bea6f278d05789f3fc465bb22c2e0fe7fdb52e45eef0", + "https://bcr.bazel.build/modules/yaml-cpp/0.8.0/source.json": "8571372713f5030dbe517fb0cec549cef82aa5b76b4a178f902b95673ab5841c", + "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", + "https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27", + "https://bcr.bazel.build/modules/zlib/1.3/MODULE.bazel": "6a9c02f19a24dcedb05572b2381446e27c272cd383aed11d41d99da9e3167a72", + "https://bcr.bazel.build/modules/zlib/1.3/source.json": "b6b43d0737af846022636e6e255fd4a96fee0d34f08f3830e6e0bac51465c37c", + "https://bcr.bazel.build/modules/zstd/1.5.6/MODULE.bazel": "471ebe7d3cdd8c6469390fcf623eb4779ff55fbee0a87f1dc57a1def468b96d4", + "https://bcr.bazel.build/modules/zstd/1.5.6/source.json": "02010c3333fc89b44fe861db049968decb6e688411f7f9d4f6791d74f9adfb51" }, + "selectedYankedVersions": {}, "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "NFDIveOmSmoTp4ye/uD8T9X0qB35Apsh6idTWKNukmU=", + "bzlTransitiveDigest": "idBlxDhMof1qWj584VNfgRf5fpef83Muxi+aTi4jZls=", + "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -1910,7 +365,8 @@ }, "@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": { "general": { - "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", + "bzlTransitiveDigest": "PjIds3feoYE8SGbbIq2SFTZy3zmxeO2tQevJZNDo7iY=", + "usagesDigest": "aLmqbvowmHkkBPve05yyDNGN7oh7QE9kBADr3QIZTZs=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -1935,144 +391,10 @@ ] } }, - "@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": { - "general": { - "bzlTransitiveDigest": "ZggrqnDIPRFCqT9XaCYOxLiJx1XuMtOZNG1jvKYZ5lA=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "android_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "2b661a761a735b41c41b3a78089f4fc1982626c76ddb944604ae3ff8c545d3c2", - "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.30.0.tar" - } - }, - "android_gmaven_r8": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_jar", - "attributes": { - "sha256": "57a696749695a09381a87bc2f08c3a8ed06a717a5caa3ef878a3077e0d3af19d", - "url": "https://maven.google.com/com/android/tools/r8/8.1.56/r8-8.1.56.jar" - } - } - }, - "recordedRepoMappingEntries": [] - } - }, - "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "PHpT2yqMGms2U4L3E/aZ+WcQalmZWm+ILdP3yiLsDhA=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_cc": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf", - "attributes": {} - }, - "local_config_cc_toolchains": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf_toolchains", - "attributes": {} - } - }, - "recordedRepoMappingEntries": [ - [ - "bazel_tools", - "bazel_tools", - "bazel_tools" - ] - ] - } - }, - "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { - "general": { - "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_xcode": { - "bzlFile": "@@bazel_tools//tools/osx:xcode_configure.bzl", - "ruleClassName": "xcode_autoconf", - "attributes": { - "xcode_locator": "@bazel_tools//tools/osx:xcode_locator.m", - "remote_xcode": "" - } - } - }, - "recordedRepoMappingEntries": [] - } - }, - "@@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { - "general": { - "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_sh": { - "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", - "ruleClassName": "sh_config", - "attributes": {} - } - }, - "recordedRepoMappingEntries": [] - } - }, - "@@bazel_tools//tools/test:extensions.bzl%remote_coverage_tools_extension": { - "general": { - "bzlTransitiveDigest": "7n9r2sWPYvn/OzUdHUoiJN/1hgIqWKOFCEQFVwHZGU0=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "remote_coverage_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af", - "urls": [ - "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip" - ] - } - } - }, - "recordedRepoMappingEntries": [] - } - }, - "@@buildozer~//:buildozer_binary.bzl%buildozer_binary": { - "general": { - "bzlTransitiveDigest": "EleDU/FQ1+e/RgkW3aIDmdaxZEthvoWQhsqFTxiSgMI=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "buildozer_binary": { - "bzlFile": "@@buildozer~//private:buildozer_binary.bzl", - "ruleClassName": "_buildozer_binary_repo", - "attributes": { - "sha256": { - "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e", - "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d", - "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119", - "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa", - "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" - }, - "version": "6.4.0" - } - } - }, - "recordedRepoMappingEntries": [] - } - }, "@@hedron_compile_commands~//:workspace_setup.bzl%hedron_compile_commands_extension": { "general": { - "bzlTransitiveDigest": "yoEt+Bvr4Bfwups/fc3ckiVxVABBD5dzrnkQHYNDwwM=", + "bzlTransitiveDigest": "dt88TFdQv/FH3VMUEhxvtc8bsKnxEN2hrpeC8gEyHw4=", + "usagesDigest": "TTuQdozEYhaN7+oiVYMFloEWxoZfdKcT7Sfz3s7VepA=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2089,6 +411,7 @@ "@@hedron_compile_commands~//:workspace_setup_transitive.bzl%hedron_compile_commands_extension": { "general": { "bzlTransitiveDigest": "IfDf0vEa2jjQ11RNpUM0u4xftPXIs+pyM8IMVkRqVMk=", + "usagesDigest": "SbxmRqzxHy+fuSIIxYlFqlmPJ3V0Wk+4XjQQhrhTIgo=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2099,6 +422,7 @@ "@@hedron_compile_commands~//:workspace_setup_transitive_transitive.bzl%hedron_compile_commands_extension": { "general": { "bzlTransitiveDigest": "1p58k3o2Jgjt/pBE7cb8WmmkplrSguIKma/h32x7X10=", + "usagesDigest": "JJJti4hzFY57HoGTLSrlLzOfmDqmd4Tk20aRYmWkkoU=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2109,6 +433,7 @@ "@@hedron_compile_commands~//:workspace_setup_transitive_transitive_transitive.bzl%hedron_compile_commands_extension": { "general": { "bzlTransitiveDigest": "arNWX4EleUjJxqkM5nCRTj+ce05Zz1gSdGH1DCKOoLs=", + "usagesDigest": "BsZ4Efn1w1bRgZQeNwryYQHDfBfnD1GzDQtpP27craI=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2119,6 +444,7 @@ "@@platforms//host:extension.bzl%host_platform": { "general": { "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", + "usagesDigest": "V1R2Y2oMxKNfx2WCWpSCaUV1WefW1o8HZGm3v1vHgY4=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2134,7 +460,8 @@ }, "@@pybind11_bazel~//:python_configure.bzl%extension": { "general": { - "bzlTransitiveDigest": "q6ddxeMz4Hd0Rn0A9MAq1+IXVX3cn08AcezivCF9Rp0=", + "bzlTransitiveDigest": "3LPSHhLo7VQLO+x5c48KQmJdPDwEMqMdeng5XVAZm4Y=", + "usagesDigest": "e/EIZlWEpIWcNL1dkob+QepsV4rx7UmnvodvXa76ycY=", "recordedFileInputs": { "@@pybind11_bazel~//MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e" }, @@ -2169,7 +496,8 @@ }, "@@rules_boost~//:boost/repositories.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "cSwnvOlH12FNrfJ/fpcGNzF2ovSDU/s8eozweTd0WC0=", + "bzlTransitiveDigest": "re1Sh+xqV/Z6b58MhkCIq7cLdDQBoQFb58tF6oSvUiA=", + "usagesDigest": "Fq7E2AY4wLbRaJOwytVLKgLUEgCZU0aT53lfMsluHGc=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2217,7 +545,8 @@ }, "@@rules_foreign_cc~//foreign_cc:extensions.bzl%tools": { "general": { - "bzlTransitiveDigest": "2l17wMiQVlXlDgBIWDXCg9gmsR98F1JQiHf5BVcc8fk=", + "bzlTransitiveDigest": "Zwv7UlthPNm6M1lPfKCT9DJgx/wUQNASsWf6E5tz8EA=", + "usagesDigest": "LCucDH35E6MIJI1wrj1NUamhSJpsIKTBN95bsMLcGQE=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -2554,514 +883,10 @@ ] } }, - "@@rules_java~//java:extensions.bzl%toolchains": { - "general": { - "bzlTransitiveDigest": "0N5b5J9fUzo0sgvH4F3kIEaeXunz4Wy2/UtSFV/eXUY=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "remotejdk21_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": "e8260516de8b60661422a725f1df2c36ef888f6fb35393566b00e7325db3d04e", - "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": "314b04568ec0ae9b36ba03c9cbd42adc9e1265f74678923b19297d66eb84dcca", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz" - ] - } - }, - "remote_java_tools_windows": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "fe2f88169696d6c6fc6e90ba61bb46be7d0ae3693cbafdf336041bf56679e8d1", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_windows-v13.4.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_windows-v13.4.zip" - ] - } - }, - "remotejdk11_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": { - "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": "b9482f2304a1a68a614dfacddcf29569a72f0fac32e6c74f83dc1b9a157b8340", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": { - "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": { - "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": "640453e8afe8ffe0fb4dceb4535fb50db9c283c64665eebb0ba68b19e65f4b1f", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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": "3ad8fe288eb57d975c2786ae453a036aa46e47ab2ac3d81538ebae2a54d3c025", - "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": "192f2afca57701de6ec496234f7e45d971bf623ff66b8ee4a5c81582054e5637", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip" - ] - } - }, - "remotejdk11_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": "5ad730fbee6bb49bfff10bf39e84392e728d89103d3474a7e5def0fd134b300a", - "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_x64.tar.gz" - ] - } - }, - "remote_java_tools_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "ba10f09a138cf185d04cbc807d67a3da42ab13d618c5d1ce20d776e199c33a39", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_linux-v13.4.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_linux-v13.4.zip" - ] - } - }, - "remotejdk21_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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": "f7cc15ca17295e69c907402dfe8db240db446e75d3b150da7bf67243cded93de", - "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-win_x64.zip" - ] - } - }, - "remotejdk21_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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": "ce7df1af5d44a9f455617c4b8891443fbe3e4b269c777d8b82ed66f77167cfe0", - "strip_prefix": "zulu21.32.17-ca-jdk21.0.2-linux_aarch64", - "urls": [ - "https://cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz", - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.32.17-ca-jdk21.0.2-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk11_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": { - "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": "6531cef61e416d5a7b691555c8cf2bdff689201b8a001ff45ab6740062b44313", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": "6802c99eae0d788e21f52d03cab2e2b3bf42bc334ca03cbf19f71eb70ee19f85", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip" - ] - } - }, - "remote_java_tools_darwin_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "076a7e198ad077f8c7d997986ef5102427fae6bbfce7a7852d2e080ed8767528", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_darwin_arm64-v13.4.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_darwin_arm64-v13.4.zip" - ] - } - }, - "remotejdk17_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd", - "strip_prefix": "jdk-17.0.8.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz" - ] - } - }, - "remotejdk21_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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~//toolchains:local_java_repository.bzl", - "ruleClassName": "_local_java_repository_rule", - "attributes": { - "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": { - "sha256": "4523aec4d09c587091a2dae6f5c9bc6922c220f3b6030e5aba9c8f015913cc65", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools_darwin_x86_64-v13.4.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools_darwin_x86_64-v13.4.zip" - ] - } - }, - "remote_java_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "e025fd260ac39b47c111f5212d64ec0d00d85dec16e49368aae82fc626a940cf", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.4/java_tools-v13.4.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.4/java_tools-v13.4.zip" - ] - } - }, - "remotejdk17_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "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": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37", - "strip_prefix": "jdk-17.0.8.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz" - ] - } - }, - "remotejdk17_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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": { - "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": { - "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~//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "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" - } - } - }, - "recordedRepoMappingEntries": [ - [ - "rules_java~", - "bazel_tools", - "bazel_tools" - ], - [ - "rules_java~", - "remote_java_tools", - "rules_java~~toolchains~remote_java_tools" - ] - ] - } - }, "@@rules_jvm_external~//:extensions.bzl%maven": { "general": { - "bzlTransitiveDigest": "WNKshRSp0N5LCNl8XZRtv3nN8jUtdgCFIffh5r4+RZI=", + "bzlTransitiveDigest": "4ijz6uc3T4E+d+U8LQv4EAt+8OqZNVY/lzvhLx3y1yg=", + "usagesDigest": "OjLvK9v56sSYg9fWBGDp03uaz8IwSP9Vg23Iv73BRdY=", "recordedFileInputs": { "@@rules_jvm_external~//rules_jvm_external_deps_install.json": "3ab1f67b0de4815df110bc72ccd6c77882b3b21d3d1e0a84445847b6ce3235a3" }, @@ -4075,7 +1900,8 @@ }, "@@rules_jvm_external~//:non-module-deps.bzl%non_module_deps": { "general": { - "bzlTransitiveDigest": "Fq6CvJMzD0/LbttG5TUaCtEm/pFvTgO5X9tCUH87Fb0=", + "bzlTransitiveDigest": "l6SlNloqPvd60dcuPdWiJNi3g3jfK76fcZc0i/Yr0dQ=", + "usagesDigest": "pX61d12AFioOtqChQDmxvlNGDYT69e5MrKT2E/S6TeQ=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -4102,7 +1928,8 @@ }, "@@rules_python~//python/extensions:python.bzl%python": { "general": { - "bzlTransitiveDigest": "hcJ2K4XvZ3hi0G4g5MkUEs8xowZlCfrgq3JX4dyipWY=", + "bzlTransitiveDigest": "Kf/7zZzswWR1HLTsIkowkR+hnYBf2occRd9uW0D1KME=", + "usagesDigest": "ZrD60LyZ9UaPARLmqCmHvbT6XpgCR15SzpV2MblMrYM=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -4281,7 +2108,8 @@ }, "@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": { "general": { - "bzlTransitiveDigest": "k1lpzk+V/Fg5HOfU/v+WYDRXer5xeA7LBEt+YyQC64k=", + "bzlTransitiveDigest": "0SQtOAXkWiHrzL93u93I9hwQKzwL/A0YPnD7BMp34Ws=", + "usagesDigest": "dzDHKHw2Ajg4RVImTRgAyNwUP5yO9xWw0K+gmW2ZFHY=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, From a89af0804c29fb6f75d48998c6bdb8c1bed3d5e9 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 12:27:22 -0700 Subject: [PATCH 033/150] bazel: fix dependency reference This dependency wasn't updated when switching boost dependencies, but also wasn't being built to catch the issue. Signed-off-by: Noah Watkins --- bazel/thirdparty/avro.BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/thirdparty/avro.BUILD b/bazel/thirdparty/avro.BUILD index c4517b703f8fa..4654befa4f65e 100644 --- a/bazel/thirdparty/avro.BUILD +++ b/bazel/thirdparty/avro.BUILD @@ -25,6 +25,6 @@ cc_library( "//visibility:public", ], deps = [ - "@boost", + "@boost//:algorithm", ], ) From ca22e2beb441bd1107182f725bb255cd49701acd Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 19:40:14 -0700 Subject: [PATCH 034/150] bazel: remove unused import Signed-off-by: Noah Watkins --- bazel/thirdparty/numactl.BUILD | 2 -- 1 file changed, 2 deletions(-) diff --git a/bazel/thirdparty/numactl.BUILD b/bazel/thirdparty/numactl.BUILD index 210c305f2c67b..a9fa84930c001 100644 --- a/bazel/thirdparty/numactl.BUILD +++ b/bazel/thirdparty/numactl.BUILD @@ -1,5 +1,3 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") - # TODO # - inspect implementation to see what should go into config.h # - understand more if we are using versions.ldscript correctly From 288784340df05a29a4d1dcd0ffe55f2fe0bfb3e7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 20:03:37 -0700 Subject: [PATCH 035/150] bazel: pass definitions through library macro Signed-off-by: Noah Watkins --- bazel/build.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazel/build.bzl b/bazel/build.bzl index f8f3dd4cd4737..5b9fa85692add 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -4,6 +4,7 @@ def redpanda_cc_library( name, srcs = [], hdrs = [], + defines = [], strip_include_prefix = None, visibility = None, include_prefix = None, @@ -12,6 +13,7 @@ def redpanda_cc_library( name = name, srcs = srcs, hdrs = hdrs, + defines = defines, visibility = visibility, include_prefix = include_prefix, strip_include_prefix = strip_include_prefix, From f5da85d341cf57c137c1eb563d5389cadc53018b Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 20:07:11 -0700 Subject: [PATCH 036/150] bazel: add named_type to bazel build Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index a432d1871e275..04391dbf31662 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -30,6 +30,17 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "named_type", + hdrs = [ + "named_type.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + ], +) + redpanda_cc_btest_no_seastar( name = "tristate_test", timeout = "short", @@ -44,6 +55,21 @@ redpanda_cc_btest_no_seastar( ], ) +redpanda_cc_btest_no_seastar( + name = "named_type_test", + timeout = "short", + srcs = [ + "tests/named_type_tests.cc", + ], + defines = [ + "BOOST_TEST_MODULE=named_type", + ], + deps = [ + ":named_type", + "//src/v/base", + ], +) + redpanda_cc_btest( name = "vint_test", timeout = "short", From f2ec24e12cf038885a67fbe407a1258d8ab182e7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 20:07:24 -0700 Subject: [PATCH 037/150] bazel: add hashing library Signed-off-by: Noah Watkins --- src/v/hashing/BUILD | 67 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/v/hashing/BUILD diff --git a/src/v/hashing/BUILD b/src/v/hashing/BUILD new file mode 100644 index 0000000000000..6cb4d01903653 --- /dev/null +++ b/src/v/hashing/BUILD @@ -0,0 +1,67 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar") + +redpanda_cc_library( + name = "crc32c", + hdrs = [ + "include/hashing/crc32c.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/bytes:iobuf", + "@crc32c", + ], +) + +redpanda_cc_library( + name = "secure", + hdrs = [ + "include/hashing/secure.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/bytes", + "//src/v/crypto", + ], +) + +redpanda_cc_library( + name = "xx", + hdrs = [ + "include/hashing/xx.h", + ], + defines = [ + "XXH_PRIVATE_API", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "@xxhash", + ], +) + +redpanda_cc_btest( + name = "secure_hash_test", + timeout = "short", + srcs = [ + "tests/secure_tests.cc", + ], + deps = [ + ":secure", + ], +) + +redpanda_cc_btest_no_seastar( + name = "xx_hash_test", + timeout = "short", + srcs = [ + "tests/xx_tests.cc", + ], + deps = [ + ":xx", + "//src/v/utils:named_type", + ], +) From b5d51b7d31001de1da4c144de6d1b3d60d59282f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 21 Jun 2024 20:32:02 -0700 Subject: [PATCH 038/150] bazel: add utils object_pool Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 04391dbf31662..2897f4a76c344 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -41,6 +41,18 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "object_pool", + hdrs = [ + "object_pool.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + ], +) + redpanda_cc_btest_no_seastar( name = "tristate_test", timeout = "short", @@ -70,6 +82,19 @@ redpanda_cc_btest_no_seastar( ], ) +redpanda_cc_btest( + name = "object_pool_test", + timeout = "short", + srcs = [ + "tests/object_pool_test.cc", + ], + deps = [ + ":object_pool", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + ], +) + redpanda_cc_btest( name = "vint_test", timeout = "short", From ed9ba451cef5dc3ae1230d281fff9d7ce29fb938 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 17:15:28 -0700 Subject: [PATCH 039/150] bazel: upgrade rules_proto Signed-off-by: Noah Watkins --- MODULE.bazel | 2 +- MODULE.bazel.lock | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index e02df58cc9a8e..6d14a1f21065e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -35,7 +35,7 @@ bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "protobuf", version = "26.0") bazel_dep(name = "re2", version = "2023-09-01") bazel_dep(name = "rules_foreign_cc", version = "0.10.1") -bazel_dep(name = "rules_proto", version = "5.3.0-21.7") +bazel_dep(name = "rules_proto", version = "6.0.2") bazel_dep(name = "xxhash", version = "0.8.2") bazel_dep(name = "yaml-cpp", version = "0.8.0") bazel_dep(name = "zlib", version = "1.3") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 72747133af237..32713cbc5a9f8 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -13,6 +13,7 @@ "https://bcr.bazel.build/modules/apple_support/1.5.0/source.json": "eb98a7627c0bc486b57f598ad8da50f6625d974c8f723e9ea71bd39f709c9862", "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", "https://bcr.bazel.build/modules/bazel_features/1.11.0/source.json": "c9320aa53cd1c441d24bd6b716da087ad7e4ff0d9742a9884587596edfe53015", + "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", @@ -83,7 +84,8 @@ "https://bcr.bazel.build/modules/rules_pkg/0.7.0/source.json": "c2557066e0c0342223ba592510ad3d812d4963b9024831f7f66fd0584dd8c66c", "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", - "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/source.json": "d57902c052424dfda0e71646cb12668d39c4620ee0544294d9d941e7d12bc3a9", + "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", + "https://bcr.bazel.build/modules/rules_proto/6.0.2/source.json": "17a2e195f56cb28d6bbf763e49973d13890487c6945311ed141e196fb660426d", "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", "https://bcr.bazel.build/modules/rules_python/0.20.0/MODULE.bazel": "bfe14d17f20e3fe900b9588f526f52c967a6f281e47a1d6b988679bd15082286", "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", From ad42e340820d95d1206e032a2f5d8e83ecd62cc8 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 17:16:30 -0700 Subject: [PATCH 040/150] bazel: add rpc compiler macro Signed-off-by: Noah Watkins --- MODULE.bazel | 17 + MODULE.bazel.lock | 2504 ++++++++++++++++++++++++++--- bazel/thirdparty/requirements.txt | 2 + src/v/rpc/BUILD | 9 + src/v/rpc/compiler.bzl | 23 + 5 files changed, 2317 insertions(+), 238 deletions(-) create mode 100644 bazel/thirdparty/requirements.txt create mode 100644 src/v/rpc/BUILD create mode 100644 src/v/rpc/compiler.bzl diff --git a/MODULE.bazel b/MODULE.bazel index 6d14a1f21065e..3cf003e140bf5 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -41,6 +41,23 @@ bazel_dep(name = "yaml-cpp", version = "0.8.0") bazel_dep(name = "zlib", version = "1.3") bazel_dep(name = "zstd", version = "1.5.6") +bazel_dep(name = "rules_python", version = "0.33.2", dev_dependency = True) + +python = use_extension("@rules_python//python/extensions:python.bzl", "python", dev_dependency = True) +python.toolchain( + is_default = True, + python_version = "3.12", +) + +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +pip.parse( + extra_pip_args = ["--require-hashes"], + hub_name = "python_deps", + python_version = "3.12", + requirements_lock = "//bazel/thirdparty:requirements.txt", +) +use_repo(pip, "python_deps") + non_module_dependencies = use_extension("//bazel:extensions.bzl", "non_module_dependencies") use_repo(non_module_dependencies, "ada") use_repo(non_module_dependencies, "avro") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 32713cbc5a9f8..e78b0798cde53 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -14,6 +14,7 @@ "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", "https://bcr.bazel.build/modules/bazel_features/1.11.0/source.json": "c9320aa53cd1c441d24bd6b716da087ad7e4ff0d9742a9884587596edfe53015", "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", + "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", @@ -84,13 +85,15 @@ "https://bcr.bazel.build/modules/rules_pkg/0.7.0/source.json": "c2557066e0c0342223ba592510ad3d812d4963b9024831f7f66fd0584dd8c66c", "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", + "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc1/MODULE.bazel": "1e5b502e2e1a9e825eef74476a5a1ee524a92297085015a052510b09a1a09483", "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", "https://bcr.bazel.build/modules/rules_proto/6.0.2/source.json": "17a2e195f56cb28d6bbf763e49973d13890487c6945311ed141e196fb660426d", "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", "https://bcr.bazel.build/modules/rules_python/0.20.0/MODULE.bazel": "bfe14d17f20e3fe900b9588f526f52c967a6f281e47a1d6b988679bd15082286", "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel": "72f1506841c920a1afec76975b35312410eea3aa7b63267436bfb1dd91d2d382", - "https://bcr.bazel.build/modules/rules_python/0.25.0/source.json": "c45006984eeaa18ad14c006091b264bff620c41952e9184edfe225ea95c3f986", + "https://bcr.bazel.build/modules/rules_python/0.33.2/MODULE.bazel": "3e036c4ad8d804a4dad897d333d8dce200d943df4827cb849840055be8d2e937", + "https://bcr.bazel.build/modules/rules_python/0.33.2/source.json": "e539592cd3aae4492032cecea510e46ca16eeb972271560b922cae9893944e2f", "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", @@ -1928,336 +1931,2271 @@ ] } }, - "@@rules_python~//python/extensions:python.bzl%python": { + "@@rules_python~//python/private/bzlmod:pip.bzl%pip_internal": { "general": { - "bzlTransitiveDigest": "Kf/7zZzswWR1HLTsIkowkR+hnYBf2occRd9uW0D1KME=", - "usagesDigest": "ZrD60LyZ9UaPARLmqCmHvbT6XpgCR15SzpV2MblMrYM=", - "recordedFileInputs": {}, + "bzlTransitiveDigest": "Ue/AnqLumpf9Hpe/aUQdZF87qGr/Ndz7gLhh4rwHRhU=", + "usagesDigest": "spYTfmH5Mw462zD7a6kcJXCuJA9q0cpZZc4yYSSxiPw=", + "recordedFileInputs": { + "@@rules_python~//tools/publish/requirements.txt": "8ced1e640eab3ee44298590e5ad88cd612f5bf96245af1981709f7a8884a982b", + "@@rules_python~//tools/publish/requirements_windows.txt": "0b7327c4f5751dc429bf53d21fc0797a7a0a6ac468ddcb38e238bed90ef0a7da", + "@@rules_python~//tools/publish/requirements_darwin.txt": "a29d72a09b755c284377ca1bb4ae1bea27ef8b01d575b40e21a777e53b513381" + }, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { - "python_3_11_s390x-unknown-linux-gnu": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": { - "sha256": "e477f0749161f9aa7887964f089d9460a539f6b4a8fdab5166f898210e1a87a4", - "patches": [], - "platform": "s390x-unknown-linux-gnu", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-s390x-unknown-linux-gnu-install_only.tar.gz", + "rules_python_publish_deps_311_cffi_cp311_cp311_manylinux_2_17_aarch64_3548db28": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cffi-1.15.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cffi==1.15.1", + "sha256": "3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c", + "timeout": 600, "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-s390x-unknown-linux-gnu-install_only.tar.gz" + "https://files.pythonhosted.org/packages/91/bc/b7723c2fe7a22eee71d7edf2102cd43423d5f95ff3932ebaa2f82c7ec8d0/cffi-1.15.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] + } + }, + "rules_python_publish_deps_311_zipp_sdist_a7a22e05": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "zipp-3.11.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "zipp==3.11.0", + "sha256": "a7a22e05929290a67401440b39690ae6563279bced5f314609d9d03798f56766", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/8e/b3/8b16a007184714f71157b1a71bbe632c5d66dd43bc8152b3c799b13881e1/zipp-3.11.0.tar.gz" + ] } }, - "python_3_11": { - "bzlFile": "@@rules_python~//python/private:toolchains_repo.bzl", - "ruleClassName": "toolchain_aliases", + "rules_python_publish_deps_311_urllib3_sdist_076907bf": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "python_version": "3.11.4", - "user_repository_name": "python_3_11" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "urllib3-1.26.14.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "urllib3==1.26.14", + "sha256": "076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/c5/52/fe421fb7364aa738b3506a2d99e4f3a56e079c0a798e9f4fa5e14c60922f/urllib3-1.26.14.tar.gz" + ] } }, - "python_3_11_aarch64-unknown-linux-gnu": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", + "rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_17_aarch64_afda76d8": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "sha256": "2e84fc53f4e90e11963281c5c871f593abcb24fc796a50337fa516be99af02fb", - "patches": [], - "platform": "aarch64-unknown-linux-gnu", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz", - "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-unknown-linux-gnu-install_only.tar.gz" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "cryptography-41.0.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "afda76d84b053923c27ede5edc1ed7d53e3c9f475ebaf63c68e69f1403c405a8", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/88/bd/0c1dc2d29a6eed5ac0491d9b0ba3e118ac8d36b532bb812b3047e3b87a1e/cryptography-41.0.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] } }, - "python_3_11_aarch64-apple-darwin": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", + "rules_python_publish_deps_311_cffi_cp311_cp311_manylinux_2_17_ppc64le_91fc98ad": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "sha256": "cb6d2948384a857321f2aa40fa67744cd9676a330f08b6dad7070bda0b6120a4", - "patches": [], - "platform": "aarch64-apple-darwin", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz", + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cffi==1.15.1", + "sha256": "91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325", + "timeout": 600, "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-aarch64-apple-darwin-install_only.tar.gz" + "https://files.pythonhosted.org/packages/5d/4e/4e0bb5579b01fdbfd4388bd1eb9394a989e1336203a4b7f700d887b233c1/cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" + ] + } + }, + "rules_python_publish_deps_311_requests_py3_none_any_64299f49": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "requests-2.28.2-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "requests==2.28.2", + "sha256": "64299f4909223da747622c030b781c0d7811e359c37124b4bd368fb8c6518baa", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d2/f4/274d1dbe96b41cf4e0efb70cbced278ffd61b5c7bb70338b62af94ccb25b/requests-2.28.2-py3-none-any.whl" + ] } }, - "python_3_11_ppc64le-unknown-linux-gnu": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", + "rules_python_publish_deps_311_certifi_sdist_35824b4c": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "sha256": "df7b92ed9cec96b3bb658fb586be947722ecd8e420fb23cee13d2e90abcfcf25", - "patches": [], - "platform": "ppc64le-unknown-linux-gnu", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-ppc64le-unknown-linux-gnu-install_only.tar.gz", + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "certifi-2022.12.7.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "certifi==2022.12.7", + "sha256": "35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3", + "timeout": 600, "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-ppc64le-unknown-linux-gnu-install_only.tar.gz" + "https://files.pythonhosted.org/packages/37/f7/2b1b0ec44fdc30a3d31dfebe52226be9ddc40cd6c0f34ffc8923ba423b69/certifi-2022.12.7.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_readme_renderer_py3_none_any_f67a16ca": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "readme_renderer-37.3-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "readme-renderer==37.3", + "sha256": "f67a16caedfa71eef48a31b39708637a6f4664c4394801a7b0d6432d13907343", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/97/52/fd8a77d6f0a9ddeb26ed8fb334e01ac546106bf0c5b8e40dc826c5bd160f/readme_renderer-37.3-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_cffi_sdist_d400bfb9": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "cffi-1.15.1.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cffi==1.15.1", + "sha256": "d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/2b/a8/050ab4f0c3d4c1b8aaa805f70e26e84d0e27004907c5b8ecc1d31815f92a/cffi-1.15.1.tar.gz" + ] } }, - "python_3_11_x86_64-apple-darwin": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", + "rules_python_publish_deps_311_cryptography_cp37_abi3_musllinux_1_1_aarch64_5daeb18e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "sha256": "47e1557d93a42585972772e82661047ca5f608293158acb2778dccf120eabb00", - "patches": [], - "platform": "x86_64-apple-darwin", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz", + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cryptography-41.0.6-cp37-abi3-musllinux_1_1_aarch64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "5daeb18e7886a358064a68dbcaf441c036cbdb7da52ae744e7b9207b04d3908c", + "timeout": 600, "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-apple-darwin-install_only.tar.gz" + "https://files.pythonhosted.org/packages/07/68/d41ba60a16ff4e64965a857fcf2041f893362ae62c5b88d8b958196e2bed/cryptography-41.0.6-cp37-abi3-musllinux_1_1_aarch64.whl" + ] + } + }, + "rules_python_publish_deps_311_requests_toolbelt_py2_none_any_18565aa5": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "requests_toolbelt-0.10.1-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "requests-toolbelt==0.10.1", + "sha256": "18565aa58116d9951ac39baa288d3adb5b3ff975c4f25eee78555d89e8f247f7", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/05/d3/bf87a36bff1cb88fd30a509fd366c70ec30676517ee791b2f77e0e29817a/requests_toolbelt-0.10.1-py2.py3-none-any.whl" + ] } }, - "pythons_hub": { - "bzlFile": "@@rules_python~//python/extensions/private:pythons_hub.bzl", - "ruleClassName": "hub_repo", + "rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_28_x86_64_b648fe2a": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "default_python_version": "3.11", - "toolchain_prefixes": [ - "_0000_python_3_11_" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" ], - "toolchain_python_versions": [ - "3.11" + "filename": "cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "b648fe2a45e426aaee684ddca2632f62ec4613ef362f4d681a9a6283d10e079d", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/1e/7a/22192740f36448bb763846da291c13fa66dae92917b5a1cd032ea5dfe2d1/cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl" + ] + } + }, + "rules_python_publish_deps_311_cffi_cp311_cp311_manylinux_2_17_x86_64_94411f22": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" ], - "toolchain_set_python_version_constraints": [ - "False" + "filename": "cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cffi==1.15.1", + "sha256": "94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/37/5a/c37631a86be838bdd84cc0259130942bf7e6e32f70f4cab95f479847fb91/cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] + } + }, + "rules_python_publish_deps_311_pygments_py3_none_any_fa7bd7bd": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "Pygments-2.14.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pygments==2.14.0", + "sha256": "fa7bd7bd2771287c0de303af8bfdfc731f51bd2c6a47ab69d117138893b82717", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/0b/42/d9d95cc461f098f204cd20c85642ae40fbff81f74c300341b8d0e0df14e0/Pygments-2.14.0-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_bleach_py3_none_any_33c16e33": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" ], - "toolchain_user_repository_names": [ - "python_3_11" + "filename": "bleach-6.0.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "bleach==6.0.0", + "sha256": "33c16e3353dbd13028ab4799a0f89a83f113405c766e9c122df8a06f5b85b3f4", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/ac/e2/dfcab68c9b2e7800c8f06b85c76e5f978d05b195a958daa9b1dda54a1db6/bleach-6.0.0-py3-none-any.whl" ] } }, - "python_versions": { - "bzlFile": "@@rules_python~//python/private:toolchains_repo.bzl", - "ruleClassName": "multi_toolchain_aliases", + "rules_python_publish_deps_311_keyring_py3_none_any_771ed2a9": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "keyring-23.13.1-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "keyring==23.13.1", + "sha256": "771ed2a91909389ed6148631de678f82ddc73737d85a927f382a8a1b157898cd", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/62/db/0e9a09b2b95986dcd73ac78be6ed2bd73ebe8bac65cba7add5b83eb9d899/keyring-23.13.1-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_jaraco_classes_sdist_89559fa5": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "jaraco.classes-3.2.3.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "jaraco-classes==3.2.3", + "sha256": "89559fa5c1d3c34eff6f631ad80bb21f378dbcbb35dd161fd2c6b93f5be2f98a", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/bf/02/a956c9bfd2dfe60b30c065ed8e28df7fcf72b292b861dca97e951c145ef6/jaraco.classes-3.2.3.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_rich_py3_none_any_7c963f0d": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "rich-13.2.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "rich==13.2.0", + "sha256": "7c963f0d03819221e9ac561e1bc866e3f95a02248c1234daa48954e6d381c003", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/0e/cf/a6369a2aee266c2d7604230f083d4bd14b8f69bc69eb25b3da63b9f2f853/rich-13.2.0-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_s390x_8c7fe7af": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "8c7fe7afa480e3e82eed58e0ca89f751cd14d767638e2550c77a92a9e749c317", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/df/c5/dd3a17a615775d0ffc3e12b0e47833d8b7e0a4871431dad87a3f92382a19/charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl" + ] + } + }, + "rules_python_publish_deps_311_secretstorage_sdist_2403533e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "python_versions": { - "3.11": "python_3_11" - } + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "SecretStorage-3.3.3.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "secretstorage==3.3.3", + "sha256": "2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/53/a4/f48c9d79cb507ed1373477dbceaba7401fd8a23af63b837fa61f1dcd3691/SecretStorage-3.3.3.tar.gz" + ] } }, - "python_3_11_x86_64-pc-windows-msvc": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", + "rules_python_publish_deps_311_cryptography_cp37_abi3_musllinux_1_1_x86_64_068bc551": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "sha256": "878614c03ea38538ae2f758e36c85d2c0eb1eaaca86cd400ff8c76693ee0b3e1", - "patches": [], - "platform": "x86_64-pc-windows-msvc", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz", + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "068bc551698c234742c40049e46840843f3d98ad7ce265fd2bd4ec0d11306596", + "timeout": 600, "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-pc-windows-msvc-shared-install_only.tar.gz" + "https://files.pythonhosted.org/packages/a4/37/38d1340a8eb720dac78fde5d14742c6bb22a4b5f750ac869ef4eaaa795e0/cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_ppc64le_5995f016": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_ppc64le.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "5995f0164fa7df59db4746112fec3f49c461dd6b31b841873443bdb077c13cfc", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/86/eb/31c9025b4ed7eddd930c5f2ac269efb953de33140608c7539675d74a2081/charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_ppc64le.whl" + ] } }, - "python_3_11_x86_64-unknown-linux-gnu": { - "bzlFile": "@@rules_python~//python:repositories.bzl", - "ruleClassName": "python_repository", + "rules_python_publish_deps_311_more_itertools_sdist_5a6257e4": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "more-itertools-9.0.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "more-itertools==9.0.0", + "sha256": "5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/13/b3/397aa9668da8b1f0c307bc474608653d46122ae0563d1d32f60e24fa0cbd/more-itertools-9.0.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_importlib_metadata_py3_none_any_7efb448e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "importlib_metadata-6.0.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "importlib-metadata==6.0.0", + "sha256": "7efb448ec9a5e313a57655d35aa54cd3e01b7e1fbcf72dce1bf06119420f5bad", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/26/a7/9da7d5b23fc98ab3d424ac2c65613d63c1f401efb84ad50f2fa27b2caab4/importlib_metadata-6.0.0-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_win_amd64_9ab77acb": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-win_amd64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "9ab77acb98eba3fd2a85cd160851816bfce6871d944d885febf012713f06659c", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/2e/7b/5053a4a46fac017fd2aea3dc9abdd9983fd4cef153b6eb6aedcb0d7cb6e3/charset_normalizer-3.0.1-cp311-cp311-win_amd64.whl" + ] + } + }, + "rules_python_publish_deps_311_importlib_metadata_sdist_e354bede": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "importlib_metadata-6.0.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "importlib-metadata==6.0.0", + "sha256": "e354bedeb60efa6affdcc8ae121b73544a7aa74156d047311948f6d711cd378d", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/90/07/6397ad02d31bddf1841c9ad3ec30a693a3ff208e09c2ef45c9a8a5f85156/importlib_metadata-6.0.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_macosx_11_0_arm64_87701167": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-macosx_11_0_arm64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "87701167f2a5c930b403e9756fab1d31d4d4da52856143b609e30a1ce7160f3c", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/02/49/78b4c1bc8b1b0e0fc66fb31ce30d8302f10a1412ba75de72c57532f0beb0/charset_normalizer-3.0.1-cp311-cp311-macosx_11_0_arm64.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_x86_64_761e8904": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "761e8904c07ad053d285670f36dd94e1b6ab7f16ce62b9805c475b7aa1cffde6", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/82/49/ab81421d5aa25bc8535896a017c93204cb4051f2a4e72b1ad8f3b594e072/charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_x86_64.whl" + ] + } + }, + "rules_python_publish_deps_311_certifi_py3_none_any_4ad3232f": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "sha256": "e26247302bc8e9083a43ce9e8dd94905b40d464745b1603041f7bc9a93c65d05", - "patches": [], - "platform": "x86_64-unknown-linux-gnu", - "python_version": "3.11.4", - "release_filename": "20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz", + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "certifi-2022.12.7-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "certifi==2022.12.7", + "sha256": "4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18", + "timeout": 600, "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230726/cpython-3.11.4+20230726-x86_64-unknown-linux-gnu-install_only.tar.gz" + "https://files.pythonhosted.org/packages/71/4c/3db2b8021bd6f2f0ceb0e088d6b2d49147671f25832fb17970e9b583d742/certifi-2022.12.7-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_jeepney_py3_none_any_c0a454ad": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" ], - "distutils_content": "", - "strip_prefix": "python", - "coverage_tool": "", - "ignore_root_user_error": false + "filename": "jeepney-0.8.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "jeepney==0.8.0", + "sha256": "c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/ae/72/2a1e2290f1ab1e06f71f3d0f1646c9e4634e70e1d37491535e19266e8dc9/jeepney-0.8.0-py3-none-any.whl" + ] } - } - }, - "recordedRepoMappingEntries": [ - [ - "rules_python~", - "bazel_tools", - "bazel_tools" - ] - ] - } - }, - "@@rules_python~//python/extensions/private:internal_deps.bzl%internal_deps": { - "general": { - "bzlTransitiveDigest": "0SQtOAXkWiHrzL93u93I9hwQKzwL/A0YPnD7BMp34Ws=", - "usagesDigest": "dzDHKHw2Ajg4RVImTRgAyNwUP5yO9xWw0K+gmW2ZFHY=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "pypi__wheel": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + }, + "rules_python_publish_deps_311_secretstorage_py3_none_any_f356e662": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/bd/7c/d38a0b30ce22fc26ed7dbc087c6d00851fb3395e9d0dac40bec1f905030c/wheel-0.38.4-py3-none-any.whl", - "sha256": "b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "SecretStorage-3.3.3-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "secretstorage==3.3.3", + "sha256": "f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/54/24/b4293291fa1dd830f353d2cb163295742fa87f179fcc8a20a306a81978b7/SecretStorage-3.3.3-py3-none-any.whl" + ] } }, - "pypi__click": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_idna_py3_none_any_90b77e79": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "idna-3.4-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "idna==3.4", + "sha256": "90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_urllib3_py2_none_any_75edcdc2": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/76/0a/b6c5f311e32aeb3b406e03c079ade51e905ea630fc19d1262a46249c1c86/click-8.0.1-py3-none-any.whl", - "sha256": "fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "urllib3-1.26.14-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "urllib3==1.26.14", + "sha256": "75edcdc2f7d85b137124a6c3c9fc3933cdeaa12ecb9a6a959f22797a0feca7e1", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/fe/ca/466766e20b767ddb9b951202542310cba37ea5f2d792dae7589f1741af58/urllib3-1.26.14-py2.py3-none-any.whl" + ] } }, - "pypi__importlib_metadata": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_charset_normalizer_py3_none_any_7e189e2e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "7e189e2e1d3ed2f4aebabd2d5b0f931e883676e51c7624826e0a4e5fe8a0bf24", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/68/2b/02e9d6a98ddb73fa238d559a9edcc30b247b8dc4ee848b6184c936e99dc0/charset_normalizer-3.0.1-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_twine_sdist_9e102ef5": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "twine-4.0.2.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "twine==4.0.2", + "sha256": "9e102ef5fdd5a20661eb88fad46338806c3bd32cf1db729603fe3697b1bc83c8", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/b7/1a/a7884359429d801cd63c2c5512ad0a337a509994b0e42d9696d4778d71f6/twine-4.0.2.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_pywin32_ctypes_py2_none_any_9dc2d991": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/d7/31/74dcb59a601b95fce3b0334e8fc9db758f78e43075f22aeb3677dfb19f4c/importlib_metadata-1.4.0-py2.py3-none-any.whl", - "sha256": "bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "windows_x86_64" + ], + "filename": "pywin32_ctypes-0.2.0-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pywin32-ctypes==0.2.0", + "sha256": "9dc2d991b3479cc2df15930958b674a48a227d5361d413827a4cfd0b5876fc98", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/9e/4b/3ab2720f1fa4b4bc924ef1932b842edf10007e4547ea8157b0b9fc78599a/pywin32_ctypes-0.2.0-py2.py3-none-any.whl" + ] } }, - "pypi__pep517": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_pkginfo_py3_none_any_4b7a555a": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "pkginfo-1.9.6-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pkginfo==1.9.6", + "sha256": "4b7a555a6d5a22169fcc9cf7bfd78d296b0361adad412a346c1226849af5e546", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/b3/f2/6e95c86a23a30fa205ea6303a524b20cbae27fbee69216377e3d95266406/pkginfo-1.9.6-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_cffi_cp311_cp311_musllinux_1_1_x86_64_cc4d65ae": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/ee/2f/ef63e64e9429111e73d3d6cbee80591672d16f2725e648ebc52096f3d323/pep517-0.13.0-py3-none-any.whl", - "sha256": "4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cffi==1.15.1", + "sha256": "cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d3/56/3e94aa719ae96eeda8b68b3ec6e347e0a23168c6841dc276ccdcdadc9f32/cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl" + ] } }, - "pypi__packaging": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_mdurl_py3_none_any_84008a41": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "mdurl-0.1.2-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "mdurl==0.1.2", + "sha256": "84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_more_itertools_py3_none_any_250e83d7": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "more_itertools-9.0.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "more-itertools==9.0.0", + "sha256": "250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/5d/87/1ec3fcc09d2c04b977eabf8a1083222f82eaa2f46d5a4f85f403bf8e7b30/more_itertools-9.0.0-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_mdurl_sdist_bb413d29": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "mdurl-0.1.2.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "mdurl==0.1.2", + "sha256": "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_keyring_sdist_ba2e15a9": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "keyring-23.13.1.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "keyring==23.13.1", + "sha256": "ba2e15a9b35e21908d0aaf4e0a47acc52d6ae33444df0da2b49d41a46ef6d678", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/55/fe/282f4c205add8e8bb3a1635cbbac59d6def2e0891b145aa553a0e40dd2d0/keyring-23.13.1.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_rfc3986_sdist_97aacf9d": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "rfc3986-2.0.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "rfc3986==2.0.0", + "sha256": "97aacf9dbd4bfd829baad6e6309fa6573aaf1be3f6fa735c8ab05e46cecb261c", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/85/40/1520d68bfa07ab5a6f065a186815fb6610c86fe957bc065754e47f7b0840/rfc3986-2.0.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_six_py2_none_any_8abb2f1d": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "six-1.16.0-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "six==1.16.0", + "sha256": "8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_aarch64_14e76c0f": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "14e76c0f23218b8f46c4d87018ca2e441535aed3632ca134b10239dfb6dadd6b", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/c0/4d/6b82099e3f25a9ed87431e2f51156c14f3a9ce8fad73880a3856cd95f1d5/charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" + ] + } + }, + "rules_python_publish_deps_311_readme_renderer_sdist_cd653186": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "readme_renderer-37.3.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "readme-renderer==37.3", + "sha256": "cd653186dfc73055656f090f227f5cb22a046d7f71a841dfa305f55c9a513273", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/81/c3/d20152fcd1986117b898f66928938f329d0c91ddc47f081c58e64e0f51dc/readme_renderer-37.3.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_markdown_it_py_py3_none_any_93de681e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "markdown_it_py-2.1.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "markdown-it-py==2.1.0", + "sha256": "93de681e5c021a432c63147656fe21790bc01231e0cd2da73626f1aa3ac0fe27", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/f9/3f/ecd1b708973b9a3e4574b43cffc1ce8eb98696da34f1a1c44a68c3c0d737/markdown_it_py-2.1.0-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_six_sdist_1e61c374": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "six-1.16.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "six==1.16.0", + "sha256": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_urllib3_py2_none_any_34b97092": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/8f/7b/42582927d281d7cb035609cd3a543ffac89b74f3f4ee8e1c50914bcb57eb/packaging-22.0-py3-none-any.whl", - "sha256": "957e2148ba0e1a3b282772e791ef1d8083648bc131c8ab0c1feba110ce1146c3", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "urllib3-1.26.18-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "urllib3==1.26.18", + "sha256": "34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl" + ] } }, - "pypi__pip_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_twine_py3_none_any_929bc3c2": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "twine-4.0.2-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "twine==4.0.2", + "sha256": "929bc3c280033347a00f847236564d1c52a3e61b1ac2516c97c48f3ceab756d8", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/3a/38/a3f27a9e8ce45523d7d1e28c09e9085b61a98dab15d35ec086f36a44b37c/twine-4.0.2-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_webencodings_sdist_b36a1c24": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "webencodings-0.5.1.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "webencodings==0.5.1", + "sha256": "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47/webencodings-0.5.1.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_s390x_4a8fcf28": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_s390x.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "4a8fcf28c05c1f6d7e177a9a46a1c52798bfe2ad80681d275b10dcf317deaf0b", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/80/54/183163f9910936e57a60ee618f4f5cc91c2f8333ee2d4ebc6c50f6c8684d/charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_s390x.whl" + ] + } + }, + "rules_python_publish_deps_311_markdown_it_py_sdist_cf7e59fe": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "markdown-it-py-2.1.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "markdown-it-py==2.1.0", + "sha256": "cf7e59fed14b5ae17c0006eff14a2d9a00ed5f3a846148153899a0224e2c07da", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/33/e9/ac8a93e9eda3891ecdfecf5e01c060bbd2c44d4e3e77efc83b9c7ce9db32/markdown-it-py-2.1.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_17_x86_64_da46e2b5": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/5e/e8/f6d7d1847c7351048da870417724ace5c4506e816b38db02f4d7c675c189/pip_tools-6.12.1-py3-none-any.whl", - "sha256": "f0c0c0ec57b58250afce458e2e6058b1f30a4263db895b7d72fd6311bf1dc6f7", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cryptography-41.0.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "da46e2b5df770070412c46f87bac0849b8d685c5f2679771de277a422c7d0b86", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/ce/4e/54960380dda23ceb2027500e568aeafd6f06ce031847d7f2d3157f2bd12b/cryptography-41.0.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] } }, - "pypi__setuptools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_x86_64_79909e27": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "79909e27e8e4fcc9db4addea88aa63f6423ebb171db091fb4373e3312cb6d603", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d9/7a/60d45c9453212b30eebbf8b5cddbdef330eebddfcf335bce7920c43fb72e/charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + ] + } + }, + "rules_python_publish_deps_311_idna_sdist_814f528e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "idna-3.4.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "idna==3.4", + "sha256": "814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_jaraco_classes_py3_none_any_2353de32": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "jaraco.classes-3.2.3-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "jaraco-classes==3.2.3", + "sha256": "2353de3288bc6b82120752201c6b1c1a14b058267fa424ed5ce5984e3b922158", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/60/28/220d3ae0829171c11e50dded4355d17824d60895285631d7eb9dee0ab5e5/jaraco.classes-3.2.3-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_pycparser_py2_none_any_8ee45429": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/7c/5b/3d92b9f0f7ca1645cba48c080b54fe7d8b1033a4e5720091d1631c4266db/setuptools-60.10.0-py3-none-any.whl", - "sha256": "782ef48d58982ddb49920c11a0c5c9c0b02e7d7d1c2ad0aa44e1a1e133051c96", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "pycparser-2.21-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pycparser==2.21", + "sha256": "8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl" + ] } }, - "pypi__zipp": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_28_aarch64_ff369dd1": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/f4/50/cc72c5bcd48f6e98219fc4a88a5227e9e28b81637a99c49feba1d51f4d50/zipp-1.0.0-py2.py3-none-any.whl", - "sha256": "8dda78f06bd1674bd8720df8a50bb47b6e1233c503a4eed8e7810686bde37656", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cryptography-41.0.6-cp37-abi3-manylinux_2_28_aarch64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "ff369dd19e8fe0528b02e8df9f2aeb2479f89b1270d90f96a63500afe9af5cae", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/0e/dd/6043bf697d30dc4277cc1608af1145d6076fdd0f00283626bf916d7cde8f/cryptography-41.0.6-cp37-abi3-manylinux_2_28_aarch64.whl" + ] } }, - "pypi__colorama": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_rich_sdist_f1a00cdd": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "rich-13.2.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "rich==13.2.0", + "sha256": "f1a00cdd3eebf999a15d85ec498bfe0b1a77efe9b34f645768a54132ef444ac5", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/9e/5e/c3dc3ea32e2c14bfe46e48de954dd175bff76bcc549dd300acb9689521ae/rich-13.2.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_pywin32_ctypes_sdist_24ffc3b3": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", - "sha256": "4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "windows_x86_64" + ], + "filename": "pywin32-ctypes-0.2.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pywin32-ctypes==0.2.0", + "sha256": "24ffc3b341d457d48e8922352130cf2644024a4ff09762a2261fd34c36ee5942", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/7a/7d/0dbc4c99379452a819b0fb075a0ffbb98611df6b6d59f54db67367af5bc0/pywin32-ctypes-0.2.0.tar.gz" + ] } }, - "pypi__build": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_pkginfo_sdist_8fd5896e": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "pkginfo-1.9.6.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pkginfo==1.9.6", + "sha256": "8fd5896e8718a4372f0ea9cc9d96f6417c9b986e23a4d116dda26b62cc29d046", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/b4/1c/89b38e431c20d6b2389ed8b3926c2ab72f58944733ba029354c6d9f69129/pkginfo-1.9.6.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_pygments_sdist_b3ed06a9": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "Pygments-2.14.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pygments==2.14.0", + "sha256": "b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/da/6a/c427c06913204e24de28de5300d3f0e809933f376e0b7df95194b2bb3f71/Pygments-2.14.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_certifi_py3_none_any_92d60375": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/03/97/f58c723ff036a8d8b4d3115377c0a37ed05c1f68dd9a0d66dab5e82c5c1c/build-0.9.0-py3-none-any.whl", - "sha256": "38a7a2b7a0bdc61a42a0a67509d88c71ecfc37b393baba770fae34e20929ff69", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "certifi-2023.7.22-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "certifi==2023.7.22", + "sha256": "92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl" + ] } }, - "pypi__pip": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_zipp_py3_none_any_83a28fcb": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "zipp-3.11.0-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "zipp==3.11.0", + "sha256": "83a28fcb75844b5c0cdaf5aa4003c2d728c77e05f5aeabe8e95e56727005fbaa", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d8/20/256eb3f3f437c575fb1a2efdce5e801a5ce3162ea8117da96c43e6ee97d8/zipp-3.11.0-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_macosx_10_9_x86_64_a8d0fc94": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-macosx_10_9_x86_64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "a8d0fc946c784ff7f7c3742310cc8a57c5c6dc31631269876a88b809dbeff3d3", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/90/59/941e2e5ae6828a688c6437ad16e026eb3606d0cfdd13ea5c9090980f3ffd/charset_normalizer-3.0.1-cp311-cp311-macosx_10_9_x86_64.whl" + ] + } + }, + "rules_python_publish_deps_311_docutils_py3_none_any_5e1de4d8": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "docutils-0.19-py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "docutils==0.19", + "sha256": "5e1de4d849fee02c63b040a4a3fd567f4ab104defd8a5511fbbc24a8a017efbc", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/93/69/e391bd51bc08ed9141ecd899a0ddb61ab6465309f1eb470905c0c8868081/docutils-0.19-py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_docutils_sdist_33995a67": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "docutils-0.19.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "docutils==0.19", + "sha256": "33995a6753c30b7f577febfc2c50411fec6aac7f7ffeb7c4cfe5991072dcf9e6", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/6b/5c/330ea8d383eb2ce973df34d1239b3b21e91cd8c865d21ff82902d952f91f/docutils-0.19.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_macosx_10_9_universal2_0298eaff": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-macosx_10_9_universal2.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "0298eafff88c99982a4cf66ba2efa1128e4ddaca0b05eec4c456bbc7db691d8d", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/37/00/ca188e0a2b3cd3184cdd2521b8765cf579327d128caa8aedc3dc7614020a/charset_normalizer-3.0.1-cp311-cp311-macosx_10_9_universal2.whl" + ] + } + }, + "rules_python_publish_deps_311_jeepney_sdist_5efe48d2": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl", - "sha256": "908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "jeepney-0.8.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "jeepney==0.8.0", + "sha256": "5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/d6/f4/154cf374c2daf2020e05c3c6a03c91348d59b23c5366e968feb198306fdf/jeepney-0.8.0.tar.gz" + ] } }, - "pypi__installer": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_requests_toolbelt_sdist_62e09f7f": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "requests-toolbelt-0.10.1.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "requests-toolbelt==0.10.1", + "sha256": "62e09f7ff5ccbda92772a29f394a49c3ad6cb181d568b1337626b2abb628a63d", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/0c/4c/07f01c6ac44f7784fa399137fbc8d0cdc1b5d35304e8c0f278ad82105b58/requests-toolbelt-0.10.1.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_certifi_sdist_539cc1d1": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/e5/ca/1172b6638d52f2d6caa2dd262ec4c811ba59eee96d54a7701930726bce18/installer-0.7.0-py3-none-any.whl", - "sha256": "05d1933f0a5ba7d8d6296bb6d5018e7c94fa473ceb10cf198a92ccea19c27b53", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "certifi-2023.7.22.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "certifi==2023.7.22", + "sha256": "539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/98/98/c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa/certifi-2023.7.22.tar.gz" + ] } }, - "pypi__more_itertools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_ppc64le_0c0a5902": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "0c0a590235ccd933d9892c627dec5bc7511ce6ad6c1011fdf5b11363022746c1", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/12/e5/aa09a1c39c3e444dd223d63e2c816c18ed78d035cff954143b2a539bdc9e/charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl" + ] + } + }, + "rules_python_publish_deps_311_rfc3986_py2_none_any_50b1502b": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "rfc3986-2.0.0-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "rfc3986==2.0.0", + "sha256": "50b1502b60e289cb37883f3dfd34532b8873c7de9f49bb546641ce9cbd256ebd", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/ff/9a/9afaade874b2fa6c752c36f1548f718b5b83af81ed9b76628329dab81c1b/rfc3986-2.0.0-py2.py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_requests_sdist_98b1b278": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "requests-2.28.2.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "requests==2.28.2", + "sha256": "98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/9d/ee/391076f5937f0a8cdf5e53b701ffc91753e87b07d66bae4a09aa671897bf/requests-2.28.2.tar.gz" + ] + } + }, + "rules_python_publish_deps": { + "bzlFile": "@@rules_python~//python/private/bzlmod:pip_repository.bzl", + "ruleClassName": "pip_repository", + "attributes": { + "repo_name": "rules_python_publish_deps", + "whl_map": { + "six": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"six-1.16.0-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_six_py2_none_any_8abb2f1d\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"six-1.16.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_six_sdist_1e61c374\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "cffi": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cffi-1.15.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl\",\"repo\":\"rules_python_publish_deps_311_cffi_cp311_cp311_manylinux_2_17_aarch64_3548db28\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl\",\"repo\":\"rules_python_publish_deps_311_cffi_cp311_cp311_manylinux_2_17_ppc64le_91fc98ad\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_cffi_cp311_cp311_manylinux_2_17_x86_64_94411f22\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cffi-1.15.1-cp311-cp311-musllinux_1_1_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_cffi_cp311_cp311_musllinux_1_1_x86_64_cc4d65ae\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cffi-1.15.1.tar.gz\",\"repo\":\"rules_python_publish_deps_311_cffi_sdist_d400bfb9\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "idna": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"idna-3.4-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_idna_py3_none_any_90b77e79\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"idna-3.4.tar.gz\",\"repo\":\"rules_python_publish_deps_311_idna_sdist_814f528e\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "rich": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"rich-13.2.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_rich_py3_none_any_7c963f0d\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"rich-13.2.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_rich_sdist_f1a00cdd\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "zipp": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"zipp-3.11.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_zipp_py3_none_any_83a28fcb\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"zipp-3.11.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_zipp_sdist_a7a22e05\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "mdurl": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"mdurl-0.1.2-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_mdurl_py3_none_any_84008a41\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"mdurl-0.1.2.tar.gz\",\"repo\":\"rules_python_publish_deps_311_mdurl_sdist_bb413d29\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "twine": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"twine-4.0.2-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_twine_py3_none_any_929bc3c2\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"twine-4.0.2.tar.gz\",\"repo\":\"rules_python_publish_deps_311_twine_sdist_9e102ef5\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "bleach": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"bleach-6.0.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_bleach_py3_none_any_33c16e33\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"bleach-6.0.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_bleach_sdist_1a1a85c1\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "certifi": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"certifi-2022.12.7-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_certifi_py3_none_any_4ad3232f\",\"target_platforms\":[\"linux_aarch64\",\"linux_arm\",\"linux_ppc\",\"linux_s390x\",\"linux_x86_64\"],\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"certifi-2022.12.7.tar.gz\",\"repo\":\"rules_python_publish_deps_311_certifi_sdist_35824b4c\",\"target_platforms\":[\"linux_aarch64\",\"linux_arm\",\"linux_ppc\",\"linux_s390x\",\"linux_x86_64\"],\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"certifi-2023.7.22-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_certifi_py3_none_any_92d60375\",\"target_platforms\":[\"osx_aarch64\",\"osx_x86_64\",\"windows_x86_64\"],\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"certifi-2023.7.22.tar.gz\",\"repo\":\"rules_python_publish_deps_311_certifi_sdist_539cc1d1\",\"target_platforms\":[\"osx_aarch64\",\"osx_x86_64\",\"windows_x86_64\"],\"version\":\"3.11\"}]", + "jeepney": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"jeepney-0.8.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_jeepney_py3_none_any_c0a454ad\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"jeepney-0.8.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_jeepney_sdist_5efe48d2\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "keyring": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"keyring-23.13.1-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_keyring_py3_none_any_771ed2a9\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"keyring-23.13.1.tar.gz\",\"repo\":\"rules_python_publish_deps_311_keyring_sdist_ba2e15a9\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "pkginfo": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"pkginfo-1.9.6-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_pkginfo_py3_none_any_4b7a555a\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"pkginfo-1.9.6.tar.gz\",\"repo\":\"rules_python_publish_deps_311_pkginfo_sdist_8fd5896e\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "rfc3986": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"rfc3986-2.0.0-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_rfc3986_py2_none_any_50b1502b\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"rfc3986-2.0.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_rfc3986_sdist_97aacf9d\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "urllib3": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"urllib3-1.26.14-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_urllib3_py2_none_any_75edcdc2\",\"target_platforms\":[\"linux_aarch64\",\"linux_arm\",\"linux_ppc\",\"linux_s390x\",\"linux_x86_64\"],\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"urllib3-1.26.14.tar.gz\",\"repo\":\"rules_python_publish_deps_311_urllib3_sdist_076907bf\",\"target_platforms\":[\"linux_aarch64\",\"linux_arm\",\"linux_ppc\",\"linux_s390x\",\"linux_x86_64\"],\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"urllib3-1.26.18-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_urllib3_py2_none_any_34b97092\",\"target_platforms\":[\"osx_aarch64\",\"osx_x86_64\",\"windows_x86_64\"],\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"urllib3-1.26.18.tar.gz\",\"repo\":\"rules_python_publish_deps_311_urllib3_sdist_f8ecc1bb\",\"target_platforms\":[\"osx_aarch64\",\"osx_x86_64\",\"windows_x86_64\"],\"version\":\"3.11\"}]", + "docutils": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"docutils-0.19-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_docutils_py3_none_any_5e1de4d8\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"docutils-0.19.tar.gz\",\"repo\":\"rules_python_publish_deps_311_docutils_sdist_33995a67\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "pygments": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"Pygments-2.14.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_pygments_py3_none_any_fa7bd7bd\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"Pygments-2.14.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_pygments_sdist_b3ed06a9\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "requests": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"requests-2.28.2-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_requests_py3_none_any_64299f49\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"requests-2.28.2.tar.gz\",\"repo\":\"rules_python_publish_deps_311_requests_sdist_98b1b278\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "pycparser": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"pycparser-2.21-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_pycparser_py2_none_any_8ee45429\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"pycparser-2.21.tar.gz\",\"repo\":\"rules_python_publish_deps_311_pycparser_sdist_e644fdec\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "cryptography": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_cryptography_cp37_abi3_musllinux_1_1_x86_64_068bc551\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6-cp37-abi3-musllinux_1_1_aarch64.whl\",\"repo\":\"rules_python_publish_deps_311_cryptography_cp37_abi3_musllinux_1_1_aarch64_5daeb18e\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl\",\"repo\":\"rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_17_aarch64_afda76d8\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6-cp37-abi3-manylinux_2_28_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_28_x86_64_b648fe2a\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_17_x86_64_da46e2b5\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6-cp37-abi3-manylinux_2_28_aarch64.whl\",\"repo\":\"rules_python_publish_deps_311_cryptography_cp37_abi3_manylinux_2_28_aarch64_ff369dd1\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"cryptography-41.0.6.tar.gz\",\"repo\":\"rules_python_publish_deps_311_cryptography_sdist_422e3e31\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "webencodings": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"webencodings-0.5.1-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_webencodings_py2_none_any_a0af1213\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"webencodings-0.5.1.tar.gz\",\"repo\":\"rules_python_publish_deps_311_webencodings_sdist_b36a1c24\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "secretstorage": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"SecretStorage-3.3.3-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_secretstorage_py3_none_any_f356e662\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"SecretStorage-3.3.3.tar.gz\",\"repo\":\"rules_python_publish_deps_311_secretstorage_sdist_2403533e\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "jaraco_classes": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"jaraco.classes-3.2.3-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_jaraco_classes_py3_none_any_2353de32\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"jaraco.classes-3.2.3.tar.gz\",\"repo\":\"rules_python_publish_deps_311_jaraco_classes_sdist_89559fa5\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "markdown_it_py": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"markdown_it_py-2.1.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_markdown_it_py_py3_none_any_93de681e\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"markdown-it-py-2.1.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_markdown_it_py_sdist_cf7e59fe\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "more_itertools": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"more_itertools-9.0.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_more_itertools_py3_none_any_250e83d7\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"more-itertools-9.0.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_more_itertools_sdist_5a6257e4\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "readme_renderer": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"readme_renderer-37.3-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_readme_renderer_py3_none_any_f67a16ca\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"readme_renderer-37.3.tar.gz\",\"repo\":\"rules_python_publish_deps_311_readme_renderer_sdist_cd653186\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "requests_toolbelt": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"requests_toolbelt-0.10.1-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_requests_toolbelt_py2_none_any_18565aa5\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"requests-toolbelt-0.10.1.tar.gz\",\"repo\":\"rules_python_publish_deps_311_requests_toolbelt_sdist_62e09f7f\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "charset_normalizer": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-macosx_10_9_universal2.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_macosx_10_9_universal2_0298eaff\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_ppc64le_0c0a5902\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_aarch64_14e76c0f\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_s390x.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_s390x_4a8fcf28\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_ppc64le.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_ppc64le_5995f016\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_aarch64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_aarch64_72966d1b\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_x86_64_761e8904\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_x86_64_79909e27\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_py3_none_any_7e189e2e\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-macosx_11_0_arm64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_macosx_11_0_arm64_87701167\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_manylinux_2_17_s390x_8c7fe7af\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-win_amd64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_win_amd64_9ab77acb\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset_normalizer-3.0.1-cp311-cp311-macosx_10_9_x86_64.whl\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_cp311_cp311_macosx_10_9_x86_64_a8d0fc94\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"charset-normalizer-3.0.1.tar.gz\",\"repo\":\"rules_python_publish_deps_311_charset_normalizer_sdist_ebea339a\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "importlib_metadata": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"importlib_metadata-6.0.0-py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_importlib_metadata_py3_none_any_7efb448e\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"importlib_metadata-6.0.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_importlib_metadata_sdist_e354bede\",\"target_platforms\":null,\"version\":\"3.11\"}]", + "pywin32_ctypes": "[{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"pywin32_ctypes-0.2.0-py2.py3-none-any.whl\",\"repo\":\"rules_python_publish_deps_311_pywin32_ctypes_py2_none_any_9dc2d991\",\"target_platforms\":null,\"version\":\"3.11\"},{\"config_setting\":\"//_config:is_python_3.11\",\"filename\":\"pywin32-ctypes-0.2.0.tar.gz\",\"repo\":\"rules_python_publish_deps_311_pywin32_ctypes_sdist_24ffc3b3\",\"target_platforms\":null,\"version\":\"3.11\"}]" + }, + "default_version": "3.12", + "groups": {} + } + }, + "rules_python_publish_deps_311_webencodings_py2_none_any_a0af1213": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "webencodings-0.5.1-py2.py3-none-any.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "webencodings==0.5.1", + "sha256": "a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl" + ] + } + }, + "rules_python_publish_deps_311_charset_normalizer_sdist_ebea339a": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset-normalizer-3.0.1.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "ebea339af930f8ca5d7a699b921106c6e29c617fe9606fa7baa043c1cdae326f", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/96/d7/1675d9089a1f4677df5eb29c3f8b064aa1e70c1251a0a8a127803158942d/charset-normalizer-3.0.1.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_cryptography_sdist_422e3e31": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/bd/3f/c4b3dbd315e248f84c388bd4a72b131a29f123ecacc37ffb2b3834546e42/more_itertools-8.13.0-py3-none-any.whl", - "sha256": "c5122bffc5f104d37c1626b8615b511f3427aa5389b94d61e5ef8236bfbc3ddb", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "cryptography-41.0.6.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "cryptography==41.0.6", + "sha256": "422e3e31d63743855e43e5a6fcc8b4acab860f560f9321b0ee6269cc7ed70cc3", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/4d/b4/828991d82d3f1b6f21a0f8cfa54337ed33fdb52135f694130060839cfc33/cryptography-41.0.6.tar.gz" + ] } }, - "pypi__tomli": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", + "rules_python_publish_deps_311_charset_normalizer_cp311_cp311_musllinux_1_1_aarch64_72966d1b": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_aarch64.whl", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "charset-normalizer==3.0.1", + "sha256": "72966d1b297c741541ca8cf1223ff262a6febe52481af742036a0b296e35fa5a", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/01/ff/9ee4a44e8c32fe96dfc12daa42f29294608a55eadc88f327939327fb20fb/charset_normalizer-3.0.1-cp311-cp311-musllinux_1_1_aarch64.whl" + ] + } + }, + "rules_python_publish_deps_311_pycparser_sdist_e644fdec": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64" + ], + "filename": "pycparser-2.21.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "pycparser==2.21", + "sha256": "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/5e/0b/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de/pycparser-2.21.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_bleach_sdist_1a1a85c1": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", + "attributes": { + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "linux_aarch64", + "linux_arm", + "linux_ppc", + "linux_s390x", + "linux_x86_64", + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "bleach-6.0.0.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "bleach==6.0.0", + "sha256": "1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/7e/e6/d5f220ca638f6a25557a611860482cb6e54b2d97f0332966b1b005742e1f/bleach-6.0.0.tar.gz" + ] + } + }, + "rules_python_publish_deps_311_urllib3_sdist_f8ecc1bb": { + "bzlFile": "@@rules_python~//python/pip_install:pip_repository.bzl", + "ruleClassName": "whl_library", "attributes": { - "url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl", - "sha256": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", - "type": "zip", - "build_file_content": "package(default_visibility = [\"//visibility:public\"])\n\nload(\"@rules_python//python:defs.bzl\", \"py_library\")\n\npy_library(\n name = \"lib\",\n srcs = glob([\"**/*.py\"]),\n data = glob([\"**/*\"], exclude=[\n # These entries include those put into user-installed dependencies by\n # data_exclude in /python/pip_install/tools/bazel.py\n # to avoid non-determinism following pip install's behavior.\n \"**/*.py\",\n \"**/*.pyc\",\n \"**/*.pyc.*\", # During pyc creation, temp files named *.pyc.NNN are created\n \"**/* *\",\n \"**/*.dist-info/RECORD\",\n \"BUILD\",\n \"WORKSPACE\",\n ]),\n # This makes this directory a top-level in the python import\n # search path for anything that depends on this.\n imports = [\".\"],\n)\n" + "dep_template": "@rules_python_publish_deps//{name}:{target}", + "experimental_target_platforms": [ + "osx_aarch64", + "osx_x86_64", + "windows_x86_64" + ], + "filename": "urllib3-1.26.18.tar.gz", + "isolated": true, + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "quiet": true, + "repo": "rules_python_publish_deps_311", + "requirement": "urllib3==1.26.18", + "sha256": "f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0", + "timeout": 600, + "urls": [ + "https://files.pythonhosted.org/packages/0c/39/64487bf07df2ed854cc06078c27c0d0abc59bd27b32232876e403c333a08/urllib3-1.26.18.tar.gz" + ] } } }, "recordedRepoMappingEntries": [ + [ + "bazel_features~", + "bazel_features_globals", + "bazel_features~~version_extension~bazel_features_globals" + ], + [ + "bazel_features~", + "bazel_features_version", + "bazel_features~~version_extension~bazel_features_version" + ], + [ + "rules_python~", + "bazel_features", + "bazel_features~" + ], [ "rules_python~", "bazel_skylib", @@ -2267,6 +4205,96 @@ "rules_python~", "bazel_tools", "bazel_tools" + ], + [ + "rules_python~", + "pypi__build", + "rules_python~~internal_deps~pypi__build" + ], + [ + "rules_python~", + "pypi__click", + "rules_python~~internal_deps~pypi__click" + ], + [ + "rules_python~", + "pypi__colorama", + "rules_python~~internal_deps~pypi__colorama" + ], + [ + "rules_python~", + "pypi__importlib_metadata", + "rules_python~~internal_deps~pypi__importlib_metadata" + ], + [ + "rules_python~", + "pypi__installer", + "rules_python~~internal_deps~pypi__installer" + ], + [ + "rules_python~", + "pypi__more_itertools", + "rules_python~~internal_deps~pypi__more_itertools" + ], + [ + "rules_python~", + "pypi__packaging", + "rules_python~~internal_deps~pypi__packaging" + ], + [ + "rules_python~", + "pypi__pep517", + "rules_python~~internal_deps~pypi__pep517" + ], + [ + "rules_python~", + "pypi__pip", + "rules_python~~internal_deps~pypi__pip" + ], + [ + "rules_python~", + "pypi__pip_tools", + "rules_python~~internal_deps~pypi__pip_tools" + ], + [ + "rules_python~", + "pypi__pyproject_hooks", + "rules_python~~internal_deps~pypi__pyproject_hooks" + ], + [ + "rules_python~", + "pypi__setuptools", + "rules_python~~internal_deps~pypi__setuptools" + ], + [ + "rules_python~", + "pypi__tomli", + "rules_python~~internal_deps~pypi__tomli" + ], + [ + "rules_python~", + "pypi__wheel", + "rules_python~~internal_deps~pypi__wheel" + ], + [ + "rules_python~", + "pypi__zipp", + "rules_python~~internal_deps~pypi__zipp" + ], + [ + "rules_python~", + "pythons_hub", + "rules_python~~python~pythons_hub" + ], + [ + "rules_python~~python~pythons_hub", + "python_3_11_host", + "rules_python~~python~python_3_11_host" + ], + [ + "rules_python~~python~pythons_hub", + "python_3_12_host", + "rules_python~~python~python_3_12_host" ] ] } diff --git a/bazel/thirdparty/requirements.txt b/bazel/thirdparty/requirements.txt new file mode 100644 index 0000000000000..5efa3daa0a17d --- /dev/null +++ b/bazel/thirdparty/requirements.txt @@ -0,0 +1,2 @@ +Jinja2==3.0.3 --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 +MarkupSafe==2.1.2 --hash=sha256:abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d diff --git a/src/v/rpc/BUILD b/src/v/rpc/BUILD new file mode 100644 index 0000000000000..e727d3333b059 --- /dev/null +++ b/src/v/rpc/BUILD @@ -0,0 +1,9 @@ +py_binary( + name = "compiler", + srcs = ["rpc_compiler.py"], + main = "rpc_compiler.py", + visibility = ["//visibility:public"], + deps = [ + "@python_deps//jinja2", + ], +) diff --git a/src/v/rpc/compiler.bzl b/src/v/rpc/compiler.bzl new file mode 100644 index 0000000000000..148fc57440294 --- /dev/null +++ b/src/v/rpc/compiler.bzl @@ -0,0 +1,23 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +def redpanda_cc_rpc_library(name, src, out = None, visibility = None): + if not src.endswith(".json"): + fail(src, "expected to have .json suffix") + + # the convention is to generate x_service.h from x.json + if not out: + out = src.removesuffix(".json") + "_service.h" + + native.genrule( + name = name + "_genrule", + srcs = [src], + outs = [out], + cmd = "$(location //src/v/rpc:compiler) --service_file $< --output_file $@", + tools = ["//src/v/rpc:compiler"], + ) + + redpanda_cc_library( + name = name, + hdrs = [out], + visibility = visibility, + ) From ee8e91d2caf28d74d7a21f9ead1f2478f80d4833 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 17:06:01 -0700 Subject: [PATCH 041/150] bazel: generate raft rpc service header Signed-off-by: Noah Watkins --- src/v/raft/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/v/raft/BUILD diff --git a/src/v/raft/BUILD b/src/v/raft/BUILD new file mode 100644 index 0000000000000..ef366ea330f22 --- /dev/null +++ b/src/v/raft/BUILD @@ -0,0 +1,6 @@ +load("//src/v/rpc:compiler.bzl", "redpanda_cc_rpc_library") + +redpanda_cc_rpc_library( + name = "raft_rpc", + src = "raftgen.json", +) From ecc8b4de80f9737c4253a207167866775fffbe85 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 17:31:27 -0700 Subject: [PATCH 042/150] bazel: generate cluster rpc headers Signed-off-by: Noah Watkins --- src/v/cluster/BUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/v/cluster/BUILD diff --git a/src/v/cluster/BUILD b/src/v/cluster/BUILD new file mode 100644 index 0000000000000..bb48f38607384 --- /dev/null +++ b/src/v/cluster/BUILD @@ -0,0 +1,62 @@ +load("//src/v/rpc:compiler.bzl", "redpanda_cc_rpc_library") + +redpanda_cc_rpc_library( + name = "bootstrap_rpc", + src = "cluster_bootstrap.json", +) + +redpanda_cc_rpc_library( + name = "controller_rpc", + src = "controller.json", +) + +redpanda_cc_rpc_library( + name = "metadata_rpc", + src = "metadata_dissemination_rpc.json", +) + +redpanda_cc_rpc_library( + name = "id_allocator_rpc", + src = "id_allocator.json", +) + +redpanda_cc_rpc_library( + name = "tx_gateway_rpc", + src = "tx_gateway.json", +) + +redpanda_cc_rpc_library( + name = "partition_balancer_rpc", + src = "partition_balancer_rpc.json", +) + +redpanda_cc_rpc_library( + name = "node_status_rpc", + src = "node_status_rpc.json", +) + +redpanda_cc_rpc_library( + name = "ephemeral_credential_rpc", + src = "ephemeral_credential_rpc.json", +) + +redpanda_cc_rpc_library( + name = "self_test_rpc", + src = "self_test_rpc.json", +) + +redpanda_cc_rpc_library( + name = "topic_recovery_status_rpc", + src = "topic_recovery_status_rpc.json", +) + +redpanda_cc_rpc_library( + name = "offsets_recovery_rpc", + src = "offsets_recovery_rpc.json", +) + +redpanda_cc_rpc_library( + name = "tx_manager_migrator_rpc", + src = "migrations/tx_manager_migrator.json", + out = "tx_manager_migrator_service.h", +) From 5819f3c80092b22cdc4b870e36c9f424fb6ff3f3 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 17:31:37 -0700 Subject: [PATCH 043/150] bazel: generate transform rpc headers Signed-off-by: Noah Watkins --- src/v/transform/BUILD | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/v/transform/BUILD diff --git a/src/v/transform/BUILD b/src/v/transform/BUILD new file mode 100644 index 0000000000000..93f70e6f95cb7 --- /dev/null +++ b/src/v/transform/BUILD @@ -0,0 +1,7 @@ +load("//src/v/rpc:compiler.bzl", "redpanda_cc_rpc_library") + +redpanda_cc_rpc_library( + name = "rpc", + src = "rpc/rpc.json", + out = "rpc/include/transform/rpc/rpc_service.h", +) From 5563372548767ceb87f2f22fcc30c9a0533a43ca Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 18:49:17 -0700 Subject: [PATCH 044/150] bazel: use python rules from rules_python Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 1 + src/v/rpc/BUILD | 2 ++ 2 files changed, 3 insertions(+) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 5c04726675a7f..bc51caa3a3c33 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -1,5 +1,6 @@ load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "int_flag") load("@rules_proto//proto:defs.bzl", "proto_library") +load("@rules_python//python:defs.bzl", "py_binary") bool_flag( name = "task_backtrace", diff --git a/src/v/rpc/BUILD b/src/v/rpc/BUILD index e727d3333b059..b0ca76eed7b78 100644 --- a/src/v/rpc/BUILD +++ b/src/v/rpc/BUILD @@ -1,3 +1,5 @@ +load("@rules_python//python:defs.bzl", "py_binary") + py_binary( name = "compiler", srcs = ["rpc_compiler.py"], From b4e9c43f6efcf825a0fc8bc3c8f068cce9dad2ee Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 22 Jun 2024 18:50:03 -0700 Subject: [PATCH 045/150] bazel: remove empty dependency list Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 2 -- 1 file changed, 2 deletions(-) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index bc51caa3a3c33..cb6904361520e 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -129,8 +129,6 @@ py_binary( name = "seastar-json2code", srcs = ["scripts/seastar-json2code.py"], visibility = ["//visibility:public"], - deps = [ - ], ) # the fix to the generated parsers applied in the cmake build appears to be From 4080858d0c7b81cb16940e3f61a4963a7770ede6 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 23 Jun 2024 08:08:35 -0700 Subject: [PATCH 046/150] bazel: generate seastar swagger from json spec Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.bzl | 29 ++++++++++++ src/v/redpanda/admin/BUILD | 87 ++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 bazel/thirdparty/seastar.bzl create mode 100644 src/v/redpanda/admin/BUILD diff --git a/bazel/thirdparty/seastar.bzl b/bazel/thirdparty/seastar.bzl new file mode 100644 index 0000000000000..ec1830ecc6f05 --- /dev/null +++ b/bazel/thirdparty/seastar.bzl @@ -0,0 +1,29 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +def seastar_cc_swagger_library(name, src, definitions = [], visibility = None): + hh_out = src + ".hh" + cc_out = src + ".cc" + src_abs = "$(location " + src + ")" + hh_out_abs = "$(location " + hh_out + ")" + + native.genrule( + name = name + "_genrule", + srcs = [src] + definitions, + outs = [hh_out, cc_out], + cmd = "$(location @seastar//:seastar-json2code) --create-cc -f " + src_abs + " -o " + hh_out_abs, + tools = ["@seastar//:seastar-json2code"], + ) + + redpanda_cc_library( + name = name, + srcs = [ + cc_out, + ], + visibility = visibility, + hdrs = [ + hh_out, + ], + deps = [ + "@seastar", + ], + ) diff --git a/src/v/redpanda/admin/BUILD b/src/v/redpanda/admin/BUILD new file mode 100644 index 0000000000000..1a5e1516842d4 --- /dev/null +++ b/src/v/redpanda/admin/BUILD @@ -0,0 +1,87 @@ +load("//bazel/thirdparty:seastar.bzl", "seastar_cc_swagger_library") + +seastar_cc_swagger_library( + name = "broker_swagger", + src = "api-doc/broker.json", +) + +seastar_cc_swagger_library( + name = "cluster", + src = "api-doc/cluster.json", +) + +seastar_cc_swagger_library( + name = "cluster_config_swagger", + src = "api-doc/cluster_config.json", +) + +seastar_cc_swagger_library( + name = "config_swagger", + src = "api-doc/config.json", + definitions = [ + "api-doc/config.def.json", + ], +) + +seastar_cc_swagger_library( + name = "debug", + src = "api-doc/debug.json", +) + +seastar_cc_swagger_library( + name = "features", + src = "api-doc/features.json", +) + +seastar_cc_swagger_library( + name = "hbadger", + src = "api-doc/hbadger.json", +) + +seastar_cc_swagger_library( + name = "partition", + src = "api-doc/partition.json", +) + +seastar_cc_swagger_library( + name = "raft", + src = "api-doc/raft.json", +) + +seastar_cc_swagger_library( + name = "recovery", + src = "api-doc/recovery.json", +) + +seastar_cc_swagger_library( + name = "security_swagger", + src = "api-doc/security.json", + definitions = [ + "api-doc/security.def.json", + ], +) + +seastar_cc_swagger_library( + name = "shadow_indexing", + src = "api-doc/shadow_indexing.json", +) + +seastar_cc_swagger_library( + name = "status", + src = "api-doc/status.json", +) + +seastar_cc_swagger_library( + name = "transaction", + src = "api-doc/transaction.json", +) + +seastar_cc_swagger_library( + name = "transform", + src = "api-doc/transform.json", +) + +seastar_cc_swagger_library( + name = "usage", + src = "api-doc/usage.json", +) From fa29de00e0ce54d57e4599c3f3c1332d1043eecb Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 23 Jun 2024 08:24:22 -0700 Subject: [PATCH 047/150] bazel: add buildifier tool for bazel file formatting Signed-off-by: Noah Watkins --- tools/format-bazel | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tools/format-bazel diff --git a/tools/format-bazel b/tools/format-bazel new file mode 100755 index 0000000000000..3978e2afb2572 --- /dev/null +++ b/tools/format-bazel @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# +# go install github.com/bazelbuild/buildtools/buildifier@latest +# +# TODO +# - could arrange for `bazel run //:buildifier` to work + +script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) +root_dir=$(git -C ${script_dir} rev-parse --show-toplevel) + +pushd ${root_dir} +# list *.BUILD explicitly it doesn't seem to get picked up automatically +buildifier -r -lint=fix -mode=fix -type=auto . bazel/thirdparty/*.BUILD +popd From 8007cc2c6c1fb1b1add02204eee916ada5b233c1 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 23 Jun 2024 12:56:37 -0700 Subject: [PATCH 048/150] bazel: split fips build from rest of openssl build Signed-off-by: Noah Watkins --- MODULE.bazel | 1 + MODULE.bazel.lock | 18 ++++++++++--- bazel/repositories.bzl | 26 +++++++++++++++---- bazel/thirdparty/openssl-fips.BUILD | 40 +++++++++++++++++++++++++++++ bazel/thirdparty/openssl.BUILD | 22 +++++++++++----- 5 files changed, 91 insertions(+), 16 deletions(-) create mode 100644 bazel/thirdparty/openssl-fips.BUILD diff --git a/MODULE.bazel b/MODULE.bazel index 3cf003e140bf5..2c41171440dfa 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -75,6 +75,7 @@ use_repo(non_module_dependencies, "lksctp") use_repo(non_module_dependencies, "nettle") use_repo(non_module_dependencies, "numactl") use_repo(non_module_dependencies, "openssl") +use_repo(non_module_dependencies, "openssl-fips") use_repo(non_module_dependencies, "rapidjson") use_repo(non_module_dependencies, "roaring") use_repo(non_module_dependencies, "seastar") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index e78b0798cde53..1af90dcf1a0f9 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -116,7 +116,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "idBlxDhMof1qWj584VNfgRf5fpef83Muxi+aTi4jZls=", + "bzlTransitiveDigest": "sSftDTw64PHnKlV8j0ZDbYcZbWzApaw2eVMd7ov2f9o=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -278,6 +278,16 @@ "url": "https://vectorized-public.s3.amazonaws.com/dependencies/libxml2-2.10.4.tar.xz" } }, + "openssl-fips": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:openssl-fips.BUILD", + "sha256": "eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90", + "strip_prefix": "openssl-3.0.9", + "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/openssl-3.0.9.tar.gz" + } + }, "lksctp": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", @@ -323,9 +333,9 @@ "ruleClassName": "http_archive", "attributes": { "build_file": "@@//bazel/thirdparty:openssl.BUILD", - "sha256": "eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90", - "strip_prefix": "openssl-3.0.9", - "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/openssl-3.0.9.tar.gz" + "sha256": "7375e6200ccd1540245a39c01bc8e37750d9aad5f747ad10a168a520e95dba43", + "strip_prefix": "openssl-9cff14fd97814baf8a9a07d8447960a64d616ada", + "url": "https://github.com/openssl/openssl/archive/9cff14fd97814baf8a9a07d8447960a64d616ada.tar.gz" } }, "c-ares": { diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 8de70a9233795..2c41fee7233c0 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -123,15 +123,31 @@ def data_dependency(): url = "https://vectorized-public.s3.amazonaws.com/dependencies/numactl-v2.0.14.tar.gz", ) - ############################################################################### - # IMPORTANT - # DO NOT CHANGE THIS VERSION - # As of 2/26 - 3.0.9 is the latest FIPS _approved_ version: + # + # ** IMPORTANT - OpenSSL and FIPS ** + # + # Below there are two OpenSSL archives that are retrieved. The first, named + # simply "openssl", may reference any version of OpenSSL that is desired. + # + # The second archive retrieved is named "openssl-fips", and *MUST* reference + # the specific version of OpenSSL, 3.0.9, which is the latest FIPS approved + # version as of 2/26/24. Do not change this version. For more info visit: # https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/4282 - ############################################################################### + # + # This 2 build approach is described in more detail in the FIPS README here: + # https://github.com/openssl/openssl/blob/master/README-FIPS.md + # http_archive( name = "openssl", build_file = "//bazel/thirdparty:openssl.BUILD", + sha256 = "7375e6200ccd1540245a39c01bc8e37750d9aad5f747ad10a168a520e95dba43", + strip_prefix = "openssl-9cff14fd97814baf8a9a07d8447960a64d616ada", + url = "https://github.com/openssl/openssl/archive/9cff14fd97814baf8a9a07d8447960a64d616ada.tar.gz", + ) + + http_archive( + name = "openssl-fips", + build_file = "//bazel/thirdparty:openssl-fips.BUILD", sha256 = "eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90", strip_prefix = "openssl-3.0.9", url = "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/openssl-3.0.9.tar.gz", diff --git a/bazel/thirdparty/openssl-fips.BUILD b/bazel/thirdparty/openssl-fips.BUILD new file mode 100644 index 0000000000000..8dd786aac4dda --- /dev/null +++ b/bazel/thirdparty/openssl-fips.BUILD @@ -0,0 +1,40 @@ +load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) + +config_setting( + name = "debug_mode", + values = {"compilation_mode": "dbg"}, +) + +config_setting( + name = "release_mode", + values = {"compilation_mode": "opt"}, +) + +configure_make( + name = "openssl-fips", + configure_command = "Configure", + configure_options = [ + "enable-fips", + "--libdir=lib", + ] + select({ + ":debug_mode": ["--debug"], + ":release_mode": ["--release"], + "//conditions:default": [], + }), + lib_source = ":srcs", + out_shared_libs = [ + "ossl-modules/fips.so", + ], + targets = [ + "", + "install_fips", + ], + visibility = [ + "//visibility:public", + ], +) diff --git a/bazel/thirdparty/openssl.BUILD b/bazel/thirdparty/openssl.BUILD index 3be8d4ffc379a..d0b654ef2d817 100644 --- a/bazel/thirdparty/openssl.BUILD +++ b/bazel/thirdparty/openssl.BUILD @@ -1,22 +1,30 @@ load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") -# TODO -# - handle --debug vs --release mode flags -# - package up the fips.so module file - filegroup( name = "srcs", srcs = glob(["**"]), ) +config_setting( + name = "debug_mode", + values = {"compilation_mode": "dbg"}, +) + +config_setting( + name = "release_mode", + values = {"compilation_mode": "opt"}, +) + configure_make( name = "openssl", configure_command = "Configure", configure_options = [ - "enable-fips", - "--debug", "--libdir=lib", - ], + ] + select({ + ":debug_mode": ["--debug"], + ":release_mode": ["--release"], + "//conditions:default": [], + }), lib_source = ":srcs", out_shared_libs = [ "libssl.so", From 745a2303fff559c857f9d239c188e3519a878d18 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 25 Jun 2024 11:05:08 -0700 Subject: [PATCH 049/150] bazel: use explicit flags instead of compilation_mode Signed-off-by: Noah Watkins --- bazel/thirdparty/openssl-fips.BUILD | 25 ++++++++++++++++++++----- bazel/thirdparty/openssl.BUILD | 25 ++++++++++++++++++++----- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/bazel/thirdparty/openssl-fips.BUILD b/bazel/thirdparty/openssl-fips.BUILD index 8dd786aac4dda..e79e45a6bee6f 100644 --- a/bazel/thirdparty/openssl-fips.BUILD +++ b/bazel/thirdparty/openssl-fips.BUILD @@ -1,18 +1,33 @@ +load("@bazel_skylib//rules:common_settings.bzl", "string_flag") load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") -filegroup( - name = "srcs", - srcs = glob(["**"]), +string_flag( + name = "build_mode", + build_setting_default = "default", + values = [ + "debug", + "release", + "default", + ], ) config_setting( name = "debug_mode", - values = {"compilation_mode": "dbg"}, + flag_values = { + ":build_mode": "debug", + }, ) config_setting( name = "release_mode", - values = {"compilation_mode": "opt"}, + flag_values = { + ":build_mode": "release", + }, +) + +filegroup( + name = "srcs", + srcs = glob(["**"]), ) configure_make( diff --git a/bazel/thirdparty/openssl.BUILD b/bazel/thirdparty/openssl.BUILD index d0b654ef2d817..c363b3416e411 100644 --- a/bazel/thirdparty/openssl.BUILD +++ b/bazel/thirdparty/openssl.BUILD @@ -1,18 +1,33 @@ +load("@bazel_skylib//rules:common_settings.bzl", "string_flag") load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") -filegroup( - name = "srcs", - srcs = glob(["**"]), +string_flag( + name = "build_mode", + build_setting_default = "default", + values = [ + "debug", + "release", + "default", + ], ) config_setting( name = "debug_mode", - values = {"compilation_mode": "dbg"}, + flag_values = { + ":build_mode": "debug", + }, ) config_setting( name = "release_mode", - values = {"compilation_mode": "opt"}, + flag_values = { + ":build_mode": "release", + }, +) + +filegroup( + name = "srcs", + srcs = glob(["**"]), ) configure_make( From 0f7fd32551bafb9d8f62d771bde5053663453dbe Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 25 Jun 2024 21:06:06 -0700 Subject: [PATCH 050/150] bazel: keep llvm option parsing on same line The second --copt is an argument to the first (-mllvm), but bazel doesn't seem to accept various forms of combining these. So instead put them on the same line to highlight their relationship, and rely on what we believe to be bazel retaining the ordering. Signed-off-by: Noah Watkins --- .bazelrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index 7759d83717f19..10129e60fea07 100644 --- a/.bazelrc +++ b/.bazelrc @@ -57,7 +57,6 @@ build:secure --config=relro # ================================= build:release --compilation_mode opt build:release --config=secure -build:release --copt -mllvm -build:release --copt -inline-threshold=2500 +build:release --copt -mllvm --copt -inline-threshold=2500 try-import %workspace%/user.bazelrc From 5305841c5db82e724cea47c61427855919f60127 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 25 Jun 2024 21:08:26 -0700 Subject: [PATCH 051/150] bazel: add thin lto to release flags Signed-off-by: Noah Watkins --- .bazelrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bazelrc b/.bazelrc index 10129e60fea07..00647c37668e1 100644 --- a/.bazelrc +++ b/.bazelrc @@ -58,5 +58,6 @@ build:secure --config=relro build:release --compilation_mode opt build:release --config=secure build:release --copt -mllvm --copt -inline-threshold=2500 +build:release --linkopt=-flto try-import %workspace%/user.bazelrc From a7e178f626fe9dd8982694d659113297e6dfccb5 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 25 Jun 2024 21:13:25 -0700 Subject: [PATCH 052/150] bazel: use openssl flags in the openssl-fips build Signed-off-by: Noah Watkins --- bazel/thirdparty/openssl-fips.BUILD | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/bazel/thirdparty/openssl-fips.BUILD b/bazel/thirdparty/openssl-fips.BUILD index e79e45a6bee6f..2b2b58e1f55ef 100644 --- a/bazel/thirdparty/openssl-fips.BUILD +++ b/bazel/thirdparty/openssl-fips.BUILD @@ -1,30 +1,5 @@ -load("@bazel_skylib//rules:common_settings.bzl", "string_flag") load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") -string_flag( - name = "build_mode", - build_setting_default = "default", - values = [ - "debug", - "release", - "default", - ], -) - -config_setting( - name = "debug_mode", - flag_values = { - ":build_mode": "debug", - }, -) - -config_setting( - name = "release_mode", - flag_values = { - ":build_mode": "release", - }, -) - filegroup( name = "srcs", srcs = glob(["**"]), @@ -37,8 +12,8 @@ configure_make( "enable-fips", "--libdir=lib", ] + select({ - ":debug_mode": ["--debug"], - ":release_mode": ["--release"], + "@openssl//:debug_mode": ["--debug"], + "@openssl//:release_mode": ["--release"], "//conditions:default": [], }), lib_source = ":srcs", From 9bc2053c3fb0cdc9d30c6c52cf9c19ef2129061c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 26 Jun 2024 09:03:42 -0700 Subject: [PATCH 053/150] bazel: avoid leaking avro include path to dependents Avro .cc files include "header.h" without the "avro/" path prefix. We want to expose the parent of "avro" so that users of the library include with the expected "avro/header.h" path, but don't want to expose the non-prefixed path. The way to hide this would be to add `-I` to `copts`, but such a solution is ellusive (the recommended `-Iexternal/...` doesn't seem to work as expected with bazel modules). Anyway, the work around in this PR stages a copy of all the headers into a separate directory and uses that as a set of private headers added to `srcs`. Signed-off-by: Noah Watkins --- bazel/thirdparty/avro.BUILD | 125 ++++++++++++++++++++++++++++++++---- 1 file changed, 112 insertions(+), 13 deletions(-) diff --git a/bazel/thirdparty/avro.BUILD b/bazel/thirdparty/avro.BUILD index 4654befa4f65e..3b7728dc50de0 100644 --- a/bazel/thirdparty/avro.BUILD +++ b/bazel/thirdparty/avro.BUILD @@ -1,24 +1,123 @@ +_NON_PREFIXED_HEADERS = [ + "AvroParse.hh", + "AvroSerialize.hh", + "AvroTraits.hh", + "Compiler.hh", + "Config.hh", + "CustomAttributes.hh", + "DataFile.hh", + "Decoder.hh", + "Encoder.hh", + "Exception.hh", + "Generic.hh", + "GenericDatum.hh", + "Layout.hh", + "LogicalType.hh", + "Node.hh", + "NodeConcepts.hh", + "NodeImpl.hh", + "Parser.hh", + "Reader.hh", + "Resolver.hh", + "ResolverSchema.hh", + "ResolvingReader.hh", + "Schema.hh", + "SchemaResolution.hh", + "Serializer.hh", + "Specific.hh", + "Stream.hh", + "Types.hh", + "ValidSchema.hh", + "Validator.hh", + "Writer.hh", + "Zigzag.hh", +] + +_NON_PREFIXED_BUFFER_HEADERS = [ + "buffer/Buffer.hh", + "buffer/BufferPrint.hh", + "buffer/BufferReader.hh", + "buffer/BufferStream.hh", + "buffer/BufferStreambuf.hh", +] + +_NON_PREFIXED_BUFFER_DETAIL_HEADERS = [ + "buffer/detail/BufferDetail.hh", + "buffer/detail/BufferDetailIterator.hh", +] + +_PREFIXED_HEADERS = ["lang/c++/include/avro/" + hdr for hdr in _NON_PREFIXED_HEADERS] + +_PREFIXED_BUFFER_HEADERS = ["lang/c++/include/avro/" + hdr for hdr in _NON_PREFIXED_BUFFER_HEADERS] + +_PREFIXED_BUFFER_DETAIL_HEADERS = ["lang/c++/include/avro/" + hdr for hdr in _NON_PREFIXED_BUFFER_DETAIL_HEADERS] + +_ALL_NON_PREFIXED_HEADERS = _NON_PREFIXED_HEADERS + _NON_PREFIXED_BUFFER_HEADERS + _NON_PREFIXED_BUFFER_DETAIL_HEADERS + +_ALL_PREFIXED_HEADERS = _PREFIXED_HEADERS + _PREFIXED_BUFFER_HEADERS + _PREFIXED_BUFFER_DETAIL_HEADERS + +genrule( + name = "copy_headers", + srcs = _PREFIXED_HEADERS, + outs = _NON_PREFIXED_HEADERS, + cmd_bash = "cp $(SRCS) $(@D)/", +) + +genrule( + name = "copy_buffer_headers", + srcs = _PREFIXED_BUFFER_HEADERS, + outs = _NON_PREFIXED_BUFFER_HEADERS, + cmd_bash = "cp $(SRCS) $(@D)/buffer/", +) + +genrule( + name = "copy_buffer_detail_headers", + srcs = _PREFIXED_BUFFER_DETAIL_HEADERS, + outs = _NON_PREFIXED_BUFFER_DETAIL_HEADERS, + cmd_bash = "cp $(SRCS) $(@D)/buffer/detail/", +) + cc_library( name = "avro", - srcs = glob([ - "lang/c++/impl/**/*.cc", - "lang/c++/impl/**/*.hh", - ]), - hdrs = glob([ - "lang/c++/include/avro/**/*.hh", - ]), + srcs = [ + "lang/c++/impl/BinaryDecoder.cc", + "lang/c++/impl/BinaryEncoder.cc", + "lang/c++/impl/Compiler.cc", + "lang/c++/impl/CustomAttributes.cc", + "lang/c++/impl/DataFile.cc", + "lang/c++/impl/FileStream.cc", + "lang/c++/impl/Generic.cc", + "lang/c++/impl/GenericDatum.cc", + "lang/c++/impl/LogicalType.cc", + "lang/c++/impl/Node.cc", + "lang/c++/impl/NodeImpl.cc", + "lang/c++/impl/Resolver.cc", + "lang/c++/impl/ResolverSchema.cc", + "lang/c++/impl/Schema.cc", + "lang/c++/impl/Stream.cc", + "lang/c++/impl/Types.cc", + "lang/c++/impl/ValidSchema.cc", + "lang/c++/impl/Validator.cc", + "lang/c++/impl/Zigzag.cc", + "lang/c++/impl/avrogencpp.cc", + "lang/c++/impl/json/JsonDom.cc", + "lang/c++/impl/json/JsonDom.hh", + "lang/c++/impl/json/JsonIO.cc", + "lang/c++/impl/json/JsonIO.hh", + "lang/c++/impl/parsing/JsonCodec.cc", + "lang/c++/impl/parsing/ResolvingDecoder.cc", + "lang/c++/impl/parsing/Symbol.cc", + "lang/c++/impl/parsing/Symbol.hh", + "lang/c++/impl/parsing/ValidatingCodec.cc", + "lang/c++/impl/parsing/ValidatingCodec.hh", + ] + _ALL_NON_PREFIXED_HEADERS, + hdrs = _ALL_PREFIXED_HEADERS, copts = [ "-Wno-unused-but-set-variable", ], defines = ["SNAPPY_CODEC_AVAILABLE"], includes = [ "lang/c++/include", - # TODO this one is here because the source files assume they can include - # without the avro prefix. it'd be nice to avoid leaking this path out - # to anything that depends on avro. according to the docs, it sounds - # like adding -I to copts for the private compile options is the right - # way to go, but so far I haven't been able to get the path correct. - "lang/c++/include/avro", ], local_defines = ["AVRO_VERSION=1"], visibility = [ From fed5d406a9149f704adab67d54a7a9307accdb7a Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 26 Jun 2024 11:21:32 -0700 Subject: [PATCH 054/150] bazel: upgrade seastar Signed-off-by: Noah Watkins --- MODULE.bazel.lock | 8 ++++---- bazel/repositories.bzl | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 1af90dcf1a0f9..5badb663bcdee 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -116,7 +116,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "sSftDTw64PHnKlV8j0ZDbYcZbWzApaw2eVMd7ov2f9o=", + "bzlTransitiveDigest": "D5feBH31ez9koAtZxGnKpIBabZKahMbpNtzkfLpet/M=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -313,9 +313,9 @@ "ruleClassName": "http_archive", "attributes": { "build_file": "@@//bazel/thirdparty:seastar.BUILD", - "sha256": "34fe74d82caa50873b74520f5233c609213bc6ff7b46762f467e4fccd3a70d30", - "strip_prefix": "seastar-debb8f3792fb18b1490e13ce33580883c80e089a", - "url": "https://github.com/redpanda-data/seastar/archive/debb8f3792fb18b1490e13ce33580883c80e089a.tar.gz" + "sha256": "88d71ffe853fdffef4669009367457ac5ea461a4afb688fa74528549520244ce", + "strip_prefix": "seastar-6a4727efd9154ab475860578f01defcbb95df730", + "url": "https://github.com/redpanda-data/seastar/archive/6a4727efd9154ab475860578f01defcbb95df730.tar.gz" } }, "cryptopp": { diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 2c41fee7233c0..d032896d2be07 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -172,9 +172,9 @@ def data_dependency(): http_archive( name = "seastar", build_file = "//bazel/thirdparty:seastar.BUILD", - sha256 = "34fe74d82caa50873b74520f5233c609213bc6ff7b46762f467e4fccd3a70d30", - strip_prefix = "seastar-debb8f3792fb18b1490e13ce33580883c80e089a", - url = "https://github.com/redpanda-data/seastar/archive/debb8f3792fb18b1490e13ce33580883c80e089a.tar.gz", + sha256 = "88d71ffe853fdffef4669009367457ac5ea461a4afb688fa74528549520244ce", + strip_prefix = "seastar-6a4727efd9154ab475860578f01defcbb95df730", + url = "https://github.com/redpanda-data/seastar/archive/6a4727efd9154ab475860578f01defcbb95df730.tar.gz", ) http_archive( From b81345796b8b78d46ef72a6660787af2eb1af042 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 26 Jun 2024 11:23:43 -0700 Subject: [PATCH 055/150] bazel: always build seastar with openssl support Signed-off-by: Noah Watkins --- .bazelrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelrc b/.bazelrc index 00647c37668e1..108c8fa56b9e6 100644 --- a/.bazelrc +++ b/.bazelrc @@ -60,4 +60,6 @@ build:release --config=secure build:release --copt -mllvm --copt -inline-threshold=2500 build:release --linkopt=-flto +build --@seastar//:openssl=True + try-import %workspace%/user.bazelrc From 22bc0c0acef733e9361422ed308c79484b019a2f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 26 Jun 2024 11:29:54 -0700 Subject: [PATCH 056/150] bazel: remove unused seastar dependencies Redpanda now only uses OpenSSL (including Seastar) for crypto stuff, which means that we do not need gnutls, nettle, gmp, or cryptopp. Signed-off-by: Noah Watkins --- MODULE.bazel | 4 --- MODULE.bazel.lock | 48 +-------------------------------- bazel/repositories.bzl | 34 ----------------------- bazel/thirdparty/cryptopp.BUILD | 21 --------------- bazel/thirdparty/gmp.BUILD | 22 --------------- bazel/thirdparty/gnutls.BUILD | 35 ------------------------ bazel/thirdparty/nettle.BUILD | 31 --------------------- bazel/thirdparty/nettle.patch | 13 --------- 8 files changed, 1 insertion(+), 207 deletions(-) delete mode 100644 bazel/thirdparty/cryptopp.BUILD delete mode 100644 bazel/thirdparty/gmp.BUILD delete mode 100644 bazel/thirdparty/gnutls.BUILD delete mode 100644 bazel/thirdparty/nettle.BUILD delete mode 100644 bazel/thirdparty/nettle.patch diff --git a/MODULE.bazel b/MODULE.bazel index 2c41171440dfa..d3c93892678dd 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -63,16 +63,12 @@ use_repo(non_module_dependencies, "ada") use_repo(non_module_dependencies, "avro") use_repo(non_module_dependencies, "base64") use_repo(non_module_dependencies, "c-ares") -use_repo(non_module_dependencies, "cryptopp") -use_repo(non_module_dependencies, "gmp") -use_repo(non_module_dependencies, "gnutls") use_repo(non_module_dependencies, "hdrhistogram") use_repo(non_module_dependencies, "hwloc") use_repo(non_module_dependencies, "krb5") use_repo(non_module_dependencies, "libpciaccess") use_repo(non_module_dependencies, "libxml2") use_repo(non_module_dependencies, "lksctp") -use_repo(non_module_dependencies, "nettle") use_repo(non_module_dependencies, "numactl") use_repo(non_module_dependencies, "openssl") use_repo(non_module_dependencies, "openssl-fips") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 5badb663bcdee..a73c6415480a4 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -116,7 +116,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "D5feBH31ez9koAtZxGnKpIBabZKahMbpNtzkfLpet/M=", + "bzlTransitiveDigest": "bCN5gJtRCnjbKi0egai6Z8F2PvLY3/KL1Yspa2Obveo=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -172,16 +172,6 @@ "url": "https://vectorized-public.s3.amazonaws.com/dependencies/xz-v5.2.5.tar.gz" } }, - "gnutls": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file": "@@//bazel/thirdparty:gnutls.BUILD", - "sha256": "f74fc5954b27d4ec6dfbb11dea987888b5b124289a3703afcada0ee520f4173e", - "strip_prefix": "gnutls-3.8.3", - "url": "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/gnutls-3.8.3.tar.xz" - } - }, "hdrhistogram": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", @@ -222,22 +212,6 @@ "url": "https://github.com/redpanda-data/CRoaring/archive/c433d1c70c10fb2e40f049e019e2abbcafa6e69d.tar.gz" } }, - "nettle": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file": "@@//bazel/thirdparty:nettle.BUILD", - "sha256": "ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3", - "strip_prefix": "nettle-3.9.1", - "url": "https://vectorized-public.s3.amazonaws.com/dependencies/nettle-3.9.1.tar.gz", - "patches": [ - "@@//bazel/thirdparty:nettle.patch" - ], - "patch_args": [ - "-p1" - ] - } - }, "snappy": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", @@ -258,16 +232,6 @@ "url": "https://github.com/bytecodealliance/wasmtime/archive/9e1084ffac08b1bf9c82de40c0efc1baff14b9ad.tar.gz" } }, - "gmp": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file": "@@//bazel/thirdparty:gmp.BUILD", - "sha256": "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2", - "strip_prefix": "gmp-6.2.1", - "url": "https://vectorized-public.s3.amazonaws.com/dependencies/gmp-6.2.1.tar.xz" - } - }, "libxml2": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", @@ -318,16 +282,6 @@ "url": "https://github.com/redpanda-data/seastar/archive/6a4727efd9154ab475860578f01defcbb95df730.tar.gz" } }, - "cryptopp": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "build_file": "@@//bazel/thirdparty:cryptopp.BUILD", - "sha256": "11a6dbc749c27687ddf13195950589596f51361210a1f67e3c383cc4961f3e61", - "strip_prefix": "cryptopp-CRYPTOPP_8_7_0", - "url": "https://vectorized-public.s3.amazonaws.com/dependencies/CRYPTOPP_8_7_0.tar.xz" - } - }, "openssl": { "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", "ruleClassName": "http_archive", diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index d032896d2be07..ae1b55590ad8d 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -33,30 +33,6 @@ def data_dependency(): url = "https://vectorized-public.s3.amazonaws.com/dependencies/c-ares-1.19.1.tar.gz", ) - http_archive( - name = "cryptopp", - build_file = "//bazel/thirdparty:cryptopp.BUILD", - sha256 = "11a6dbc749c27687ddf13195950589596f51361210a1f67e3c383cc4961f3e61", - strip_prefix = "cryptopp-CRYPTOPP_8_7_0", - url = "https://vectorized-public.s3.amazonaws.com/dependencies/CRYPTOPP_8_7_0.tar.xz", - ) - - http_archive( - name = "gmp", - build_file = "//bazel/thirdparty:gmp.BUILD", - sha256 = "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2", - strip_prefix = "gmp-6.2.1", - url = "https://vectorized-public.s3.amazonaws.com/dependencies/gmp-6.2.1.tar.xz", - ) - - http_archive( - name = "gnutls", - build_file = "//bazel/thirdparty:gnutls.BUILD", - sha256 = "f74fc5954b27d4ec6dfbb11dea987888b5b124289a3703afcada0ee520f4173e", - strip_prefix = "gnutls-3.8.3", - url = "https://vectorized-public.s3.us-west-2.amazonaws.com/dependencies/gnutls-3.8.3.tar.xz", - ) - http_archive( name = "hdrhistogram", build_file = "//bazel/thirdparty:hdrhistogram.BUILD", @@ -105,16 +81,6 @@ def data_dependency(): url = "https://vectorized-public.s3.amazonaws.com/dependencies/lksctp-tools-1.0.19.tar.gz", ) - http_archive( - name = "nettle", - build_file = "//bazel/thirdparty:nettle.BUILD", - sha256 = "ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3", - strip_prefix = "nettle-3.9.1", - url = "https://vectorized-public.s3.amazonaws.com/dependencies/nettle-3.9.1.tar.gz", - patches = ["//bazel/thirdparty:nettle.patch"], - patch_args = ["-p1"], - ) - http_archive( name = "numactl", build_file = "//bazel/thirdparty:numactl.BUILD", diff --git a/bazel/thirdparty/cryptopp.BUILD b/bazel/thirdparty/cryptopp.BUILD deleted file mode 100644 index 6c84a649736e2..0000000000000 --- a/bazel/thirdparty/cryptopp.BUILD +++ /dev/null @@ -1,21 +0,0 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -cmake( - name = "cryptopp", - cache_entries = { - "BUILD_SHARED": "OFF", - "BUILD_TESTING": "OFF", - "CMAKE_INSTALL_LIBDIR": "lib", - }, - generate_args = ["-GNinja"], - lib_source = ":srcs", - out_static_libs = ["libcryptopp.a"], - visibility = [ - "//visibility:public", - ], -) diff --git a/bazel/thirdparty/gmp.BUILD b/bazel/thirdparty/gmp.BUILD deleted file mode 100644 index caf1a0d809ca2..0000000000000 --- a/bazel/thirdparty/gmp.BUILD +++ /dev/null @@ -1,22 +0,0 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -configure_make( - name = "gmp", - autoreconf = True, - autoreconf_options = ["-ivf"], - configure_in_place = True, - configure_options = [ - "--disable-shared", - "--enable-static", - ], - lib_source = ":srcs", - out_static_libs = ["libgmp.a"], - visibility = [ - "//visibility:public", - ], -) diff --git a/bazel/thirdparty/gnutls.BUILD b/bazel/thirdparty/gnutls.BUILD deleted file mode 100644 index e52e55fd3c25c..0000000000000 --- a/bazel/thirdparty/gnutls.BUILD +++ /dev/null @@ -1,35 +0,0 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -configure_make( - name = "gnutls", - autoreconf = True, - autoreconf_options = ["-ivf"], - configure_in_place = True, - configure_options = [ - "--with-included-unistring", - "--with-included-libtasn1", - "--without-idn", - "--without-brotli", - "--without-p11-kit", - # https://lists.gnupg.org/pipermail/gnutls-help/2016-February/004085.html - "--disable-non-suiteb-curves", - "--disable-doc", - "--disable-tests", - "--disable-shared", - "--enable-static", - ], - env = {"GTKDOCIZE": "echo"}, - lib_source = ":srcs", - out_static_libs = ["libgnutls.a"], - visibility = [ - "//visibility:public", - ], - deps = [ - "@nettle", - ], -) diff --git a/bazel/thirdparty/nettle.BUILD b/bazel/thirdparty/nettle.BUILD deleted file mode 100644 index 95ed708313517..0000000000000 --- a/bazel/thirdparty/nettle.BUILD +++ /dev/null @@ -1,31 +0,0 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -configure_make( - name = "nettle", - autogen = True, - autogen_command = ".bootstrap", - configure_in_place = True, - configure_options = [ - "--disable-documentation", - "--disable-shared", - "--enable-static", - "--enable-x86-aesni", - "--libdir=$$INSTALLDIR/lib", - ], - lib_source = ":srcs", - out_static_libs = [ - "libnettle.a", - "libhogweed.a", - ], - visibility = [ - "//visibility:public", - ], - deps = [ - "@gmp", - ], -) diff --git a/bazel/thirdparty/nettle.patch b/bazel/thirdparty/nettle.patch deleted file mode 100644 index 803aba02588f8..0000000000000 --- a/bazel/thirdparty/nettle.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index c8862f3..4911756 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -922,7 +922,7 @@ if test x$enable_assembler = xyes ; then - fi], - [AC_MSG_WARN([test program with a single global could not be compiled!?])])]) - if test x$nettle_cv_asm_underscore = xyes ; then -- ASM_SYMBOL_PREFIX='_' -+ ASM_SYMBOL_PREFIX='' - fi - - AC_CACHE_CHECK([for ELF-style .type,%function pseudo-ops], From 538f55ad5ed771e9f326c99bf7bbb2f05bdac0bf Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 27 Jun 2024 08:52:19 -0700 Subject: [PATCH 057/150] bazel: add module and function docstrings Signed-off-by: Noah Watkins --- bazel/build.bzl | 10 ++++++++++ bazel/extensions.bzl | 4 ++++ bazel/internal.bzl | 5 +++++ bazel/repositories.bzl | 7 +++++++ bazel/test.bzl | 34 ++++++++++++++++++++++++++++++++-- bazel/thirdparty/seastar.bzl | 13 +++++++++++++ src/v/rpc/compiler.bzl | 13 +++++++++++++ 7 files changed, 84 insertions(+), 2 deletions(-) diff --git a/bazel/build.bzl b/bazel/build.bzl index 5b9fa85692add..766c4a51eb7e4 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -1,3 +1,10 @@ +""" +This module contains functions for building Redpanda libraries and executables. +Prefer using the methods in this module (e.g. redpanda_cc_library) over native +Bazel functions (e.g. cc_library) because it provides a centralized place for +making behavior changes across the entire build. +""" + load(":internal.bzl", "redpanda_copts") def redpanda_cc_library( @@ -9,6 +16,9 @@ def redpanda_cc_library( visibility = None, include_prefix = None, deps = []): + """ + Define a Redpanda C++ library. + """ native.cc_library( name = name, srcs = srcs, diff --git a/bazel/extensions.bzl b/bazel/extensions.bzl index 8c99a211090df..c8fa6c038f378 100644 --- a/bazel/extensions.bzl +++ b/bazel/extensions.bzl @@ -1,3 +1,7 @@ +""" +This module contains extensions for working with Bazel modules. +""" + load("//bazel:repositories.bzl", "data_dependency") def _non_module_dependencies_impl(_ctx): diff --git a/bazel/internal.bzl b/bazel/internal.bzl index d2f08c178d090..34587a72d0031 100644 --- a/bazel/internal.bzl +++ b/bazel/internal.bzl @@ -1,3 +1,8 @@ +""" +This module contains internal helpers that should not be used outside of the +scripts in the `bazel/` directory. +""" + def redpanda_copts(): # TODO Bazel prefers -iquote "path" style includes in many cases. However, # our source tree uses bracket style for dependencies. We need a way diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index ae1b55590ad8d..4e54bd4c78038 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -1,6 +1,13 @@ +""" +This module contains the sources for all third party dependencies. +""" + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def data_dependency(): + """ + Define third party dependency soruces. + """ http_archive( name = "ada", build_file = "//bazel/thirdparty:ada.BUILD", diff --git a/bazel/test.bzl b/bazel/test.bzl index fe36ad5ae19db..3a98f7dadbaa0 100644 --- a/bazel/test.bzl +++ b/bazel/test.bzl @@ -1,6 +1,24 @@ +""" +This module contains functions for building Redpanda tests. Prefer using the +methods in this module (e.g. redpanda_cc_gtest) over native Bazel functions +(e.g. cc_test) because it provides a centralized place for making behavior +changes. For example, redpanda_cc_gtest will automatically configure Seastar for +running tests, like setting a reasonable number of cores and amount of memory. +""" + load(":internal.bzl", "redpanda_copts") def has_flags(args, *flags): + """ + Check if flags are present in a set of arguments. + + Args: + args: a list of command line argument strings. + *flags: a list of flags (prefixes) to check. + + Returns: + True if at least one flag is contained in args, and False otherwise. + """ for arg in args: for flag in flags: if arg.startswith(flags): @@ -19,10 +37,22 @@ def _redpanda_cc_test( deps = [], default_memory_gb = None, default_cores = None, - # from test wrappers extra_args = [], - # from test author custom_args = []): + """ + Helper to define a Redpanda C++ test. + + Args: + name: name of the test + timeout: same as native cc_test + dash_dash_protocol: false for google test, true for boost test + srcs: test source files + deps: test dependencies + default_memory_gb: default seastar memory + default_cores: default seastar cores + extra_args: arguments from test wrappers + custom_args: arguments from cc_test users + """ common_args = [ "--blocked-reactor-notify-ms 2000000", ] diff --git a/bazel/thirdparty/seastar.bzl b/bazel/thirdparty/seastar.bzl index ec1830ecc6f05..189cc089cc316 100644 --- a/bazel/thirdparty/seastar.bzl +++ b/bazel/thirdparty/seastar.bzl @@ -1,6 +1,19 @@ +""" +This module contains functions for working with Seastar. +""" + load("//bazel:build.bzl", "redpanda_cc_library") def seastar_cc_swagger_library(name, src, definitions = [], visibility = None): + """ + Generate Seastar swagger library. + + Args: + name: name of the library + src: the swagger json file + definitions: additional json definition files + visibility: library visibility setting + """ hh_out = src + ".hh" cc_out = src + ".cc" src_abs = "$(location " + src + ")" diff --git a/src/v/rpc/compiler.bzl b/src/v/rpc/compiler.bzl index 148fc57440294..eb51973d6cca3 100644 --- a/src/v/rpc/compiler.bzl +++ b/src/v/rpc/compiler.bzl @@ -1,6 +1,19 @@ +""" +This module contains functions for working with Redpanda RPC system. +""" + load("//bazel:build.bzl", "redpanda_cc_library") def redpanda_cc_rpc_library(name, src, out = None, visibility = None): + """ + Generate Redpanda RPC library. + + Args: + name: name of the library + src: rpc specification json file + out: output header name. defaults to src_service.h (without .json extension) + visibility: visibility setting + """ if not src.endswith(".json"): fail(src, "expected to have .json suffix") From 21b968344e4b817084aae2904d97e3869ad12fc6 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 27 Jun 2024 08:52:48 -0700 Subject: [PATCH 058/150] bazel: fix unused variable warning Found by buildifier linter. Signed-off-by: Noah Watkins --- bazel/test.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/test.bzl b/bazel/test.bzl index 3a98f7dadbaa0..1f8d4f0592b70 100644 --- a/bazel/test.bzl +++ b/bazel/test.bzl @@ -21,7 +21,7 @@ def has_flags(args, *flags): """ for arg in args: for flag in flags: - if arg.startswith(flags): + if arg.startswith(flag): return True return False From 53a08f38ace54b3db64d2d4fe2b865daa75ddd34 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 27 Jun 2024 09:12:45 -0700 Subject: [PATCH 059/150] bazel: remove use of globbing in serde The glob wasn't used because all of the files were explicitly listed. --- src/v/serde/BUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index 5995bbb57f503..b955625909ab8 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -2,20 +2,20 @@ load("//bazel:build.bzl", "redpanda_cc_library") redpanda_cc_library( name = "serde", - hdrs = glob([ - "read_header.h", - "serde_exception.h", - "type_str.h", - "serde_size_t.h", + hdrs = [ "checksum_t.h", "envelope.h", - "serde_is_enum.h", - "rw/tags.h", + "read_header.h", "rw/reservable.h", "rw/rw.h", "rw/scalar.h", + "rw/tags.h", "rw/vector.h", - ]), + "serde_exception.h", + "serde_is_enum.h", + "serde_size_t.h", + "type_str.h", + ], include_prefix = "serde", visibility = ["//visibility:public"], deps = [ From e41c776faddf9ecd365e17343962851222c9d9f9 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 26 Jun 2024 21:10:08 -0700 Subject: [PATCH 060/150] bazel: add buildifier tool Signed-off-by: Noah Watkins --- MODULE.bazel | 1 + MODULE.bazel.lock | 154 +++++++++++++++++++++++++++++++++++++++++++++- tools/BUILD | 10 +++ 3 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 tools/BUILD diff --git a/MODULE.bazel b/MODULE.bazel index d3c93892678dd..de0997b75392d 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -41,6 +41,7 @@ bazel_dep(name = "yaml-cpp", version = "0.8.0") bazel_dep(name = "zlib", version = "1.3") bazel_dep(name = "zstd", version = "1.5.6") +bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True) bazel_dep(name = "rules_python", version = "0.33.2", dev_dependency = True) python = use_extension("@rules_python//python/extensions:python.bzl", "python", dev_dependency = True) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index a73c6415480a4..39969f22559f3 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -26,6 +26,8 @@ "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", "https://bcr.bazel.build/modules/boringssl/0.0.0-20240530-2db0eb3/MODULE.bazel": "d0405b762c5e87cd445b7015f2b8da5400ef9a8dbca0bfefa6c1cea79d528a97", "https://bcr.bazel.build/modules/boringssl/0.0.0-20240530-2db0eb3/source.json": "0d413869349e82e5d679802abe9ce23e0326bbf56daa97ae9e7dbdcec72982fc", + "https://bcr.bazel.build/modules/buildifier_prebuilt/6.4.0/MODULE.bazel": "37389c6b5a40c59410b4226d3bb54b08637f393d66e2fa57925c6fcf68e64bf4", + "https://bcr.bazel.build/modules/buildifier_prebuilt/6.4.0/source.json": "83eb01b197ed0b392f797860c9da5ed1bf95f4d0ded994d694a3d44731275916", "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", "https://bcr.bazel.build/modules/bzip2/1.0.8/MODULE.bazel": "83ee443b286b0b91566e5ee77e74ba6445895f3135467893871560f9e4ebc159", @@ -116,7 +118,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "bCN5gJtRCnjbKi0egai6Z8F2PvLY3/KL1Yspa2Obveo=", + "bzlTransitiveDigest": "SDtBbvy5m2i2R+LDNo1BMr0OOshkbo13AqKxmBwiN3E=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -360,6 +362,156 @@ ] } }, + "@@buildifier_prebuilt~//:defs.bzl%buildifier_prebuilt_deps_extension": { + "general": { + "bzlTransitiveDigest": "eXBP0KrRexbBjR0KdxpnbWtfahy0r48xfQb4hBQ4Mcc=", + "usagesDigest": "nThSTPRdiQbhDFl8FRM2nsKJftWMtPBQHrp/mdk716w=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "buildozer_darwin_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-darwin-amd64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e" + } + }, + "buildifier_linux_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-linux-amd64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "be63db12899f48600bad94051123b1fd7b5251e7661b9168582ce52396132e92" + } + }, + "buildozer_darwin_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-darwin-arm64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d" + } + }, + "buildozer_linux_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-linux-amd64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119" + } + }, + "buildozer_windows_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-windows-amd64.exe" + ], + "downloaded_file_path": "buildozer.exe", + "executable": true, + "sha256": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b" + } + }, + "buildozer_linux_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildozer-linux-arm64" + ], + "downloaded_file_path": "buildozer", + "executable": true, + "sha256": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa" + } + }, + "buildifier_windows_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-windows-amd64.exe" + ], + "downloaded_file_path": "buildifier.exe", + "executable": true, + "sha256": "da8372f35e34b65fb6d997844d041013bb841e55f58b54d596d35e49680fe13c" + } + }, + "buildifier_prebuilt_toolchains": { + "bzlFile": "@@buildifier_prebuilt~//:defs.bzl", + "ruleClassName": "_buildifier_toolchain_setup", + "attributes": { + "assets_json": "[{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"eeb47b2de27f60efe549348b183fac24eae80f1479e8b06cac0799c486df5bed\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"fa07ba0d20165917ca4cc7609f9b19a8a4392898148b7babdf6bb2a7dd963f05\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"be63db12899f48600bad94051123b1fd7b5251e7661b9168582ce52396132e92\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"18540fc10f86190f87485eb86963e603e41fa022f88a2d1b0cf52ff252b5e1dd\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"windows\",\"sha256\":\"da8372f35e34b65fb6d997844d041013bb841e55f58b54d596d35e49680fe13c\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119\",\"version\":\"v6.4.0\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa\",\"version\":\"v6.4.0\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"windows\",\"sha256\":\"e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b\",\"version\":\"v6.4.0\"}]" + } + }, + "buildifier_darwin_amd64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-darwin-amd64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "eeb47b2de27f60efe549348b183fac24eae80f1479e8b06cac0799c486df5bed" + } + }, + "buildifier_darwin_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-darwin-arm64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "fa07ba0d20165917ca4cc7609f9b19a8a4392898148b7babdf6bb2a7dd963f05" + } + }, + "buildifier_linux_arm64": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_file", + "attributes": { + "urls": [ + "https://github.com/bazelbuild/buildtools/releases/download/v6.4.0/buildifier-linux-arm64" + ], + "downloaded_file_path": "buildifier", + "executable": true, + "sha256": "18540fc10f86190f87485eb86963e603e41fa022f88a2d1b0cf52ff252b5e1dd" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "buildifier_prebuilt~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "buildifier_prebuilt~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, "@@hedron_compile_commands~//:workspace_setup.bzl%hedron_compile_commands_extension": { "general": { "bzlTransitiveDigest": "dt88TFdQv/FH3VMUEhxvtc8bsKnxEN2hrpeC8gEyHw4=", diff --git a/tools/BUILD b/tools/BUILD new file mode 100644 index 0000000000000..7ca6108d1ce61 --- /dev/null +++ b/tools/BUILD @@ -0,0 +1,10 @@ +load("@buildifier_prebuilt//:rules.bzl", "buildifier") + +buildifier( + name = "buildifier.check", + exclude_patterns = [ + "./.git/*", + ], + lint_mode = "warn", + mode = "diff", +) From 52e690bcf41020410e97143891db60f53caffba2 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 27 Jun 2024 10:38:38 -0700 Subject: [PATCH 061/150] tools: add tools/bazel wrapper Checks for bazelisk, and in the future, could download bazelisk automatically. Signed-off-by: Noah Watkins --- tools/bazel | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/bazel diff --git a/tools/bazel b/tools/bazel new file mode 100755 index 0000000000000..07757e4f3928a --- /dev/null +++ b/tools/bazel @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# +# This wrapper is called by bazel automatically, so we can check if bazelisk is +# being used. If bazelisk isn't being used then this script will inform the user +# that they should install and use it. +# +# TODO +# - It would be reasonable to provide automatic download of bazelisk. +# - Python might be a better choice here. Potentially. +# + +if [[ -z ${BAZELISK_SKIP_WRAPPER} ]]; then + echo "It appears you are not using Bazelisk. Please install a recent version." >&2 + echo "Get it here: https://github.com/bazelbuild/bazelisk" >&2 + exit 0 +fi + +$BAZEL_REAL "$@" From ea828bc2e8b7b447fa9e3fb8002da53927b65188 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 28 Jun 2024 10:26:52 -0700 Subject: [PATCH 062/150] bazel: allow rules_python to run with root user This isn't ideal, but it sounds like it really only affects the ability to cache *.pyc files. In our case, we have about a grand total of 3 or 4 files we compile with Python so I'm not sure it's worth the headache right of figuring out a different way to deal with this. https://github.com/bazelbuild/rules_python/issues/1169 Useful for docker builds that require extra effort to use in a non-root context. Signed-off-by: Noah Watkins --- MODULE.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/MODULE.bazel b/MODULE.bazel index de0997b75392d..7dbc320fb1d97 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -48,6 +48,7 @@ python = use_extension("@rules_python//python/extensions:python.bzl", "python", python.toolchain( is_default = True, python_version = "3.12", + ignore_root_user_error = True, ) pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") From baa87be12d7e4f03e757599c4e3ee589ce6c2fdd Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 28 Jun 2024 10:30:14 -0700 Subject: [PATCH 063/150] bazel: add dependency for libpciaccess It's weird, I get it. Signed-off-by: Noah Watkins --- bazel/install-deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bazel/install-deps.sh b/bazel/install-deps.sh index 2e4a26b60d47c..00e46ce21ae1e 100755 --- a/bazel/install-deps.sh +++ b/bazel/install-deps.sh @@ -46,6 +46,7 @@ fedora_deps=( libtool automake xfsprogs-devel + xorg-x11-util-macros gettext-devel valgrind-devel git From 4302062b8932a9496e47e2e4ce00aba46fd5e29e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 28 Jun 2024 10:50:01 -0700 Subject: [PATCH 064/150] bazel: fix formatting Signed-off-by: Noah Watkins --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index 7dbc320fb1d97..46089eeff24b6 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -46,9 +46,9 @@ bazel_dep(name = "rules_python", version = "0.33.2", dev_dependency = True) python = use_extension("@rules_python//python/extensions:python.bzl", "python", dev_dependency = True) python.toolchain( + ignore_root_user_error = True, is_default = True, python_version = "3.12", - ignore_root_user_error = True, ) pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") From f9678d274d4fe5c67a7fd64ff9156d4d70c17acf Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 28 Jun 2024 10:41:14 -0700 Subject: [PATCH 065/150] bazel: add unresolved address utility Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 2897f4a76c344..580dddc8c079e 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -53,6 +53,18 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "unresolved_address", + hdrs = [ + "unresolved_address.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/serde", + ], +) + redpanda_cc_btest_no_seastar( name = "tristate_test", timeout = "short", From dbc06de13dd5acf3937edefcf0f45940788a8300 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 28 Jun 2024 10:39:30 -0700 Subject: [PATCH 066/150] bazel: add json library Signed-off-by: Noah Watkins --- src/v/json/BUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/v/json/BUILD diff --git a/src/v/json/BUILD b/src/v/json/BUILD new file mode 100644 index 0000000000000..aa9b5e223aadb --- /dev/null +++ b/src/v/json/BUILD @@ -0,0 +1,49 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_library( + name = "json", + srcs = [ + "json.cc", + ], + hdrs = [ + "_include_first.h", + "allocator.h", + "document.h", + "encodings.h", + "istreamwrapper.h", + "json.h", + "logger.h", + "ostreamwrapper.h", + "pointer.h", + "prettywriter.h", + "reader.h", + "schema.h", + "stream.h", + "stringbuffer.h", + "types.h", + "validator.h", + "writer.h", + ], + include_prefix = "json", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/serde", + "//src/v/utils:named_type", + "//src/v/utils:unresolved_address", + "@rapidjson", + ], +) + +redpanda_cc_btest( + name = "json_serialization_test", + timeout = "short", + srcs = [ + "tests/json_serialization_test.cc", + ], + deps = [ + ":json", + "//src/v/test_utils:seastar_boost", + ], +) From 83c1c212b9c5d6e29208107f8bff80a9cef7dacc Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 08:21:56 -0700 Subject: [PATCH 067/150] bazel: add fix variant of buildifier command Signed-off-by: Noah Watkins --- tools/BUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/BUILD b/tools/BUILD index 7ca6108d1ce61..d34df8d0715d5 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -8,3 +8,12 @@ buildifier( lint_mode = "warn", mode = "diff", ) + +buildifier( + name = "buildifier.fix", + exclude_patterns = [ + "./.git/*", + ], + lint_mode = "warn", + mode = "fix", +) From c2db0a8671d1e7ad44df793f1969cf57b0151c85 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 09:20:41 -0700 Subject: [PATCH 068/150] bazel: add utils:uuid library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 580dddc8c079e..016f40dc30de0 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -65,6 +65,22 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "uuid", + srcs = [ + "uuid.cc", + ], + hdrs = [ + "uuid.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/bytes", + ], +) + redpanda_cc_btest_no_seastar( name = "tristate_test", timeout = "short", From 69110a4adafa1ff632bd3d1dbbeb16a211bd2265 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 09:21:46 -0700 Subject: [PATCH 069/150] bazel: add reflection utility libraries Signed-off-by: Noah Watkins --- src/v/reflection/BUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/v/reflection/BUILD diff --git a/src/v/reflection/BUILD b/src/v/reflection/BUILD new file mode 100644 index 0000000000000..df70221fcbaf2 --- /dev/null +++ b/src/v/reflection/BUILD @@ -0,0 +1,22 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "arity", + hdrs = [ + "arity.h", + ], + include_prefix = "reflection", + visibility = ["//visibility:public"], +) + +redpanda_cc_library( + name = "to_tuple", + hdrs = [ + "to_tuple.h", + ], + include_prefix = "reflection", + visibility = ["//visibility:public"], + deps = [ + ":arity", + ], +) From a79fb21a54179252e1d9992ab7940853de262c3e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 09:22:35 -0700 Subject: [PATCH 070/150] bazel: add additional serde tag_invoke helpers Signed-off-by: Noah Watkins --- src/v/serde/BUILD | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index b955625909ab8..358a2ced69d32 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -5,7 +5,9 @@ redpanda_cc_library( hdrs = [ "checksum_t.h", "envelope.h", + "envelope_for_each_field.h", "read_header.h", + "rw/envelope.h", "rw/reservable.h", "rw/rw.h", "rw/scalar.h", @@ -20,6 +22,70 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ "//src/v/bytes:iobuf_parser", + "//src/v/hashing:crc32c", + "//src/v/reflection:arity", + "//src/v/reflection:to_tuple", "//src/v/ssx:sformat", ], ) + +redpanda_cc_library( + name = "array", + hdrs = [ + "rw/array.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + +redpanda_cc_library( + name = "uuid", + hdrs = [ + "rw/uuid.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + "//src/v/utils:uuid", + ], +) + +redpanda_cc_library( + name = "vector", + hdrs = [ + "rw/vector.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + +redpanda_cc_library( + name = "optional", + hdrs = [ + "rw/optional.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + +redpanda_cc_library( + name = "map", + hdrs = [ + "rw/map.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) From 89128079e043c2705449ca6196cceec4c971f9a7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 10:20:15 -0700 Subject: [PATCH 071/150] bazel: add utils::uuid test Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 016f40dc30de0..780c42dcae15b 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -136,6 +136,23 @@ redpanda_cc_btest( ], ) +redpanda_cc_btest( + name = "uuid_test", + timeout = "short", + srcs = [ + "tests/uuid_test.cc", + ], + deps = [ + ":named_type", + ":uuid", + "//src/v/serde:map", + "//src/v/serde:optional", + "//src/v/serde:uuid", + "//src/v/serde:vector", + "//src/v/test_utils:seastar_boost", + ], +) + redpanda_cc_bench( name = "vint_bench", timeout = "short", From 97a9e9ae58877b3d67a244946389d4248028674a Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 10:05:33 -0700 Subject: [PATCH 072/150] bazel: add utils:xid library and test Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 780c42dcae15b..3b5974f53ecb4 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -1,5 +1,5 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar") +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar", "redpanda_cc_gtest") redpanda_cc_library( name = "vint", @@ -81,6 +81,23 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "xid", + srcs = [ + "xid.cc", + ], + hdrs = [ + "xid.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/bytes:iobuf_parser", + "//src/v/serde:array", + ], +) + redpanda_cc_btest_no_seastar( name = "tristate_test", timeout = "short", @@ -153,6 +170,19 @@ redpanda_cc_btest( ], ) +redpanda_cc_gtest( + name = "xid_test", + timeout = "short", + srcs = [ + "tests/xid_test.cc", + ], + deps = [ + ":xid", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + ], +) + redpanda_cc_bench( name = "vint_bench", timeout = "short", From a9b8a8851cec01fd0892628dc23f0e349ed02ed8 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 13:54:08 -0700 Subject: [PATCH 073/150] bazel: ignore build directories Signed-off-by: Noah Watkins --- .bazelignore | 2 ++ tools/BUILD | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 .bazelignore diff --git a/.bazelignore b/.bazelignore new file mode 100644 index 0000000000000..b30ba75df54b4 --- /dev/null +++ b/.bazelignore @@ -0,0 +1,2 @@ +build +vbuild diff --git a/tools/BUILD b/tools/BUILD index d34df8d0715d5..34ed05551b6bb 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -4,6 +4,8 @@ buildifier( name = "buildifier.check", exclude_patterns = [ "./.git/*", + "./build/*", + "./vbuild/*", ], lint_mode = "warn", mode = "diff", @@ -13,6 +15,8 @@ buildifier( name = "buildifier.fix", exclude_patterns = [ "./.git/*", + "./build/*", + "./vbuild/*", ], lint_mode = "warn", mode = "fix", From 29982fe2de3dcbfc87a36a94cfc0471641383e91 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 29 Jun 2024 12:57:32 -0700 Subject: [PATCH 074/150] bazel: add missing header to seastar build Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index cb6904361520e..cb2038f647f57 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -396,8 +396,10 @@ cc_library( "include/seastar/core/when_all.hh", "include/seastar/core/with_scheduling_group.hh", "include/seastar/core/with_timeout.hh", + "include/seastar/coroutine/all.hh", "include/seastar/coroutine/exception.hh", "include/seastar/coroutine/generator.hh", + "include/seastar/coroutine/maybe_yield.hh", "include/seastar/http/api_docs.hh", "include/seastar/http/chunk_parsers.hh", "include/seastar/http/client.hh", From ec7a722b42f2c4f1b0b412caadede7a70c296848 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:12:12 -0700 Subject: [PATCH 075/150] bazel: allow local_defines pass through to library macro Signed-off-by: Noah Watkins --- bazel/build.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazel/build.bzl b/bazel/build.bzl index 766c4a51eb7e4..9a0cdd4cdcd55 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -12,6 +12,7 @@ def redpanda_cc_library( srcs = [], hdrs = [], defines = [], + local_defines = [], strip_include_prefix = None, visibility = None, include_prefix = None, @@ -24,6 +25,7 @@ def redpanda_cc_library( srcs = srcs, hdrs = hdrs, defines = defines, + local_defines = local_defines, visibility = visibility, include_prefix = include_prefix, strip_include_prefix = strip_include_prefix, From 1f5145b1876db6bc342ac77002ad892e03f4aefb Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:12:55 -0700 Subject: [PATCH 076/150] bazel: add utils:static_deleter_fn library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 3b5974f53ecb4..da0264fe3f70f 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -30,6 +30,17 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "static_deleter_fn", + hdrs = [ + "static_deleter_fn.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + ], +) + redpanda_cc_library( name = "named_type", hdrs = [ From 956faf7bf842d72bae362825f9061c806ebb5282 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:58:52 -0700 Subject: [PATCH 077/150] bazel: add utils:functional library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index da0264fe3f70f..ce00685d8e01c 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -18,6 +18,15 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "functional", + hdrs = [ + "functional.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], +) + redpanda_cc_library( name = "tristate", hdrs = [ From f5a2039e6c351f0a4c9969184d6ee4d75bd76e31 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:58:41 -0700 Subject: [PATCH 078/150] bazel: add ssx:future-util library Signed-off-by: Noah Watkins --- src/v/ssx/BUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index f59c6229eea0f..849eff3aea3d8 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -23,6 +23,32 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "future-util", + hdrs = [ + "include/ssx/future-util.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/utils:functional", + ], +) + +redpanda_cc_btest( + name = "future-util_test", + timeout = "short", + srcs = [ + "tests/future_util.cc", + ], + deps = [ + ":future-util", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:functional", + ], +) + redpanda_cc_btest( name = "thread_worker_test", timeout = "short", From 8958c57aa50bed810d17cfe457b95838255cf3bb Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:53:17 -0700 Subject: [PATCH 079/150] bazel: add reflection:adl library Signed-off-by: Noah Watkins --- src/v/reflection/BUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/v/reflection/BUILD b/src/v/reflection/BUILD index df70221fcbaf2..b68d1dfe1395a 100644 --- a/src/v/reflection/BUILD +++ b/src/v/reflection/BUILD @@ -20,3 +20,25 @@ redpanda_cc_library( ":arity", ], ) + +redpanda_cc_library( + name = "adl", + hdrs = [ + "adl.h", + "async_adl.h", + "for_each_field.h", + "seastar/circular_buffer.h", + "type_traits.h", + ], + include_prefix = "reflection", + visibility = ["//visibility:public"], + deps = [ + ":arity", + ":to_tuple", + "//src/v/bytes:iobuf", + "//src/v/bytes:iobuf_parser", + "//src/v/ssx:future-util", + "//src/v/utils:named_type", + "//src/v/utils:tristate", + ], +) From f1c057495934f97ba14c8f4cf949e3ecd0837203 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:56:19 -0700 Subject: [PATCH 080/150] bazel: add several serde rw tag_invoke libraries Signed-off-by: Noah Watkins --- src/v/serde/BUILD | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index 358a2ced69d32..d9c19ad5c7ffb 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -3,9 +3,11 @@ load("//bazel:build.bzl", "redpanda_cc_library") redpanda_cc_library( name = "serde", hdrs = [ + "async.h", "checksum_t.h", "envelope.h", "envelope_for_each_field.h", + "logger.h", "read_header.h", "rw/envelope.h", "rw/reservable.h", @@ -25,6 +27,7 @@ redpanda_cc_library( "//src/v/hashing:crc32c", "//src/v/reflection:arity", "//src/v/reflection:to_tuple", + "//src/v/ssx:future-util", "//src/v/ssx:sformat", ], ) @@ -89,3 +92,64 @@ redpanda_cc_library( ":serde", ], ) + +redpanda_cc_library( + name = "named_type", + hdrs = [ + "rw/named_type.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + "//src/v/utils:named_type", + ], +) + +redpanda_cc_library( + name = "sstring", + hdrs = [ + "rw/sstring.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + +redpanda_cc_library( + name = "variant", + hdrs = [ + "rw/variant.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + +redpanda_cc_library( + name = "iobuf", + hdrs = [ + "rw/iobuf.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + +redpanda_cc_library( + name = "enum", + hdrs = [ + "rw/enum.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) From 0e3c42dfc84eca353c87083d64ca87c0ab36b3b1 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:56:34 -0700 Subject: [PATCH 081/150] bazel: add utils:to_string library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index ce00685d8e01c..7848e453aa374 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -61,6 +61,17 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "to_string", + hdrs = [ + "to_string.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + ], +) + redpanda_cc_library( name = "object_pool", hdrs = [ From 4505f93a440148905b8d077230275eef3df04409 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:51:39 -0700 Subject: [PATCH 082/150] bazel: add model library Signed-off-by: Noah Watkins --- src/v/model/BUILD | 54 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/v/model/BUILD diff --git a/src/v/model/BUILD b/src/v/model/BUILD new file mode 100644 index 0000000000000..f0b8fb687b7c9 --- /dev/null +++ b/src/v/model/BUILD @@ -0,0 +1,54 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "model", + srcs = [ + "adl_serde.cc", + "async_adl_serde.cc", + "model.cc", + "record.cc", + "record_batch_reader.cc", + "record_utils.cc", + "transform.cc", + "validation.cc", + ], + hdrs = [ + "adl_serde.h", + "async_adl_serde.h", + "compression.h", + "errc.h", + "fundamental.h", + "ktp.h", + "limits.h", + "metadata.h", + "namespace.h", + "offset_interval.h", + "record.h", + "record_batch_reader.h", + "record_batch_types.h", + "record_utils.h", + "timeout_clock.h", + "timestamp.h", + "transform.h", + "validation.h", + ], + include_prefix = "model", + visibility = ["//visibility:public"], + deps = [ + "//src/v/bytes", + "//src/v/container:fragmented_vector", + "//src/v/reflection:adl", + "//src/v/serde", + "//src/v/serde:enum", + "//src/v/serde:iobuf", + "//src/v/serde:named_type", + "//src/v/serde:sstring", + "//src/v/serde:variant", + "//src/v/strings:string_switch", + "//src/v/utils:named_type", + "//src/v/utils:to_string", + "//src/v/utils:unresolved_address", + "//src/v/utils:uuid", + "//src/v/utils:xid", + ], +) From d5e38a17820c2186b3b0cf8f8987e74d7389de06 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 08:13:59 -0700 Subject: [PATCH 083/150] bazel: add compression library Signed-off-by: Noah Watkins --- src/v/compression/BUILD | 78 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 src/v/compression/BUILD diff --git a/src/v/compression/BUILD b/src/v/compression/BUILD new file mode 100644 index 0000000000000..df4ccdb040c5d --- /dev/null +++ b/src/v/compression/BUILD @@ -0,0 +1,78 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest") + +redpanda_cc_library( + name = "compression", + srcs = [ + "async_stream_zstd.cc", + "compression.cc", + "internal/gzip_compressor.cc", + "internal/lz4_frame_compressor.cc", + "internal/snappy_java_compressor.cc", + "lz4_decompression_buffers.cc", + "snappy_standard_compressor.cc", + "stream_zstd.cc", + ], + hdrs = [ + "include/compression/async_stream_zstd.h", + "include/compression/compression.h", + "include/compression/internal/gzip_compressor.h", + "include/compression/internal/lz4_frame_compressor.h", + "include/compression/internal/snappy_java_compressor.h", + "include/compression/internal/zstd_compressor.h", + "include/compression/lz4_decompression_buffers.h", + "include/compression/snappy_standard_compressor.h", + "include/compression/stream_zstd.h", + ], + local_defines = ["ZSTD_STATIC_LINKING_ONLY"], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/bytes", + "//src/v/model", + "//src/v/utils:object_pool", + "//src/v/utils:static_deleter_fn", + "@lz4//:lz4_frame", + "@snappy", + "@zstd", + ], +) + +redpanda_cc_gtest( + name = "lz4_buf_test", + timeout = "short", + srcs = [ + "tests/lz4_buf_tests.cc", + ], + deps = [ + ":compression", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_btest( + name = "zstd_test", + timeout = "short", + srcs = [ + "tests/zstd_tests.cc", + ], + deps = [ + ":compression", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + ], +) + +redpanda_cc_bench( + name = "zstd_stream_bench", + timeout = "short", + srcs = [ + "tests/zstd_stream_bench.cc", + ], + deps = [ + ":compression", + "//src/v/random:generators", + "@seastar//:benchmark", + ], +) From 00e29d56f3cb9988d897760ccf7bbd4c60c267f5 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 11:47:46 -0700 Subject: [PATCH 084/150] bazel: enable layering_check by default Signed-off-by: Noah Watkins --- bazel/build.bzl | 12 ++++++++++++ bazel/test.bzl | 3 +++ bazel/thirdparty/seastar.bzl | 1 + src/v/bytes/BUILD | 19 +++++++++++++++++++ src/v/compression/BUILD | 12 ++++++++++++ src/v/container/BUILD | 16 ++++++++++++++++ src/v/crypto/BUILD | 10 ++++++++++ src/v/hashing/BUILD | 1 + src/v/json/BUILD | 5 +++++ src/v/model/BUILD | 15 +++++++++++++++ src/v/random/BUILD | 3 +++ src/v/ssx/BUILD | 7 +++++++ src/v/test_utils/BUILD | 2 ++ src/v/utils/BUILD | 29 +++++++++++++++++++++++++++++ 14 files changed, 135 insertions(+) diff --git a/bazel/build.bzl b/bazel/build.bzl index 9a0cdd4cdcd55..493bfa8d677cc 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -7,6 +7,7 @@ making behavior changes across the entire build. load(":internal.bzl", "redpanda_copts") +# buildifier: disable=function-docstring-args def redpanda_cc_library( name, srcs = [], @@ -16,10 +17,20 @@ def redpanda_cc_library( strip_include_prefix = None, visibility = None, include_prefix = None, + exclude_layering_check = False, deps = []): """ Define a Redpanda C++ library. """ + features = [] + if not exclude_layering_check: + # TODO Some dependencies brought in via rules_foreign_cc appear to not + # have all their headers declared as outputs, which causes issues with + # layering checks. So we allow layering check to be disabled in some + # cases until this issue is addressed. + # https://github.com/bazelbuild/rules_foreign_cc/issues/1221 + features.append("layering_check") + native.cc_library( name = name, srcs = srcs, @@ -31,4 +42,5 @@ def redpanda_cc_library( strip_include_prefix = strip_include_prefix, deps = deps, copts = redpanda_copts(), + features = features, ) diff --git a/bazel/test.bzl b/bazel/test.bzl index 1f8d4f0592b70..923bd85e7f27b 100644 --- a/bazel/test.bzl +++ b/bazel/test.bzl @@ -82,6 +82,9 @@ def _redpanda_cc_test( deps = deps, copts = redpanda_copts(), args = args, + features = [ + "layering_check", + ], ) def _redpanda_cc_unit_test(**kwargs): diff --git a/bazel/thirdparty/seastar.bzl b/bazel/thirdparty/seastar.bzl index 189cc089cc316..564d4393d905d 100644 --- a/bazel/thirdparty/seastar.bzl +++ b/bazel/thirdparty/seastar.bzl @@ -38,5 +38,6 @@ def seastar_cc_swagger_library(name, src, definitions = [], visibility = None): ], deps = [ "@seastar", + "@boost//:range", ], ) diff --git a/src/v/bytes/BUILD b/src/v/bytes/BUILD index 2565bb8ccbc78..f731d9582a577 100644 --- a/src/v/bytes/BUILD +++ b/src/v/bytes/BUILD @@ -20,6 +20,8 @@ redpanda_cc_library( deps = [ "//src/v/base", "//src/v/container:intrusive", + "@fmt", + "@seastar", ], ) @@ -35,6 +37,9 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ ":iobuf", + "//src/v/base", + "@abseil-cpp//absl/hash", + "@seastar", ], ) @@ -63,7 +68,9 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ ":bytes", + ":iobuf", "//src/v/random:generators", + "@seastar", ], ) @@ -79,6 +86,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ ":iobuf", + "@seastar", ], ) @@ -94,6 +102,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ ":iobuf", + "@seastar", ], ) @@ -138,7 +147,13 @@ redpanda_cc_btest( ":random", ":scattered_message", ":streambuf", + "//src/v/random:generators", "//src/v/test_utils:seastar_boost", + "@boost//:range", + "@boost//:test", + "@fmt", + "@seastar", + "@seastar//:testing", ], ) @@ -152,9 +167,11 @@ redpanda_cc_btest( deps = [ ":bytes", ":hash", + ":iobuf", ":iostream", "//src/v/random:generators", "//src/v/test_utils:seastar_boost", + "@seastar//:testing", ], ) @@ -167,5 +184,7 @@ redpanda_cc_btest( deps = [ ":bytes", "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar//:testing", ], ) diff --git a/src/v/compression/BUILD b/src/v/compression/BUILD index df4ccdb040c5d..7add0896c2ba7 100644 --- a/src/v/compression/BUILD +++ b/src/v/compression/BUILD @@ -24,16 +24,20 @@ redpanda_cc_library( "include/compression/snappy_standard_compressor.h", "include/compression/stream_zstd.h", ], + exclude_layering_check = True, local_defines = ["ZSTD_STATIC_LINKING_ONLY"], strip_include_prefix = "include", visibility = ["//visibility:public"], deps = [ "//src/v/base", "//src/v/bytes", + "//src/v/bytes:iobuf", "//src/v/model", "//src/v/utils:object_pool", "//src/v/utils:static_deleter_fn", + "@fmt", "@lz4//:lz4_frame", + "@seastar", "@snappy", "@zstd", ], @@ -47,7 +51,11 @@ redpanda_cc_gtest( ], deps = [ ":compression", + "//src/v/base", + "//src/v/random:generators", "//src/v/test_utils:gtest", + "@googletest//:gtest", + "@lz4", ], ) @@ -59,8 +67,10 @@ redpanda_cc_btest( ], deps = [ ":compression", + "//src/v/base", "//src/v/random:generators", "//src/v/test_utils:seastar_boost", + "@seastar//:testing", ], ) @@ -72,7 +82,9 @@ redpanda_cc_bench( ], deps = [ ":compression", + "//src/v/base", "//src/v/random:generators", + "@seastar", "@seastar//:benchmark", ], ) diff --git a/src/v/container/BUILD b/src/v/container/BUILD index 7df33484d677d..20660b9052a46 100644 --- a/src/v/container/BUILD +++ b/src/v/container/BUILD @@ -78,6 +78,7 @@ redpanda_cc_gtest( deps = [ ":chunked_hash_map", "//src/v/test_utils:gtest", + "@googletest//:gtest", ], ) @@ -92,6 +93,7 @@ redpanda_cc_gtest( "//src/v/random:generators", "//src/v/serde", "//src/v/test_utils:gtest", + "@googletest//:gtest", ], ) @@ -106,6 +108,9 @@ redpanda_cc_gtest( ":zip", "//src/v/random:generators", "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:btree", + "@fmt", + "@googletest//:gtest", ], ) @@ -117,8 +122,11 @@ redpanda_cc_gtest( ], deps = [ ":interval_set", + "//src/v/base", "//src/v/random:generators", "//src/v/test_utils:gtest", + "@googletest//:gtest", + "@seastar", ], ) @@ -132,6 +140,7 @@ redpanda_cc_btest( ":fragmented_vector", "//src/v/base", "//src/v/test_utils:seastar_boost", + "@seastar//:testing", ], ) @@ -158,6 +167,9 @@ redpanda_cc_bench( deps = [ ":bench_utils", ":fragmented_vector", + "//src/v/base", + "//src/v/random:generators", + "@seastar//:benchmark", ], ) @@ -170,5 +182,9 @@ redpanda_cc_bench( deps = [ ":bench_utils", ":contiguous_range_map", + "//src/v/random:generators", + "@abseil-cpp//absl/container:btree", + "@boost//:range", + "@seastar//:benchmark", ], ) diff --git a/src/v/crypto/BUILD b/src/v/crypto/BUILD index 98a7d57762ee2..1fc5d775d88e1 100644 --- a/src/v/crypto/BUILD +++ b/src/v/crypto/BUILD @@ -22,13 +22,16 @@ redpanda_cc_library( "include/crypto/ossl_context_service.h", "include/crypto/types.h", ], + exclude_layering_check = True, strip_include_prefix = "include", visibility = ["//visibility:public"], deps = [ + "//src/v/base", "//src/v/bytes", "//src/v/ssx:thread_worker", "@abseil-cpp//absl/container:node_hash_map", "@openssl", + "@seastar", ], ) @@ -54,6 +57,8 @@ redpanda_cc_gtest( ":crypto", ":crypto_test_utils", "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:flat_hash_map", + "@googletest//:gtest", ], ) @@ -67,6 +72,8 @@ redpanda_cc_gtest( ":crypto", ":crypto_test_utils", "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:flat_hash_map", + "@googletest//:gtest", ], ) @@ -79,6 +86,7 @@ redpanda_cc_gtest( deps = [ ":crypto", "//src/v/test_utils:gtest", + "@googletest//:gtest", ], ) @@ -91,6 +99,8 @@ redpanda_cc_gtest( deps = [ ":crypto", ":crypto_test_utils", + "//src/v/bytes", "//src/v/test_utils:gtest", + "@googletest//:gtest", ], ) diff --git a/src/v/hashing/BUILD b/src/v/hashing/BUILD index 6cb4d01903653..ccdc038a99389 100644 --- a/src/v/hashing/BUILD +++ b/src/v/hashing/BUILD @@ -51,6 +51,7 @@ redpanda_cc_btest( ], deps = [ ":secure", + "@boost//:test", ], ) diff --git a/src/v/json/BUILD b/src/v/json/BUILD index aa9b5e223aadb..f079f64ba5a9d 100644 --- a/src/v/json/BUILD +++ b/src/v/json/BUILD @@ -32,7 +32,9 @@ redpanda_cc_library( "//src/v/serde", "//src/v/utils:named_type", "//src/v/utils:unresolved_address", + "@fmt", "@rapidjson", + "@seastar", ], ) @@ -44,6 +46,9 @@ redpanda_cc_btest( ], deps = [ ":json", + "//src/v/base", "//src/v/test_utils:seastar_boost", + "@seastar", + "@seastar//:testing", ], ) diff --git a/src/v/model/BUILD b/src/v/model/BUILD index f0b8fb687b7c9..908fd8ed4c8f2 100644 --- a/src/v/model/BUILD +++ b/src/v/model/BUILD @@ -35,8 +35,12 @@ redpanda_cc_library( include_prefix = "model", visibility = ["//visibility:public"], deps = [ + "//src/v/base", "//src/v/bytes", + "//src/v/bytes:iobuf", + "//src/v/bytes:iobuf_parser", "//src/v/container:fragmented_vector", + "//src/v/hashing:crc32c", "//src/v/reflection:adl", "//src/v/serde", "//src/v/serde:enum", @@ -44,11 +48,22 @@ redpanda_cc_library( "//src/v/serde:named_type", "//src/v/serde:sstring", "//src/v/serde:variant", + "//src/v/ssx:sformat", "//src/v/strings:string_switch", "//src/v/utils:named_type", "//src/v/utils:to_string", + "//src/v/utils:tristate", "//src/v/utils:unresolved_address", "//src/v/utils:uuid", + "//src/v/utils:vint", "//src/v/utils:xid", + "@abseil-cpp//absl/container:btree", + "@abseil-cpp//absl/container:flat_hash_map", + "@abseil-cpp//absl/hash", + "@boost//:container_hash", + "@boost//:iterator", + "@boost//:range", + "@fmt", + "@seastar", ], ) diff --git a/src/v/random/BUILD b/src/v/random/BUILD index 046d3c5d87184..df6b5bf973b0d 100644 --- a/src/v/random/BUILD +++ b/src/v/random/BUILD @@ -26,6 +26,7 @@ redpanda_cc_library( deps = [ "//src/v/base", "//src/v/crypto", + "@seastar", ], ) @@ -52,5 +53,7 @@ redpanda_cc_btest( ":generators", "//src/v/base", "//src/v/test_utils:seastar_boost", + "@abseil-cpp//absl/container:flat_hash_set", + "@boost//:test", ], ) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 849eff3aea3d8..6a55872180079 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -46,6 +46,8 @@ redpanda_cc_btest( ":future-util", "//src/v/test_utils:seastar_boost", "//src/v/utils:functional", + "@seastar", + "@seastar//:testing", ], ) @@ -59,6 +61,10 @@ redpanda_cc_btest( ":thread_worker", "//src/v/base", "//src/v/test_utils:seastar_boost", + "@abseil-cpp//absl/algorithm:container", + "@boost//:test", + "@seastar", + "@seastar//:testing", ], ) @@ -72,5 +78,6 @@ redpanda_cc_btest( ":sformat", "//src/v/base", "//src/v/test_utils:seastar_boost", + "@seastar//:testing", ], ) diff --git a/src/v/test_utils/BUILD b/src/v/test_utils/BUILD index 5561c2d25944e..9f80dec197d50 100644 --- a/src/v/test_utils/BUILD +++ b/src/v/test_utils/BUILD @@ -21,7 +21,9 @@ redpanda_cc_library( "@abseil-cpp//absl/container:btree", "@abseil-cpp//absl/container:node_hash_map", "@abseil-cpp//absl/container:node_hash_set", + "@fmt", "@googletest//:gtest", + "@seastar", "@seastar//:testing", ], ) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 7848e453aa374..34ecdc12b2956 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -15,6 +15,7 @@ redpanda_cc_library( deps = [ "//src/v/bytes", "//src/v/bytes:iostream", + "@seastar", ], ) @@ -109,6 +110,10 @@ redpanda_cc_library( deps = [ "//src/v/base", "//src/v/bytes", + "//src/v/bytes:iobuf", + "@abseil-cpp//absl/hash", + "@fmt", + "@seastar", ], ) @@ -125,7 +130,11 @@ redpanda_cc_library( deps = [ "//src/v/base", "//src/v/bytes:iobuf_parser", + "//src/v/serde", "//src/v/serde:array", + "//src/v/ssx:sformat", + "@fmt", + "@seastar", ], ) @@ -168,6 +177,9 @@ redpanda_cc_btest( ":object_pool", "//src/v/base", "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + "@seastar//:testing", ], ) @@ -179,8 +191,12 @@ redpanda_cc_btest( ], deps = [ ":vint", + "//src/v/bytes", + "//src/v/bytes:iostream", "//src/v/random:generators", "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar//:testing", ], ) @@ -193,11 +209,17 @@ redpanda_cc_btest( deps = [ ":named_type", ":uuid", + "//src/v/serde", "//src/v/serde:map", "//src/v/serde:optional", "//src/v/serde:uuid", "//src/v/serde:vector", "//src/v/test_utils:seastar_boost", + "@abseil-cpp//absl/container:flat_hash_map", + "@abseil-cpp//absl/hash", + "@boost//:container_hash", + "@boost//:test", + "@seastar//:testing", ], ) @@ -210,7 +232,10 @@ redpanda_cc_gtest( deps = [ ":xid", "//src/v/random:generators", + "//src/v/serde", "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:node_hash_map", + "@googletest//:gtest", ], ) @@ -222,7 +247,11 @@ redpanda_cc_bench( ], deps = [ ":vint", + "//src/v/bytes", + "//src/v/bytes:iobuf", + "//src/v/bytes:iostream", "//src/v/random:generators", + "@seastar", "@seastar//:benchmark", ], ) From f862f7bc1c654f870eaf935efa84d70ee81e26cc Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 13:15:17 -0700 Subject: [PATCH 085/150] bazel: remove non-library code from avro Signed-off-by: Noah Watkins --- bazel/thirdparty/avro.BUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/bazel/thirdparty/avro.BUILD b/bazel/thirdparty/avro.BUILD index 3b7728dc50de0..b9b628c68d097 100644 --- a/bazel/thirdparty/avro.BUILD +++ b/bazel/thirdparty/avro.BUILD @@ -99,7 +99,6 @@ cc_library( "lang/c++/impl/ValidSchema.cc", "lang/c++/impl/Validator.cc", "lang/c++/impl/Zigzag.cc", - "lang/c++/impl/avrogencpp.cc", "lang/c++/impl/json/JsonDom.cc", "lang/c++/impl/json/JsonDom.hh", "lang/c++/impl/json/JsonIO.cc", From b8133713515732c726d4c8f92642e1c5ead4239d Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 13:15:29 -0700 Subject: [PATCH 086/150] bazel: add missing avro dependencies Signed-off-by: Noah Watkins --- bazel/thirdparty/avro.BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bazel/thirdparty/avro.BUILD b/bazel/thirdparty/avro.BUILD index b9b628c68d097..51fcb977d1a20 100644 --- a/bazel/thirdparty/avro.BUILD +++ b/bazel/thirdparty/avro.BUILD @@ -124,5 +124,11 @@ cc_library( ], deps = [ "@boost//:algorithm", + "@boost//:any", + "@boost//:crc", + "@boost//:format", + "@boost//:iostreams", + "@boost//:lexical_cast", + "@snappy", ], ) From e6d916a459dcc3e04da4b3769daae226bcb48bdf Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 13:50:55 -0700 Subject: [PATCH 087/150] bazel: add missing utils:uuid dependency Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 34ecdc12b2956..ac6911b053d87 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -112,6 +112,7 @@ redpanda_cc_library( "//src/v/bytes", "//src/v/bytes:iobuf", "@abseil-cpp//absl/hash", + "@boost//:uuid", "@fmt", "@seastar", ], From 84842709564c967397eec2eb2080b42451298a2c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 14:03:22 -0700 Subject: [PATCH 088/150] bazel: build xxhash explicitly The version of xxhash provided by bzlmod requires -iquoted includes which prevents redpanda's use of brackets: . this isn't inherently a problem, we probably should use quoted includes. but in the interim state where both cmake and bazel are in use we need some flexibility. so we build xxhash manually so we can control this. Signed-off-by: Noah Watkins --- MODULE.bazel | 2 +- MODULE.bazel.lock | 14 +++++++++++--- bazel/repositories.bzl | 8 ++++++++ bazel/thirdparty/xxhash.BUILD | 14 ++++++++++++++ 4 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 bazel/thirdparty/xxhash.BUILD diff --git a/MODULE.bazel b/MODULE.bazel index 46089eeff24b6..587f6e63f261f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -36,7 +36,6 @@ bazel_dep(name = "protobuf", version = "26.0") bazel_dep(name = "re2", version = "2023-09-01") bazel_dep(name = "rules_foreign_cc", version = "0.10.1") bazel_dep(name = "rules_proto", version = "6.0.2") -bazel_dep(name = "xxhash", version = "0.8.2") bazel_dep(name = "yaml-cpp", version = "0.8.0") bazel_dep(name = "zlib", version = "1.3") bazel_dep(name = "zstd", version = "1.5.6") @@ -80,4 +79,5 @@ use_repo(non_module_dependencies, "seastar") use_repo(non_module_dependencies, "snappy") use_repo(non_module_dependencies, "unordered_dense") use_repo(non_module_dependencies, "wasmtime") +use_repo(non_module_dependencies, "xxhash") use_repo(non_module_dependencies, "xz") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 39969f22559f3..53b76f17b2b98 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -101,8 +101,6 @@ "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", "https://bcr.bazel.build/modules/stardoc/0.5.3/source.json": "cd53fe968dc8cd98197c052db3db6d82562960c87b61e7a90ee96f8e4e0dda97", "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", - "https://bcr.bazel.build/modules/xxhash/0.8.2/MODULE.bazel": "d9337c1b24d08861bcf2fca2acd3dc6568a96f6d66f5eeaab008fb50567d4eed", - "https://bcr.bazel.build/modules/xxhash/0.8.2/source.json": "4499f6c71bfc1fdb9ff2ddb2e799c08d5f4af3846a7acfbe4ce559c6b85c73a9", "https://bcr.bazel.build/modules/xz/5.4.5.bcr.2/MODULE.bazel": "463976fb85f578a2535421ba4c38fe90657ab348e4b5d5404b75c061602705d0", "https://bcr.bazel.build/modules/xz/5.4.5.bcr.2/source.json": "e735da8a3f396bf200ed06c585f670f7667e08c4e1ed2849bae7c2691bcb10cf", "https://bcr.bazel.build/modules/yaml-cpp/0.8.0/MODULE.bazel": "879443fbbf128457a187bea6f278d05789f3fc465bb22c2e0fe7fdb52e45eef0", @@ -118,7 +116,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "SDtBbvy5m2i2R+LDNo1BMr0OOshkbo13AqKxmBwiN3E=", + "bzlTransitiveDigest": "+/wwwL1d2C7jKsyzYXQACKjRp7Y8aKLoFqSNJ9x+I/c=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -323,6 +321,16 @@ "strip_prefix": "avro-836cb1004090435a985becda1daa619c407e1376", "url": "https://github.com/redpanda-data/avro/archive/836cb1004090435a985becda1daa619c407e1376.tar.gz" } + }, + "xxhash": { + "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", + "ruleClassName": "http_archive", + "attributes": { + "build_file": "@@//bazel/thirdparty:xxhash.BUILD", + "sha256": "716fbe4fc85ecd36488afbbc635b59b5ab6aba5ed3b69d4a32a46eae5a453d38", + "strip_prefix": "xxHash-bbb27a5efb85b92a0486cf361a8635715a53f6ba", + "url": "https://github.com/Cyan4973/xxHash/archive/bbb27a5efb85b92a0486cf361a8635715a53f6ba.tar.gz" + } } }, "recordedRepoMappingEntries": [ diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 4e54bd4c78038..4bce599f6d3f3 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -174,6 +174,14 @@ def data_dependency(): url = "https://github.com/bytecodealliance/wasmtime/archive/9e1084ffac08b1bf9c82de40c0efc1baff14b9ad.tar.gz", ) + http_archive( + name = "xxhash", + build_file = "//bazel/thirdparty:xxhash.BUILD", + sha256 = "716fbe4fc85ecd36488afbbc635b59b5ab6aba5ed3b69d4a32a46eae5a453d38", + strip_prefix = "xxHash-bbb27a5efb85b92a0486cf361a8635715a53f6ba", + url = "https://github.com/Cyan4973/xxHash/archive/bbb27a5efb85b92a0486cf361a8635715a53f6ba.tar.gz", + ) + http_archive( name = "xz", build_file = "//bazel/thirdparty:xz.BUILD", diff --git a/bazel/thirdparty/xxhash.BUILD b/bazel/thirdparty/xxhash.BUILD new file mode 100644 index 0000000000000..e00de84e6f0a8 --- /dev/null +++ b/bazel/thirdparty/xxhash.BUILD @@ -0,0 +1,14 @@ +cc_library( + name = "xxhash", + srcs = [ + "xxhash.c", + ], + hdrs = [ + "xxh3.h", + "xxhash.h", + ], + includes = [ + ".", + ], + visibility = ["//visibility:public"], +) From 7985abd4c9195869d60f5c5cbecc612575709a1b Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 30 Jun 2024 13:17:36 -0700 Subject: [PATCH 089/150] bazel: add missing system dependencies Signed-off-by: Noah Watkins --- bazel/install-deps.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bazel/install-deps.sh b/bazel/install-deps.sh index 00e46ce21ae1e..2dabd5b9783e5 100755 --- a/bazel/install-deps.sh +++ b/bazel/install-deps.sh @@ -36,6 +36,9 @@ deb_deps=( xfslibs-dev valgrind git + cargo + rustc + bison ) fedora_deps=( @@ -51,6 +54,9 @@ fedora_deps=( valgrind-devel git clang + cargo + rust + bison ) case "$ID" in From 52d8d5349298ca6bcdacd9bcbe8cf0d7c8c3a85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=9Blanka?= Date: Tue, 2 Jul 2024 17:28:45 +0000 Subject: [PATCH 090/150] bazel/thirdparty: added debug config flags to seastar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Maślanka --- bazel/thirdparty/seastar.BUILD | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index cb2038f647f57..011c3db94e36c 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -50,6 +50,21 @@ bool_flag( build_setting_default = True, ) +bool_flag( + name = "system_allocator", + build_setting_default = False, +) + +bool_flag( + name = "debug", + build_setting_default = False, +) + +bool_flag( + name = "shuffle_task_queue", + build_setting_default = False, +) + int_flag( name = "api_level", build_setting_default = 6, @@ -125,6 +140,27 @@ config_setting( }, ) +config_setting( + name = "use_system_allocator", + flag_values = { + ":system_allocator": "true", + }, +) + +config_setting( + name = "with_debug", + flag_values = { + ":debug": "true", + }, +) + +config_setting( + name = "with_shuffle_task_queue", + flag_values = { + ":shuffle_task_queue": "true", + }, +) + py_binary( name = "seastar-json2code", srcs = ["scripts/seastar-json2code.py"], @@ -547,6 +583,15 @@ cc_library( # build settings. defining for all compilation units seems harmless. ":use_heap_profiling": ["SEASTAR_HEAPPROF"], "//conditions:default": [], + }) + select({ + ":use_system_allocator": ["SEASTAR_DEFAULT_ALLOCATOR"], + "//conditions:default": [], + }) + select({ + ":with_debug": ["SEASTAR_DEBUG"], + "//conditions:default": [], + }) + select({ + ":with_shuffle_task_queue": ["SEASTAR_SHUFFLE_TASK_QUEUE"], + "//conditions:default": [], }), toolchains = [ ":api_level", From be81892453e2cbbb4826dc67da1789c027d9f0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=9Blanka?= Date: Tue, 2 Jul 2024 17:29:28 +0000 Subject: [PATCH 091/150] build/bazelrc: use default system allocator when using sanitizers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Maślanka --- .bazelrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelrc b/.bazelrc index 108c8fa56b9e6..a925a1c18a3dd 100644 --- a/.bazelrc +++ b/.bazelrc @@ -22,6 +22,8 @@ build:sanitizer --linkopt -fsanitize=address,undefined,vptr,function build:sanitizer --linkopt --rtlib=compiler-rt build:sanitizer --linkopt -fsanitize-link-c++-runtime build:sanitizer --copt -O1 +# seastar has to be run with system allocator when using sanitizers +build:sanitizer --@seastar//:system_allocator=True # ================================= # Security From eeeda55368a266c47fef17671091549f22fa84f8 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 1 Jul 2024 15:52:22 -0700 Subject: [PATCH 092/150] bazel: enable warnings for redpanda targets Signed-off-by: Noah Watkins --- bazel/internal.bzl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bazel/internal.bzl b/bazel/internal.bzl index 34587a72d0031..bea32223a82f3 100644 --- a/bazel/internal.bzl +++ b/bazel/internal.bzl @@ -4,6 +4,13 @@ scripts in the `bazel/` directory. """ def redpanda_copts(): + """ + Add common options to redpanda targets. + + Returns: + Options to be added to target. + """ + # TODO Bazel prefers -iquote "path" style includes in many cases. However, # our source tree uses bracket style for dependencies. We need a way # to bridge this gap until we decide to fully switch over to Bazel at which @@ -11,4 +18,11 @@ def redpanda_copts(): # need to be updated to include abseil explicitly when this is removed. copts = [] copts.append("-Iexternal/abseil-cpp~") + + copts.append("-Werror") + copts.append("-Wall") + copts.append("-Wextra") + copts.append("-Wno-missing-field-initializers") + copts.append("-Wimplicit-fallthrough") + return copts From aecf8d1bce21e80e91cf0df1f29724296ed24a1d Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 1 Jul 2024 17:01:04 -0700 Subject: [PATCH 093/150] bazel: use custom build for libpciaccess Signed-off-by: Noah Watkins --- MODULE.bazel.lock | 8 +-- bazel/repositories.bzl | 6 +-- bazel/thirdparty/libpciaccess.BUILD | 81 +++++++++++++++++++++++------ 3 files changed, 72 insertions(+), 23 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 53b76f17b2b98..f29bd458b8e71 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -116,7 +116,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "+/wwwL1d2C7jKsyzYXQACKjRp7Y8aKLoFqSNJ9x+I/c=", + "bzlTransitiveDigest": "a72e4ALcji2RGOJvJ4dDpXN/55qa2jQuSgxMhRaSPZI=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -147,9 +147,9 @@ "ruleClassName": "http_archive", "attributes": { "build_file": "@@//bazel/thirdparty:libpciaccess.BUILD", - "sha256": "9938b18509553452c6e13f79e16cbaffec9ea67119aa2de5d75e83c4f67ff400", - "strip_prefix": "libpciaccess-libpciaccess-0.16", - "url": "https://vectorized-public.s3.amazonaws.com/dependencies/libpciaccess-0.16.tar.bz2" + "sha256": "d0d0d53c2085d21ab37ae5989e55a3de13d4d80dc2c0a8d5c77154ea70f4783c", + "strip_prefix": "libpciaccess-2ec2576cabefef1eaa5dd9307c97de2e887fc347", + "url": "https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/archive/2ec2576cabefef1eaa5dd9307c97de2e887fc347/libpciaccess-2ec2576cabefef1eaa5dd9307c97de2e887fc347.tar.gz" } }, "numactl": { diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 4bce599f6d3f3..a3f701a67ab17 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -67,9 +67,9 @@ def data_dependency(): http_archive( name = "libpciaccess", build_file = "//bazel/thirdparty:libpciaccess.BUILD", - sha256 = "9938b18509553452c6e13f79e16cbaffec9ea67119aa2de5d75e83c4f67ff400", - strip_prefix = "libpciaccess-libpciaccess-0.16", - url = "https://vectorized-public.s3.amazonaws.com/dependencies/libpciaccess-0.16.tar.bz2", + sha256 = "d0d0d53c2085d21ab37ae5989e55a3de13d4d80dc2c0a8d5c77154ea70f4783c", + strip_prefix = "libpciaccess-2ec2576cabefef1eaa5dd9307c97de2e887fc347", + url = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/archive/2ec2576cabefef1eaa5dd9307c97de2e887fc347/libpciaccess-2ec2576cabefef1eaa5dd9307c97de2e887fc347.tar.gz", ) http_archive( diff --git a/bazel/thirdparty/libpciaccess.BUILD b/bazel/thirdparty/libpciaccess.BUILD index 0b06303e012a4..95ac8154b9780 100644 --- a/bazel/thirdparty/libpciaccess.BUILD +++ b/bazel/thirdparty/libpciaccess.BUILD @@ -1,22 +1,71 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make") - -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -configure_make( +cc_library( name = "libpciaccess", - autoreconf = True, - autoreconf_options = ["-ivf"], - configure_in_place = True, - configure_options = [ - "--disable-shared", - "--enable-static", + srcs = [ + "src/common_bridge.c", + "src/common_capability.c", + "src/common_device_name.c", + "src/common_init.c", + "src/common_interface.c", + "src/common_io.c", + "src/common_iterator.c", + "src/common_map.c", + "src/linux_devmem.h", + "src/pciaccess_private.h", + ] + select({ + "@platforms//os:linux": [ + "src/common_vgaarb.c", + "src/linux_devmem.c", + "src/linux_sysfs.c", + ], + "//conditions:default": [], + }), + hdrs = [ + "include/pciaccess.h", + ], + copts = [ + "-Wpointer-arith", + "-Wmissing-declarations", + "-Wformat=2", + "-Wstrict-prototypes", + "-Wmissing-prototypes", + "-Wnested-externs", + "-Wbad-function-cast", + "-Wold-style-definition", + "-Wdeclaration-after-statement", + "-Wunused", + "-Wuninitialized", + "-Wshadow", + "-Wmissing-noreturn", + "-Wmissing-format-attribute", + "-Wredundant-decls", + "-Werror=implicit", + "-Werror=nonnull", + "-Werror=init-self", + "-Werror=main", + "-Werror=missing-braces", + "-Werror=sequence-point", + "-Werror=return-type", + "-Werror=trigraphs", + "-Werror=array-bounds", + "-Werror=write-strings", + "-Werror=address", + "-Werror=int-to-pointer-cast", ], - lib_source = ":srcs", - out_static_libs = ["libpciaccess.a"], + local_defines = [ + 'PCIIDS_PATH=\\"/usr/share/hwdata\\"', + "HAVE_ZLIB=1", + "HAVE_MTRR=1", + "HAVE_ERR_H=1", + "HAVE_INTTYPES_H=1", + "HAVE_STDINT_H=1", + "HAVE_STRINGS_H=1", + "HAVE_STRING_H=1", + ], + strip_include_prefix = "include", visibility = [ "//visibility:public", ], + deps = [ + "@zlib", + ], ) From dbadf9b36fc8d085673fcd104d7fcae52c3e8ea2 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 09:49:02 -0700 Subject: [PATCH 094/150] bazel: add keep_going flag to build This provides behavior similar to ninja/make where on-going work completes if other work fails. Pretty useful when compiling because we can see more errors all at once. Make it the default and opt-out if wanted to --nokeep_going Signed-off-by: Noah Watkins --- .bazelrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bazelrc b/.bazelrc index 108c8fa56b9e6..8c1e20d4f46c2 100644 --- a/.bazelrc +++ b/.bazelrc @@ -61,5 +61,6 @@ build:release --copt -mllvm --copt -inline-threshold=2500 build:release --linkopt=-flto build --@seastar//:openssl=True +build --keep_going try-import %workspace%/user.bazelrc From 107ed92905b3ded0a4817b7671ff4074c21e7023 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 12:15:09 -0700 Subject: [PATCH 095/150] bazel: remove whitespace Signed-off-by: Noah Watkins --- .bazelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index a925a1c18a3dd..a0b59a52ef5b6 100644 --- a/.bazelrc +++ b/.bazelrc @@ -22,7 +22,7 @@ build:sanitizer --linkopt -fsanitize=address,undefined,vptr,function build:sanitizer --linkopt --rtlib=compiler-rt build:sanitizer --linkopt -fsanitize-link-c++-runtime build:sanitizer --copt -O1 -# seastar has to be run with system allocator when using sanitizers +# seastar has to be run with system allocator when using sanitizers build:sanitizer --@seastar//:system_allocator=True # ================================= From 023445c1b6abe87435505ff0ae641c6ec7b6be22 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 09:51:19 -0700 Subject: [PATCH 096/150] bazel: add utils:inet_address library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index ac6911b053d87..6514ae28649a0 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -28,6 +28,15 @@ redpanda_cc_library( visibility = ["//visibility:public"], ) +redpanda_cc_library( + name = "inet_address", + hdrs = [ + "inet_address_wrapper.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], +) + redpanda_cc_library( name = "tristate", hdrs = [ From ff8a6ae53e39ed371f116257ba49157aba185873 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 09:51:45 -0700 Subject: [PATCH 097/150] bazel: add schema_registry:config library Signed-off-by: Noah Watkins --- src/v/pandaproxy/schema_registry/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/v/pandaproxy/schema_registry/BUILD diff --git a/src/v/pandaproxy/schema_registry/BUILD b/src/v/pandaproxy/schema_registry/BUILD new file mode 100644 index 0000000000000..198778c54d2fd --- /dev/null +++ b/src/v/pandaproxy/schema_registry/BUILD @@ -0,0 +1,12 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "config", + hdrs = [ + "schema_id_validation.h", + ], + include_prefix = "pandaproxy/schema_registry", + visibility = ["//visibility:public"], + deps = [ + ], +) From 65e2f6dc1d01506111162511c75348bebd74e025 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 11:31:23 -0700 Subject: [PATCH 098/150] bazel: add storage:config library Signed-off-by: Noah Watkins --- src/v/storage/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/v/storage/BUILD diff --git a/src/v/storage/BUILD b/src/v/storage/BUILD new file mode 100644 index 0000000000000..bd5b538a9b914 --- /dev/null +++ b/src/v/storage/BUILD @@ -0,0 +1,12 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "config", + hdrs = [ + "config.h", + ], + include_prefix = "storage", + visibility = ["//visibility:public"], + deps = [ + ], +) From 20be6366d72d5781a48781a0d157faf8a8aa5362 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 11:34:41 -0700 Subject: [PATCH 099/150] bazel: add serde:chrono library Signed-off-by: Noah Watkins --- src/v/serde/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index d9c19ad5c7ffb..4be471d57c7f4 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -153,3 +153,15 @@ redpanda_cc_library( ":serde", ], ) + +redpanda_cc_library( + name = "chrono", + hdrs = [ + "rw/chrono.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) From 2f5dc423fcbba211410ff42036197e58b08b095d Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 09:40:41 -0700 Subject: [PATCH 100/150] bazel: add serde:bool_class library Signed-off-by: Noah Watkins --- src/v/serde/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index 4be471d57c7f4..00b3014e75209 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -44,6 +44,18 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "bool_class", + hdrs = [ + "rw/bool_class.h", + ], + include_prefix = "serde", + visibility = ["//visibility:public"], + deps = [ + ":serde", + ], +) + redpanda_cc_library( name = "uuid", hdrs = [ From c2d71fb85ca5a29850856e652bc7efe00a9262bf Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 09:40:29 -0700 Subject: [PATCH 101/150] bazel: add missing serde deps to model library Signed-off-by: Noah Watkins --- src/v/model/BUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/v/model/BUILD b/src/v/model/BUILD index 908fd8ed4c8f2..3c419924cfeac 100644 --- a/src/v/model/BUILD +++ b/src/v/model/BUILD @@ -43,10 +43,13 @@ redpanda_cc_library( "//src/v/hashing:crc32c", "//src/v/reflection:adl", "//src/v/serde", + "//src/v/serde:bool_class", "//src/v/serde:enum", "//src/v/serde:iobuf", + "//src/v/serde:map", "//src/v/serde:named_type", "//src/v/serde:sstring", + "//src/v/serde:uuid", "//src/v/serde:variant", "//src/v/ssx:sformat", "//src/v/strings:string_switch", From 5393109c4ab75f6bb830a7c41e41917f56c1954c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 09:45:09 -0700 Subject: [PATCH 102/150] bazel: remove rw/vector from generic serde library Signed-off-by: Noah Watkins --- src/v/container/BUILD | 1 + src/v/model/BUILD | 1 + src/v/serde/BUILD | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/v/container/BUILD b/src/v/container/BUILD index 20660b9052a46..662f07881e4ad 100644 --- a/src/v/container/BUILD +++ b/src/v/container/BUILD @@ -92,6 +92,7 @@ redpanda_cc_gtest( ":fragmented_vector", "//src/v/random:generators", "//src/v/serde", + "//src/v/serde:vector", "//src/v/test_utils:gtest", "@googletest//:gtest", ], diff --git a/src/v/model/BUILD b/src/v/model/BUILD index 3c419924cfeac..ddbb33777d0ab 100644 --- a/src/v/model/BUILD +++ b/src/v/model/BUILD @@ -51,6 +51,7 @@ redpanda_cc_library( "//src/v/serde:sstring", "//src/v/serde:uuid", "//src/v/serde:variant", + "//src/v/serde:vector", "//src/v/ssx:sformat", "//src/v/strings:string_switch", "//src/v/utils:named_type", diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index 00b3014e75209..08bef05a59391 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -14,7 +14,6 @@ redpanda_cc_library( "rw/rw.h", "rw/scalar.h", "rw/tags.h", - "rw/vector.h", "serde_exception.h", "serde_is_enum.h", "serde_size_t.h", From 428144715e37d746ec538a38df7d022f70696682 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 11:31:04 -0700 Subject: [PATCH 103/150] bazel: add security:config library Signed-off-by: Noah Watkins --- src/v/security/BUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/v/security/BUILD diff --git a/src/v/security/BUILD b/src/v/security/BUILD new file mode 100644 index 0000000000000..9059e6002b582 --- /dev/null +++ b/src/v/security/BUILD @@ -0,0 +1,33 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "config", + srcs = [ + "config_bsl.cc", + "config_rcl.cc", + "gssapi_rule.cc", + "logger.cc", + "mtls_rule.cc", + ], + hdrs = [ + "config.h", + "gssapi_rule.h", + "logger.h", + "mtls_rule.h", + "oidc_error.h", + "oidc_principal_mapping.h", + "oidc_url_parser.h", + ], + exclude_layering_check = True, + include_prefix = "security", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/json", + "//src/v/ssx:sformat", + "@ada", + "@boost//:algorithm", + "@fmt", + "@seastar", + ], +) From c83f8f47707036a23cdc6acfa111d41a99183b55 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Tue, 2 Jul 2024 12:25:02 -0700 Subject: [PATCH 104/150] bazel: add config library Signed-off-by: Noah Watkins --- src/v/config/BUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/v/config/BUILD diff --git a/src/v/config/BUILD b/src/v/config/BUILD new file mode 100644 index 0000000000000..2e304e60012f6 --- /dev/null +++ b/src/v/config/BUILD @@ -0,0 +1,67 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "config", + srcs = [ + "base_property.cc", + "broker_authn_endpoint.cc", + "client_group_byte_rate_quota.cc", + "configuration.cc", + "node_config.cc", + "rest_authn_endpoint.cc", + "rjson_serialization.cc", + "throughput_control_group.cc", + "tls_config.cc", + "validators.cc", + ], + hdrs = [ + "base_property.h", + "bounded_property.h", + "broker_authn_endpoint.h", + "broker_endpoint.h", + "client_group_byte_rate_quota.h", + "config_store.h", + "configuration.h", + "convert.h", + "data_directory_path.h", + "endpoint_tls_config.h", + "from_string_view.h", + "node_config.h", + "property.h", + "rest_authn_endpoint.h", + "rjson_serialization.h", + "seed_server.h", + "throughput_control_group.h", + "tls_config.h", + "types.h", + "validation_error.h", + "validators.h", + ], + include_prefix = "config", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/container:intrusive", + "//src/v/json", + "//src/v/model", + "//src/v/pandaproxy/schema_registry:config", + "//src/v/security:config", + "//src/v/serde:chrono", + "//src/v/ssx:sformat", + "//src/v/storage:config", + "//src/v/strings:string_switch", + "//src/v/strings:utf8", + "//src/v/utils:functional", + "//src/v/utils:inet_address", + "//src/v/utils:named_type", + "//src/v/utils:to_string", + "//src/v/utils:unresolved_address", + "@abseil-cpp//absl/algorithm:container", + "@abseil-cpp//absl/container:flat_hash_set", + "@boost//:filesystem", + "@boost//:lexical_cast", + "@fmt", + "@seastar", + "@yaml-cpp", + ], +) From f03a6e0f5fb237a03ad40ca944cb76b824229be1 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 19:55:51 -0700 Subject: [PATCH 105/150] bazel: add bench tag to benchmark tests Signed-off-by: Noah Watkins --- bazel/test.bzl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bazel/test.bzl b/bazel/test.bzl index 923bd85e7f27b..782598108be33 100644 --- a/bazel/test.bzl +++ b/bazel/test.bzl @@ -38,7 +38,8 @@ def _redpanda_cc_test( default_memory_gb = None, default_cores = None, extra_args = [], - custom_args = []): + custom_args = [], + tags = []): """ Helper to define a Redpanda C++ test. @@ -85,6 +86,7 @@ def _redpanda_cc_test( features = [ "layering_check", ], + tags = tags, ) def _redpanda_cc_unit_test(**kwargs): @@ -145,6 +147,9 @@ def redpanda_cc_bench( srcs = srcs, deps = deps, custom_args = args, + tags = [ + "bench", + ], ) def redpanda_cc_btest_no_seastar( From 0dece981e3fea3f8f0369a95ff128491d1b4ecc0 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 19:56:35 -0700 Subject: [PATCH 106/150] bazel: fix compression tests settings Signed-off-by: Noah Watkins --- src/v/compression/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/v/compression/BUILD b/src/v/compression/BUILD index 7add0896c2ba7..5cca7b28aabc0 100644 --- a/src/v/compression/BUILD +++ b/src/v/compression/BUILD @@ -49,6 +49,9 @@ redpanda_cc_gtest( srcs = [ "tests/lz4_buf_tests.cc", ], + # the death test doesn't seem to properly record or parse the expected + # output when there are multiple reactor threads. + args = ["-c1"], deps = [ ":compression", "//src/v/base", @@ -65,6 +68,9 @@ redpanda_cc_btest( srcs = [ "tests/zstd_tests.cc", ], + # with the default core/memory settings each core doesn't have enough memory + # for this test. by using one core it will have enough memory. + args = ["-c1"], deps = [ ":compression", "//src/v/base", From 3149a21fe7f42f0dd4b6f24b91107691052cc451 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 19:59:37 -0700 Subject: [PATCH 107/150] bazel: add some shortcuts for running tests Signed-off-by: Noah Watkins --- .bazelrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bazelrc b/.bazelrc index 21f7b747dd08d..8c2e270319f2d 100644 --- a/.bazelrc +++ b/.bazelrc @@ -65,4 +65,10 @@ build:release --linkopt=-flto build --@seastar//:openssl=True build --keep_going +# ================================= +# Testing +# ================================= +test:unit --test_tag_filters=-bench +test:bench --test_tag_filters=bench + try-import %workspace%/user.bazelrc From 14c44679975e56ab88b1d15e4adbc7f943c48a8d Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 07:14:27 -0700 Subject: [PATCH 108/150] bazel: add missing dependencies Signed-off-by: Noah Watkins --- src/v/config/BUILD | 2 ++ src/v/security/BUILD | 1 + 2 files changed, 3 insertions(+) diff --git a/src/v/config/BUILD b/src/v/config/BUILD index 2e304e60012f6..2c3e2bb14e237 100644 --- a/src/v/config/BUILD +++ b/src/v/config/BUILD @@ -58,9 +58,11 @@ redpanda_cc_library( "//src/v/utils:unresolved_address", "@abseil-cpp//absl/algorithm:container", "@abseil-cpp//absl/container:flat_hash_set", + "@abseil-cpp//absl/container:node_hash_set", "@boost//:filesystem", "@boost//:lexical_cast", "@fmt", + "@re2", "@seastar", "@yaml-cpp", ], diff --git a/src/v/security/BUILD b/src/v/security/BUILD index 9059e6002b582..92e0941146de1 100644 --- a/src/v/security/BUILD +++ b/src/v/security/BUILD @@ -28,6 +28,7 @@ redpanda_cc_library( "@ada", "@boost//:algorithm", "@fmt", + "@re2", "@seastar", ], ) From 34e92962ef20ce55a34538bc184a1e9c644faa93 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 07:27:11 -0700 Subject: [PATCH 109/150] bazel: add bracket-include hack for re2 dependency Signed-off-by: Noah Watkins --- bazel/internal.bzl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bazel/internal.bzl b/bazel/internal.bzl index bea32223a82f3..bc674e3c34629 100644 --- a/bazel/internal.bzl +++ b/bazel/internal.bzl @@ -14,10 +14,11 @@ def redpanda_copts(): # TODO Bazel prefers -iquote "path" style includes in many cases. However, # our source tree uses bracket style for dependencies. We need a way # to bridge this gap until we decide to fully switch over to Bazel at which - # point this hack can be removed. Many deps lists in the tree will probably - # need to be updated to include abseil explicitly when this is removed. + # point this hack can be removed. To deal with this we add a `-I` parameter + # for the include path of dependencies that are causing issues. copts = [] copts.append("-Iexternal/abseil-cpp~") + copts.append("-Iexternal/re2~") copts.append("-Werror") copts.append("-Wall") From 786c50058703ae8de1f1138d199beb0bfc6532e9 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 07:50:28 -0700 Subject: [PATCH 110/150] bazel: print out test errors Signed-off-by: Noah Watkins --- .bazelrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bazelrc b/.bazelrc index 8c2e270319f2d..3da966167a39e 100644 --- a/.bazelrc +++ b/.bazelrc @@ -68,6 +68,10 @@ build --keep_going # ================================= # Testing # ================================= + +# prints out combined stdout/stderr for failed tests +test --test_output=errors + test:unit --test_tag_filters=-bench test:bench --test_tag_filters=bench From 4cd0421756181c6247bddf0af1c6d5dc4942decb Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 3 Jul 2024 20:39:32 -0700 Subject: [PATCH 111/150] bazel: add github action to build with bazel Signed-off-by: Noah Watkins --- .github/workflows/build-bazel.yml | 71 +++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .github/workflows/build-bazel.yml diff --git a/.github/workflows/build-bazel.yml b/.github/workflows/build-bazel.yml new file mode 100644 index 0000000000000..8ac2cf28f1c33 --- /dev/null +++ b/.github/workflows/build-bazel.yml @@ -0,0 +1,71 @@ +# Copyright 2024 Redpanda Data, Inc. +# +# Use of this software is governed by the Business Source License +# included in the file licenses/BSL.md +# +# As of the Change Date specified in that file, in accordance with +# the Business Source License, use of this software will be governed +# by the Apache License, Version 2.0 + +name: build-bazel +on: + pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review + paths: + - 'src/v/**' + - 'bazel/**' + - 'MODULE.bazel' + - '.bazelrc' + - '.bazelversion' + - 'BUILD' + - '.github/workflows/build-bazel.yml' + +jobs: + build: + name: build redpanda with bazel + runs-on: ubuntu-latest-16 + timeout-minutes: 30 + strategy: + matrix: + os: ["fedora:38"] + container: + image: ${{ matrix.os }} + steps: + - name: checkout + uses: actions/checkout@v4 + - name: configure aws credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_SM_READONLY_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SM_READONLY_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + - name: get secrets from aws sm + uses: aws-actions/aws-secretsmanager-get-secrets@v2 + with: + secret-ids: | + ,sdlc/prod/github/bazel_cacher_gcp + parse-json-secrets: true + - name: setup user bazelrc + run: | + echo ${{ env.BAZEL_CACHER_GCP_SECRET_KEY }} | base64 --decode > ${HOME}/gcp.key.json + echo build --remote_cache=https://storage.googleapis.com/${{ env.BAZEL_CACHER_GCP_BUCKET_NAME }} > user.bazelrc + echo build --google_credentials=${HOME}/gcp.key.json >> user.bazelrc + - name: dependencies + run: bazel/install-deps.sh + - name: install baselisk + run: | + dnf install -y wget + wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 + chmod +x /usr/local/bin/bazel + - name: build thirdparty + run: | + bazel build @ada @avro @base64 @c-ares @hdrhistogram \ + @hwloc @krb5 @libpciaccess @libxml2 @lksctp @numactl @openssl \ + @openssl-fips @rapidjson @roaring @seastar @snappy \ + @unordered_dense @wasmtime @xz + - name: build + run: bazel build //... From f28c1e1b279593d72a982b4f83f5f3690b46b42c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 10:30:25 -0700 Subject: [PATCH 112/150] bazel: add third party build origin stories Signed-off-by: Noah Watkins --- bazel/thirdparty/avro.BUILD | 12 ++++++++++++ bazel/thirdparty/libpciaccess.BUILD | 4 ++++ bazel/thirdparty/numactl.BUILD | 5 +++++ bazel/thirdparty/rapidjson.BUILD | 4 ++++ bazel/thirdparty/roaring.BUILD | 4 ++++ bazel/thirdparty/seastar.BUILD | 4 ++++ bazel/thirdparty/xxhash.BUILD | 9 +++++++++ 7 files changed, 42 insertions(+) diff --git a/bazel/thirdparty/avro.BUILD b/bazel/thirdparty/avro.BUILD index 51fcb977d1a20..417879036b352 100644 --- a/bazel/thirdparty/avro.BUILD +++ b/bazel/thirdparty/avro.BUILD @@ -1,3 +1,15 @@ +# +# This build is a translation from the cmake build. The second link below is a +# cleaned up version of the first. +# +# https://github.com/redpanda-data/avro/blob/release-1.11.1-redpanda/lang/c%2B%2B/CMakeLists.txt +# https://github.com/redpanda-data/avro/blob/release-1.11.1-redpanda/redpanda_build/CMakeLists.txt +# +# All of the header gymnastics below is to work around the problem of the C++ +# implementation files including the headers without the "avro/" prefix. It +# would be feasible to add both the prefixed and non-prefixed header paths, but +# it's nice to not leak out the non-prefixed version to dependencies. +# _NON_PREFIXED_HEADERS = [ "AvroParse.hh", "AvroSerialize.hh", diff --git a/bazel/thirdparty/libpciaccess.BUILD b/bazel/thirdparty/libpciaccess.BUILD index 95ac8154b9780..11492f737c776 100644 --- a/bazel/thirdparty/libpciaccess.BUILD +++ b/bazel/thirdparty/libpciaccess.BUILD @@ -1,3 +1,7 @@ +# +# This build is a translation of the libpciaccess meson build: +# https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/2ec2576cabefef1eaa5dd9307c97de2e887fc347/meson.build +# cc_library( name = "libpciaccess", srcs = [ diff --git a/bazel/thirdparty/numactl.BUILD b/bazel/thirdparty/numactl.BUILD index a9fa84930c001..42af5f5a4ce76 100644 --- a/bazel/thirdparty/numactl.BUILD +++ b/bazel/thirdparty/numactl.BUILD @@ -1,3 +1,7 @@ +# +# This build is a translation from the official autotools-based build contained +# in the numactl source tree. +# # TODO # - inspect implementation to see what should go into config.h # - understand more if we are using versions.ldscript correctly @@ -6,6 +10,7 @@ # external/_main~_repo_rules~numactl/libnuma.c:68:2: warning: "not threadsafe" [-W#warnings] # #warning "not threadsafe" # - probably needs a header prefix +# genrule( name = "config_h", outs = ["config.h"], diff --git a/bazel/thirdparty/rapidjson.BUILD b/bazel/thirdparty/rapidjson.BUILD index c4b56ce3d11cc..72bf34159711f 100644 --- a/bazel/thirdparty/rapidjson.BUILD +++ b/bazel/thirdparty/rapidjson.BUILD @@ -1,3 +1,7 @@ +# +# This build is a translation of the header-only library cmake-based build in +# the rapidjson source tree. +# cc_library( name = "rapidjson", hdrs = glob([ diff --git a/bazel/thirdparty/roaring.BUILD b/bazel/thirdparty/roaring.BUILD index 7fd90d94a6004..d58c548f264d9 100644 --- a/bazel/thirdparty/roaring.BUILD +++ b/bazel/thirdparty/roaring.BUILD @@ -1,5 +1,9 @@ +# +# This build is a translation of the CRoaring cmake-based build. +# # TODO # - Take a closer look at compile options that control cpu features. +# cc_library( name = "roaring", diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 011c3db94e36c..788b88e52f83f 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -1,3 +1,7 @@ +# +# This build is a translation of Seastar's official cmake-based build. +# + load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "int_flag") load("@rules_proto//proto:defs.bzl", "proto_library") load("@rules_python//python:defs.bzl", "py_binary") diff --git a/bazel/thirdparty/xxhash.BUILD b/bazel/thirdparty/xxhash.BUILD index e00de84e6f0a8..a3351c2176834 100644 --- a/bazel/thirdparty/xxhash.BUILD +++ b/bazel/thirdparty/xxhash.BUILD @@ -1,3 +1,12 @@ +# +# This build is adapted from the xxhash build in bazel central repository, but +# updated with `includes` to include `.` so that bracket-style includes will +# work in Redpanda. The cmake build in the xxhash source tree looks similar. +# +# TODO once cmake is removed from Redpanda we can switch everything over to the +# default quoted include paths and remove the `includes` parameter here. +# + cc_library( name = "xxhash", srcs = [ From 79739bcc3ad59e7c87cb5fa612d2265fa8e4a099 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 10:40:27 -0700 Subject: [PATCH 113/150] bazel: add stack-clash-protection flag to seastar Signed-off-by: Noah Watkins --- bazel/thirdparty/seastar.BUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 788b88e52f83f..8f49d679e964f 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -6,6 +6,11 @@ load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "int_flag") load("@rules_proto//proto:defs.bzl", "proto_library") load("@rules_python//python:defs.bzl", "py_binary") +bool_flag( + name = "stack_guards", + build_setting_default = False, +) + bool_flag( name = "task_backtrace", build_setting_default = False, @@ -81,6 +86,13 @@ int_flag( make_variable = "SCHEDULING_GROUPS", ) +config_setting( + name = "use_stack_guards", + flag_values = { + ":stack_guards": "true", + }, +) + config_setting( name = "use_sstring", flag_values = { @@ -545,6 +557,10 @@ cc_library( "include/seastar/util/variant_utils.hh", "include/seastar/websocket/server.hh", ], + copts = select({ + ":use_stack_guards": ["-fstack-clash-protection"], + "//conditions:default": [], + }), defines = [ "BOOST_TEST_DYN_LINK", "BOOST_TEST_NO_LIB", @@ -596,6 +612,9 @@ cc_library( }) + select({ ":with_shuffle_task_queue": ["SEASTAR_SHUFFLE_TASK_QUEUE"], "//conditions:default": [], + }) + select({ + ":use_stack_guards": ["SEASTAR_THREAD_STACK_GUARDS"], + "//conditions:default": [], }), toolchains = [ ":api_level", From 611c3a4a828c342a953d2ebccef6ff3d96feb320 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 12:18:25 -0700 Subject: [PATCH 114/150] bazel: use native build for unordered_dense Signed-off-by: Noah Watkins --- bazel/thirdparty/rapidjson.BUILD | 1 + bazel/thirdparty/unordered_dense.BUILD | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/bazel/thirdparty/rapidjson.BUILD b/bazel/thirdparty/rapidjson.BUILD index 72bf34159711f..25116f94e1ce9 100644 --- a/bazel/thirdparty/rapidjson.BUILD +++ b/bazel/thirdparty/rapidjson.BUILD @@ -2,6 +2,7 @@ # This build is a translation of the header-only library cmake-based build in # the rapidjson source tree. # + cc_library( name = "rapidjson", hdrs = glob([ diff --git a/bazel/thirdparty/unordered_dense.BUILD b/bazel/thirdparty/unordered_dense.BUILD index b4508c26acb7d..a6fba7d416529 100644 --- a/bazel/thirdparty/unordered_dense.BUILD +++ b/bazel/thirdparty/unordered_dense.BUILD @@ -1,14 +1,14 @@ -load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") +# +# This build is a translation of the header-only library cmake-based build in +# the unordered_dense source tree. +# -filegroup( - name = "srcs", - srcs = glob(["**"]), -) - -cmake( +cc_library( name = "unordered_dense", - lib_source = ":srcs", - out_headers_only = True, + hdrs = [ + "include/ankerl/unordered_dense.h", + ], + strip_include_prefix = "include", visibility = [ "//visibility:public", ], From c9ad3c5e3f9b65078b0087d26bf35b4108165770 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 12:21:04 -0700 Subject: [PATCH 115/150] bazel: document cc_test tags parameter Signed-off-by: Noah Watkins --- bazel/test.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/bazel/test.bzl b/bazel/test.bzl index 782598108be33..9d4d621b525fa 100644 --- a/bazel/test.bzl +++ b/bazel/test.bzl @@ -53,6 +53,7 @@ def _redpanda_cc_test( default_cores: default seastar cores extra_args: arguments from test wrappers custom_args: arguments from cc_test users + tags: tags to attach to the cc_test target """ common_args = [ "--blocked-reactor-notify-ms 2000000", From fd0708b143780baeaf5a58e6a9cc56e238bb5d2b Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Thu, 4 Jul 2024 12:26:42 -0700 Subject: [PATCH 116/150] bazel: add lint checker to github action Signed-off-by: Noah Watkins --- .github/workflows/build-bazel.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-bazel.yml b/.github/workflows/build-bazel.yml index 8ac2cf28f1c33..e810b8c17493b 100644 --- a/.github/workflows/build-bazel.yml +++ b/.github/workflows/build-bazel.yml @@ -61,6 +61,8 @@ jobs: dnf install -y wget wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 chmod +x /usr/local/bin/bazel + - name: buildifier check + run: bazel run //tools:buildifier.check - name: build thirdparty run: | bazel build @ada @avro @base64 @c-ares @hdrhistogram \ From a328dd2cd136b590efe9d57b9a65fd49cf557477 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 06:32:27 -0700 Subject: [PATCH 117/150] bazel: add ssx:semaphore library Signed-off-by: Noah Watkins --- src/v/ssx/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 6a55872180079..5e5fbabfd995a 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -36,6 +36,18 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "semaphore", + hdrs = [ + "include/ssx/semaphore.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "@seastar", + ], +) + redpanda_cc_btest( name = "future-util_test", timeout = "short", From fa58be858c8325f9f26a37629ce9cdfc754fd869 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 07:10:44 -0700 Subject: [PATCH 118/150] bazel: add utils:memory_data_source library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 6514ae28649a0..1035688af3ea4 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -49,6 +49,19 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "memory_data_source", + hdrs = [ + "memory_data_source.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "@seastar", + ], +) + redpanda_cc_library( name = "static_deleter_fn", hdrs = [ From 0b791cf0f9ca7a092254a25a636abe9a746b67f7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 07:10:10 -0700 Subject: [PATCH 119/150] bazel: add io library Signed-off-by: Noah Watkins --- src/v/io/BUILD | 182 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 src/v/io/BUILD diff --git a/src/v/io/BUILD b/src/v/io/BUILD new file mode 100644 index 0000000000000..99fdea293caf2 --- /dev/null +++ b/src/v/io/BUILD @@ -0,0 +1,182 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_gtest") + +redpanda_cc_library( + name = "io", + srcs = [ + "io_queue.cc", + "logger.cc", + "logger.h", + "page.cc", + "page_cache.cc", + "page_set.cc", + "pager.cc", + "paging_data_source.cc", + "persistence.cc", + "scheduler.cc", + ], + hdrs = [ + "include/io/cache.h", + "include/io/interval_map.h", + "include/io/io_queue.h", + "include/io/page.h", + "include/io/page_cache.h", + "include/io/page_set.h", + "include/io/pager.h", + "include/io/paging_data_source.h", + "include/io/persistence.h", + "include/io/scheduler.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/container:intrusive", + "//src/v/ssx:future-util", + "//src/v/ssx:semaphore", + "@abseil-cpp//absl/container:btree", + "@abseil-cpp//absl/container:flat_hash_map", + "@boost//:intrusive", + "@boost//:iterator", + "@fmt", + "@seastar", + ], +) + +redpanda_cc_library( + name = "testing", + srcs = ["tests/common.cc"], + hdrs = ["tests/common.h"], + include_prefix = "io", + visibility = ["//visibility:private"], + deps = [ + ":io", + "//src/v/base", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@abseil-cpp//absl/strings", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "common_test", + timeout = "short", + srcs = ["tests/common_test.cc"], + deps = [ + ":testing", + "//src/v/base", + "//src/v/utils:memory_data_source", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "cache_test", + timeout = "short", + srcs = ["tests/cache_test.cc"], + deps = [ + ":io", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "interval_map_test", + timeout = "short", + srcs = ["tests/interval_map_test.cc"], + deps = [ + ":io", + ":testing", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "persistence_test", + timeout = "moderate", + srcs = ["tests/persistence_test.cc"], + deps = [ + ":io", + ":testing", + "//src/v/base", + "//src/v/test_utils:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "page_test", + timeout = "short", + srcs = ["tests/page_test.cc"], + deps = [ + ":io", + ":testing", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "page_set_test", + timeout = "short", + srcs = ["tests/page_set_test.cc"], + deps = [ + ":io", + ":testing", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "io_queue_test", + timeout = "moderate", + srcs = ["tests/io_queue_test.cc"], + # scheduler test is memory hungary since it track copies of all dispatched + # and completed ios. scaling down cpus give each core more breathing room. + args = ["-c2"], + deps = [ + ":io", + ":testing", + "//src/v/base", + "//src/v/random:generators", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "scheduler_test", + timeout = "moderate", + srcs = ["tests/scheduler_test.cc"], + # scheduler test is memory hungary since it track copies of all dispatched + # and completed ios. scaling down cpus give each core more breathing room. + args = ["-c2"], + deps = [ + ":io", + ":testing", + "//src/v/base", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@boost//:range", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "pager_test", + timeout = "short", + srcs = ["tests/pager_test.cc"], + deps = [ + ":io", + ":testing", + "//src/v/base", + "//src/v/test_utils:gtest", + "//src/v/utils:memory_data_source", + "@boost//:range", + "@seastar", + ], +) From 03fce3705b337a8711ccec7fe15b2c1b3e4ca74f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 7 Jul 2024 15:33:05 -0700 Subject: [PATCH 120/150] bazel: add missing deps to reflection library Signed-off-by: Noah Watkins --- src/v/reflection/BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v/reflection/BUILD b/src/v/reflection/BUILD index b68d1dfe1395a..779e479f5006a 100644 --- a/src/v/reflection/BUILD +++ b/src/v/reflection/BUILD @@ -37,8 +37,10 @@ redpanda_cc_library( ":to_tuple", "//src/v/bytes:iobuf", "//src/v/bytes:iobuf_parser", + "//src/v/container:fragmented_vector", "//src/v/ssx:future-util", "//src/v/utils:named_type", "//src/v/utils:tristate", + "@abseil-cpp//absl/container:btree", ], ) From 71fbdd083f8a133f97a2b212ca3a22097cf538fa Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:20:48 -0700 Subject: [PATCH 121/150] bazel: add utils:mutex library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 1035688af3ea4..4fa5c3c25b38f 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -62,6 +62,19 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "mutex", + hdrs = [ + "mutex.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/ssx:semaphore", + ], +) + redpanda_cc_library( name = "static_deleter_fn", hdrs = [ From d6e47599406dc32094800683b7419eddae550a36 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:26:54 -0700 Subject: [PATCH 122/150] bazel: add utils:human library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 4fa5c3c25b38f..2f0f00df85419 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -120,6 +120,22 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "human", + srcs = [ + "human.cc", + ], + hdrs = [ + "human.h", + ], + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "@seastar", + ], +) + redpanda_cc_library( name = "unresolved_address", hdrs = [ @@ -291,3 +307,19 @@ redpanda_cc_bench( "@seastar//:benchmark", ], ) + +redpanda_cc_btest_no_seastar( + name = "human_test", + timeout = "short", + srcs = [ + "tests/human_test.cc", + ], + defines = [ + "BOOST_TEST_MODULE=human", + ], + deps = [ + ":human", + "@boost//:test", + "@fmt", + ], +) From b06999afd9c8ef2724f91182f99410b838c31ad6 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:27:01 -0700 Subject: [PATCH 123/150] bazel: add utils:hdr_hist library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 2f0f00df85419..9f95db0ec994d 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -148,6 +148,28 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "hdr_hist", + srcs = [ + "hdr_hist.cc", + ], + hdrs = [ + "hdr_hist.h", + ], + exclude_layering_check = True, + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + ":human", + ":static_deleter_fn", + "//src/v/base", + "@boost//:intrusive", + "@fmt", + "@hdrhistogram", + "@seastar", + ], +) + redpanda_cc_library( name = "uuid", srcs = [ From 2652fb4674f52b753afbc12513d32e8a79c96ac1 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:34:45 -0700 Subject: [PATCH 124/150] bazel: add ssx:abort_source library Signed-off-by: Noah Watkins --- src/v/ssx/BUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 5e5fbabfd995a..660a404755bfc 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -48,6 +48,19 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "abort_source", + hdrs = [ + "include/ssx/abort_source.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "@seastar", + ], +) + redpanda_cc_btest( name = "future-util_test", timeout = "short", @@ -93,3 +106,19 @@ redpanda_cc_btest( "@seastar//:testing", ], ) + +redpanda_cc_btest( + name = "abort_source_test", + timeout = "short", + srcs = [ + "tests/abort_source_test.cc", + ], + deps = [ + ":abort_source", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + "@seastar//:testing", + ], +) From 1a626463d8da9b5316ec395a59e00f27c83d6c0c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:34:54 -0700 Subject: [PATCH 125/150] bazel: add utils:log_hist library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 9f95db0ec994d..5566fdb1142b7 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -170,6 +170,23 @@ redpanda_cc_library( ], ) +redpanda_cc_library( + name = "log_hist", + srcs = [ + "log_hist.cc", + ], + hdrs = [ + "log_hist.h", + ], + exclude_layering_check = True, + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/container:fragmented_vector", + "//src/v/reflection:adl", + ], +) + redpanda_cc_library( name = "uuid", srcs = [ From d2e3911088deac655b4a4ea0c7ac0c977aabeb99 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:26:39 -0700 Subject: [PATCH 126/150] bazel: add metrics library Signed-off-by: Noah Watkins --- src/v/metrics/BUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/v/metrics/BUILD diff --git a/src/v/metrics/BUILD b/src/v/metrics/BUILD new file mode 100644 index 0000000000000..f892e95d3eda5 --- /dev/null +++ b/src/v/metrics/BUILD @@ -0,0 +1,25 @@ +load("//bazel:build.bzl", "redpanda_cc_library") + +redpanda_cc_library( + name = "metrics", + srcs = [ + "metrics.cc", + "metrics_registry.cc", + ], + hdrs = [ + "aggregate_metrics_watcher.h", + "metrics.h", + "metrics_registry.h", + "prometheus_sanitize.h", + ], + include_prefix = "metrics", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/config", + "//src/v/ssx:sformat", + "//src/v/utils:hdr_hist", + "@abseil-cpp//absl/container:flat_hash_map", + "@seastar", + ], +) From 47b1f9ce14b107c96e7079e35b28f25d87a2cefc Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 7 Jul 2024 11:52:11 -0700 Subject: [PATCH 127/150] bazel: add missing config header Signed-off-by: Noah Watkins --- src/v/config/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v/config/BUILD b/src/v/config/BUILD index 2c3e2bb14e237..bcb6afed2a394 100644 --- a/src/v/config/BUILD +++ b/src/v/config/BUILD @@ -26,6 +26,7 @@ redpanda_cc_library( "data_directory_path.h", "endpoint_tls_config.h", "from_string_view.h", + "mock_property.h", "node_config.h", "property.h", "rest_authn_endpoint.h", From bc92998817961da59b40e366cabef1fc577156b0 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 7 Jul 2024 11:52:58 -0700 Subject: [PATCH 128/150] bazel: add missing test_utils headers Signed-off-by: Noah Watkins --- src/v/test_utils/BUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/v/test_utils/BUILD b/src/v/test_utils/BUILD index 9f80dec197d50..684039b020f56 100644 --- a/src/v/test_utils/BUILD +++ b/src/v/test_utils/BUILD @@ -34,6 +34,9 @@ redpanda_cc_library( "seastar_testing_main.cc", ], hdrs = [ + "async.h", + "fixture.h", + "test_macros.h", ], include_prefix = "test_utils", visibility = ["//visibility:public"], From fe2a1a071cb6e8a8e012f6ec8dfcaa2bf5488c0f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 17:09:51 -0700 Subject: [PATCH 129/150] bazel: add missing header to base library Signed-off-by: Noah Watkins --- src/v/base/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v/base/BUILD b/src/v/base/BUILD index 9451dacc17986..476618f68bceb 100644 --- a/src/v/base/BUILD +++ b/src/v/base/BUILD @@ -7,6 +7,7 @@ redpanda_cc_library( "include/base/likely.h", "include/base/oncore.h", "include/base/outcome.h", + "include/base/outcome_future_utils.h", "include/base/seastarx.h", "include/base/source_location.h", "include/base/type_traits.h", From 901d957b0ab282311c4a2f85cfa29cff6314b15f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 11:17:43 -0700 Subject: [PATCH 130/150] bazel: add net library Signed-off-by: Noah Watkins --- src/v/net/BUILD | 119 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 src/v/net/BUILD diff --git a/src/v/net/BUILD b/src/v/net/BUILD new file mode 100644 index 0000000000000..974f448073955 --- /dev/null +++ b/src/v/net/BUILD @@ -0,0 +1,119 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_library( + name = "net", + srcs = [ + "batched_output_stream.cc", + "conn_quota.cc", + "connection.cc", + "dns.cc", + "probes.cc", + "server.cc", + "tls.cc", + "transport.cc", + ], + hdrs = [ + "include/net/batched_output_stream.h", + "include/net/client_probe.h", + "include/net/conn_quota.h", + "include/net/connection.h", + "include/net/connection_rate.h", + "include/net/connection_rate_counter.h", + "include/net/dns.h", + "include/net/exceptions.h", + "include/net/fwd.h", + "include/net/server.h", + "include/net/server_probe.h", + "include/net/tls.h", + "include/net/tls_certificate_probe.h", + "include/net/transport.h", + "include/net/types.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/bytes", + "//src/v/config", + "//src/v/hashing:crc32c", + "//src/v/hashing:xx", + "//src/v/metrics", + "//src/v/ssx:abort_source", + "//src/v/ssx:future-util", + "//src/v/ssx:semaphore", + "//src/v/ssx:sformat", + "//src/v/utils:inet_address", + "//src/v/utils:log_hist", + "//src/v/utils:mutex", + "//src/v/utils:unresolved_address", + "@abseil-cpp//absl/container:flat_hash_map", + "@abseil-cpp//absl/hash", + "@boost//:intrusive", + "@boost//:lexical_cast", + "@fmt", + "@seastar", + ], +) + +redpanda_cc_btest( + name = "connection_rate_test", + timeout = "short", + srcs = [ + "tests/connection_rate_test.cc", + ], + deps = [ + ":net", + "//src/v/base", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "conn_quota_test", + timeout = "short", + srcs = [ + "tests/conn_quota_test.cc", + ], + deps = [ + ":net", + "//src/v/base", + "//src/v/config", + "//src/v/test_utils:seastar_boost", + "@boost//:range", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "dns_test", + timeout = "short", + srcs = [ + "tests/dns.cc", + ], + deps = [ + ":net", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:unresolved_address", + "@boost//:test", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "connection_test", + timeout = "short", + srcs = [ + "tests/connection.cc", + ], + deps = [ + ":net", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + ], +) From 347fec74d274d3932f177a17cd21015aee27daa0 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 6 Jul 2024 16:57:48 -0700 Subject: [PATCH 131/150] bazel: add rpc library Signed-off-by: Noah Watkins --- src/v/rpc/BUILD | 143 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) diff --git a/src/v/rpc/BUILD b/src/v/rpc/BUILD index b0ca76eed7b78..b03c559f328ee 100644 --- a/src/v/rpc/BUILD +++ b/src/v/rpc/BUILD @@ -1,4 +1,7 @@ load("@rules_python//python:defs.bzl", "py_binary") +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_btest") +load("//src/v/rpc:compiler.bzl", "redpanda_cc_rpc_library") py_binary( name = "compiler", @@ -9,3 +12,143 @@ py_binary( "@python_deps//jinja2", ], ) + +redpanda_cc_library( + name = "rpc", + srcs = [ + "connection_cache.cc", + "connection_set.cc", + "netbuf.cc", + "reconnect_transport.cc", + "rpc_server.cc", + "rpc_utils.cc", + "transport.cc", + "types.cc", + ], + hdrs = [ + "include/rpc/backoff_policy.h", + "include/rpc/connection_cache.h", + "include/rpc/connection_set.h", + "include/rpc/errc.h", + "include/rpc/exceptions.h", + "include/rpc/fwd.h", + "include/rpc/logger.h", + "include/rpc/parse_utils.h", + "include/rpc/reconnect_transport.h", + "include/rpc/response_handler.h", + "include/rpc/rpc_server.h", + "include/rpc/rpc_utils.h", + "include/rpc/service.h", + "include/rpc/transport.h", + "include/rpc/types.h", + ], + strip_include_prefix = "include", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/bytes:iobuf", + "//src/v/bytes:iostream", + "//src/v/bytes:scattered_message", + "//src/v/compression", + "//src/v/config", + "//src/v/hashing:crc32c", + "//src/v/hashing:xx", + "//src/v/metrics", + "//src/v/model", + "//src/v/net", + "//src/v/reflection:adl", + "//src/v/serde", + "//src/v/ssx:future-util", + "//src/v/ssx:semaphore", + "//src/v/ssx:sformat", + "//src/v/utils:log_hist", + "//src/v/utils:mutex", + "//src/v/utils:named_type", + "//src/v/utils:to_string", + "//src/v/utils:unresolved_address", + "@abseil-cpp//absl/container:btree", + "@abseil-cpp//absl/container:flat_hash_map", + "@abseil-cpp//absl/container:flat_hash_set", + "@fmt", + "@seastar", + ], +) + +redpanda_cc_btest( + name = "netbuf_test", + timeout = "short", + srcs = [ + "test/netbuf_tests.cc", + "test/test_types.h", + ], + deps = [ + ":rpc", + "//src/v/bytes:iobuf", + "//src/v/test_utils:seastar_boost", + "@fmt", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "roundtrip_test", + timeout = "short", + srcs = [ + "test/roundtrip_tests.cc", + "test/test_types.h", + ], + deps = [ + "//src/v/bytes:iobuf", + "//src/v/reflection:adl", + "//src/v/test_utils:seastar_boost", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "response_handler_test", + timeout = "short", + srcs = [ + "test/response_handler_tests.cc", + ], + deps = [ + ":rpc", + "//src/v/ssx:semaphore", + "//src/v/test_utils:seastar_boost", + "@seastar", + ], +) + +redpanda_cc_btest( + name = "serialization_test", + timeout = "short", + srcs = [ + "test/serialization_test.cc", + "test/test_types.h", + ], + deps = [ + "//src/v/bytes:iobuf", + "//src/v/reflection:adl", + "//src/v/reflection:arity", + "//src/v/test_utils:seastar_boost", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_rpc_library( + name = "cycling_rpc", + src = "test/cycling_service.json", +) + +redpanda_cc_rpc_library( + name = "echo_rpc", + src = "test/echo_service.json", +) + +redpanda_cc_rpc_library( + name = "echo_v2_rpc", + src = "test/echo_v2_service.json", +) From 219b14c67c1e3ea162dac610bdfd2cc4ac8664d8 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sun, 7 Jul 2024 18:28:12 -0700 Subject: [PATCH 132/150] bazel: add missing dependencies Signed-off-by: Noah Watkins --- src/v/net/BUILD | 1 + src/v/rpc/BUILD | 1 + 2 files changed, 2 insertions(+) diff --git a/src/v/net/BUILD b/src/v/net/BUILD index 974f448073955..29606c71838fa 100644 --- a/src/v/net/BUILD +++ b/src/v/net/BUILD @@ -48,6 +48,7 @@ redpanda_cc_library( "//src/v/utils:mutex", "//src/v/utils:unresolved_address", "@abseil-cpp//absl/container:flat_hash_map", + "@abseil-cpp//absl/container:node_hash_map", "@abseil-cpp//absl/hash", "@boost//:intrusive", "@boost//:lexical_cast", diff --git a/src/v/rpc/BUILD b/src/v/rpc/BUILD index b03c559f328ee..f6836612e289c 100644 --- a/src/v/rpc/BUILD +++ b/src/v/rpc/BUILD @@ -69,6 +69,7 @@ redpanda_cc_library( "@abseil-cpp//absl/container:btree", "@abseil-cpp//absl/container:flat_hash_map", "@abseil-cpp//absl/container:flat_hash_set", + "@boost//:crc", "@fmt", "@seastar", ], From b6ba4c96de12311b8a60867954da4e5bcbeda7e6 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 07:13:10 -0700 Subject: [PATCH 133/150] bazel: add some sandbox isolation improvements Signed-off-by: Noah Watkins --- .bazelrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.bazelrc b/.bazelrc index 3da966167a39e..90c6fcadc53db 100644 --- a/.bazelrc +++ b/.bazelrc @@ -65,6 +65,14 @@ build:release --linkopt=-flto build --@seastar//:openssl=True build --keep_going +# prevent actions and tests from using the network. anything that needs to +# opt-out (e.g. a network test) can use `tags=["requires-network"]`. +build --sandbox_default_allow_network=false + +# prevent certain environment variables (e.g. PATH and LD_LIBRARY_PATH) from +# leaking into the build. +build --incompatible_strict_action_env + # ================================= # Testing # ================================= From 86f4e30e2abfdc9eaf3e4ed6cb427ffe461aa8c7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 07:13:23 -0700 Subject: [PATCH 134/150] bazel: warning on test timeout mismatch The argument for this flag is that a test with a long time out compared to its actual runtime may end up masking a real problem later on if the test is really expected to run for a shorter amount of time. Signed-off-by: Noah Watkins --- .bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bazelrc b/.bazelrc index 90c6fcadc53db..46595b1edceb5 100644 --- a/.bazelrc +++ b/.bazelrc @@ -80,6 +80,9 @@ build --incompatible_strict_action_env # prints out combined stdout/stderr for failed tests test --test_output=errors +# warn if a timeout is much longer than actual runtime +test --test_verbose_timeout_warnings + test:unit --test_tag_filters=-bench test:bench --test_tag_filters=bench From 73de59c036303b1789d241b1c3de99af40ff9ac0 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 15:36:03 -0700 Subject: [PATCH 135/150] bazel: run ci on upstream/dev Signed-off-by: Noah Watkins --- .github/workflows/build-bazel.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-bazel.yml b/.github/workflows/build-bazel.yml index e810b8c17493b..f6df4200bf9c3 100644 --- a/.github/workflows/build-bazel.yml +++ b/.github/workflows/build-bazel.yml @@ -9,6 +9,9 @@ name: build-bazel on: + push: + branches: + - dev pull_request: types: - opened From ef3055e05813a4eac1d90f24638ffeb28c98b422 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 18:07:47 -0700 Subject: [PATCH 136/150] bazel: add support for json chunked_buffer.h Signed-off-by: Noah Watkins --- src/v/json/BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v/json/BUILD b/src/v/json/BUILD index f079f64ba5a9d..e8ce054166e39 100644 --- a/src/v/json/BUILD +++ b/src/v/json/BUILD @@ -9,6 +9,7 @@ redpanda_cc_library( hdrs = [ "_include_first.h", "allocator.h", + "chunked_buffer.h", "document.h", "encodings.h", "istreamwrapper.h", @@ -29,6 +30,7 @@ redpanda_cc_library( visibility = ["//visibility:public"], deps = [ "//src/v/base", + "//src/v/bytes:iobuf", "//src/v/serde", "//src/v/utils:named_type", "//src/v/utils:unresolved_address", From 7c0a3855addebc292476b0e3b7561da0ea5ef5ea Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 19:41:51 -0700 Subject: [PATCH 137/150] bazel: remove unused security options Signed-off-by: Noah Watkins --- .bazelrc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.bazelrc b/.bazelrc index 46595b1edceb5..8d1a623463abf 100644 --- a/.bazelrc +++ b/.bazelrc @@ -28,9 +28,6 @@ build:sanitizer --@seastar//:system_allocator=True # ================================= # Security # ================================= -build:cfi --copt -fsanitize=cfi -build:cfi --copt -fvisibility=hidden -build:cfi --copt -flto # fortify source requires a high optimization level. when using this feature add # `--copt -O2` or combine with a compilation mode like `-c opt`. the default @@ -39,7 +36,6 @@ build:cfi --copt -flto build:fortify-source --copt -U_FORTIFY_SOURCE build:fortify-source --copt -D_FORTIFY_SOURCE=2 -build:safe-stack --copt -fsanitize=safe-stack build:stack-clash --copt -fstack-clash-protection build:stack-protector --copt -fstack-protector-strong build:relro --copt -fno-plt @@ -50,9 +46,6 @@ build:secure --config=fortify-source build:secure --config=stack-clash build:secure --config=stack-protector build:secure --config=relro -# Cannot enable until all external deps support -#build:secure --config=cfi -#build:secure --config=safe-stack # ================================= # Release @@ -73,6 +66,8 @@ build --sandbox_default_allow_network=false # leaking into the build. build --incompatible_strict_action_env +build --workspace_status_command=%workspace%/bazel/workspace_status.sh + # ================================= # Testing # ================================= From f626e116cda5b4197ad7cc7356da26948f9b4694 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 19:42:09 -0700 Subject: [PATCH 138/150] bazel: add workspace status helper for versioning Collects the same Git version information as the CMake build and stashes it away in the volatile/stable-status.txt files to be available to cc_binary and genrule. Signed-off-by: Noah Watkins --- .bazelrc | 2 +- bazel/workspace_status.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100755 bazel/workspace_status.sh diff --git a/.bazelrc b/.bazelrc index 8d1a623463abf..6c37cc45d961e 100644 --- a/.bazelrc +++ b/.bazelrc @@ -66,7 +66,7 @@ build --sandbox_default_allow_network=false # leaking into the build. build --incompatible_strict_action_env -build --workspace_status_command=%workspace%/bazel/workspace_status.sh +build --workspace_status_command=bazel/workspace_status.sh # ================================= # Testing diff --git a/bazel/workspace_status.sh b/bazel/workspace_status.sh new file mode 100755 index 0000000000000..407d9493ed351 --- /dev/null +++ b/bazel/workspace_status.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -eo pipefail + +git_version=$(git describe --always --match=v*) +echo "GIT_VERSION ${git_version}" + +git_sha1=$(git rev-parse HEAD) +echo "GIT_SHA1 ${git_sha1}" + +if git diff-index --quiet HEAD --; then + echo "GIT_CLEAN_DIRTY " +else + echo "GIT_CLEAN_DIRTY -dirty" +fi From 5e7d428a167bcf6b7738e8e806b99a59f8a44ebc Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Mon, 8 Jul 2024 21:20:45 -0700 Subject: [PATCH 139/150] bazel: disable workspace status Signed-off-by: Noah Watkins --- .bazelrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index 6c37cc45d961e..ea5b006d1ce05 100644 --- a/.bazelrc +++ b/.bazelrc @@ -66,7 +66,10 @@ build --sandbox_default_allow_network=false # leaking into the build. build --incompatible_strict_action_env -build --workspace_status_command=bazel/workspace_status.sh +# disabling until we are able to address the issue with GHA checkout into +# container resulting in a Git repository that doesn't seems to cause errors +# https://github.com/actions/checkout/issues/363 +#build --workspace_status_command=bazel/workspace_status.sh # ================================= # Testing From 24f20799cc51bcbc635a4c549cd2b81a8d3309c6 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 07:00:11 -0700 Subject: [PATCH 140/150] bazel: clarify wording on openssl version requirements Co-authored-by: Mike Boquard --- bazel/repositories.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index a3f701a67ab17..6976edde7295a 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -100,7 +100,7 @@ def data_dependency(): # ** IMPORTANT - OpenSSL and FIPS ** # # Below there are two OpenSSL archives that are retrieved. The first, named - # simply "openssl", may reference any version of OpenSSL that is desired. + # simply "openssl", may reference any desired version of OpenSSL 3.0.0 and above. # # The second archive retrieved is named "openssl-fips", and *MUST* reference # the specific version of OpenSSL, 3.0.9, which is the latest FIPS approved From 4d952e08e408c231d3ca26a77da78635c6cecd7e Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 07:06:40 -0700 Subject: [PATCH 141/150] bazel: update module lock file The hash changed when a previous commit altered a comment. Signed-off-by: Noah Watkins --- MODULE.bazel.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index f29bd458b8e71..b48df307af8a3 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -116,7 +116,7 @@ "moduleExtensions": { "//bazel:extensions.bzl%non_module_dependencies": { "general": { - "bzlTransitiveDigest": "a72e4ALcji2RGOJvJ4dDpXN/55qa2jQuSgxMhRaSPZI=", + "bzlTransitiveDigest": "wnCt6KM0CyB3qam7pg/kCIpBkl2mA0gXjh1JxACuXYU=", "usagesDigest": "bsXDsdl5Gq0iZDf6R9bhf3oHUM35HAGF1usXoFeQrF0=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, From 69699d0270c70f4af547fc21866a193cb6994fd7 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 07:37:24 -0700 Subject: [PATCH 142/150] bazel: update ubuntu:noble deps Signed-off-by: Noah Watkins --- bazel/install-deps.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazel/install-deps.sh b/bazel/install-deps.sh index 2dabd5b9783e5..62774005349fc 100755 --- a/bazel/install-deps.sh +++ b/bazel/install-deps.sh @@ -39,6 +39,7 @@ deb_deps=( cargo rustc bison + pkgconf ) fedora_deps=( @@ -63,6 +64,7 @@ case "$ID" in ubuntu | debian | pop) apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y "${deb_deps[@]}" + which clang-16 || apt install -y clang-16 if [[ $CLEAN_PKG_CACHE == true ]]; then rm -rf /var/lib/apt/lists/* fi From b7ceb49971a734a4fff243bbffcd198c47325602 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 07:40:37 -0700 Subject: [PATCH 143/150] bazel: run gha build with ubuntu:noble Signed-off-by: Noah Watkins --- .github/workflows/build-bazel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-bazel.yml b/.github/workflows/build-bazel.yml index f6df4200bf9c3..f14b6823b3ff0 100644 --- a/.github/workflows/build-bazel.yml +++ b/.github/workflows/build-bazel.yml @@ -34,7 +34,7 @@ jobs: timeout-minutes: 30 strategy: matrix: - os: ["fedora:38"] + os: ["fedora:38", "ubuntu:noble"] container: image: ${{ matrix.os }} steps: @@ -61,7 +61,7 @@ jobs: run: bazel/install-deps.sh - name: install baselisk run: | - dnf install -y wget + dnf install -y wget || apt install -y wget wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 chmod +x /usr/local/bin/bazel - name: buildifier check From be1d2d90a0a7fc375b06a63e4737bb19603a00dd Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 14:04:09 -0700 Subject: [PATCH 144/150] bazel: move tests into separate package Signed-off-by: Noah Watkins --- src/v/base/BUILD | 12 --- src/v/base/tests/BUILD | 12 +++ src/v/bytes/BUILD | 58 -------------- src/v/bytes/tests/BUILD | 58 ++++++++++++++ src/v/compression/BUILD | 53 ------------- src/v/compression/tests/BUILD | 53 +++++++++++++ src/v/container/BUILD | 122 ----------------------------- src/v/container/tests/BUILD | 123 +++++++++++++++++++++++++++++ src/v/crypto/BUILD | 71 ----------------- src/v/crypto/tests/BUILD | 73 ++++++++++++++++++ src/v/hashing/BUILD | 25 ------ src/v/hashing/tests/BUILD | 25 ++++++ src/v/io/BUILD | 139 --------------------------------- src/v/io/tests/BUILD | 140 ++++++++++++++++++++++++++++++++++ src/v/json/BUILD | 16 ---- src/v/json/tests/BUILD | 16 ++++ src/v/net/BUILD | 63 --------------- src/v/net/tests/BUILD | 63 +++++++++++++++ src/v/random/BUILD | 17 ----- src/v/random/tests/BUILD | 17 +++++ src/v/rpc/BUILD | 81 -------------------- src/v/rpc/test/BUILD | 81 ++++++++++++++++++++ src/v/ssx/BUILD | 63 --------------- src/v/ssx/tests/BUILD | 63 +++++++++++++++ src/v/strings/BUILD | 15 ---- src/v/strings/tests/BUILD | 15 ++++ src/v/utils/BUILD | 135 -------------------------------- src/v/utils/tests/BUILD | 135 ++++++++++++++++++++++++++++++++ 28 files changed, 874 insertions(+), 870 deletions(-) create mode 100644 src/v/base/tests/BUILD create mode 100644 src/v/bytes/tests/BUILD create mode 100644 src/v/compression/tests/BUILD create mode 100644 src/v/container/tests/BUILD create mode 100644 src/v/crypto/tests/BUILD create mode 100644 src/v/hashing/tests/BUILD create mode 100644 src/v/io/tests/BUILD create mode 100644 src/v/json/tests/BUILD create mode 100644 src/v/net/tests/BUILD create mode 100644 src/v/random/tests/BUILD create mode 100644 src/v/rpc/test/BUILD create mode 100644 src/v/ssx/tests/BUILD create mode 100644 src/v/strings/tests/BUILD create mode 100644 src/v/utils/tests/BUILD diff --git a/src/v/base/BUILD b/src/v/base/BUILD index 476618f68bceb..1c39a95383aac 100644 --- a/src/v/base/BUILD +++ b/src/v/base/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest_no_seastar") redpanda_cc_library( name = "base", @@ -22,14 +21,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_btest_no_seastar( - name = "outcome_test", - timeout = "short", - srcs = [ - "tests/outcome_test.cc", - ], - deps = [ - ":base", - ], -) diff --git a/src/v/base/tests/BUILD b/src/v/base/tests/BUILD new file mode 100644 index 0000000000000..5095cf77c09f0 --- /dev/null +++ b/src/v/base/tests/BUILD @@ -0,0 +1,12 @@ +load("//bazel:test.bzl", "redpanda_cc_btest_no_seastar") + +redpanda_cc_btest_no_seastar( + name = "outcome_test", + timeout = "short", + srcs = [ + "outcome_test.cc", + ], + deps = [ + "//src/v/base", + ], +) diff --git a/src/v/bytes/BUILD b/src/v/bytes/BUILD index f731d9582a577..88de55302077e 100644 --- a/src/v/bytes/BUILD +++ b/src/v/bytes/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "iobuf", @@ -131,60 +130,3 @@ redpanda_cc_library( ":iobuf", ], ) - -redpanda_cc_btest( - name = "iobuf_test", - timeout = "short", - srcs = [ - "tests/iobuf_tests.cc", - "tests/utils.h", - ], - deps = [ - ":bytes", - ":iobuf", - ":iobuf_parser", - ":iostream", - ":random", - ":scattered_message", - ":streambuf", - "//src/v/random:generators", - "//src/v/test_utils:seastar_boost", - "@boost//:range", - "@boost//:test", - "@fmt", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "iobuf_utils_test", - timeout = "short", - srcs = [ - "tests/iobuf_utils_tests.cc", - "tests/utils.h", - ], - deps = [ - ":bytes", - ":hash", - ":iobuf", - ":iostream", - "//src/v/random:generators", - "//src/v/test_utils:seastar_boost", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "bytes_test", - timeout = "short", - srcs = [ - "tests/bytes_tests.cc", - ], - deps = [ - ":bytes", - "//src/v/test_utils:seastar_boost", - "@boost//:test", - "@seastar//:testing", - ], -) diff --git a/src/v/bytes/tests/BUILD b/src/v/bytes/tests/BUILD new file mode 100644 index 0000000000000..f020135b6ecc9 --- /dev/null +++ b/src/v/bytes/tests/BUILD @@ -0,0 +1,58 @@ +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_btest( + name = "iobuf_test", + timeout = "short", + srcs = [ + "iobuf_tests.cc", + "utils.h", + ], + deps = [ + "//src/v/bytes", + "//src/v/bytes:iobuf", + "//src/v/bytes:iobuf_parser", + "//src/v/bytes:iostream", + "//src/v/bytes:random", + "//src/v/bytes:scattered_message", + "//src/v/bytes:streambuf", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + "@boost//:range", + "@boost//:test", + "@fmt", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "iobuf_utils_test", + timeout = "short", + srcs = [ + "iobuf_utils_tests.cc", + "utils.h", + ], + deps = [ + "//src/v/bytes", + "//src/v/bytes:hash", + "//src/v/bytes:iobuf", + "//src/v/bytes:iostream", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "bytes_test", + timeout = "short", + srcs = [ + "bytes_tests.cc", + ], + deps = [ + "//src/v/bytes", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar//:testing", + ], +) diff --git a/src/v/compression/BUILD b/src/v/compression/BUILD index 5cca7b28aabc0..d90dec71b1c44 100644 --- a/src/v/compression/BUILD +++ b/src/v/compression/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest") redpanda_cc_library( name = "compression", @@ -42,55 +41,3 @@ redpanda_cc_library( "@zstd", ], ) - -redpanda_cc_gtest( - name = "lz4_buf_test", - timeout = "short", - srcs = [ - "tests/lz4_buf_tests.cc", - ], - # the death test doesn't seem to properly record or parse the expected - # output when there are multiple reactor threads. - args = ["-c1"], - deps = [ - ":compression", - "//src/v/base", - "//src/v/random:generators", - "//src/v/test_utils:gtest", - "@googletest//:gtest", - "@lz4", - ], -) - -redpanda_cc_btest( - name = "zstd_test", - timeout = "short", - srcs = [ - "tests/zstd_tests.cc", - ], - # with the default core/memory settings each core doesn't have enough memory - # for this test. by using one core it will have enough memory. - args = ["-c1"], - deps = [ - ":compression", - "//src/v/base", - "//src/v/random:generators", - "//src/v/test_utils:seastar_boost", - "@seastar//:testing", - ], -) - -redpanda_cc_bench( - name = "zstd_stream_bench", - timeout = "short", - srcs = [ - "tests/zstd_stream_bench.cc", - ], - deps = [ - ":compression", - "//src/v/base", - "//src/v/random:generators", - "@seastar", - "@seastar//:benchmark", - ], -) diff --git a/src/v/compression/tests/BUILD b/src/v/compression/tests/BUILD new file mode 100644 index 0000000000000..2d2a092b40d89 --- /dev/null +++ b/src/v/compression/tests/BUILD @@ -0,0 +1,53 @@ +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest") + +redpanda_cc_gtest( + name = "lz4_buf_test", + timeout = "short", + srcs = [ + "lz4_buf_tests.cc", + ], + # the death test doesn't seem to properly record or parse the expected + # output when there are multiple reactor threads. + args = ["-c1"], + deps = [ + "//src/v/base", + "//src/v/compression", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@googletest//:gtest", + "@lz4", + ], +) + +redpanda_cc_btest( + name = "zstd_test", + timeout = "short", + srcs = [ + "zstd_tests.cc", + ], + # with the default core/memory settings each core doesn't have enough memory + # for this test. by using one core it will have enough memory. + args = ["-c1"], + deps = [ + "//src/v/base", + "//src/v/compression", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + "@seastar//:testing", + ], +) + +redpanda_cc_bench( + name = "zstd_stream_bench", + timeout = "short", + srcs = [ + "zstd_stream_bench.cc", + ], + deps = [ + "//src/v/base", + "//src/v/compression", + "//src/v/random:generators", + "@seastar", + "@seastar//:benchmark", + ], +) diff --git a/src/v/container/BUILD b/src/v/container/BUILD index 662f07881e4ad..d4b94fb945ec0 100644 --- a/src/v/container/BUILD +++ b/src/v/container/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest") redpanda_cc_library( name = "intrusive", @@ -68,124 +67,3 @@ redpanda_cc_library( strip_include_prefix = "include", visibility = ["//visibility:public"], ) - -redpanda_cc_gtest( - name = "chunked_hash_map_test", - timeout = "short", - srcs = [ - "tests/chunked_hash_map_test.cc", - ], - deps = [ - ":chunked_hash_map", - "//src/v/test_utils:gtest", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "fragmented_vector_test", - timeout = "short", - srcs = [ - "tests/fragmented_vector_test.cc", - ], - deps = [ - ":fragmented_vector", - "//src/v/random:generators", - "//src/v/serde", - "//src/v/serde:vector", - "//src/v/test_utils:gtest", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "contiguous_range_map_test", - timeout = "short", - srcs = [ - "tests/contiguous_range_map_test.cc", - ], - deps = [ - ":contiguous_range_map", - ":zip", - "//src/v/random:generators", - "//src/v/test_utils:gtest", - "@abseil-cpp//absl/container:btree", - "@fmt", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "interval_set_test", - timeout = "short", - srcs = [ - "tests/interval_set_test.cc", - ], - deps = [ - ":interval_set", - "//src/v/base", - "//src/v/random:generators", - "//src/v/test_utils:gtest", - "@googletest//:gtest", - "@seastar", - ], -) - -redpanda_cc_btest( - name = "fragmented_vector_async_test", - timeout = "short", - srcs = [ - "tests/fragmented_vector_async_test.cc", - ], - deps = [ - ":fragmented_vector", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@seastar//:testing", - ], -) - -redpanda_cc_library( - name = "bench_utils", - hdrs = [ - "tests/bench_utils.h", - ], - include_prefix = "container", - visibility = ["//visibility:public"], - deps = [ - "//src/v/base", - "//src/v/random:generators", - "@seastar//:benchmark", - ], -) - -redpanda_cc_bench( - name = "vector_bench", - timeout = "short", - srcs = [ - "tests/vector_bench.cc", - ], - deps = [ - ":bench_utils", - ":fragmented_vector", - "//src/v/base", - "//src/v/random:generators", - "@seastar//:benchmark", - ], -) - -redpanda_cc_bench( - name = "map_bench", - timeout = "short", - srcs = [ - "tests/map_bench.cc", - ], - deps = [ - ":bench_utils", - ":contiguous_range_map", - "//src/v/random:generators", - "@abseil-cpp//absl/container:btree", - "@boost//:range", - "@seastar//:benchmark", - ], -) diff --git a/src/v/container/tests/BUILD b/src/v/container/tests/BUILD new file mode 100644 index 0000000000000..17f186afde537 --- /dev/null +++ b/src/v/container/tests/BUILD @@ -0,0 +1,123 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_gtest") + +redpanda_cc_library( + name = "bench_utils", + hdrs = [ + "bench_utils.h", + ], + include_prefix = "container/tests", + visibility = ["//visibility:private"], + deps = [ + "//src/v/base", + "//src/v/random:generators", + "@seastar//:benchmark", + ], +) + +redpanda_cc_gtest( + name = "chunked_hash_map_test", + timeout = "short", + srcs = [ + "chunked_hash_map_test.cc", + ], + deps = [ + "//src/v/container:chunked_hash_map", + "//src/v/test_utils:gtest", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "fragmented_vector_test", + timeout = "short", + srcs = [ + "fragmented_vector_test.cc", + ], + deps = [ + "//src/v/container:fragmented_vector", + "//src/v/random:generators", + "//src/v/serde", + "//src/v/serde:vector", + "//src/v/test_utils:gtest", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "contiguous_range_map_test", + timeout = "short", + srcs = [ + "contiguous_range_map_test.cc", + ], + deps = [ + "//src/v/container:contiguous_range_map", + "//src/v/container:zip", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:btree", + "@fmt", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "interval_set_test", + timeout = "short", + srcs = [ + "interval_set_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/container:interval_set", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_btest( + name = "fragmented_vector_async_test", + timeout = "short", + srcs = [ + "fragmented_vector_async_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/container:fragmented_vector", + "//src/v/test_utils:seastar_boost", + "@seastar//:testing", + ], +) + +redpanda_cc_bench( + name = "vector_bench", + timeout = "short", + srcs = [ + "vector_bench.cc", + ], + deps = [ + ":bench_utils", + "//src/v/base", + "//src/v/container:fragmented_vector", + "//src/v/random:generators", + "@seastar//:benchmark", + ], +) + +redpanda_cc_bench( + name = "map_bench", + timeout = "short", + srcs = [ + "map_bench.cc", + ], + deps = [ + ":bench_utils", + "//src/v/container:contiguous_range_map", + "//src/v/random:generators", + "@abseil-cpp//absl/container:btree", + "@boost//:range", + "@seastar//:benchmark", + ], +) diff --git a/src/v/crypto/BUILD b/src/v/crypto/BUILD index 1fc5d775d88e1..cf596dc8e56a3 100644 --- a/src/v/crypto/BUILD +++ b/src/v/crypto/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_gtest") redpanda_cc_library( name = "crypto", @@ -34,73 +33,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_library( - name = "crypto_test_utils", - hdrs = [ - "tests/crypto_test_utils.h", - "tests/test_values.h", - ], - deps = [ - "//src/v/bytes", - "@boost//:algorithm", - ], -) - -redpanda_cc_gtest( - name = "digest_test", - timeout = "short", - srcs = [ - "tests/digest_tests.cc", - ], - deps = [ - ":crypto", - ":crypto_test_utils", - "//src/v/test_utils:gtest", - "@abseil-cpp//absl/container:flat_hash_map", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "hmac_test", - timeout = "short", - srcs = [ - "tests/hmac_tests.cc", - ], - deps = [ - ":crypto", - ":crypto_test_utils", - "//src/v/test_utils:gtest", - "@abseil-cpp//absl/container:flat_hash_map", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "random_test", - timeout = "short", - srcs = [ - "tests/random_tests.cc", - ], - deps = [ - ":crypto", - "//src/v/test_utils:gtest", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "signature_test", - timeout = "short", - srcs = [ - "tests/signature_tests.cc", - ], - deps = [ - ":crypto", - ":crypto_test_utils", - "//src/v/bytes", - "//src/v/test_utils:gtest", - "@googletest//:gtest", - ], -) diff --git a/src/v/crypto/tests/BUILD b/src/v/crypto/tests/BUILD new file mode 100644 index 0000000000000..7f5fca4484bae --- /dev/null +++ b/src/v/crypto/tests/BUILD @@ -0,0 +1,73 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_gtest") + +redpanda_cc_library( + name = "crypto_test_utils", + hdrs = [ + "crypto_test_utils.h", + "test_values.h", + ], + visibility = ["//visibility:private"], + deps = [ + "//src/v/bytes", + "@boost//:algorithm", + ], +) + +redpanda_cc_gtest( + name = "digest_test", + timeout = "short", + srcs = [ + "digest_tests.cc", + ], + deps = [ + ":crypto_test_utils", + "//src/v/crypto", + "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:flat_hash_map", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "hmac_test", + timeout = "short", + srcs = [ + "hmac_tests.cc", + ], + deps = [ + ":crypto_test_utils", + "//src/v/crypto", + "//src/v/test_utils:gtest", + "@abseil-cpp//absl/container:flat_hash_map", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "random_test", + timeout = "short", + srcs = [ + "random_tests.cc", + ], + deps = [ + "//src/v/crypto", + "//src/v/test_utils:gtest", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "signature_test", + timeout = "short", + srcs = [ + "signature_tests.cc", + ], + deps = [ + ":crypto_test_utils", + "//src/v/bytes", + "//src/v/crypto", + "//src/v/test_utils:gtest", + "@googletest//:gtest", + ], +) diff --git a/src/v/hashing/BUILD b/src/v/hashing/BUILD index ccdc038a99389..b43c347ddfb9b 100644 --- a/src/v/hashing/BUILD +++ b/src/v/hashing/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar") redpanda_cc_library( name = "crc32c", @@ -42,27 +41,3 @@ redpanda_cc_library( "@xxhash", ], ) - -redpanda_cc_btest( - name = "secure_hash_test", - timeout = "short", - srcs = [ - "tests/secure_tests.cc", - ], - deps = [ - ":secure", - "@boost//:test", - ], -) - -redpanda_cc_btest_no_seastar( - name = "xx_hash_test", - timeout = "short", - srcs = [ - "tests/xx_tests.cc", - ], - deps = [ - ":xx", - "//src/v/utils:named_type", - ], -) diff --git a/src/v/hashing/tests/BUILD b/src/v/hashing/tests/BUILD new file mode 100644 index 0000000000000..43c1ee202238e --- /dev/null +++ b/src/v/hashing/tests/BUILD @@ -0,0 +1,25 @@ +load("//bazel:test.bzl", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar") + +redpanda_cc_btest( + name = "secure_hash_test", + timeout = "short", + srcs = [ + "secure_tests.cc", + ], + deps = [ + "//src/v/hashing:secure", + "@boost//:test", + ], +) + +redpanda_cc_btest_no_seastar( + name = "xx_hash_test", + timeout = "short", + srcs = [ + "xx_tests.cc", + ], + deps = [ + "//src/v/hashing:xx", + "//src/v/utils:named_type", + ], +) diff --git a/src/v/io/BUILD b/src/v/io/BUILD index 99fdea293caf2..400159653f57a 100644 --- a/src/v/io/BUILD +++ b/src/v/io/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_gtest") redpanda_cc_library( name = "io", @@ -42,141 +41,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_library( - name = "testing", - srcs = ["tests/common.cc"], - hdrs = ["tests/common.h"], - include_prefix = "io", - visibility = ["//visibility:private"], - deps = [ - ":io", - "//src/v/base", - "//src/v/random:generators", - "//src/v/test_utils:gtest", - "@abseil-cpp//absl/strings", - "@googletest//:gtest", - "@seastar", - ], -) - -redpanda_cc_gtest( - name = "common_test", - timeout = "short", - srcs = ["tests/common_test.cc"], - deps = [ - ":testing", - "//src/v/base", - "//src/v/utils:memory_data_source", - "@googletest//:gtest", - ], -) - -redpanda_cc_gtest( - name = "cache_test", - timeout = "short", - srcs = ["tests/cache_test.cc"], - deps = [ - ":io", - "//src/v/test_utils:gtest", - ], -) - -redpanda_cc_gtest( - name = "interval_map_test", - timeout = "short", - srcs = ["tests/interval_map_test.cc"], - deps = [ - ":io", - ":testing", - "@googletest//:gtest", - "@seastar", - ], -) - -redpanda_cc_gtest( - name = "persistence_test", - timeout = "moderate", - srcs = ["tests/persistence_test.cc"], - deps = [ - ":io", - ":testing", - "//src/v/base", - "//src/v/test_utils:gtest", - "@seastar", - ], -) - -redpanda_cc_gtest( - name = "page_test", - timeout = "short", - srcs = ["tests/page_test.cc"], - deps = [ - ":io", - ":testing", - "//src/v/test_utils:gtest", - ], -) - -redpanda_cc_gtest( - name = "page_set_test", - timeout = "short", - srcs = ["tests/page_set_test.cc"], - deps = [ - ":io", - ":testing", - "@googletest//:gtest", - "@seastar", - ], -) - -redpanda_cc_gtest( - name = "io_queue_test", - timeout = "moderate", - srcs = ["tests/io_queue_test.cc"], - # scheduler test is memory hungary since it track copies of all dispatched - # and completed ios. scaling down cpus give each core more breathing room. - args = ["-c2"], - deps = [ - ":io", - ":testing", - "//src/v/base", - "//src/v/random:generators", - "@googletest//:gtest", - "@seastar", - ], -) - -redpanda_cc_gtest( - name = "scheduler_test", - timeout = "moderate", - srcs = ["tests/scheduler_test.cc"], - # scheduler test is memory hungary since it track copies of all dispatched - # and completed ios. scaling down cpus give each core more breathing room. - args = ["-c2"], - deps = [ - ":io", - ":testing", - "//src/v/base", - "//src/v/random:generators", - "//src/v/test_utils:gtest", - "@boost//:range", - "@googletest//:gtest", - "@seastar", - ], -) - -redpanda_cc_gtest( - name = "pager_test", - timeout = "short", - srcs = ["tests/pager_test.cc"], - deps = [ - ":io", - ":testing", - "//src/v/base", - "//src/v/test_utils:gtest", - "//src/v/utils:memory_data_source", - "@boost//:range", - "@seastar", - ], -) diff --git a/src/v/io/tests/BUILD b/src/v/io/tests/BUILD new file mode 100644 index 0000000000000..51c16a13be725 --- /dev/null +++ b/src/v/io/tests/BUILD @@ -0,0 +1,140 @@ +load("//bazel:build.bzl", "redpanda_cc_library") +load("//bazel:test.bzl", "redpanda_cc_gtest") + +redpanda_cc_library( + name = "testing", + srcs = ["common.cc"], + hdrs = ["common.h"], + include_prefix = "io/tests", + visibility = ["//visibility:private"], + deps = [ + "//src/v/base", + "//src/v/io", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@abseil-cpp//absl/strings", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "common_test", + timeout = "short", + srcs = ["common_test.cc"], + deps = [ + ":testing", + "//src/v/base", + "//src/v/utils:memory_data_source", + "@googletest//:gtest", + ], +) + +redpanda_cc_gtest( + name = "cache_test", + timeout = "short", + srcs = ["cache_test.cc"], + deps = [ + "//src/v/io", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "interval_map_test", + timeout = "short", + srcs = ["interval_map_test.cc"], + deps = [ + ":testing", + "//src/v/io", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "persistence_test", + timeout = "moderate", + srcs = ["persistence_test.cc"], + deps = [ + ":testing", + "//src/v/base", + "//src/v/io", + "//src/v/test_utils:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "page_test", + timeout = "short", + srcs = ["page_test.cc"], + deps = [ + ":testing", + "//src/v/io", + "//src/v/test_utils:gtest", + ], +) + +redpanda_cc_gtest( + name = "page_set_test", + timeout = "short", + srcs = ["page_set_test.cc"], + deps = [ + ":testing", + "//src/v/io", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "io_queue_test", + timeout = "moderate", + srcs = ["io_queue_test.cc"], + # scheduler test is memory hungary since it track copies of all dispatched + # and completed ios. scaling down cpus give each core more breathing room. + args = ["-c2"], + deps = [ + ":testing", + "//src/v/base", + "//src/v/io", + "//src/v/random:generators", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "scheduler_test", + timeout = "moderate", + srcs = ["scheduler_test.cc"], + # scheduler test is memory hungary since it track copies of all dispatched + # and completed ios. scaling down cpus give each core more breathing room. + args = ["-c2"], + deps = [ + ":testing", + "//src/v/base", + "//src/v/io", + "//src/v/random:generators", + "//src/v/test_utils:gtest", + "@boost//:range", + "@googletest//:gtest", + "@seastar", + ], +) + +redpanda_cc_gtest( + name = "pager_test", + timeout = "short", + srcs = ["pager_test.cc"], + deps = [ + ":testing", + "//src/v/base", + "//src/v/io", + "//src/v/test_utils:gtest", + "//src/v/utils:memory_data_source", + "@boost//:range", + "@seastar", + ], +) diff --git a/src/v/json/BUILD b/src/v/json/BUILD index e8ce054166e39..94e13557b5669 100644 --- a/src/v/json/BUILD +++ b/src/v/json/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "json", @@ -39,18 +38,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_btest( - name = "json_serialization_test", - timeout = "short", - srcs = [ - "tests/json_serialization_test.cc", - ], - deps = [ - ":json", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@seastar", - "@seastar//:testing", - ], -) diff --git a/src/v/json/tests/BUILD b/src/v/json/tests/BUILD new file mode 100644 index 0000000000000..8685a08450f20 --- /dev/null +++ b/src/v/json/tests/BUILD @@ -0,0 +1,16 @@ +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_btest( + name = "json_serialization_test", + timeout = "short", + srcs = [ + "json_serialization_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/json", + "//src/v/test_utils:seastar_boost", + "@seastar", + "@seastar//:testing", + ], +) diff --git a/src/v/net/BUILD b/src/v/net/BUILD index 29606c71838fa..1df3446bcb54f 100644 --- a/src/v/net/BUILD +++ b/src/v/net/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "net", @@ -56,65 +55,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_btest( - name = "connection_rate_test", - timeout = "short", - srcs = [ - "tests/connection_rate_test.cc", - ], - deps = [ - ":net", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@boost//:test", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "conn_quota_test", - timeout = "short", - srcs = [ - "tests/conn_quota_test.cc", - ], - deps = [ - ":net", - "//src/v/base", - "//src/v/config", - "//src/v/test_utils:seastar_boost", - "@boost//:range", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "dns_test", - timeout = "short", - srcs = [ - "tests/dns.cc", - ], - deps = [ - ":net", - "//src/v/test_utils:seastar_boost", - "//src/v/utils:unresolved_address", - "@boost//:test", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "connection_test", - timeout = "short", - srcs = [ - "tests/connection.cc", - ], - deps = [ - ":net", - "//src/v/test_utils:seastar_boost", - "@boost//:test", - "@seastar", - ], -) diff --git a/src/v/net/tests/BUILD b/src/v/net/tests/BUILD new file mode 100644 index 0000000000000..3732daae65b87 --- /dev/null +++ b/src/v/net/tests/BUILD @@ -0,0 +1,63 @@ +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_btest( + name = "connection_rate_test", + timeout = "short", + srcs = [ + "connection_rate_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/net", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "conn_quota_test", + timeout = "short", + srcs = [ + "conn_quota_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/config", + "//src/v/net", + "//src/v/test_utils:seastar_boost", + "@boost//:range", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "dns_test", + timeout = "short", + srcs = [ + "dns.cc", + ], + deps = [ + "//src/v/net", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:unresolved_address", + "@boost//:test", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "connection_test", + timeout = "short", + srcs = [ + "connection.cc", + ], + deps = [ + "//src/v/net", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + ], +) diff --git a/src/v/random/BUILD b/src/v/random/BUILD index df6b5bf973b0d..3e61848b35b5d 100644 --- a/src/v/random/BUILD +++ b/src/v/random/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "fast_prng", @@ -41,19 +40,3 @@ redpanda_cc_library( ":fast_prng", ], ) - -redpanda_cc_btest( - name = "random_test", - timeout = "short", - srcs = [ - "tests/random_test.cc", - ], - deps = [ - ":fast_prng", - ":generators", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@abseil-cpp//absl/container:flat_hash_set", - "@boost//:test", - ], -) diff --git a/src/v/random/tests/BUILD b/src/v/random/tests/BUILD new file mode 100644 index 0000000000000..8cc308a0dd048 --- /dev/null +++ b/src/v/random/tests/BUILD @@ -0,0 +1,17 @@ +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_btest( + name = "random_test", + timeout = "short", + srcs = [ + "random_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/random:fast_prng", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + "@abseil-cpp//absl/container:flat_hash_set", + "@boost//:test", + ], +) diff --git a/src/v/rpc/BUILD b/src/v/rpc/BUILD index f6836612e289c..56acd4eeb292f 100644 --- a/src/v/rpc/BUILD +++ b/src/v/rpc/BUILD @@ -1,7 +1,5 @@ load("@rules_python//python:defs.bzl", "py_binary") load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest") -load("//src/v/rpc:compiler.bzl", "redpanda_cc_rpc_library") py_binary( name = "compiler", @@ -74,82 +72,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_btest( - name = "netbuf_test", - timeout = "short", - srcs = [ - "test/netbuf_tests.cc", - "test/test_types.h", - ], - deps = [ - ":rpc", - "//src/v/bytes:iobuf", - "//src/v/test_utils:seastar_boost", - "@fmt", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "roundtrip_test", - timeout = "short", - srcs = [ - "test/roundtrip_tests.cc", - "test/test_types.h", - ], - deps = [ - "//src/v/bytes:iobuf", - "//src/v/reflection:adl", - "//src/v/test_utils:seastar_boost", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "response_handler_test", - timeout = "short", - srcs = [ - "test/response_handler_tests.cc", - ], - deps = [ - ":rpc", - "//src/v/ssx:semaphore", - "//src/v/test_utils:seastar_boost", - "@seastar", - ], -) - -redpanda_cc_btest( - name = "serialization_test", - timeout = "short", - srcs = [ - "test/serialization_test.cc", - "test/test_types.h", - ], - deps = [ - "//src/v/bytes:iobuf", - "//src/v/reflection:adl", - "//src/v/reflection:arity", - "//src/v/test_utils:seastar_boost", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_rpc_library( - name = "cycling_rpc", - src = "test/cycling_service.json", -) - -redpanda_cc_rpc_library( - name = "echo_rpc", - src = "test/echo_service.json", -) - -redpanda_cc_rpc_library( - name = "echo_v2_rpc", - src = "test/echo_v2_service.json", -) diff --git a/src/v/rpc/test/BUILD b/src/v/rpc/test/BUILD new file mode 100644 index 0000000000000..a028aed4c235b --- /dev/null +++ b/src/v/rpc/test/BUILD @@ -0,0 +1,81 @@ +load("//bazel:test.bzl", "redpanda_cc_btest") +load("//src/v/rpc:compiler.bzl", "redpanda_cc_rpc_library") + +redpanda_cc_btest( + name = "netbuf_test", + timeout = "short", + srcs = [ + "netbuf_tests.cc", + "test_types.h", + ], + deps = [ + "//src/v/bytes:iobuf", + "//src/v/rpc", + "//src/v/test_utils:seastar_boost", + "@fmt", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "roundtrip_test", + timeout = "short", + srcs = [ + "roundtrip_tests.cc", + "test_types.h", + ], + deps = [ + "//src/v/bytes:iobuf", + "//src/v/reflection:adl", + "//src/v/test_utils:seastar_boost", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "response_handler_test", + timeout = "short", + srcs = [ + "response_handler_tests.cc", + ], + deps = [ + "//src/v/rpc", + "//src/v/ssx:semaphore", + "//src/v/test_utils:seastar_boost", + "@seastar", + ], +) + +redpanda_cc_btest( + name = "serialization_test", + timeout = "short", + srcs = [ + "serialization_test.cc", + "test_types.h", + ], + deps = [ + "//src/v/bytes:iobuf", + "//src/v/reflection:adl", + "//src/v/reflection:arity", + "//src/v/test_utils:seastar_boost", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_rpc_library( + name = "cycling_rpc", + src = "cycling_service.json", +) + +redpanda_cc_rpc_library( + name = "echo_rpc", + src = "echo_service.json", +) + +redpanda_cc_rpc_library( + name = "echo_v2_rpc", + src = "echo_v2_service.json", +) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 660a404755bfc..0cc62e308ba4b 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest") redpanda_cc_library( name = "thread_worker", @@ -60,65 +59,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_btest( - name = "future-util_test", - timeout = "short", - srcs = [ - "tests/future_util.cc", - ], - deps = [ - ":future-util", - "//src/v/test_utils:seastar_boost", - "//src/v/utils:functional", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "thread_worker_test", - timeout = "short", - srcs = [ - "tests/thread_worker.cc", - ], - deps = [ - ":thread_worker", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@abseil-cpp//absl/algorithm:container", - "@boost//:test", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "sformat_test", - timeout = "short", - srcs = [ - "tests/sformat.cc", - ], - deps = [ - ":sformat", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "abort_source_test", - timeout = "short", - srcs = [ - "tests/abort_source_test.cc", - ], - deps = [ - ":abort_source", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@boost//:test", - "@seastar", - "@seastar//:testing", - ], -) diff --git a/src/v/ssx/tests/BUILD b/src/v/ssx/tests/BUILD new file mode 100644 index 0000000000000..5c04cc90ba45e --- /dev/null +++ b/src/v/ssx/tests/BUILD @@ -0,0 +1,63 @@ +load("//bazel:test.bzl", "redpanda_cc_btest") + +redpanda_cc_btest( + name = "future-util_test", + timeout = "short", + srcs = [ + "future_util.cc", + ], + deps = [ + "//src/v/ssx:future-util", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:functional", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "thread_worker_test", + timeout = "short", + srcs = [ + "thread_worker.cc", + ], + deps = [ + "//src/v/base", + "//src/v/ssx:thread_worker", + "//src/v/test_utils:seastar_boost", + "@abseil-cpp//absl/algorithm:container", + "@boost//:test", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "sformat_test", + timeout = "short", + srcs = [ + "sformat.cc", + ], + deps = [ + "//src/v/base", + "//src/v/ssx:sformat", + "//src/v/test_utils:seastar_boost", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "abort_source_test", + timeout = "short", + srcs = [ + "abort_source_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/ssx:abort_source", + "//src/v/test_utils:seastar_boost", + "@boost//:test", + "@seastar", + "@seastar//:testing", + ], +) diff --git a/src/v/strings/BUILD b/src/v/strings/BUILD index a6e1a2987368c..8921430f3d175 100644 --- a/src/v/strings/BUILD +++ b/src/v/strings/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_btest_no_seastar") redpanda_cc_library( name = "utf8", @@ -25,17 +24,3 @@ redpanda_cc_library( strip_include_prefix = "include", visibility = ["//visibility:public"], ) - -redpanda_cc_btest_no_seastar( - name = "strings_test", - timeout = "short", - srcs = [ - "tests/constexpr_string_switch.cc", - "tests/string_switch_test.cc", - "tests/utf8_control_chars.cc", - ], - deps = [ - ":string_switch", - ":utf8", - ], -) diff --git a/src/v/strings/tests/BUILD b/src/v/strings/tests/BUILD new file mode 100644 index 0000000000000..b734bd2d48f05 --- /dev/null +++ b/src/v/strings/tests/BUILD @@ -0,0 +1,15 @@ +load("//bazel:test.bzl", "redpanda_cc_btest_no_seastar") + +redpanda_cc_btest_no_seastar( + name = "strings_test", + timeout = "short", + srcs = [ + "constexpr_string_switch.cc", + "string_switch_test.cc", + "utf8_control_chars.cc", + ], + deps = [ + "//src/v/strings:string_switch", + "//src/v/strings:utf8", + ], +) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 5566fdb1142b7..7a83ce80924a1 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -1,5 +1,4 @@ load("//bazel:build.bzl", "redpanda_cc_library") -load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar", "redpanda_cc_gtest") redpanda_cc_library( name = "vint", @@ -228,137 +227,3 @@ redpanda_cc_library( "@seastar", ], ) - -redpanda_cc_btest_no_seastar( - name = "tristate_test", - timeout = "short", - srcs = [ - "tests/tristate_test.cc", - ], - defines = [ - "BOOST_TEST_MODULE=tristate", - ], - deps = [ - ":tristate", - ], -) - -redpanda_cc_btest_no_seastar( - name = "named_type_test", - timeout = "short", - srcs = [ - "tests/named_type_tests.cc", - ], - defines = [ - "BOOST_TEST_MODULE=named_type", - ], - deps = [ - ":named_type", - "//src/v/base", - ], -) - -redpanda_cc_btest( - name = "object_pool_test", - timeout = "short", - srcs = [ - "tests/object_pool_test.cc", - ], - deps = [ - ":object_pool", - "//src/v/base", - "//src/v/test_utils:seastar_boost", - "@boost//:test", - "@seastar", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "vint_test", - timeout = "short", - srcs = [ - "tests/vint_test.cc", - ], - deps = [ - ":vint", - "//src/v/bytes", - "//src/v/bytes:iostream", - "//src/v/random:generators", - "//src/v/test_utils:seastar_boost", - "@boost//:test", - "@seastar//:testing", - ], -) - -redpanda_cc_btest( - name = "uuid_test", - timeout = "short", - srcs = [ - "tests/uuid_test.cc", - ], - deps = [ - ":named_type", - ":uuid", - "//src/v/serde", - "//src/v/serde:map", - "//src/v/serde:optional", - "//src/v/serde:uuid", - "//src/v/serde:vector", - "//src/v/test_utils:seastar_boost", - "@abseil-cpp//absl/container:flat_hash_map", - "@abseil-cpp//absl/hash", - "@boost//:container_hash", - "@boost//:test", - "@seastar//:testing", - ], -) - -redpanda_cc_gtest( - name = "xid_test", - timeout = "short", - srcs = [ - "tests/xid_test.cc", - ], - deps = [ - ":xid", - "//src/v/random:generators", - "//src/v/serde", - "//src/v/test_utils:gtest", - "@abseil-cpp//absl/container:node_hash_map", - "@googletest//:gtest", - ], -) - -redpanda_cc_bench( - name = "vint_bench", - timeout = "short", - srcs = [ - "tests/vint_bench.cc", - ], - deps = [ - ":vint", - "//src/v/bytes", - "//src/v/bytes:iobuf", - "//src/v/bytes:iostream", - "//src/v/random:generators", - "@seastar", - "@seastar//:benchmark", - ], -) - -redpanda_cc_btest_no_seastar( - name = "human_test", - timeout = "short", - srcs = [ - "tests/human_test.cc", - ], - defines = [ - "BOOST_TEST_MODULE=human", - ], - deps = [ - ":human", - "@boost//:test", - "@fmt", - ], -) diff --git a/src/v/utils/tests/BUILD b/src/v/utils/tests/BUILD new file mode 100644 index 0000000000000..61503b58e8289 --- /dev/null +++ b/src/v/utils/tests/BUILD @@ -0,0 +1,135 @@ +load("//bazel:test.bzl", "redpanda_cc_bench", "redpanda_cc_btest", "redpanda_cc_btest_no_seastar", "redpanda_cc_gtest") + +redpanda_cc_btest_no_seastar( + name = "tristate_test", + timeout = "short", + srcs = [ + "tristate_test.cc", + ], + defines = [ + "BOOST_TEST_MODULE=tristate", + ], + deps = [ + "//src/v/utils:tristate", + ], +) + +redpanda_cc_btest_no_seastar( + name = "named_type_test", + timeout = "short", + srcs = [ + "named_type_tests.cc", + ], + defines = [ + "BOOST_TEST_MODULE=named_type", + ], + deps = [ + "//src/v/base", + "//src/v/utils:named_type", + ], +) + +redpanda_cc_btest( + name = "object_pool_test", + timeout = "short", + srcs = [ + "object_pool_test.cc", + ], + deps = [ + "//src/v/base", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:object_pool", + "@boost//:test", + "@seastar", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "vint_test", + timeout = "short", + srcs = [ + "vint_test.cc", + ], + deps = [ + "//src/v/bytes", + "//src/v/bytes:iostream", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:vint", + "@boost//:test", + "@seastar//:testing", + ], +) + +redpanda_cc_btest( + name = "uuid_test", + timeout = "short", + srcs = [ + "uuid_test.cc", + ], + deps = [ + "//src/v/serde", + "//src/v/serde:map", + "//src/v/serde:optional", + "//src/v/serde:uuid", + "//src/v/serde:vector", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:named_type", + "//src/v/utils:uuid", + "@abseil-cpp//absl/container:flat_hash_map", + "@abseil-cpp//absl/hash", + "@boost//:container_hash", + "@boost//:test", + "@seastar//:testing", + ], +) + +redpanda_cc_gtest( + name = "xid_test", + timeout = "short", + srcs = [ + "xid_test.cc", + ], + deps = [ + "//src/v/random:generators", + "//src/v/serde", + "//src/v/test_utils:gtest", + "//src/v/utils:xid", + "@abseil-cpp//absl/container:node_hash_map", + "@googletest//:gtest", + ], +) + +redpanda_cc_bench( + name = "vint_bench", + timeout = "short", + srcs = [ + "vint_bench.cc", + ], + deps = [ + "//src/v/bytes", + "//src/v/bytes:iobuf", + "//src/v/bytes:iostream", + "//src/v/random:generators", + "//src/v/utils:vint", + "@seastar", + "@seastar//:benchmark", + ], +) + +redpanda_cc_btest_no_seastar( + name = "human_test", + timeout = "short", + srcs = [ + "human_test.cc", + ], + defines = [ + "BOOST_TEST_MODULE=human", + ], + deps = [ + "//src/v/utils:human", + "@boost//:test", + "@fmt", + ], +) From 0f2faf6c931ae8020b0a481c525bde5c01783b26 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 14:41:11 -0700 Subject: [PATCH 145/150] bazel: add missing ssx library deps Signed-off-by: Noah Watkins --- src/v/ssx/BUILD | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 0cc62e308ba4b..8cd2b77248d53 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -8,6 +8,9 @@ redpanda_cc_library( strip_include_prefix = "include", visibility = ["//visibility:public"], deps = [ + "//src/v/base", + "@boost//:lockfree", + "@seastar", ], ) @@ -19,6 +22,8 @@ redpanda_cc_library( strip_include_prefix = "include", visibility = ["//visibility:public"], deps = [ + "@fmt", + "@seastar", ], ) From 0bf26e267382b1f0d9bcba5a879891b97932c808 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 14:45:20 -0700 Subject: [PATCH 146/150] bazel: use conventional underscore in naming Signed-off-by: Noah Watkins --- src/v/io/BUILD | 2 +- src/v/net/BUILD | 2 +- src/v/reflection/BUILD | 2 +- src/v/rpc/BUILD | 2 +- src/v/serde/BUILD | 2 +- src/v/ssx/BUILD | 2 +- src/v/ssx/tests/BUILD | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/v/io/BUILD b/src/v/io/BUILD index 400159653f57a..8ab68e5bbfe75 100644 --- a/src/v/io/BUILD +++ b/src/v/io/BUILD @@ -31,7 +31,7 @@ redpanda_cc_library( deps = [ "//src/v/base", "//src/v/container:intrusive", - "//src/v/ssx:future-util", + "//src/v/ssx:future_util", "//src/v/ssx:semaphore", "@abseil-cpp//absl/container:btree", "@abseil-cpp//absl/container:flat_hash_map", diff --git a/src/v/net/BUILD b/src/v/net/BUILD index 1df3446bcb54f..1f1d81e9e593d 100644 --- a/src/v/net/BUILD +++ b/src/v/net/BUILD @@ -39,7 +39,7 @@ redpanda_cc_library( "//src/v/hashing:xx", "//src/v/metrics", "//src/v/ssx:abort_source", - "//src/v/ssx:future-util", + "//src/v/ssx:future_util", "//src/v/ssx:semaphore", "//src/v/ssx:sformat", "//src/v/utils:inet_address", diff --git a/src/v/reflection/BUILD b/src/v/reflection/BUILD index 779e479f5006a..62bfdd1d4c662 100644 --- a/src/v/reflection/BUILD +++ b/src/v/reflection/BUILD @@ -38,7 +38,7 @@ redpanda_cc_library( "//src/v/bytes:iobuf", "//src/v/bytes:iobuf_parser", "//src/v/container:fragmented_vector", - "//src/v/ssx:future-util", + "//src/v/ssx:future_util", "//src/v/utils:named_type", "//src/v/utils:tristate", "@abseil-cpp//absl/container:btree", diff --git a/src/v/rpc/BUILD b/src/v/rpc/BUILD index 56acd4eeb292f..5b7311b79e2d1 100644 --- a/src/v/rpc/BUILD +++ b/src/v/rpc/BUILD @@ -56,7 +56,7 @@ redpanda_cc_library( "//src/v/net", "//src/v/reflection:adl", "//src/v/serde", - "//src/v/ssx:future-util", + "//src/v/ssx:future_util", "//src/v/ssx:semaphore", "//src/v/ssx:sformat", "//src/v/utils:log_hist", diff --git a/src/v/serde/BUILD b/src/v/serde/BUILD index 08bef05a59391..9edff2877d8a5 100644 --- a/src/v/serde/BUILD +++ b/src/v/serde/BUILD @@ -26,7 +26,7 @@ redpanda_cc_library( "//src/v/hashing:crc32c", "//src/v/reflection:arity", "//src/v/reflection:to_tuple", - "//src/v/ssx:future-util", + "//src/v/ssx:future_util", "//src/v/ssx:sformat", ], ) diff --git a/src/v/ssx/BUILD b/src/v/ssx/BUILD index 8cd2b77248d53..598a6e01f9eba 100644 --- a/src/v/ssx/BUILD +++ b/src/v/ssx/BUILD @@ -28,7 +28,7 @@ redpanda_cc_library( ) redpanda_cc_library( - name = "future-util", + name = "future_util", hdrs = [ "include/ssx/future-util.h", ], diff --git a/src/v/ssx/tests/BUILD b/src/v/ssx/tests/BUILD index 5c04cc90ba45e..cb3f9fcb661b1 100644 --- a/src/v/ssx/tests/BUILD +++ b/src/v/ssx/tests/BUILD @@ -7,7 +7,7 @@ redpanda_cc_btest( "future_util.cc", ], deps = [ - "//src/v/ssx:future-util", + "//src/v/ssx:future_util", "//src/v/test_utils:seastar_boost", "//src/v/utils:functional", "@seastar", From 65c4600a44347cf69b7c30e475508442712defc2 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 14:48:02 -0700 Subject: [PATCH 147/150] bazel: make it easier to find bazel TODOs Signed-off-by: Noah Watkins --- bazel/build.bzl | 2 +- bazel/internal.bzl | 2 +- bazel/test.bzl | 2 +- bazel/thirdparty/base64.BUILD | 2 +- bazel/thirdparty/krb5.BUILD | 2 +- bazel/thirdparty/numactl.BUILD | 2 +- bazel/thirdparty/roaring.BUILD | 2 +- bazel/thirdparty/seastar.BUILD | 2 +- bazel/thirdparty/xxhash.BUILD | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bazel/build.bzl b/bazel/build.bzl index 493bfa8d677cc..2896d7475d10d 100644 --- a/bazel/build.bzl +++ b/bazel/build.bzl @@ -24,7 +24,7 @@ def redpanda_cc_library( """ features = [] if not exclude_layering_check: - # TODO Some dependencies brought in via rules_foreign_cc appear to not + # TODO(bazel) Some dependencies brought in via rules_foreign_cc appear to not # have all their headers declared as outputs, which causes issues with # layering checks. So we allow layering check to be disabled in some # cases until this issue is addressed. diff --git a/bazel/internal.bzl b/bazel/internal.bzl index bc674e3c34629..2b54fb063e365 100644 --- a/bazel/internal.bzl +++ b/bazel/internal.bzl @@ -11,7 +11,7 @@ def redpanda_copts(): Options to be added to target. """ - # TODO Bazel prefers -iquote "path" style includes in many cases. However, + # TODO(bazel) Bazel prefers -iquote "path" style includes in many cases. However, # our source tree uses bracket style for dependencies. We need a way # to bridge this gap until we decide to fully switch over to Bazel at which # point this hack can be removed. To deal with this we add a `-I` parameter diff --git a/bazel/test.bzl b/bazel/test.bzl index 9d4d621b525fa..e13615767935e 100644 --- a/bazel/test.bzl +++ b/bazel/test.bzl @@ -25,7 +25,7 @@ def has_flags(args, *flags): return True return False -# TODO +# TODO(bazel) # - Make log level configurable (e.g. CI) # - Set --overprovisioned in CI context # - Other ASAN settings used in cmake_test.py diff --git a/bazel/thirdparty/base64.BUILD b/bazel/thirdparty/base64.BUILD index d530556fddd65..fe07bbf720665 100644 --- a/bazel/thirdparty/base64.BUILD +++ b/bazel/thirdparty/base64.BUILD @@ -1,6 +1,6 @@ load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") -# TODO +# TODO(bazel) # - Verify architecture specific settings # - Verify that platform select works as expected diff --git a/bazel/thirdparty/krb5.BUILD b/bazel/thirdparty/krb5.BUILD index d0ab2d0846217..3fce7add755df 100644 --- a/bazel/thirdparty/krb5.BUILD +++ b/bazel/thirdparty/krb5.BUILD @@ -15,7 +15,7 @@ configure_make( "--srcdir=./src", "--disable-thread-support", "--without-netlib", - # TODO when building the static library the linker is exiting with a + # TODO(bazel) when building the static library the linker is exiting with a # duplicate symbol error "--enable-shared", "--disable-static", diff --git a/bazel/thirdparty/numactl.BUILD b/bazel/thirdparty/numactl.BUILD index 42af5f5a4ce76..4acde95c26ad4 100644 --- a/bazel/thirdparty/numactl.BUILD +++ b/bazel/thirdparty/numactl.BUILD @@ -2,7 +2,7 @@ # This build is a translation from the official autotools-based build contained # in the numactl source tree. # -# TODO +# TODO(bazel) # - inspect implementation to see what should go into config.h # - understand more if we are using versions.ldscript correctly # - check if libtool -version-info flag is needed diff --git a/bazel/thirdparty/roaring.BUILD b/bazel/thirdparty/roaring.BUILD index d58c548f264d9..1f7cafaf6334d 100644 --- a/bazel/thirdparty/roaring.BUILD +++ b/bazel/thirdparty/roaring.BUILD @@ -1,7 +1,7 @@ # # This build is a translation of the CRoaring cmake-based build. # -# TODO +# TODO(bazel) # - Take a closer look at compile options that control cpu features. # diff --git a/bazel/thirdparty/seastar.BUILD b/bazel/thirdparty/seastar.BUILD index 8f49d679e964f..badd4dbe71c17 100644 --- a/bazel/thirdparty/seastar.BUILD +++ b/bazel/thirdparty/seastar.BUILD @@ -28,7 +28,7 @@ bool_flag( build_setting_default = False, ) -# TODO the default should be true, but need to fix a numactl undefined reference +# TODO(bazel) the default should be true, but need to fix a numactl undefined reference bool_flag( name = "numactl", build_setting_default = False, diff --git a/bazel/thirdparty/xxhash.BUILD b/bazel/thirdparty/xxhash.BUILD index a3351c2176834..041ee8e164111 100644 --- a/bazel/thirdparty/xxhash.BUILD +++ b/bazel/thirdparty/xxhash.BUILD @@ -3,7 +3,7 @@ # updated with `includes` to include `.` so that bracket-style includes will # work in Redpanda. The cmake build in the xxhash source tree looks similar. # -# TODO once cmake is removed from Redpanda we can switch everything over to the +# TODO(bazel) once cmake is removed from Redpanda we can switch everything over to the # default quoted include paths and remove the `includes` parameter here. # From 134f6b759e41be6aba15e4c9ebed17b25dab3a8c Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 17:48:25 -0700 Subject: [PATCH 148/150] bazel: add missing dependencies Also removes an empty dependency list. Signed-off-by: Noah Watkins --- src/v/pandaproxy/schema_registry/BUILD | 2 ++ src/v/storage/BUILD | 2 ++ src/v/utils/BUILD | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/v/pandaproxy/schema_registry/BUILD b/src/v/pandaproxy/schema_registry/BUILD index 198778c54d2fd..de046fca85348 100644 --- a/src/v/pandaproxy/schema_registry/BUILD +++ b/src/v/pandaproxy/schema_registry/BUILD @@ -8,5 +8,7 @@ redpanda_cc_library( include_prefix = "pandaproxy/schema_registry", visibility = ["//visibility:public"], deps = [ + "//src/v/strings:string_switch", + "@seastar", ], ) diff --git a/src/v/storage/BUILD b/src/v/storage/BUILD index bd5b538a9b914..0817dd3bdf6f1 100644 --- a/src/v/storage/BUILD +++ b/src/v/storage/BUILD @@ -8,5 +8,7 @@ redpanda_cc_library( include_prefix = "storage", visibility = ["//visibility:public"], deps = [ + "//src/v/base", + "@seastar", ], ) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index 7a83ce80924a1..b9a54c649b8f1 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -81,8 +81,6 @@ redpanda_cc_library( ], include_prefix = "utils", visibility = ["//visibility:public"], - deps = [ - ], ) redpanda_cc_library( @@ -93,6 +91,7 @@ redpanda_cc_library( include_prefix = "utils", visibility = ["//visibility:public"], deps = [ + "@fmt", ], ) @@ -104,6 +103,9 @@ redpanda_cc_library( include_prefix = "utils", visibility = ["//visibility:public"], deps = [ + "//src/v/base", + "@fmt", + "@seastar", ], ) From 99abab15bad6f812ab647d2b0ac9894d6408dfc0 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 19:11:22 -0700 Subject: [PATCH 149/150] bazel: add note about use of non-BCR dependencies Signed-off-by: Noah Watkins --- MODULE.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 587f6e63f261f..903bc5dc3e1f5 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -73,6 +73,9 @@ use_repo(non_module_dependencies, "lksctp") use_repo(non_module_dependencies, "numactl") use_repo(non_module_dependencies, "openssl") use_repo(non_module_dependencies, "openssl-fips") + +# non-BCR rapidjson is used because BCR publishes v1.1.0 from 2016, and Redpanda +# depends on newer changes since the last tagged upstream version. use_repo(non_module_dependencies, "rapidjson") use_repo(non_module_dependencies, "roaring") use_repo(non_module_dependencies, "seastar") From 6b3bc74b61f838c50b3bfe4520387e3caec8185f Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 10 Jul 2024 20:55:19 -0700 Subject: [PATCH 150/150] bazel: add utils:base64 library Signed-off-by: Noah Watkins --- src/v/utils/BUILD | 20 ++++++++++++++++++++ src/v/utils/tests/BUILD | 15 +++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/src/v/utils/BUILD b/src/v/utils/BUILD index b9a54c649b8f1..e56723734de6d 100644 --- a/src/v/utils/BUILD +++ b/src/v/utils/BUILD @@ -229,3 +229,23 @@ redpanda_cc_library( "@seastar", ], ) + +redpanda_cc_library( + name = "base64", + srcs = [ + "base64.cc", + ], + hdrs = [ + "base64.h", + ], + exclude_layering_check = True, + include_prefix = "utils", + visibility = ["//visibility:public"], + deps = [ + "//src/v/base", + "//src/v/bytes", + "@abseil-cpp//absl/strings", + "@base64", + "@seastar", + ], +) diff --git a/src/v/utils/tests/BUILD b/src/v/utils/tests/BUILD index 61503b58e8289..0cb7fdba50f73 100644 --- a/src/v/utils/tests/BUILD +++ b/src/v/utils/tests/BUILD @@ -133,3 +133,18 @@ redpanda_cc_btest_no_seastar( "@fmt", ], ) + +redpanda_cc_btest( + name = "base64_test", + timeout = "short", + srcs = [ + "base64_test.cc", + ], + deps = [ + "//src/v/bytes:random", + "//src/v/random:generators", + "//src/v/test_utils:seastar_boost", + "//src/v/utils:base64", + "@boost//:test", + ], +)