From f30f58bee2d20b5c257e02349c4b0eb8eb708941 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Wed, 3 Apr 2024 22:43:40 -0700 Subject: [PATCH] chore: update deps --- MODULE.bazel | 21 ++- MODULE.bazel.lock | 341 ++++++++++++++++++++++++++++++++++------- test/MODULE.bazel | 24 +-- test/MODULE.bazel.lock | 213 +++++++++++++------------ 4 files changed, 434 insertions(+), 165 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 29e20f5..db602ab 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -5,7 +5,24 @@ module( ) bazel_dep(name = "rules_cc", version = "0.0.9") -bazel_dep(name = "bazel_skylib", version = "1.4.2") -bazel_dep(name = "ecsact_runtime", version = "0.5.1") +bazel_dep(name = "bazel_skylib", version = "1.5.0") +bazel_dep(name = "ecsact_runtime", version = "0.6.0") bazel_dep(name = "lexy", version = "2022.05.1") bazel_dep(name = "magic_enum", version = "0.9.3") + +bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True) +bazel_dep(name = "hedron_compile_commands", dev_dependency = True) +git_override( + module_name = "hedron_compile_commands", + commit = "204aa593e002cbd177d30f11f54cff3559110bb9", + remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.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") + +register_toolchains( + "@llvm_toolchain//:all", + dev_dependency = True, +) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index a966ac7..9219b98 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 6, - "moduleFileHash": "6cf637dc871fdb62c52b39c6d046eb8ef5b1dbb9246df2a9bc71681b03e015a1", + "moduleFileHash": "51544f6cc5a610979f88988bb87c89ce67187dfec215519e2ed90b110033b895", "flags": { "cmdRegistries": [ "https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main", @@ -24,14 +24,51 @@ "key": "", "repoName": "ecsact_parse", "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], + "toolchainsToRegister": [ + "@llvm_toolchain//:all" + ], + "extensionUsages": [ + { + "extensionBzlFile": "@toolchains_llvm//toolchain/extensions:llvm.bzl", + "extensionName": "llvm", + "usingModule": "", + "location": { + "file": "@@//:MODULE.bazel", + "line": 21, + "column": 21 + }, + "imports": { + "llvm_toolchain": "llvm_toolchain" + }, + "devImports": [ + "llvm_toolchain" + ], + "tags": [ + { + "tagName": "toolchain", + "attributeValues": { + "llvm_version": "17.0.6" + }, + "devDependency": true, + "location": { + "file": "@@//:MODULE.bazel", + "line": 22, + "column": 15 + } + } + ], + "hasDevUseExtension": true, + "hasNonDevUseExtension": false + } + ], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "ecsact_runtime": "ecsact_runtime@0.5.1", + "bazel_skylib": "bazel_skylib@1.5.0", + "ecsact_runtime": "ecsact_runtime@0.6.0", "lexy": "lexy@2022.05.1", "magic_enum": "magic_enum@0.9.3", + "toolchains_llvm": "toolchains_llvm@1.0.0", + "hedron_compile_commands": "hedron_compile_commands@_", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" } @@ -65,7 +102,7 @@ } ], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -85,10 +122,10 @@ } } }, - "bazel_skylib@1.4.2": { + "bazel_skylib@1.5.0": { "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", + "version": "1.5.0", + "key": "bazel_skylib@1.5.0", "repoName": "bazel_skylib", "executionPlatformsToRegister": [], "toolchainsToRegister": [ @@ -97,7 +134,7 @@ ], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -106,27 +143,27 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz" ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", + "integrity": "sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 } } }, - "ecsact_runtime@0.5.1": { + "ecsact_runtime@0.6.0": { "name": "ecsact_runtime", - "version": "0.5.1", - "key": "ecsact_runtime@0.5.1", + "version": "0.6.0", + "key": "ecsact_runtime@0.6.0", "repoName": "ecsact_runtime", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "googletest": "googletest@1.14.0", "abseil-cpp": "abseil-cpp@20230802.0", "boost.dll": "boost.dll@1.83.0.bzl.2", @@ -139,9 +176,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/ecsact-dev/ecsact_runtime/releases/download/0.5.1/ecsact_runtime-0.5.1.tar.gz" + "https://github.com/ecsact-dev/ecsact_runtime/releases/download/0.6.0/ecsact_runtime-0.6.0.tar.gz" ], - "integrity": "sha256-xhzsYKsl/+9IOyQ51nXT7IZCvWCLeoRtakQp5Msjll8=", + "integrity": "sha256-+pY1idxdfTR0cPzXWc6ciKpbW+FHI/kRjqWimUWjrMw=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -158,7 +195,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -186,7 +223,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -204,6 +241,109 @@ } } }, + "toolchains_llvm@1.0.0": { + "name": "toolchains_llvm", + "version": "1.0.0", + "key": "toolchains_llvm@1.0.0", + "repoName": "toolchains_llvm", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "bazel_skylib": "bazel_skylib@1.5.0", + "rules_cc": "rules_cc@0.0.9", + "platforms": "platforms@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/bazel-contrib/toolchains_llvm/releases/download/1.0.0/toolchains_llvm-1.0.0.tar.gz" + ], + "integrity": "sha256-6RxDYfmQEaVIFOGvvlxDbg0ymHEUajzVjCOitK+1Bzc=", + "strip_prefix": "toolchains_llvm-1.0.0", + "remote_patches": {}, + "remote_patch_strip": 0 + } + } + }, + "hedron_compile_commands@_": { + "name": "hedron_compile_commands", + "version": "", + "key": "hedron_compile_commands@_", + "repoName": "hedron_compile_commands", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [ + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 3, + "column": 18 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 4, + "column": 19 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 5, + "column": 20 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + }, + { + "extensionBzlFile": "@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", + "extensionName": "hedron_compile_commands_extension", + "usingModule": "hedron_compile_commands@_", + "location": { + "file": "@@hedron_compile_commands~//:MODULE.bazel", + "line": 6, + "column": 21 + }, + "imports": {}, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], + "deps": { + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, "bazel_tools@_": { "name": "bazel_tools", "version": "", @@ -349,7 +489,7 @@ "rules_proto": "rules_proto@5.3.0-21.7", "rules_python": "rules_python@0.22.1", "buildozer": "buildozer@6.4.0.2", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "com_google_protobuf": "protobuf@21.7", "zlib": "zlib@1.3", "build_bazel_apple_support": "apple_support@1.5.0", @@ -365,18 +505,36 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_" } }, - "platforms@0.0.7": { + "platforms@0.0.9": { "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", + "version": "0.0.9", + "key": "platforms@0.0.9", "repoName": "platforms", "executionPlatformsToRegister": [], "toolchainsToRegister": [], - "extensionUsages": [], + "extensionUsages": [ + { + "extensionBzlFile": "@platforms//host:extension.bzl", + "extensionName": "host_platform", + "usingModule": "platforms@0.0.9", + "location": { + "file": "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel", + "line": 9, + "column": 30 + }, + "imports": { + "host_platform": "host_platform" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], "deps": { "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", @@ -387,9 +545,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" + "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz" ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", + "integrity": "sha256-XtpTnIQSZQMcL4LYrno6ZJC9YhduDAOPxGnqv5H2FJs=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -406,7 +564,7 @@ "extensionUsages": [], "deps": { "com_google_absl": "abseil-cpp@20230802.0", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -437,8 +595,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "com_google_googletest": "googletest@1.14.0", "com_github_google_benchmark": "google_benchmark@1.8.2", "bazel_tools": "bazel_tools@_", @@ -470,7 +628,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "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", @@ -513,8 +671,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "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", @@ -627,9 +785,9 @@ } ], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", @@ -684,7 +842,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "com_google_protobuf": "protobuf@21.7", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", @@ -789,8 +947,8 @@ } ], "deps": { - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "bazel_tools": "bazel_tools@_", @@ -929,7 +1087,7 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_python": "rules_python@0.22.1", "rules_cc": "rules_cc@0.0.9", "rules_proto": "rules_proto@5.3.0-21.7", @@ -971,7 +1129,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1023,8 +1181,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1051,8 +1209,8 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.9", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "rules_cc": "rules_cc@0.0.9", "libpfm": "libpfm@4.11.0", @@ -1617,8 +1775,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "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", @@ -1876,7 +2034,7 @@ "extensionUsages": [], "deps": { "rules_python": "rules_python@0.22.1", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1906,11 +2064,11 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "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.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1995,7 +2153,7 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "io_bazel_stardoc": "stardoc@0.5.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -2061,8 +2219,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -2092,7 +2250,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -2928,7 +3086,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -3213,7 +3371,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_java": "rules_java@7.4.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -4341,6 +4499,75 @@ ] ] } + }, + "@@toolchains_llvm~//toolchain/extensions:llvm.bzl%llvm": { + "general": { + "bzlTransitiveDigest": "rdQ1nlqTcj0kPoX7LxaygMQPcdnBPV85jNsRMF1M/Hw=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "llvm_toolchain": { + "bzlFile": "@@toolchains_llvm~//toolchain:rules.bzl", + "ruleClassName": "toolchain", + "attributes": { + "absolute_paths": false, + "archive_flags": {}, + "compile_flags": {}, + "coverage_compile_flags": {}, + "coverage_link_flags": {}, + "cxx_builtin_include_directories": {}, + "cxx_flags": {}, + "cxx_standard": {}, + "dbg_compile_flags": {}, + "exec_arch": "", + "exec_os": "", + "link_flags": {}, + "link_libs": {}, + "llvm_versions": { + "": "17.0.6" + }, + "opt_compile_flags": {}, + "opt_link_flags": {}, + "stdlib": {}, + "target_settings": {}, + "unfiltered_compile_flags": {}, + "toolchain_roots": {}, + "sysroot": {} + } + }, + "llvm_toolchain_llvm": { + "bzlFile": "@@toolchains_llvm~//toolchain:rules.bzl", + "ruleClassName": "llvm", + "attributes": { + "alternative_llvm_sources": [], + "auth_patterns": {}, + "distribution": "auto", + "exec_arch": "", + "exec_os": "", + "llvm_mirror": "", + "llvm_version": "17.0.6", + "llvm_versions": {}, + "netrc": "", + "sha256": {}, + "strip_prefix": {}, + "urls": {} + } + } + }, + "recordedRepoMappingEntries": [ + [ + "toolchains_llvm~", + "bazel_tools", + "bazel_tools" + ], + [ + "toolchains_llvm~", + "toolchains_llvm", + "toolchains_llvm~" + ] + ] + } } } } diff --git a/test/MODULE.bazel b/test/MODULE.bazel index ed3a009..dc62342 100644 --- a/test/MODULE.bazel +++ b/test/MODULE.bazel @@ -2,23 +2,23 @@ module(name = "ecsact_parse_test") bazel_dep(name = "rules_cc", version = "0.0.9") bazel_dep(name = "googletest", version = "1.14.0") -bazel_dep(name = "toolchains_llvm", version = "0.10.3") -bazel_dep(name = "hedron_compile_commands", dev_dependency = True) -bazel_dep(name = "ecsact_parse") -local_path_override( - module_name = "ecsact_parse", - path = "..", -) +bazel_dep(name = "ecsact_parse") +local_path_override(module_name = "ecsact_parse", path = "..") +bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True) +bazel_dep(name = "hedron_compile_commands", dev_dependency = True) git_override( module_name = "hedron_compile_commands", - remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", commit = "204aa593e002cbd177d30f11f54cff3559110bb9", + remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", ) -llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm") -llvm.toolchain(llvm_version = "16.0.4") - +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") -register_toolchains("@llvm_toolchain//:all") + +register_toolchains( + "@llvm_toolchain//:all", + dev_dependency = True, +) diff --git a/test/MODULE.bazel.lock b/test/MODULE.bazel.lock index db89bc4..96d5da3 100644 --- a/test/MODULE.bazel.lock +++ b/test/MODULE.bazel.lock @@ -1,6 +1,6 @@ { "lockFileVersion": 6, - "moduleFileHash": "791fc444e7a6ad21b9852cdc62c1a7818c49f14febfd81183508738e6472d0fa", + "moduleFileHash": "d9a0b2c0df0bb03b84476facdd319343c730f815177561b1d294284969528fb8", "flags": { "cmdRegistries": [ "https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main", @@ -16,7 +16,7 @@ }, "localOverrideHashes": { "bazel_tools": "1ae69322ac3823527337acf02016e8ee95813d8d356f47060255b8956fa642f0", - "ecsact_parse": "6cf637dc871fdb62c52b39c6d046eb8ef5b1dbb9246df2a9bc71681b03e015a1" + "ecsact_parse": "51544f6cc5a610979f88988bb87c89ce67187dfec215519e2ed90b110033b895" }, "moduleDepGraph": { "": { @@ -35,37 +35,39 @@ "usingModule": "", "location": { "file": "@@//:MODULE.bazel", - "line": 20, + "line": 17, "column": 21 }, "imports": { "llvm_toolchain": "llvm_toolchain" }, - "devImports": [], + "devImports": [ + "llvm_toolchain" + ], "tags": [ { "tagName": "toolchain", "attributeValues": { - "llvm_version": "16.0.4" + "llvm_version": "17.0.6" }, - "devDependency": false, + "devDependency": true, "location": { "file": "@@//:MODULE.bazel", - "line": 21, + "line": 18, "column": 15 } } ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true + "hasDevUseExtension": true, + "hasNonDevUseExtension": false } ], "deps": { "rules_cc": "rules_cc@0.0.9", "googletest": "googletest@1.14.0", - "toolchains_llvm": "toolchains_llvm@0.10.3", - "hedron_compile_commands": "hedron_compile_commands@_", "ecsact_parse": "ecsact_parse@_", + "toolchains_llvm": "toolchains_llvm@1.0.0", + "hedron_compile_commands": "hedron_compile_commands@_", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" } @@ -99,7 +101,7 @@ } ], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -129,7 +131,7 @@ "extensionUsages": [], "deps": { "com_google_absl": "abseil-cpp@20230802.0", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -150,18 +152,36 @@ } } }, - "toolchains_llvm@0.10.3": { + "ecsact_parse@_": { + "name": "ecsact_parse", + "version": "0.3.3", + "key": "ecsact_parse@_", + "repoName": "ecsact_parse", + "executionPlatformsToRegister": [], + "toolchainsToRegister": [], + "extensionUsages": [], + "deps": { + "rules_cc": "rules_cc@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", + "ecsact_runtime": "ecsact_runtime@0.6.0", + "lexy": "lexy@2022.05.1", + "magic_enum": "magic_enum@0.9.3", + "bazel_tools": "bazel_tools@_", + "local_config_platform": "local_config_platform@_" + } + }, + "toolchains_llvm@1.0.0": { "name": "toolchains_llvm", - "version": "0.10.3", - "key": "toolchains_llvm@0.10.3", + "version": "1.0.0", + "key": "toolchains_llvm@1.0.0", "repoName": "toolchains_llvm", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -170,10 +190,10 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/grailbio/bazel-toolchain/releases/download/0.10.3/toolchains_llvm-0.10.3.tar.gz" + "https://github.com/bazel-contrib/toolchains_llvm/releases/download/1.0.0/toolchains_llvm-1.0.0.tar.gz" ], - "integrity": "sha256-t80wHvew7OKNINPneGl6XjuBgoOTFQvtBIOMDFKWOgE=", - "strip_prefix": "toolchains_llvm-0.10.3", + "integrity": "sha256-6RxDYfmQEaVIFOGvvlxDbg0ymHEUajzVjCOitK+1Bzc=", + "strip_prefix": "toolchains_llvm-1.0.0", "remote_patches": {}, "remote_patch_strip": 0 } @@ -253,24 +273,6 @@ "local_config_platform": "local_config_platform@_" } }, - "ecsact_parse@_": { - "name": "ecsact_parse", - "version": "0.3.3", - "key": "ecsact_parse@_", - "repoName": "ecsact_parse", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "ecsact_runtime": "ecsact_runtime@0.5.1", - "lexy": "lexy@2022.05.1", - "magic_enum": "magic_enum@0.9.3", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, "bazel_tools@_": { "name": "bazel_tools", "version": "", @@ -416,7 +418,7 @@ "rules_proto": "rules_proto@5.3.0-21.7", "rules_python": "rules_python@0.22.1", "buildozer": "buildozer@6.4.0.2", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "com_google_protobuf": "protobuf@21.7", "zlib": "zlib@1.3", "build_bazel_apple_support": "apple_support@1.5.0", @@ -432,18 +434,36 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_" } }, - "platforms@0.0.7": { + "platforms@0.0.9": { "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", + "version": "0.0.9", + "key": "platforms@0.0.9", "repoName": "platforms", "executionPlatformsToRegister": [], "toolchainsToRegister": [], - "extensionUsages": [], + "extensionUsages": [ + { + "extensionBzlFile": "@platforms//host:extension.bzl", + "extensionName": "host_platform", + "usingModule": "platforms@0.0.9", + "location": { + "file": "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel", + "line": 9, + "column": 30 + }, + "imports": { + "host_platform": "host_platform" + }, + "devImports": [], + "tags": [], + "hasDevUseExtension": false, + "hasNonDevUseExtension": true + } + ], "deps": { "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", @@ -454,9 +474,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" + "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz" ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", + "integrity": "sha256-XtpTnIQSZQMcL4LYrno6ZJC9YhduDAOPxGnqv5H2FJs=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -473,8 +493,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "com_google_googletest": "googletest@1.14.0", "com_github_google_benchmark": "google_benchmark@1.8.2", "bazel_tools": "bazel_tools@_", @@ -496,10 +516,10 @@ } } }, - "bazel_skylib@1.4.2": { + "bazel_skylib@1.5.0": { "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", + "version": "1.5.0", + "key": "bazel_skylib@1.5.0", "repoName": "bazel_skylib", "executionPlatformsToRegister": [], "toolchainsToRegister": [ @@ -508,7 +528,7 @@ ], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -517,27 +537,27 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz" ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", + "integrity": "sha256-zVWgYudjuTSZIfD124w5MyiNyLpPdt2UFqrGis7jy5Q=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 } } }, - "ecsact_runtime@0.5.1": { + "ecsact_runtime@0.6.0": { "name": "ecsact_runtime", - "version": "0.5.1", - "key": "ecsact_runtime@0.5.1", + "version": "0.6.0", + "key": "ecsact_runtime@0.6.0", "repoName": "ecsact_runtime", "executionPlatformsToRegister": [], "toolchainsToRegister": [], "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "googletest": "googletest@1.14.0", "abseil-cpp": "abseil-cpp@20230802.0", "boost.dll": "boost.dll@1.83.0.bzl.2", @@ -550,9 +570,9 @@ "ruleClassName": "http_archive", "attributes": { "urls": [ - "https://github.com/ecsact-dev/ecsact_runtime/releases/download/0.5.1/ecsact_runtime-0.5.1.tar.gz" + "https://github.com/ecsact-dev/ecsact_runtime/releases/download/0.6.0/ecsact_runtime-0.6.0.tar.gz" ], - "integrity": "sha256-xhzsYKsl/+9IOyQ51nXT7IZCvWCLeoRtakQp5Msjll8=", + "integrity": "sha256-+pY1idxdfTR0cPzXWc6ciKpbW+FHI/kRjqWimUWjrMw=", "strip_prefix": "", "remote_patches": {}, "remote_patch_strip": 0 @@ -569,7 +589,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -597,7 +617,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -693,9 +713,9 @@ } ], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", @@ -750,7 +770,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "com_google_protobuf": "protobuf@21.7", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", @@ -855,8 +875,8 @@ } ], "deps": { - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_proto": "rules_proto@5.3.0-21.7", "com_google_protobuf": "protobuf@21.7", "bazel_tools": "bazel_tools@_", @@ -995,7 +1015,7 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_python": "rules_python@0.22.1", "rules_cc": "rules_cc@0.0.9", "rules_proto": "rules_proto@5.3.0-21.7", @@ -1037,7 +1057,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_cc": "rules_cc@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1089,8 +1109,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1117,8 +1137,8 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.9", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "rules_cc": "rules_cc@0.0.9", "libpfm": "libpfm@4.11.0", @@ -1151,7 +1171,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "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", @@ -1194,8 +1214,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "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", @@ -1240,7 +1260,7 @@ "extensionUsages": [], "deps": { "rules_python": "rules_python@0.22.1", - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_license": "rules_license@0.0.7", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1270,11 +1290,11 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "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.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1359,7 +1379,7 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "io_bazel_stardoc": "stardoc@0.5.1", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -1425,8 +1445,8 @@ } ], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", + "bazel_skylib": "bazel_skylib@1.5.0", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -1456,7 +1476,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "rules_foreign_cc": "rules_foreign_cc@0.9.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -2020,8 +2040,8 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", + "platforms": "platforms@0.0.9", + "bazel_skylib": "bazel_skylib@1.5.0", "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", @@ -2278,7 +2298,7 @@ "toolchainsToRegister": [], "extensionUsages": [], "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", + "bazel_skylib": "bazel_skylib@1.5.0", "rules_java": "rules_java@7.4.0", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" @@ -3113,7 +3133,7 @@ "extensionUsages": [], "deps": { "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", + "platforms": "platforms@0.0.9", "bazel_tools": "bazel_tools@_", "local_config_platform": "local_config_platform@_" }, @@ -4499,7 +4519,7 @@ }, "@@toolchains_llvm~//toolchain/extensions:llvm.bzl%llvm": { "general": { - "bzlTransitiveDigest": "3nNfnSeAMDHL89V+Fx0CSyRM5AVYpQ/ucZSH4JQW6no=", + "bzlTransitiveDigest": "rdQ1nlqTcj0kPoX7LxaygMQPcdnBPV85jNsRMF1M/Hw=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -4509,6 +4529,7 @@ "ruleClassName": "toolchain", "attributes": { "absolute_paths": false, + "archive_flags": {}, "compile_flags": {}, "coverage_compile_flags": {}, "coverage_link_flags": {}, @@ -4516,18 +4537,20 @@ "cxx_flags": {}, "cxx_standard": {}, "dbg_compile_flags": {}, + "exec_arch": "", + "exec_os": "", "link_flags": {}, "link_libs": {}, "llvm_versions": { - "": "16.0.4" + "": "17.0.6" }, "opt_compile_flags": {}, "opt_link_flags": {}, "stdlib": {}, - "sysroot": {}, "target_settings": {}, + "unfiltered_compile_flags": {}, "toolchain_roots": {}, - "unfiltered_compile_flags": {} + "sysroot": {} } }, "llvm_toolchain_llvm": { @@ -4537,8 +4560,10 @@ "alternative_llvm_sources": [], "auth_patterns": {}, "distribution": "auto", + "exec_arch": "", + "exec_os": "", "llvm_mirror": "", - "llvm_version": "16.0.4", + "llvm_version": "17.0.6", "llvm_versions": {}, "netrc": "", "sha256": {},