diff --git a/BUILD.bazel b/BUILD.bazel index 7ba6a884..1597d930 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -13,3 +13,5 @@ cc_library( hdrs = glob(["ecsact/**/*.hh"]), copts = copts, ) + +exports_files(["build_recipe.yml"]) diff --git a/MODULE.bazel b/MODULE.bazel index b17800ec..68511d9b 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -12,7 +12,7 @@ bazel_dep(name = "ecsact_lang_cpp", version = "0.4.1") bazel_dep(name = "boost.mp11", version = "1.83.0.bzl.1") bazel_dep(name = "entt", version = "3.12.2") bazel_dep(name = "ecsact_codegen", version = "0.2.0") -bazel_dep(name = "ecsact_cli", version = "0.3.4") +bazel_dep(name = "ecsact_cli", version = "0.3.6") bazel_dep(name = "xxhash", version = "0.8.2") bazel_dep(name = "googletest", version = "1.14.0") @@ -24,6 +24,13 @@ git_override( remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", ) +# TODO: https://github.com/bazelbuild/bazel-central-registry/pull/1916 +git_override( + module_name = "libarchive", + commit = "7c331f92acea5243c195cdc6fb46ecfa11ce1ce2", + remote = "https://github.com/zaucy/libarchive.git", +) + llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm", dev_dependency = True) llvm.toolchain(llvm_version = "17.0.6") use_repo(llvm, "llvm_toolchain") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 5129ebb6..f40fb935 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,9 +1,10 @@ { "lockFileVersion": 6, - "moduleFileHash": "51f0a1261e0714a54dcca45b393ee4424fde46f4cb27a79cf40cad885b80de22", + "moduleFileHash": "3ef366d54334a5e2b6da5f075911b05c271f7ff50aa7586d54cf416cbd37220d", "flags": { "cmdRegistries": [ "https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2", "https://raw.githubusercontent.com/bazelboost/registry/main", "https://bcr.bazel.build" ], @@ -34,7 +35,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 26, + "line": 34, "column": 21 }, "imports": { @@ -52,7 +53,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 27, + "line": 35, "column": 15 } } @@ -63,15 +64,16 @@ ], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_ecsact": "rules_ecsact@0.5.0", "ecsact_runtime": "ecsact_runtime@0.6.1", "ecsact_lang_cpp": "ecsact_lang_cpp@0.4.1", "boost.mp11": "boost.mp11@1.83.0.bzl.1", "entt": "entt@3.12.2", "ecsact_codegen": "ecsact_codegen@0.2.0", - "ecsact_cli": "ecsact_cli@0.3.4", + "ecsact_cli": "ecsact_cli@0.3.6", "xxhash": "xxhash@0.8.2", + "googletest": "googletest@1.14.0", "toolchains_llvm": "toolchains_llvm@1.0.0", "hedron_compile_commands": "hedron_compile_commands@_", "bazel_tools": "bazel_tools@_", @@ -93,7 +95,7 @@ "extensionName": "cc_configure_extension", "usingModule": "rules_cc@0.0.9", "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_cc/0.0.9/MODULE.bazel", "line": 9, "column": 29 }, @@ -107,7 +109,7 @@ } ], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -121,16 +123,16 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" }, "remote_patch_strip": 0 } } }, - "bazel_skylib@1.5.0": { + "bazel_skylib@1.6.1": { "name": "bazel_skylib", - "version": "1.5.0", - "key": "bazel_skylib@1.5.0", + "version": "1.6.1", + "key": "bazel_skylib@1.6.1", "repoName": "bazel_skylib", "executionPlatformsToRegister": [], "toolchainsToRegister": [ @@ -139,7 +141,7 @@ ], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -148,9 +150,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz" + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz" ], - "integrity": "sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=", + "integrity": "sha256-nziIakBUjG6WwQa3UvJCEw7hGqoGila6flb0UR8z5PI=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -167,9 +169,9 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", - "ecsact_cli": "ecsact_cli@0.3.4", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", + "ecsact_cli": "ecsact_cli@0.3.6", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -197,8 +199,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "googletest": "googletest@1.14.0", "abseil-cpp": "abseil-cpp@20230802.0", "boost.dll": "boost.dll@1.83.0.bzl.2", @@ -230,7 +232,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "ecsact_runtime": "ecsact_runtime@0.6.1", "rules_ecsact": "rules_ecsact@0.5.0", "ecsact_codegen": "ecsact_codegen@0.2.0", @@ -288,7 +290,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -316,7 +318,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.dll": "boost.dll@1.83.0.bzl.2", "ecsact_runtime": "ecsact_runtime@0.6.1", "bazel_tools": "bazel_tools@_", @@ -336,10 +338,10 @@ } } }, - "ecsact_cli@0.3.4": { + "ecsact_cli@0.3.6": { "name": "ecsact_cli", - "version": "0.3.4", - "key": "ecsact_cli@0.3.4", + "version": "0.3.6", + "key": "ecsact_cli@0.3.6", "repoName": "ecsact_cli", "executionPlatformsToRegister": [], "toolchainsToRegister": [], @@ -347,21 +349,23 @@ "deps": { "rules_cc": "rules_cc@0.0.9", "nlohmann_json": "nlohmann_json@3.11.3", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_pkg": "rules_pkg@0.10.1", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "ecsact_parse": "ecsact_parse@0.4.0", "ecsact_runtime": "ecsact_runtime@0.6.1", - "ecsact_interpret": "ecsact_interpret@0.6.0", + "ecsact_interpret": "ecsact_interpret@0.6.1", "ecsact_codegen": "ecsact_codegen@0.2.0", "boost.dll": "boost.dll@1.83.0.bzl.2", "magic_enum": "magic_enum@0.9.3", - "curl": "curl@8.4.0", + "curl": "curl@8.7.1.bcr.1", "docopt.cpp": "docopt.cpp@0.6.2", "boost.process": "boost.process@1.83.0.bzl.2", "boost.algorithm": "boost.algorithm@1.83.0.bzl.1", "boost.url": "boost.url@1.83.0.bzl.2", "yaml-cpp": "yaml-cpp@0.8.0", + "libarchive": "libarchive@_", + "xxhash": "xxhash@0.8.2", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -370,9 +374,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/ecsact-dev/ecsact_cli/releases/download/0.3.4/ecsact_cli-0.3.4.tar.gz" + "https://github.com/ecsact-dev/ecsact_cli/releases/download/0.3.6/ecsact_cli-0.3.6.tar.gz" ], - "integrity": "sha256-o/uv0o+zrxPoSgTo88232q3TWfM4raPxnB95qlIQWaw=", + "integrity": "sha256-l9Bz4nRl7kywbphkH9ghdAJirBZypAJoWqw+90bbs6Y=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -401,8 +405,39 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/xxhash/0.8.2/patches/add_build_file.patch": "sha256-WQDdUpYas3Sbezqz0dJ5kMdr/c729ki+QLZv4iwEOj8=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/xxhash/0.8.2/patches/module_dot_bazel.patch": "sha256-ZLVQs0CBa7/fVGDx0804Hg7ORsWd92G06m2z1N5PeMg=" + }, + "remote_patch_strip": 0 + } + } + }, + "googletest@1.14.0": { + "name": "googletest", + "version": "1.14.0", + "key": "googletest@1.14.0", + "repoName": "googletest", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "com_google_absl": "abseil-cpp@20230802.0", + "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/googletest/archive/refs/tags/v1.14.0.tar.gz" + ], + "integrity": "sha256-itWYxzrXluDYKAsILOvYKmMNc+c808cAV5OKZQG7pdc=", + "strip_prefix": "googletest-1.14.0", + "remote_patches": { + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/googletest/1.14.0/patches/module_dot_bazel.patch": "sha256-CSomzvti38LCuURDG5EEoa3O1tQF3cKKt/mknnP1qcc=" }, "remote_patch_strip": 0 } @@ -417,9 +452,9 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -656,9 +691,9 @@ "rules_proto": "rules_proto@5.3.0-21.7", "rules_python": "rules_python@0.24.0", "buildozer": "buildozer@6.4.0.2", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "com_google_protobuf": "protobuf@21.7", - "zlib": "zlib@1.3", + "zlib": "zlib@1.3.1.bcr.1", "build_bazel_apple_support": "apple_support@1.5.0", "local_config_platform": "local_config_platform@_" } @@ -672,14 +707,14 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_" } }, - "platforms@0.0.9": { + "platforms@0.0.10": { "name": "platforms", - "version": "0.0.9", - "key": "platforms@0.0.9", + "version": "0.0.10", + "key": "platforms@0.0.10", "repoName": "platforms", "executionPlatformsToRegister": [], "toolchainsToRegister": [], @@ -687,9 +722,9 @@ { "extensionBzlFile": "@platforms//host:extension.bzl", "extensionName": "host_platform", - "usingModule": "platforms@0.0.9", + "usingModule": "platforms@0.0.10", "location": { - "file": "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/platforms/0.0.10/MODULE.bazel", "line": 9, "column": 30 }, @@ -712,46 +747,15 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz" + "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz" ], - "integrity": "sha256-XtpTnIQSZQMcL4LYrno6ZJC9YhduDAOPxGnqv5H2FJs=", + "integrity": "sha256-IY7+juc20mo1cmY7N0olPAErcW2K8MB+hC6C8jigp+4=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 } } }, - "googletest@1.14.0": { - "name": "googletest", - "version": "1.14.0", - "key": "googletest@1.14.0", - "repoName": "googletest", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "com_google_absl": "abseil-cpp@20230802.0", - "platforms": "platforms@0.0.9", - "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/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/patches/module_dot_bazel.patch": "sha256-CSomzvti38LCuURDG5EEoa3O1tQF3cKKt/mknnP1qcc=" - }, - "remote_patch_strip": 0 - } - } - }, "abseil-cpp@20230802.0": { "name": "abseil-cpp", "version": "20230802.0", @@ -762,8 +766,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "com_google_googletest": "googletest@1.14.0", "com_github_google_benchmark": "google_benchmark@1.8.2", "bazel_tools": "bazel_tools@_", @@ -779,7 +783,7 @@ "integrity": "sha256-WdKXavnW7PABqBo1dJpuVRozW5SdNJGM+t4Hc3udk8U=", "strip_prefix": "abseil-cpp-20230802.0", "remote_patches": { - "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/patches/module_dot_bazel.patch": "sha256-tppa7eDWtr2QUqOhIzKmHL5DEqUqfMFQIH7tkhFDY8E=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/abseil-cpp/20230802.0/patches/module_dot_bazel.patch": "sha256-tppa7eDWtr2QUqOhIzKmHL5DEqUqfMFQIH7tkhFDY8E=" }, "remote_patch_strip": 0 } @@ -795,7 +799,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.assert": "boost.assert@1.83.0.bzl.1", "boost.config": "boost.config@1.83.0.bzl.6", "boost.core": "boost.core@1.83.0.bzl.1", @@ -838,8 +842,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.algorithm": "boost.algorithm@1.83.0.bzl.1", "boost.asio": "boost.asio@1.83.0.bzl.2", "boost.config": "boost.config@1.83.0.bzl.6", @@ -896,7 +900,7 @@ "integrity": "sha256-oiRh0TEZrFx48gXT3x2xNAPljOG7F5TtyTE2dzE/Sp0=", "strip_prefix": "", "remote_patches": { - "https://bcr.bazel.build/modules/nlohmann_json/3.11.3/patches/module_dot_bazel.patch": "sha256-OmeSCp1IqWbHGPJs0v5taUiPLEsI9KEJPLsnPpKB/B8=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/nlohmann_json/3.11.3/patches/module_dot_bazel.patch": "sha256-OmeSCp1IqWbHGPJs0v5taUiPLEsI9KEJPLsnPpKB/B8=" }, "remote_patch_strip": 0 } @@ -913,7 +917,7 @@ "deps": { "rules_license": "rules_license@0.0.7", "rules_python": "rules_python@0.24.0", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -941,7 +945,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "ecsact_runtime": "ecsact_runtime@0.6.1", "lexy": "lexy@2022.05.1", "magic_enum": "magic_enum@0.9.3", @@ -962,17 +966,17 @@ } } }, - "ecsact_interpret@0.6.0": { + "ecsact_interpret@0.6.1": { "name": "ecsact_interpret", - "version": "0.6.0", - "key": "ecsact_interpret@0.6.0", + "version": "0.6.1", + "key": "ecsact_interpret@0.6.1", "repoName": "ecsact_interpret", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "magic_enum": "magic_enum@0.9.3", "ecsact_runtime": "ecsact_runtime@0.6.1", "ecsact_parse": "ecsact_parse@0.4.0", @@ -984,9 +988,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/ecsact-dev/ecsact_interpret/releases/download/0.6.0/ecsact_interpret-0.6.0.tar.gz" + "https://github.com/ecsact-dev/ecsact_interpret/releases/download/0.6.1/ecsact_interpret-0.6.1.tar.gz" ], - "integrity": "sha256-YDtn32eLL0JDIGBSelHroEiIBaS2tBjnXsVyn3Cuf18=", + "integrity": "sha256-1aW5PB3CmxlhNCtu9Q4pXk+Udh3eoyPF8mkY6fwS1Zk=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -1003,7 +1007,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1021,16 +1025,18 @@ } } }, - "curl@8.4.0": { + "curl@8.7.1.bcr.1": { "name": "curl", - "version": "8.4.0", - "key": "curl@8.4.0", + "version": "8.7.1.bcr.1", + "key": "curl@8.7.1.bcr.1", "repoName": "curl", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "mbedtls": "mbedtls@3.6.0", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1039,15 +1045,16 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/curl/curl/releases/download/curl-8_4_0/curl-8.4.0.tar.gz" + "https://github.com/curl/curl/releases/download/curl-8_7_1/curl-8.7.1.tar.gz" ], - "integrity": "sha256-gW5BgJwEP/KF6MDwanWh+iUCEbv7LcCgN+7vOfGp5Cc=", - "strip_prefix": "curl-8.4.0", + "integrity": "sha256-+RJJyH9o6gDPJ8RP36WnhCPkHnG31AjlkBqYltkFxJU=", + "strip_prefix": "curl-8.7.1", "remote_patches": { - "https://bcr.bazel.build/modules/curl/8.4.0/patches/add_build_file.patch": "sha256-Vcb973u9Diuzp+nG0XzkID+LvaTdbJ6M6tZxH1Vtyo0=", - "https://bcr.bazel.build/modules/curl/8.4.0/patches/module_dot_bazel.patch": "sha256-EEYIkUUDdDiyntAtQHOhsgwqJgs/EvZP6pjuxPUeWIo=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/curl/8.7.1.bcr.1/patches/add_build_file.patch": "sha256-v72CABzBMc2lrA1Oy/QLsxd8x0bv/zkPjxTPGfArI8I=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/curl/8.7.1.bcr.1/patches/module_dot_bazel.patch": "sha256-CmB4PaZ8lHufyVHpS4z/rUPT3aPWg/I29b0ulErrYlY=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/curl/8.7.1.bcr.1/patches/add_curl_config.patch": "sha256-vdS5XRiVn5iKvJcdr0FilwCrJpQnWhEqStalazJ1Dy8=" }, - "remote_patch_strip": 0 + "remote_patch_strip": 1 } } }, @@ -1061,7 +1068,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.regex": "boost.regex@1.83.0.bzl.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1171,7 +1178,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1186,12 +1193,34 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/yaml-cpp/0.8.0/patches/module_dot_bazel.patch": "sha256-YM6xq0Mtu51Okntj5lRQ3V04DyZNm4hZdrSDMio1KeU=" }, "remote_patch_strip": 1 } } }, + "libarchive@_": { + "name": "libarchive", + "version": "3.7.3", + "key": "libarchive@_", + "repoName": "libarchive", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bzip2": "bzip2@1.0.8.bcr.1", + "lz4": "lz4@1.9.4", + "xz": "xz@5.4.5.bcr.2", + "zlib": "zlib@1.3.1.bcr.1", + "zstd": "zstd@1.5.6", + "platforms": "platforms@0.0.10", + "rules_cc": "rules_cc@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "mbedtls": "mbedtls@3.6.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, "rules_java@7.4.0": { "name": "rules_java", "version": "7.4.0", @@ -1230,7 +1259,7 @@ "extensionName": "toolchains", "usingModule": "rules_java@7.4.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_java/7.4.0/MODULE.bazel", "line": 19, "column": 27 }, @@ -1270,9 +1299,9 @@ } ], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_proto": "rules_proto@5.3.0-21.7", "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", @@ -1327,7 +1356,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "com_google_protobuf": "protobuf@21.7", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", @@ -1362,7 +1391,7 @@ "extensionName": "internal_deps", "usingModule": "rules_python@0.24.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 14, "column": 30 }, @@ -1389,7 +1418,7 @@ "attributeValues": {}, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 15, "column": 22 } @@ -1403,7 +1432,7 @@ "extensionName": "python", "usingModule": "rules_python@0.24.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 36, "column": 23 }, @@ -1420,7 +1449,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 42, "column": 17 } @@ -1431,8 +1460,8 @@ } ], "deps": { - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "bazel_tools": "bazel_tools@_", @@ -1448,7 +1477,7 @@ "integrity": "sha256-CoADsEQpTXhArH2dc+7wXWzraC11FngaTsYu6zRwJXg=", "strip_prefix": "rules_python-0.24.0", "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.24.0/patches/module_dot_bazel_version.patch": "sha256-cz8Rx8aNLvYvSpiVWk8umcsBy6jAAC0YwU42zj1cNlU=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/patches/module_dot_bazel_version.patch": "sha256-cz8Rx8aNLvYvSpiVWk8umcsBy6jAAC0YwU42zj1cNlU=" }, "remote_patch_strip": 0 } @@ -1467,7 +1496,7 @@ "extensionName": "buildozer_binary", "usingModule": "buildozer@6.4.0.2", "location": { - "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/buildozer/6.4.0.2/MODULE.bazel", "line": 7, "column": 33 }, @@ -1490,7 +1519,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/buildozer/6.4.0.2/MODULE.bazel", "line": 8, "column": 27 } @@ -1514,7 +1543,7 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU=" }, "remote_patch_strip": 1 } @@ -1533,7 +1562,7 @@ "extensionName": "maven", "usingModule": "protobuf@21.7", "location": { - "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/MODULE.bazel", "line": 22, "column": 22 }, @@ -1560,7 +1589,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/MODULE.bazel", "line": 24, "column": 14 } @@ -1571,14 +1600,14 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_python": "rules_python@0.24.0", "rules_cc": "rules_cc@0.0.9", "rules_proto": "rules_proto@5.3.0-21.7", "rules_java": "rules_java@7.4.0", "rules_pkg": "rules_pkg@0.10.1", "com_google_abseil": "abseil-cpp@20230802.0", - "zlib": "zlib@1.3", + "zlib": "zlib@1.3.1.bcr.1", "upb": "upb@0.0.0-20220923-a547704", "rules_jvm_external": "rules_jvm_external@4.4.2", "com_google_googletest": "googletest@1.14.0", @@ -1595,25 +1624,25 @@ "integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=", "strip_prefix": "protobuf-21.7", "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY=" }, "remote_patch_strip": 1 } } }, - "zlib@1.3": { + "zlib@1.3.1.bcr.1": { "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", + "version": "1.3.1.bcr.1", + "key": "zlib@1.3.1.bcr.1", "repoName": "zlib", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1623,15 +1652,15 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" + "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz" ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", + "integrity": "sha256-mpOyt9/ax3zrpaVYpYDnRmfdb+3kWFuR7vtg8Dty3yM=", + "strip_prefix": "zlib-1.3.1", "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zlib/1.3.1.bcr.1/patches/add_build_file.patch": "sha256-0MCgNjvE1kGfdKTdDt4PEBHJMIwtDYHB7h69zhxDSNI=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zlib/1.3.1.bcr.1/patches/add_module_file.patch": "sha256-euR5cSrSZnUKPOIJKRu3BY/Dphe1+ekPC6OWaAQfDjQ=" }, - "remote_patch_strip": 0 + "remote_patch_strip": 1 } } }, @@ -1650,7 +1679,7 @@ "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", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/apple_support/1.5.0/MODULE.bazel", "line": 17, "column": 35 }, @@ -1665,8 +1694,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1693,8 +1722,8 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "rules_cc": "rules_cc@0.0.9", "libpfm": "libpfm@4.11.0", @@ -1711,7 +1740,7 @@ "integrity": "sha256-KqspgNA3YTf5adkoSPu2gharsHYzA0U0/IxlzE56DpM=", "strip_prefix": "benchmark-1.8.2", "remote_patches": { - "https://bcr.bazel.build/modules/google_benchmark/1.8.2/patches/module_dot_bazel.patch": "sha256-703OrC3OH7pk9qrGkAMbvp/8yEoHiesDKHNVIKVJB/M=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/google_benchmark/1.8.2/patches/module_dot_bazel.patch": "sha256-703OrC3OH7pk9qrGkAMbvp/8yEoHiesDKHNVIKVJB/M=" }, "remote_patch_strip": 0 } @@ -2215,8 +2244,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "boringssl": "boringssl@0.0.0-20230215-5c22014", "boost.align": "boost.align@1.83.0.bzl.1", "boost.array": "boost.array@1.83.0.bzl.1", @@ -2474,7 +2503,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -2492,6 +2521,36 @@ } } }, + "mbedtls@3.6.0": { + "name": "mbedtls", + "version": "3.6.0", + "key": "mbedtls@3.6.0", + "repoName": "mbedtls", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "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/Mbed-TLS/mbedtls/releases/download/v3.6.0/mbedtls-3.6.0.tar.bz2" + ], + "integrity": "sha256-Ps+U/P2qyvt1d4agG3U4phdQ69hcSwJPVv+LoUkPzTg=", + "strip_prefix": "mbedtls-3.6.0", + "remote_patches": { + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/mbedtls/3.6.0/patches/add_build.patch": "sha256-+eevKk6D53jwSk1vngf7au/XMw/T++lxiQ/hlYb0fUA=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/mbedtls/3.6.0/patches/module_dot_bazel.patch": "sha256-zau8FpFxNUirkyEVgW50LwrrsB2Dt0Kp25zu0p55t0U=" + }, + "remote_patch_strip": 1 + } + } + }, "boost.regex@1.83.0.bzl.1": { "name": "boost.regex", "version": "1.83.0.bzl.1", @@ -2866,6 +2925,126 @@ } } }, + "bzip2@1.0.8.bcr.1": { + "name": "bzip2", + "version": "1.0.8.bcr.1", + "key": "bzip2@1.0.8.bcr.1", + "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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/bzip2/1.0.8.bcr.1/patches/add_build_file.patch": "sha256-QPcAoslzyuAkL4VQgb18uhZaUu8A30/LUrD8wHaKZHY=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/bzip2/1.0.8.bcr.1/patches/module_dot_bazel.patch": "sha256-lfm8AQkGepyTCT/UQrNpojSPcuu9TnCpPEWykSew7r8=" + }, + "remote_patch_strip": 0 + } + } + }, + "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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/lz4/1.9.4/patches/add_build_file.patch": "sha256-v1zbuA4Ya6cX2rDv54qh/8kwM7dimnWuyg40vCik4FM=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/lz4/1.9.4/patches/module_dot_bazel.patch": "sha256-V8GT+T9/zjsD3c67mJ4qVJoOkR4VZlXnpXl6b/FKI/Y=" + }, + "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.6.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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/xz/5.4.5.bcr.2/patches/patch.diff": "sha256-/p4OtkABqNVS/ujgPMKK8iBMyF/N+CO4zc5Yt02t2+o=" + }, + "remote_patch_strip": 1 + } + } + }, + "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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zstd/1.5.6/patches/add_build_file.patch": "sha256-eWyxLXFI3vRjvK572z4lHJdoia96jUfQxzAP+hYY9ck=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zstd/1.5.6/patches/module_dot_bazel.patch": "sha256-xNLcQox8GjyYhgThGYV16+CcXYkumiPAVXRZlWUqWJM=" + }, + "remote_patch_strip": 0 + } + } + }, "upb@0.0.0-20220923-a547704": { "name": "upb", "version": "0.0.0-20220923-a547704", @@ -2875,11 +3054,11 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "com_google_absl": "abseil-cpp@20230802.0", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -2893,7 +3072,7 @@ "integrity": "sha256-z39x6v+QskwaKLSWRan/A6mmwecTQpHOcJActj5zZLU=", "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577", "remote_patches": { - "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0=" }, "remote_patch_strip": 0 } @@ -2912,7 +3091,7 @@ "extensionName": "non_module_deps", "usingModule": "rules_jvm_external@4.4.2", "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_jvm_external/4.4.2/MODULE.bazel", "line": 9, "column": 32 }, @@ -2929,7 +3108,7 @@ "extensionName": "maven", "usingModule": "rules_jvm_external@4.4.2", "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_jvm_external/4.4.2/MODULE.bazel", "line": 16, "column": 22 }, @@ -2953,7 +3132,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_jvm_external/4.4.2/MODULE.bazel", "line": 18, "column": 14 } @@ -2964,7 +3143,7 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "io_bazel_stardoc": "stardoc@0.5.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -3008,7 +3187,7 @@ "extensionName": "ext", "usingModule": "rules_foreign_cc@0.9.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_foreign_cc/0.9.0/MODULE.bazel", "line": 13, "column": 20 }, @@ -3030,8 +3209,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3045,8 +3224,8 @@ "integrity": "sha256-Kk0HzWSwcZs5p8EiGKPlB2crgql7mMaonThWWJTPfFE=", "strip_prefix": "rules_foreign_cc-0.9.0", "remote_patches": { - "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/patches/examples.patch": "sha256-RxT7rVHxO30W350sYu7ybi4rStwoB8b8mr34ZU9ciIk=", - "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/patches/module_dot_bazel.patch": "sha256-VTNnq8ySdeo9pI4rrJ+EXa/9ZACgQQ4baUwoQpljzCM=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_foreign_cc/0.9.0/patches/examples.patch": "sha256-RxT7rVHxO30W350sYu7ybi4rStwoB8b8mr34ZU9ciIk=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_foreign_cc/0.9.0/patches/module_dot_bazel.patch": "sha256-VTNnq8ySdeo9pI4rrJ+EXa/9ZACgQQ4baUwoQpljzCM=" }, "remote_patch_strip": 1 } @@ -3061,7 +3240,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -3076,8 +3255,8 @@ "integrity": "sha256-XaX4hyveFLNjTJaI2YD2i9ootRAmhyPMEpc+7bq5/sw=", "strip_prefix": "libpfm-4.11.0", "remote_patches": { - "https://bcr.bazel.build/modules/libpfm/4.11.0/patches/module_dot_bazel.patch": "sha256-G0wQJ2mVEoW/L5LGzmbNfuZaxI2+9NDuWJtqvCpM1pc=", - "https://bcr.bazel.build/modules/libpfm/4.11.0/patches/add_build_file.patch": "sha256-E61d/qQgmeOcUliWaveHPp1EZoOjkvZJsqhGhHofqUg=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/libpfm/4.11.0/patches/module_dot_bazel.patch": "sha256-G0wQJ2mVEoW/L5LGzmbNfuZaxI2+9NDuWJtqvCpM1pc=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/libpfm/4.11.0/patches/add_build_file.patch": "sha256-E61d/qQgmeOcUliWaveHPp1EZoOjkvZJsqhGhHofqUg=" }, "remote_patch_strip": 0 } @@ -3554,7 +3733,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3568,7 +3747,7 @@ "integrity": "sha256-hj/GcMRW8wkjdAwWOTBRMv37nRslujhaZ644Yu8SqK8=", "strip_prefix": "boringssl-5c22014ca513807ed03c657e8ede076164663979", "remote_patches": { - "https://bcr.bazel.build/modules/boringssl/0.0.0-20230215-5c22014/patches/module_dot_bazel.patch": "sha256-TbAx9h+pBkDT3JmKw1bRchtNcLK1dnvsW1IlCkl/yd0=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/boringssl/0.0.0-20230215-5c22014/patches/module_dot_bazel.patch": "sha256-TbAx9h+pBkDT3JmKw1bRchtNcLK1dnvsW1IlCkl/yd0=" }, "remote_patch_strip": 0 } @@ -3808,7 +3987,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_java": "rules_java@7.4.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -3823,7 +4002,7 @@ "integrity": "sha256-qoFNrgrEALurLoiB+ZFcb0fElmS/CHxAmhX5BDjSwj4=", "strip_prefix": "", "remote_patches": { - "https://bcr.bazel.build/modules/stardoc/0.5.1/patches/module_dot_bazel.patch": "sha256-UAULCuTpJE7SG0YrR9XLjMfxMRmbP+za3uW9ONZ5rjI=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/stardoc/0.5.1/patches/module_dot_bazel.patch": "sha256-UAULCuTpJE7SG0YrR9XLjMfxMRmbP+za3uW9ONZ5rjI=" }, "remote_patch_strip": 0 } diff --git a/bazel/common.bazelrc b/bazel/common.bazelrc index 2de0b253..9c8eb869 100644 --- a/bazel/common.bazelrc +++ b/bazel/common.bazelrc @@ -1,6 +1,7 @@ startup --windows_enable_symlinks common --enable_bzlmod common --registry=https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main +common --registry=https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2 # temporary common --registry=https://raw.githubusercontent.com/bazelboost/registry/main common --registry=https://bcr.bazel.build build --enable_platform_specific_config diff --git a/test/test_recipe.yml b/build_recipe.yml similarity index 88% rename from test/test_recipe.yml rename to build_recipe.yml index 1b727bec..fc1e5784 100644 --- a/test/test_recipe.yml +++ b/build_recipe.yml @@ -1,14 +1,14 @@ name: RT EnTT Recipe sources: - - ../test/bazel-bin/_runtime__public_hdrs/runtime_test.ecsact.hh - - ../test/bazel-bin/_runtime__public_hdrs/imported_pkg.ecsact.hh - - ../test/bazel-bin/_runtime__cc_srcs/runtime_test.ecsact.rt_entt.cc - - codegen: ./ecsact_rt_entt_codegen + - codegen: + - ../ecsact_lang_cpp~/cpp_header_codegen/ecsact_cpp_header_codegen + - ../ecsact_rt_entt~/rt_entt_codegen/ecsact_rt_entt_codegen outdir: _rt_entt_codegen_outdir # entt - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entt.hpp outdir: include/entt + # entt/graph - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/adjacency_matrix.hpp outdir: include/entt/graph - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/flow.hpp @@ -17,23 +17,25 @@ sources: outdir: include/entt/graph - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/graph/fwd.hpp outdir: include/entt/graph + # entt/locator - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/locator/locator.hpp outdir: include/entt/locator + # entt/platform - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/platform/android-ndk-r17.hpp outdir: include/entt/platform - # poly + # entt/poly - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/poly/fwd.hpp outdir: include/entt/poly - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/poly/poly.hpp outdir: include/entt/poly - # process + # entt/process - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/process/fwd.hpp outdir: include/entt/process - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/process/process.hpp outdir: include/entt/process - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/process/scheduler.hpp outdir: include/entt/process - # resource + # entt/resource - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/cache.hpp outdir: include/entt/resource - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/fwd.hpp @@ -42,7 +44,7 @@ sources: outdir: include/entt/resource - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/resource/resource.hpp outdir: include/entt/resource - # entity + # entt/entity - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/registry.hpp outdir: include/entt/entity - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/storage.hpp @@ -77,7 +79,7 @@ sources: outdir: include/entt/entity - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/entity/snapshot.hpp outdir: include/entt/entity - # meta + # entt/meta - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/adl_pointer.hpp outdir: include/entt/meta - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/container.hpp @@ -106,7 +108,7 @@ sources: outdir: include/entt/meta - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/meta/utility.hpp outdir: include/entt/meta - # signal + # entt/signal - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/sigh.hpp outdir: include/entt/signal - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/delegate.hpp @@ -117,21 +119,21 @@ sources: outdir: include/entt/signal - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/signal/fwd.hpp outdir: include/entt/signal - # config + # entt/config - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/config/version.h outdir: include/entt/config - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/config/macro.h outdir: include/entt/config - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/config/config.h outdir: include/entt/config - # container + # entt/container - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/container/dense_map.hpp outdir: include/entt/container - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/container/fwd.hpp outdir: include/entt/container - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/container/dense_set.hpp outdir: include/entt/container - # core + # entt/core - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/compressed_pair.hpp outdir: include/entt/core - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/type_traits.hpp @@ -164,35 +166,49 @@ sources: outdir: include/entt/core - fetch: https://raw.githubusercontent.com/skypjack/entt/v3.12.2/src/entt/core/tuple.hpp outdir: include/entt/core - - path: ../ecsact/entt/detail/apply_pending.hh + # xxhash + - fetch: https://raw.githubusercontent.com/Cyan4973/xxHash/v0.8.2/xxhash.h + outdir: include/ + - fetch: https://raw.githubusercontent.com/Cyan4973/xxHash/v0.8.2/xxhash.c + outdir: src/ + + # ecsact/entt/detail + - path: ./ecsact/entt/detail/execution_events_collector.hh outdir: include/ecsact/entt/detail - - path: ../ecsact/entt/detail/execution_events_collector.hh + - path: ./ecsact/entt/detail/apply_pending.hh outdir: include/ecsact/entt/detail - - path: ../ecsact/entt/detail/globals.hh + - path: ./ecsact/entt/detail/globals.hh outdir: include/ecsact/entt/detail - - path: ../ecsact/entt/detail/internal_markers.hh + - path: ./ecsact/entt/detail/internal_markers.hh outdir: include/ecsact/entt/detail - - path: ../ecsact/entt/detail/system_execution_context.hh + - path: ./ecsact/entt/detail/system_execution_context.hh outdir: include/ecsact/entt/detail/ - - path: ../ecsact/entt/wrapper/core.hh + - path: ./ecsact/entt/detail/bytes.hh + outdir: include/ecsact/entt/detail + - path: ./ecsact/entt/detail/hash.hh + outdir: include/ecsact/entt/detail + # ecsact/entt/wrapper + - path: ./ecsact/entt/wrapper/core.hh outdir: include/ecsact/entt/wrapper - - path: ../ecsact/entt/wrapper/dynamic.hh + - path: ./ecsact/entt/wrapper/dynamic.hh outdir: include/ecsact/entt/wrapper - - path: ../ecsact/entt/entity.hh + # ecsact/entt + - path: ./ecsact/entt/entity.hh outdir: include/ecsact/entt - - path: ../ecsact/entt/error_check.hh + - path: ./ecsact/entt/error_check.hh outdir: include/ecsact/entt - - path: ../ecsact/entt/event_markers.hh + - path: ./ecsact/entt/event_markers.hh outdir: include/ecsact/entt - - path: ../ecsact/entt/execution.hh + - path: ./ecsact/entt/execution.hh outdir: include/ecsact/entt - - path: ../ecsact/entt/registry_util.hh + - path: ./ecsact/entt/registry_util.hh outdir: include/ecsact/entt - - ../runtime/ecsact_rt_entt_core.cc - - ../runtime/ecsact_rt_entt_dynamic.cc + - ./runtime/ecsact_rt_entt_core.cc + - ./runtime/ecsact_rt_entt_dynamic.cc + - ./runtime/hash.cc exports: - # Core + # core - ecsact_execute_systems - ecsact_destroy_registry - ecsact_clear_registry @@ -210,7 +226,7 @@ exports: - ecsact_get_components - ecsact_update_component - ecsact_remove_component - # Dynamic + # dynamic - ecsact_system_execution_context_same - ecsact_system_execution_context_entity - ecsact_system_execution_context_generate diff --git a/rt_entt_codegen/rt_entt_codegen.cc b/rt_entt_codegen/rt_entt_codegen.cc index a0a9c6d5..e983fc48 100644 --- a/rt_entt_codegen/rt_entt_codegen.cc +++ b/rt_entt_codegen/rt_entt_codegen.cc @@ -57,6 +57,7 @@ void ecsact_codegen_plugin( ctx.write("\n"); inc_package_header(ctx, package_id); for(auto dep : ecsact::meta::get_dependencies(package_id)) { + assert(package_id != dep); inc_package_header(ctx, dep); } ctx.write("\n"); diff --git a/rt_entt_codegen/shared/comps_with_caps.hh b/rt_entt_codegen/shared/comps_with_caps.hh index 98a578f2..087f9cb6 100644 --- a/rt_entt_codegen/shared/comps_with_caps.hh +++ b/rt_entt_codegen/shared/comps_with_caps.hh @@ -83,7 +83,6 @@ inline auto comps_with_caps( } std::ranges::sort(found_comps); - auto unique_found_comps_range = std::ranges::unique(found_comps); auto unique_found_comps = std::vector{}; unique_found_comps.reserve(found_comps.size()); std::ranges::copy(found_comps, std::back_inserter(unique_found_comps)); diff --git a/rt_entt_codegen/shared/util.hh b/rt_entt_codegen/shared/util.hh index d423aacd..5b2deece 100644 --- a/rt_entt_codegen/shared/util.hh +++ b/rt_entt_codegen/shared/util.hh @@ -112,7 +112,9 @@ inline auto inc_package_header( // ) -> void { namespace fs = std::filesystem; - auto main_ecsact_file_path = ecsact::meta::package_file_path(ctx.package_id); + auto main_ecsact_file_path = + ecsact::meta::package_file_path(ctx.package_id).lexically_normal(); + if(ctx.package_id == pkg_id) { main_ecsact_file_path.replace_extension( main_ecsact_file_path.extension().string() + ".hh" diff --git a/test/BUILD.bazel b/test/BUILD.bazel index b3fb4a87..c1976ea3 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -1,6 +1,5 @@ load("@ecsact_rt_entt//bazel:copts.bzl", "copts") load("@ecsact_rt_entt//runtime:index.bzl", "ecsact_entt_runtime") -load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands") load("@rules_cc//cc:defs.bzl", "cc_test") load("@rules_ecsact//ecsact:defs.bzl", "ecsact_codegen") @@ -9,33 +8,66 @@ cc_test( srcs = ["test_build_recipe.cc"], copts = copts, data = [ - "test_recipe.yml", "//:imported_pkg.ecsact", "//:runtime_test.ecsact", "@ecsact_cli", + "@ecsact_lang_cpp//cpp_header_codegen:ecsact_cpp_header_codegen", + "@ecsact_rt_entt//:build_recipe.yml", + "@ecsact_rt_entt//:headers", "@ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen", + "@ecsact_rt_entt//runtime:sources", + "@llvm_toolchain_llvm//:bin/clang", ], - env = { - "ECSACT_CLI": "$(rootpath @ecsact_cli)", - "ECSACT_RECIPE_PATH": "$(roothpath test_recipe.yml)", - "ECSACT_RUNTIME_FILE_PATH": "$(rootpath //:runtime_test.ecsact)", - "ECSACT_IMPORTED_FILE_PATH": "$rootpath //:imported_pkg.ecsact)", - "ECSACT_CODEGEN_PLUGIN_PATH": "$(rootpath @ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen", - }, + env = select({ + "@platforms//os:windows": { + "ECSACT_CLI": "$(rootpath @ecsact_cli)", + "ECSACT_RECIPE_PATH": "$(rootpath @ecsact_rt_entt//:build_recipe.yml)", + "ECSACT_RUNTIME_FILE_PATH": "$(rootpath //:runtime_test.ecsact)", + "ECSACT_IMPORTED_FILE_PATH": "$(rootpath //:imported_pkg.ecsact)", + "ECSACT_CODEGEN_PLUGIN_PATH": "$(rootpath @ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen)", + }, + "//conditions:default": { + "ECSACT_CLI": "$(rootpath @ecsact_cli)", + "ECSACT_RECIPE_PATH": "$(rootpath @ecsact_rt_entt//:build_recipe.yml)", + "ECSACT_RUNTIME_FILE_PATH": "$(rootpath //:runtime_test.ecsact)", + "ECSACT_IMPORTED_FILE_PATH": "$(rootpath //:imported_pkg.ecsact)", + "ECSACT_CODEGEN_PLUGIN_PATH": "$(rootpath @ecsact_rt_entt//rt_entt_codegen:ecsact_rt_entt_codegen)", + "CC": "$(rootpath @llvm_toolchain_llvm//:bin/clang)", + }, + }), + env_inherit = select({ + "@platforms//os:windows": [ + "PATH", + "PATHEXT", + "PWD", + "APPDATA", + "ProgramData", + "ProgramFiles", + "ProgramFiles(x86)", + "PROGRAMDATA", + "PROGRAMFILES", + "PROGRAMFILES(X86)", + "TEMP", + "OS", + "WINDIR", + ], + "//conditions:default": [], + }), deps = [ - "@boost.process", - "@ecsact_cli", + ":spawn", "@googletest//:gtest", "@googletest//:gtest_main", ], ) -refresh_compile_commands( - name = "refresh_compile_commands", - targets = { - # "//:test_build_recipe": "", - "//:test": "", - }, +cc_library( + name = "spawn", + srcs = ["spawn.cc"], + hdrs = ["spawn.hh"], + copts = copts, + deps = [ + "@boost.process", + ], ) ecsact_codegen( diff --git a/test/MODULE.bazel b/test/MODULE.bazel index 7a3ccb3a..a1d47f33 100644 --- a/test/MODULE.bazel +++ b/test/MODULE.bazel @@ -9,7 +9,7 @@ bazel_dep(name = "ecsact_runtime", version = "0.6.1") bazel_dep(name = "boost.mp11", version = "1.83.0.bzl.1") bazel_dep(name = "boost.dll", version = "1.83.0.bzl.2") bazel_dep(name = "entt", version = "3.12.2") -bazel_dep(name = "ecsact_cli", version = "0.3.4") +bazel_dep(name = "ecsact_cli", version = "0.3.6") bazel_dep(name = "boost.process", version = "1.83.0.bzl.2") bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True) @@ -20,6 +20,13 @@ git_override( remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", ) +# TODO: https://github.com/bazelbuild/bazel-central-registry/pull/1916 +git_override( + module_name = "libarchive", + commit = "7c331f92acea5243c195cdc6fb46ecfa11ce1ce2", + remote = "https://github.com/zaucy/libarchive.git", +) + bazel_dep(name = "ecsact_rt_entt") bazel_dep(name = "xxhash", version = "0.8.2") @@ -32,7 +39,7 @@ register_toolchains("@ecsact_cli//:all") llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm", dev_dependency = True) llvm.toolchain(llvm_version = "17.0.6") -use_repo(llvm, "llvm_toolchain") +use_repo(llvm, "llvm_toolchain", "llvm_toolchain_llvm") ecsact = use_extension("@rules_ecsact//ecsact:extensions.bzl", "ecsact", dev_dependency = True) ecsact.toolchain(use_ecsact_cli = True) diff --git a/test/MODULE.bazel.lock b/test/MODULE.bazel.lock index c947fd19..472a10a4 100644 --- a/test/MODULE.bazel.lock +++ b/test/MODULE.bazel.lock @@ -1,9 +1,10 @@ { "lockFileVersion": 6, - "moduleFileHash": "ee6a795941f37fa15ef506225aae320cc0b8eea3d52b820e8c9b87801ce1c9c3", + "moduleFileHash": "259ece41e6358363a5cdec8e89456844bf0e48240cb08d4927f279f3fbf54d26", "flags": { "cmdRegistries": [ "https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2", "https://raw.githubusercontent.com/bazelboost/registry/main", "https://bcr.bazel.build" ], @@ -16,12 +17,12 @@ }, "localOverrideHashes": { "bazel_tools": "1ae69322ac3823527337acf02016e8ee95813d8d356f47060255b8956fa642f0", - "ecsact_rt_entt": "b6d552ea510c93ad6717f86924ea79e339a2dd30025c77765ad1b92f59d51355" + "ecsact_rt_entt": "f5cf43ac2778990cdf4fb17dc96654f443607097009d5bad337313eccf21091a" }, "moduleDepGraph": { "": { "name": "ecsact_rt_entt_test", - "version": "0.1.0", + "version": "", "key": "", "repoName": "ecsact_rt_entt_test", "executionPlatformsToRegister": [], @@ -37,14 +38,16 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 37, + "line": 40, "column": 21 }, "imports": { - "llvm_toolchain": "llvm_toolchain" + "llvm_toolchain": "llvm_toolchain", + "llvm_toolchain_llvm": "llvm_toolchain_llvm" }, "devImports": [ - "llvm_toolchain" + "llvm_toolchain", + "llvm_toolchain_llvm" ], "tags": [ { @@ -55,7 +58,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 38, + "line": 41, "column": 15 } } @@ -69,7 +72,7 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 41, + "line": 44, "column": 23 }, "imports": { @@ -87,7 +90,7 @@ "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 42, + "line": 45, "column": 17 } } @@ -98,7 +101,7 @@ ], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "googletest": "googletest@1.14.0", "rules_ecsact": "rules_ecsact@0.5.0", "ecsact_lang_cpp": "ecsact_lang_cpp@0.4.1", @@ -106,7 +109,7 @@ "boost.mp11": "boost.mp11@1.83.0.bzl.1", "boost.dll": "boost.dll@1.83.0.bzl.2", "entt": "entt@3.12.2", - "ecsact_cli": "ecsact_cli@0.3.4", + "ecsact_cli": "ecsact_cli@0.3.6", "boost.process": "boost.process@1.83.0.bzl.2", "toolchains_llvm": "toolchains_llvm@1.0.0", "hedron_compile_commands": "hedron_compile_commands@_", @@ -131,7 +134,7 @@ "extensionName": "cc_configure_extension", "usingModule": "rules_cc@0.0.9", "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_cc/0.0.9/MODULE.bazel", "line": 9, "column": 29 }, @@ -145,7 +148,7 @@ } ], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -159,16 +162,16 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" }, "remote_patch_strip": 0 } } }, - "bazel_skylib@1.5.0": { + "bazel_skylib@1.6.1": { "name": "bazel_skylib", - "version": "1.5.0", - "key": "bazel_skylib@1.5.0", + "version": "1.6.1", + "key": "bazel_skylib@1.6.1", "repoName": "bazel_skylib", "executionPlatformsToRegister": [], "toolchainsToRegister": [ @@ -177,7 +180,7 @@ ], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -186,9 +189,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz" + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.1/bazel-skylib-1.6.1.tar.gz" ], - "integrity": "sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=", + "integrity": "sha256-nziIakBUjG6WwQa3UvJCEw7hGqoGila6flb0UR8z5PI=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -205,7 +208,7 @@ "extensionUsages": [], "deps": { "com_google_absl": "abseil-cpp@20230802.0", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -220,7 +223,7 @@ "integrity": "sha256-itWYxzrXluDYKAsILOvYKmMNc+c808cAV5OKZQG7pdc=", "strip_prefix": "googletest-1.14.0", "remote_patches": { - "https://bcr.bazel.build/modules/googletest/1.14.0/patches/module_dot_bazel.patch": "sha256-CSomzvti38LCuURDG5EEoa3O1tQF3cKKt/mknnP1qcc=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/googletest/1.14.0/patches/module_dot_bazel.patch": "sha256-CSomzvti38LCuURDG5EEoa3O1tQF3cKKt/mknnP1qcc=" }, "remote_patch_strip": 0 } @@ -236,9 +239,9 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", - "ecsact_cli": "ecsact_cli@0.3.4", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", + "ecsact_cli": "ecsact_cli@0.3.6", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -266,7 +269,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "ecsact_runtime": "ecsact_runtime@0.6.1", "rules_ecsact": "rules_ecsact@0.5.0", "ecsact_codegen": "ecsact_codegen@0.2.0", @@ -297,8 +300,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "googletest": "googletest@1.14.0", "abseil-cpp": "abseil-cpp@20230802.0", "boost.dll": "boost.dll@1.83.0.bzl.2", @@ -357,7 +360,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.assert": "boost.assert@1.83.0.bzl.1", "boost.config": "boost.config@1.83.0.bzl.6", "boost.core": "boost.core@1.83.0.bzl.1", @@ -400,7 +403,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -418,10 +421,10 @@ } } }, - "ecsact_cli@0.3.4": { + "ecsact_cli@0.3.6": { "name": "ecsact_cli", - "version": "0.3.4", - "key": "ecsact_cli@0.3.4", + "version": "0.3.6", + "key": "ecsact_cli@0.3.6", "repoName": "ecsact_cli", "executionPlatformsToRegister": [], "toolchainsToRegister": [], @@ -429,21 +432,23 @@ "deps": { "rules_cc": "rules_cc@0.0.9", "nlohmann_json": "nlohmann_json@3.11.3", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_pkg": "rules_pkg@0.10.1", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "ecsact_parse": "ecsact_parse@0.4.0", "ecsact_runtime": "ecsact_runtime@0.6.1", - "ecsact_interpret": "ecsact_interpret@0.6.0", + "ecsact_interpret": "ecsact_interpret@0.6.1", "ecsact_codegen": "ecsact_codegen@0.2.0", "boost.dll": "boost.dll@1.83.0.bzl.2", "magic_enum": "magic_enum@0.9.3", - "curl": "curl@8.4.0", + "curl": "curl@8.7.1.bcr.1", "docopt.cpp": "docopt.cpp@0.6.2", "boost.process": "boost.process@1.83.0.bzl.2", "boost.algorithm": "boost.algorithm@1.83.0.bzl.1", "boost.url": "boost.url@1.83.0.bzl.2", "yaml-cpp": "yaml-cpp@0.8.0", + "libarchive": "libarchive@_", + "xxhash": "xxhash@0.8.2", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -452,9 +457,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/ecsact-dev/ecsact_cli/releases/download/0.3.4/ecsact_cli-0.3.4.tar.gz" + "https://github.com/ecsact-dev/ecsact_cli/releases/download/0.3.6/ecsact_cli-0.3.6.tar.gz" ], - "integrity": "sha256-o/uv0o+zrxPoSgTo88232q3TWfM4raPxnB95qlIQWaw=", + "integrity": "sha256-l9Bz4nRl7kywbphkH9ghdAJirBZypAJoWqw+90bbs6Y=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -471,8 +476,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.algorithm": "boost.algorithm@1.83.0.bzl.1", "boost.asio": "boost.asio@1.83.0.bzl.2", "boost.config": "boost.config@1.83.0.bzl.6", @@ -516,9 +521,9 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -612,7 +617,7 @@ }, "ecsact_rt_entt@_": { "name": "ecsact_rt_entt", - "version": "0.3.0", + "version": "0.3.1", "key": "ecsact_rt_entt@_", "repoName": "ecsact_rt_entt", "executionPlatformsToRegister": [], @@ -620,15 +625,16 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_ecsact": "rules_ecsact@0.5.0", "ecsact_runtime": "ecsact_runtime@0.6.1", "ecsact_lang_cpp": "ecsact_lang_cpp@0.4.1", "boost.mp11": "boost.mp11@1.83.0.bzl.1", "entt": "entt@3.12.2", "ecsact_codegen": "ecsact_codegen@0.2.0", - "ecsact_cli": "ecsact_cli@0.3.4", + "ecsact_cli": "ecsact_cli@0.3.6", "xxhash": "xxhash@0.8.2", + "googletest": "googletest@1.14.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" } @@ -655,8 +661,8 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/xxhash/0.8.2/patches/add_build_file.patch": "sha256-WQDdUpYas3Sbezqz0dJ5kMdr/c729ki+QLZv4iwEOj8=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/xxhash/0.8.2/patches/module_dot_bazel.patch": "sha256-ZLVQs0CBa7/fVGDx0804Hg7ORsWd92G06m2z1N5PeMg=" }, "remote_patch_strip": 0 } @@ -807,9 +813,9 @@ "rules_proto": "rules_proto@5.3.0-21.7", "rules_python": "rules_python@0.24.0", "buildozer": "buildozer@6.4.0.2", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "com_google_protobuf": "protobuf@21.7", - "zlib": "zlib@1.3", + "zlib": "zlib@1.3.1.bcr.1", "build_bazel_apple_support": "apple_support@1.5.0", "local_config_platform": "local_config_platform@_" } @@ -823,14 +829,14 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_" } }, - "platforms@0.0.9": { + "platforms@0.0.10": { "name": "platforms", - "version": "0.0.9", - "key": "platforms@0.0.9", + "version": "0.0.10", + "key": "platforms@0.0.10", "repoName": "platforms", "executionPlatformsToRegister": [], "toolchainsToRegister": [], @@ -838,9 +844,9 @@ { "extensionBzlFile": "@platforms//host:extension.bzl", "extensionName": "host_platform", - "usingModule": "platforms@0.0.9", + "usingModule": "platforms@0.0.10", "location": { - "file": "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/platforms/0.0.10/MODULE.bazel", "line": 9, "column": 30 }, @@ -863,9 +869,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz" + "https://github.com/bazelbuild/platforms/releases/download/0.0.10/platforms-0.0.10.tar.gz" ], - "integrity": "sha256-XtpTnIQSZQMcL4LYrno6ZJC9YhduDAOPxGnqv5H2FJs=", + "integrity": "sha256-IY7+juc20mo1cmY7N0olPAErcW2K8MB+hC6C8jigp+4=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -882,8 +888,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "com_google_googletest": "googletest@1.14.0", "com_github_google_benchmark": "google_benchmark@1.8.2", "bazel_tools": "bazel_tools@_", @@ -899,7 +905,7 @@ "integrity": "sha256-WdKXavnW7PABqBo1dJpuVRozW5SdNJGM+t4Hc3udk8U=", "strip_prefix": "abseil-cpp-20230802.0", "remote_patches": { - "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/patches/module_dot_bazel.patch": "sha256-tppa7eDWtr2QUqOhIzKmHL5DEqUqfMFQIH7tkhFDY8E=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/abseil-cpp/20230802.0/patches/module_dot_bazel.patch": "sha256-tppa7eDWtr2QUqOhIzKmHL5DEqUqfMFQIH7tkhFDY8E=" }, "remote_patch_strip": 0 } @@ -915,7 +921,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.dll": "boost.dll@1.83.0.bzl.2", "ecsact_runtime": "ecsact_runtime@0.6.1", "bazel_tools": "bazel_tools@_", @@ -1445,7 +1451,7 @@ "integrity": "sha256-oiRh0TEZrFx48gXT3x2xNAPljOG7F5TtyTE2dzE/Sp0=", "strip_prefix": "", "remote_patches": { - "https://bcr.bazel.build/modules/nlohmann_json/3.11.3/patches/module_dot_bazel.patch": "sha256-OmeSCp1IqWbHGPJs0v5taUiPLEsI9KEJPLsnPpKB/B8=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/nlohmann_json/3.11.3/patches/module_dot_bazel.patch": "sha256-OmeSCp1IqWbHGPJs0v5taUiPLEsI9KEJPLsnPpKB/B8=" }, "remote_patch_strip": 0 } @@ -1462,7 +1468,7 @@ "deps": { "rules_license": "rules_license@0.0.7", "rules_python": "rules_python@0.24.0", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1490,7 +1496,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "ecsact_runtime": "ecsact_runtime@0.6.1", "lexy": "lexy@2022.05.1", "magic_enum": "magic_enum@0.9.3", @@ -1511,17 +1517,17 @@ } } }, - "ecsact_interpret@0.6.0": { + "ecsact_interpret@0.6.1": { "name": "ecsact_interpret", - "version": "0.6.0", - "key": "ecsact_interpret@0.6.0", + "version": "0.6.1", + "key": "ecsact_interpret@0.6.1", "repoName": "ecsact_interpret", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "magic_enum": "magic_enum@0.9.3", "ecsact_runtime": "ecsact_runtime@0.6.1", "ecsact_parse": "ecsact_parse@0.4.0", @@ -1533,9 +1539,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/ecsact-dev/ecsact_interpret/releases/download/0.6.0/ecsact_interpret-0.6.0.tar.gz" + "https://github.com/ecsact-dev/ecsact_interpret/releases/download/0.6.1/ecsact_interpret-0.6.1.tar.gz" ], - "integrity": "sha256-YDtn32eLL0JDIGBSelHroEiIBaS2tBjnXsVyn3Cuf18=", + "integrity": "sha256-1aW5PB3CmxlhNCtu9Q4pXk+Udh3eoyPF8mkY6fwS1Zk=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -1552,7 +1558,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1570,16 +1576,18 @@ } } }, - "curl@8.4.0": { + "curl@8.7.1.bcr.1": { "name": "curl", - "version": "8.4.0", - "key": "curl@8.4.0", + "version": "8.7.1.bcr.1", + "key": "curl@8.7.1.bcr.1", "repoName": "curl", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "mbedtls": "mbedtls@3.6.0", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1588,15 +1596,16 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/curl/curl/releases/download/curl-8_4_0/curl-8.4.0.tar.gz" + "https://github.com/curl/curl/releases/download/curl-8_7_1/curl-8.7.1.tar.gz" ], - "integrity": "sha256-gW5BgJwEP/KF6MDwanWh+iUCEbv7LcCgN+7vOfGp5Cc=", - "strip_prefix": "curl-8.4.0", + "integrity": "sha256-+RJJyH9o6gDPJ8RP36WnhCPkHnG31AjlkBqYltkFxJU=", + "strip_prefix": "curl-8.7.1", "remote_patches": { - "https://bcr.bazel.build/modules/curl/8.4.0/patches/add_build_file.patch": "sha256-Vcb973u9Diuzp+nG0XzkID+LvaTdbJ6M6tZxH1Vtyo0=", - "https://bcr.bazel.build/modules/curl/8.4.0/patches/module_dot_bazel.patch": "sha256-EEYIkUUDdDiyntAtQHOhsgwqJgs/EvZP6pjuxPUeWIo=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/curl/8.7.1.bcr.1/patches/add_build_file.patch": "sha256-v72CABzBMc2lrA1Oy/QLsxd8x0bv/zkPjxTPGfArI8I=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/curl/8.7.1.bcr.1/patches/module_dot_bazel.patch": "sha256-CmB4PaZ8lHufyVHpS4z/rUPT3aPWg/I29b0ulErrYlY=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/curl/8.7.1.bcr.1/patches/add_curl_config.patch": "sha256-vdS5XRiVn5iKvJcdr0FilwCrJpQnWhEqStalazJ1Dy8=" }, - "remote_patch_strip": 0 + "remote_patch_strip": 1 } } }, @@ -1610,7 +1619,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "boost.regex": "boost.regex@1.83.0.bzl.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1720,7 +1729,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1735,12 +1744,34 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/yaml-cpp/0.8.0/patches/module_dot_bazel.patch": "sha256-YM6xq0Mtu51Okntj5lRQ3V04DyZNm4hZdrSDMio1KeU=" }, "remote_patch_strip": 1 } } }, + "libarchive@_": { + "name": "libarchive", + "version": "3.7.3", + "key": "libarchive@_", + "repoName": "libarchive", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bzip2": "bzip2@1.0.8.bcr.1", + "lz4": "lz4@1.9.4", + "xz": "xz@5.4.5.bcr.2", + "zlib": "zlib@1.3.1.bcr.1", + "zstd": "zstd@1.5.6", + "platforms": "platforms@0.0.10", + "rules_cc": "rules_cc@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "mbedtls": "mbedtls@3.6.0", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, "boost.asio@1.83.0.bzl.2": { "name": "boost.asio", "version": "1.83.0.bzl.2", @@ -1751,8 +1782,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "boringssl": "boringssl@0.0.0-20230215-5c22014", "boost.align": "boost.align@1.83.0.bzl.1", "boost.array": "boost.array@1.83.0.bzl.1", @@ -2038,7 +2069,7 @@ "extensionName": "toolchains", "usingModule": "rules_java@7.4.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.4.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_java/7.4.0/MODULE.bazel", "line": 19, "column": 27 }, @@ -2078,9 +2109,9 @@ } ], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_proto": "rules_proto@5.3.0-21.7", "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", @@ -2135,7 +2166,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "com_google_protobuf": "protobuf@21.7", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", @@ -2170,7 +2201,7 @@ "extensionName": "internal_deps", "usingModule": "rules_python@0.24.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 14, "column": 30 }, @@ -2197,7 +2228,7 @@ "attributeValues": {}, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 15, "column": 22 } @@ -2211,7 +2242,7 @@ "extensionName": "python", "usingModule": "rules_python@0.24.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 36, "column": 23 }, @@ -2228,7 +2259,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.24.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/MODULE.bazel", "line": 42, "column": 17 } @@ -2239,8 +2270,8 @@ } ], "deps": { - "platforms": "platforms@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.10", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "bazel_tools": "bazel_tools@_", @@ -2256,7 +2287,7 @@ "integrity": "sha256-CoADsEQpTXhArH2dc+7wXWzraC11FngaTsYu6zRwJXg=", "strip_prefix": "rules_python-0.24.0", "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.24.0/patches/module_dot_bazel_version.patch": "sha256-cz8Rx8aNLvYvSpiVWk8umcsBy6jAAC0YwU42zj1cNlU=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_python/0.24.0/patches/module_dot_bazel_version.patch": "sha256-cz8Rx8aNLvYvSpiVWk8umcsBy6jAAC0YwU42zj1cNlU=" }, "remote_patch_strip": 0 } @@ -2275,7 +2306,7 @@ "extensionName": "buildozer_binary", "usingModule": "buildozer@6.4.0.2", "location": { - "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/buildozer/6.4.0.2/MODULE.bazel", "line": 7, "column": 33 }, @@ -2298,7 +2329,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/buildozer/6.4.0.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/buildozer/6.4.0.2/MODULE.bazel", "line": 8, "column": 27 } @@ -2322,7 +2353,7 @@ "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU=" }, "remote_patch_strip": 1 } @@ -2341,7 +2372,7 @@ "extensionName": "maven", "usingModule": "protobuf@21.7", "location": { - "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/MODULE.bazel", "line": 22, "column": 22 }, @@ -2368,7 +2399,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/MODULE.bazel", "line": 24, "column": 14 } @@ -2379,14 +2410,14 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_python": "rules_python@0.24.0", "rules_cc": "rules_cc@0.0.9", "rules_proto": "rules_proto@5.3.0-21.7", "rules_java": "rules_java@7.4.0", "rules_pkg": "rules_pkg@0.10.1", "com_google_abseil": "abseil-cpp@20230802.0", - "zlib": "zlib@1.3", + "zlib": "zlib@1.3.1.bcr.1", "upb": "upb@0.0.0-20220923-a547704", "rules_jvm_external": "rules_jvm_external@4.4.2", "com_google_googletest": "googletest@1.14.0", @@ -2403,25 +2434,25 @@ "integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=", "strip_prefix": "protobuf-21.7", "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY=" }, "remote_patch_strip": 1 } } }, - "zlib@1.3": { + "zlib@1.3.1.bcr.1": { "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", + "version": "1.3.1.bcr.1", + "key": "zlib@1.3.1.bcr.1", "repoName": "zlib", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -2431,15 +2462,15 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" + "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz" ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", + "integrity": "sha256-mpOyt9/ax3zrpaVYpYDnRmfdb+3kWFuR7vtg8Dty3yM=", + "strip_prefix": "zlib-1.3.1", "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=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zlib/1.3.1.bcr.1/patches/add_build_file.patch": "sha256-0MCgNjvE1kGfdKTdDt4PEBHJMIwtDYHB7h69zhxDSNI=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zlib/1.3.1.bcr.1/patches/add_module_file.patch": "sha256-euR5cSrSZnUKPOIJKRu3BY/Dphe1+ekPC6OWaAQfDjQ=" }, - "remote_patch_strip": 0 + "remote_patch_strip": 1 } } }, @@ -2458,7 +2489,7 @@ "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", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/apple_support/1.5.0/MODULE.bazel", "line": 17, "column": 35 }, @@ -2473,8 +2504,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -2501,8 +2532,8 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "rules_cc": "rules_cc@0.0.9", "libpfm": "libpfm@4.11.0", @@ -2519,7 +2550,7 @@ "integrity": "sha256-KqspgNA3YTf5adkoSPu2gharsHYzA0U0/IxlzE56DpM=", "strip_prefix": "benchmark-1.8.2", "remote_patches": { - "https://bcr.bazel.build/modules/google_benchmark/1.8.2/patches/module_dot_bazel.patch": "sha256-703OrC3OH7pk9qrGkAMbvp/8yEoHiesDKHNVIKVJB/M=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/google_benchmark/1.8.2/patches/module_dot_bazel.patch": "sha256-703OrC3OH7pk9qrGkAMbvp/8yEoHiesDKHNVIKVJB/M=" }, "remote_patch_strip": 0 } @@ -3243,7 +3274,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3261,6 +3292,36 @@ } } }, + "mbedtls@3.6.0": { + "name": "mbedtls", + "version": "3.6.0", + "key": "mbedtls@3.6.0", + "repoName": "mbedtls", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "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/Mbed-TLS/mbedtls/releases/download/v3.6.0/mbedtls-3.6.0.tar.bz2" + ], + "integrity": "sha256-Ps+U/P2qyvt1d4agG3U4phdQ69hcSwJPVv+LoUkPzTg=", + "strip_prefix": "mbedtls-3.6.0", + "remote_patches": { + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/mbedtls/3.6.0/patches/add_build.patch": "sha256-+eevKk6D53jwSk1vngf7au/XMw/T++lxiQ/hlYb0fUA=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/mbedtls/3.6.0/patches/module_dot_bazel.patch": "sha256-zau8FpFxNUirkyEVgW50LwrrsB2Dt0Kp25zu0p55t0U=" + }, + "remote_patch_strip": 1 + } + } + }, "boost.concept_check@1.83.0.bzl.1": { "name": "boost.concept_check", "version": "1.83.0.bzl.1", @@ -3388,6 +3449,126 @@ } } }, + "bzip2@1.0.8.bcr.1": { + "name": "bzip2", + "version": "1.0.8.bcr.1", + "key": "bzip2@1.0.8.bcr.1", + "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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/bzip2/1.0.8.bcr.1/patches/add_build_file.patch": "sha256-QPcAoslzyuAkL4VQgb18uhZaUu8A30/LUrD8wHaKZHY=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/bzip2/1.0.8.bcr.1/patches/module_dot_bazel.patch": "sha256-lfm8AQkGepyTCT/UQrNpojSPcuu9TnCpPEWykSew7r8=" + }, + "remote_patch_strip": 0 + } + } + }, + "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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/lz4/1.9.4/patches/add_build_file.patch": "sha256-v1zbuA4Ya6cX2rDv54qh/8kwM7dimnWuyg40vCik4FM=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/lz4/1.9.4/patches/module_dot_bazel.patch": "sha256-V8GT+T9/zjsD3c67mJ4qVJoOkR4VZlXnpXl6b/FKI/Y=" + }, + "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.6.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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/xz/5.4.5.bcr.2/patches/patch.diff": "sha256-/p4OtkABqNVS/ujgPMKK8iBMyF/N+CO4zc5Yt02t2+o=" + }, + "remote_patch_strip": 1 + } + } + }, + "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://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zstd/1.5.6/patches/add_build_file.patch": "sha256-eWyxLXFI3vRjvK572z4lHJdoia96jUfQxzAP+hYY9ck=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/zstd/1.5.6/patches/module_dot_bazel.patch": "sha256-xNLcQox8GjyYhgThGYV16+CcXYkumiPAVXRZlWUqWJM=" + }, + "remote_patch_strip": 0 + } + } + }, "boringssl@0.0.0-20230215-5c22014": { "name": "boringssl", "version": "0.0.0-20230215-5c22014", @@ -3398,7 +3579,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3412,7 +3593,7 @@ "integrity": "sha256-hj/GcMRW8wkjdAwWOTBRMv37nRslujhaZ644Yu8SqK8=", "strip_prefix": "boringssl-5c22014ca513807ed03c657e8ede076164663979", "remote_patches": { - "https://bcr.bazel.build/modules/boringssl/0.0.0-20230215-5c22014/patches/module_dot_bazel.patch": "sha256-TbAx9h+pBkDT3JmKw1bRchtNcLK1dnvsW1IlCkl/yd0=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/boringssl/0.0.0-20230215-5c22014/patches/module_dot_bazel.patch": "sha256-TbAx9h+pBkDT3JmKw1bRchtNcLK1dnvsW1IlCkl/yd0=" }, "remote_patch_strip": 0 } @@ -3652,11 +3833,11 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "com_google_absl": "abseil-cpp@20230802.0", - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3670,7 +3851,7 @@ "integrity": "sha256-z39x6v+QskwaKLSWRan/A6mmwecTQpHOcJActj5zZLU=", "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577", "remote_patches": { - "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0=" }, "remote_patch_strip": 0 } @@ -3689,7 +3870,7 @@ "extensionName": "non_module_deps", "usingModule": "rules_jvm_external@4.4.2", "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_jvm_external/4.4.2/MODULE.bazel", "line": 9, "column": 32 }, @@ -3706,7 +3887,7 @@ "extensionName": "maven", "usingModule": "rules_jvm_external@4.4.2", "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_jvm_external/4.4.2/MODULE.bazel", "line": 16, "column": 22 }, @@ -3730,7 +3911,7 @@ }, "devDependency": false, "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_jvm_external/4.4.2/MODULE.bazel", "line": 18, "column": 14 } @@ -3741,7 +3922,7 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "io_bazel_stardoc": "stardoc@0.5.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -3785,7 +3966,7 @@ "extensionName": "ext", "usingModule": "rules_foreign_cc@0.9.0", "location": { - "file": "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel", + "file": "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_foreign_cc/0.9.0/MODULE.bazel", "line": 13, "column": 20 }, @@ -3807,8 +3988,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", - "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.6.1", + "platforms": "platforms@0.0.10", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3822,8 +4003,8 @@ "integrity": "sha256-Kk0HzWSwcZs5p8EiGKPlB2crgql7mMaonThWWJTPfFE=", "strip_prefix": "rules_foreign_cc-0.9.0", "remote_patches": { - "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/patches/examples.patch": "sha256-RxT7rVHxO30W350sYu7ybi4rStwoB8b8mr34ZU9ciIk=", - "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/patches/module_dot_bazel.patch": "sha256-VTNnq8ySdeo9pI4rrJ+EXa/9ZACgQQ4baUwoQpljzCM=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_foreign_cc/0.9.0/patches/examples.patch": "sha256-RxT7rVHxO30W350sYu7ybi4rStwoB8b8mr34ZU9ciIk=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/rules_foreign_cc/0.9.0/patches/module_dot_bazel.patch": "sha256-VTNnq8ySdeo9pI4rrJ+EXa/9ZACgQQ4baUwoQpljzCM=" }, "remote_patch_strip": 1 } @@ -3838,7 +4019,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.9", + "platforms": "platforms@0.0.10", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -3853,8 +4034,8 @@ "integrity": "sha256-XaX4hyveFLNjTJaI2YD2i9ootRAmhyPMEpc+7bq5/sw=", "strip_prefix": "libpfm-4.11.0", "remote_patches": { - "https://bcr.bazel.build/modules/libpfm/4.11.0/patches/module_dot_bazel.patch": "sha256-G0wQJ2mVEoW/L5LGzmbNfuZaxI2+9NDuWJtqvCpM1pc=", - "https://bcr.bazel.build/modules/libpfm/4.11.0/patches/add_build_file.patch": "sha256-E61d/qQgmeOcUliWaveHPp1EZoOjkvZJsqhGhHofqUg=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/libpfm/4.11.0/patches/module_dot_bazel.patch": "sha256-G0wQJ2mVEoW/L5LGzmbNfuZaxI2+9NDuWJtqvCpM1pc=", + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/libpfm/4.11.0/patches/add_build_file.patch": "sha256-E61d/qQgmeOcUliWaveHPp1EZoOjkvZJsqhGhHofqUg=" }, "remote_patch_strip": 0 } @@ -4067,7 +4248,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.5.0", + "bazel_skylib": "bazel_skylib@1.6.1", "rules_java": "rules_java@7.4.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -4082,7 +4263,7 @@ "integrity": "sha256-qoFNrgrEALurLoiB+ZFcb0fElmS/CHxAmhX5BDjSwj4=", "strip_prefix": "", "remote_patches": { - "https://bcr.bazel.build/modules/stardoc/0.5.1/patches/module_dot_bazel.patch": "sha256-UAULCuTpJE7SG0YrR9XLjMfxMRmbP+za3uW9ONZ5rjI=" + "https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2/modules/stardoc/0.5.1/patches/module_dot_bazel.patch": "sha256-UAULCuTpJE7SG0YrR9XLjMfxMRmbP+za3uW9ONZ5rjI=" }, "remote_patch_strip": 0 } @@ -4237,7 +4418,7 @@ }, "@@rules_ecsact~//ecsact:extensions.bzl%ecsact": { "general": { - "bzlTransitiveDigest": "mSPr3k+H4//yzBqUaQk3109i/iFRvjxIadmY84toSuI=", + "bzlTransitiveDigest": "yBFs/NVyYI7QiMvvjA4I6IW9I+rk9eZIogM7wKkOIIk=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -4246,7 +4427,7 @@ "bzlFile": "@@rules_ecsact~//ecsact:extensions.bzl", "ruleClassName": "_ecsact_toolchain_repository", "attributes": { - "ecsact_system_sdk_exe": "C:/Users/zekew/AppData/Local/Microsoft/WindowsApps/ecsact.exe", + "ecsact_system_sdk_exe": "C:/Users/Austin/AppData/Local/Microsoft/WindowsApps/ecsact.exe", "use_ecsact_cli": true } } @@ -4262,7 +4443,7 @@ }, "@@rules_foreign_cc~//foreign_cc:extensions.bzl%ext": { "general": { - "bzlTransitiveDigest": "QbxK92//k6c63fpMer2Lkk6224s9gwYoVFFS6mdkucI=", + "bzlTransitiveDigest": "0/GTFp9D0gb6hOu9jXXnaWa5hPbzPpIzLVxITdJTwvo=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -4533,7 +4714,7 @@ }, "@@rules_java~//java:extensions.bzl%toolchains": { "general": { - "bzlTransitiveDigest": "tJHbmWnq7m+9eUBnUdv7jZziQ26FmcGL9C5/hU3Q9UQ=", + "bzlTransitiveDigest": "0N5b5J9fUzo0sgvH4F3kIEaeXunz4Wy2/UtSFV/eXUY=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -5038,7 +5219,7 @@ }, "@@rules_python~//python/extensions:python.bzl%python": { "general": { - "bzlTransitiveDigest": "mh86AsACwkNSoqpB2hzQpecNE0j+gb57EL0ZjxD3ZRE=", + "bzlTransitiveDigest": "IMdPzfoNLlz06lDUvDoajmn/Uz0yQDmK1+WG+jfMMNE=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -5181,7 +5362,7 @@ }, "@@toolchains_llvm~//toolchain/extensions:llvm.bzl%llvm": { "general": { - "bzlTransitiveDigest": "rdQ1nlqTcj0kPoX7LxaygMQPcdnBPV85jNsRMF1M/Hw=", + "bzlTransitiveDigest": "S0z5hqi5KbDjXVFL5scNHSTTjB1/WWgKnGICpMb8kok=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, diff --git a/test/ecsact_rt_entt_codegen.dll b/test/ecsact_rt_entt_codegen.dll deleted file mode 100644 index 10702468..00000000 Binary files a/test/ecsact_rt_entt_codegen.dll and /dev/null differ diff --git a/test/spawn.cc b/test/spawn.cc new file mode 100644 index 00000000..be435f12 --- /dev/null +++ b/test/spawn.cc @@ -0,0 +1,20 @@ +#include "spawn.hh" + +#include + +namespace bp = boost::process; + +int ecsact::entt::test::detail::spawn( + std::string executable, + std::vector args +) { + auto proc = bp::child( + bp::exe(executable), + bp::args(args), + bp::std_out > stdout, + bp::std_err > stderr + ); + + proc.wait(); + return proc.exit_code(); +} diff --git a/test/spawn.hh b/test/spawn.hh new file mode 100644 index 00000000..be97ed4f --- /dev/null +++ b/test/spawn.hh @@ -0,0 +1,8 @@ +#pragma once + +#include +#include + +namespace ecsact::entt::test::detail { +int spawn(std::string executable, std::vector args); +} diff --git a/test/test_build_recipe.cc b/test/test_build_recipe.cc index 496beaa5..c2f43c5e 100644 --- a/test/test_build_recipe.cc +++ b/test/test_build_recipe.cc @@ -1,36 +1,44 @@ +#include "gtest/gtest.h" #include +#include #include #include +#include #include -#include +#include "spawn.hh" namespace fs = std::filesystem; TEST(Build, Success) { auto ecsact_cli = std::getenv("ECSACT_CLI"); - auto codegen_plugin_path = std::getenv("CODEGEN_PLUGIN_PATH"); + auto ecsact_codegen_plugin_path = std::getenv("ECSACT_CODEGEN_PLUGIN_PATH"); auto ecsact_runtime_file_path = std::getenv("ECSACT_RUNTIME_FILE_PATH"); auto ecsact_imported_file_path = std::getenv("ECSACT_IMPORTED_FILE_PATH"); auto ecsact_recipe_path = std::getenv("ECSACT_RECIPE_PATH"); ASSERT_NE(ecsact_cli, nullptr); - ASSERT_NE(codegen_plugin_path, nullptr); + ASSERT_NE(ecsact_codegen_plugin_path, nullptr); ASSERT_NE(ecsact_runtime_file_path, nullptr); ASSERT_NE(ecsact_imported_file_path, nullptr); ASSERT_NE(ecsact_recipe_path, nullptr); ASSERT_TRUE(fs::exists(ecsact_cli)); - ASSERT_TRUE(fs::exists(codegen_plugin_path)); + ASSERT_TRUE(fs::exists(ecsact_codegen_plugin_path)); ASSERT_TRUE(fs::exists(ecsact_runtime_file_path)); ASSERT_TRUE(fs::exists(ecsact_imported_file_path)); ASSERT_TRUE(fs::exists(ecsact_recipe_path)); - boost::process.spawn( - ecsact_cli, - std::string(codegen_plugin_path), + std::vector args{ + "build", std::string(ecsact_runtime_file_path), std::string(ecsact_imported_file_path), - std::string(ecsact_recipe_path) - ); + std::format("--recipe={}", ecsact_recipe_path), + std::format("--output={}", "test"), + }; + + int exit_code = + ecsact::entt::test::detail::spawn(std::string(ecsact_cli), args); + + ASSERT_EQ(exit_code, 0); }