From 0aa1ffdc304b02a1cf7b2556346f896de6982ec8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2024 02:38:35 -0800 Subject: [PATCH] chore(deps): update dependency rules_foreign_cc to v0.13.0 (#420) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_foreign_cc | bazel_dep | minor | `0.12.0` -> `0.13.0` | | [rules_foreign_cc](https://redirect.github.com/bazelbuild/rules_foreign_cc) | http_archive | minor | `0.12.0` -> `0.13.0` | --- ### Release Notes
bazelbuild/rules_foreign_cc (rules_foreign_cc) ### [`v0.13.0`](https://redirect.github.com/bazel-contrib/rules_foreign_cc/releases/tag/0.13.0) [Compare Source](https://redirect.github.com/bazelbuild/rules_foreign_cc/compare/0.12.0...0.13.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_foreign_cc", version = "0.13.0") ``` #### Using WORKSPACE Paste this snippet into your `WORKSPACE.bazel` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "8e5605dc2d16a4229cb8fbe398514b10528553ed4f5f7737b663fdd92f48e1c2", strip_prefix = "rules_foreign_cc-0.13.0", url = "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.13.0/rules_foreign_cc-0.13.0.tar.gz", ) load("@​rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") ### This sets up some common toolchains for building targets. For more details, please see ### https://bazelbuild.github.io/rules_foreign_cc/0.13.0/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Remove dependencies on rules_cc by [@​jsharpe](https://redirect.github.com/jsharpe) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1269](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1269) - Bump APR version to 1.7.5. Make CI/CD green again. by [@​dmitry-j-mikhin](https://redirect.github.com/dmitry-j-mikhin) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1273](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1273) - Fix for [#​1239](https://redirect.github.com/bazelbuild/rules_foreign_cc/issues/1239) by [@​dmitry-j-mikhin](https://redirect.github.com/dmitry-j-mikhin) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1264](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1264) - runnable_binary: avoid using > on the output file by [@​novas0x2a](https://redirect.github.com/novas0x2a) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1270](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1270) - Bazel CI config: explicitly enable workspace wherever Bzlmod is disabled by [@​Wyverald](https://redirect.github.com/Wyverald) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1276](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1276) - Support location expansion and make variable substitution in CMake cache entries by [@​allsey87](https://redirect.github.com/allsey87) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1272](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1272) - Fix for [#​1271](https://redirect.github.com/bazelbuild/rules_foreign_cc/issues/1271), set_file_prefix_map attribute by [@​aaron-michaux](https://redirect.github.com/aaron-michaux) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1288](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1288) - add foreign_cc deps to cmake prefix path by [@​matt-sm](https://redirect.github.com/matt-sm) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1311](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1311) - fix undefined variables in the wrap_outputs script by [@​novas0x2a](https://redirect.github.com/novas0x2a) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1278](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1278) - Fix documentation link in README.md by [@​bradneuman](https://redirect.github.com/bradneuman) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1301](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1301) - fix: builds using preinstalled_make no longer break during pkgconfig by [@​voxeljorge](https://redirect.github.com/voxeljorge) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1307](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1307) - correct overeager slash conversion on windows by [@​novas0x2a](https://redirect.github.com/novas0x2a) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1285](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1285) - feat: force GH Linguist syntax highlight by [@​jjmaestro](https://redirect.github.com/jjmaestro) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1312](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1312) - Remove deprecated use of incompatible_use_toolchain_transition by [@​EdSchouten](https://redirect.github.com/EdSchouten) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1314](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1314) - fix: move all bazelbuild links to bazel-contrib by [@​jjmaestro](https://redirect.github.com/jjmaestro) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1315](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1315) - fix: move more bazelbuild links to bazel-contrib by [@​jjmaestro](https://redirect.github.com/jjmaestro) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1317](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1317) - fix: docs pages by [@​jjmaestro](https://redirect.github.com/jjmaestro) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1316](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1316) - fix: let 'toolchain' attr be selectable by [@​jsun-splunk](https://redirect.github.com/jsun-splunk) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1321](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1321) - feat: configurable ldflags by [@​jsun-splunk](https://redirect.github.com/jsun-splunk) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1226](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1226) - msvc: fix make var for windows deps by [@​jsun-splunk](https://redirect.github.com/jsun-splunk) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1324](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1324) - fix: doc pages (take 2!) by [@​jjmaestro](https://redirect.github.com/jjmaestro) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1327](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1327) - fix(cmake): make sure link flags are propagated to module library builds by [@​jungleraptor](https://redirect.github.com/jungleraptor) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1308](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1308) - chore: more precommit hooks by [@​jjmaestro](https://redirect.github.com/jjmaestro) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1325](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1325) - chore: Update cmake versions by [@​jsharpe](https://redirect.github.com/jsharpe) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1331](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1331) - Add dependency on rules_shell by [@​jsharpe](https://redirect.github.com/jsharpe) in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1337](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1337) #### New Contributors - [@​dmitry-j-mikhin](https://redirect.github.com/dmitry-j-mikhin) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1273](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1273) - [@​Wyverald](https://redirect.github.com/Wyverald) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1276](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1276) - [@​aaron-michaux](https://redirect.github.com/aaron-michaux) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1288](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1288) - [@​bradneuman](https://redirect.github.com/bradneuman) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1301](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1301) - [@​voxeljorge](https://redirect.github.com/voxeljorge) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1307](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1307) - [@​jjmaestro](https://redirect.github.com/jjmaestro) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1312](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1312) - [@​EdSchouten](https://redirect.github.com/EdSchouten) made their first contribution in [https://github.com/bazel-contrib/rules_foreign_cc/pull/1314](https://redirect.github.com/bazel-contrib/rules_foreign_cc/pull/1314) **Full Changelog**: https://github.com/bazel-contrib/rules_foreign_cc/compare/0.12.0...0.13.0
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- tests/MODULE.bazel | 2 +- tests/WORKSPACE | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/MODULE.bazel b/tests/MODULE.bazel index 17e4ad91..27fe0ed4 100644 --- a/tests/MODULE.bazel +++ b/tests/MODULE.bazel @@ -25,7 +25,7 @@ bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "rules_cc", version = "0.0.9") bazel_dep(name = "rules_go", version = "0.50.1", repo_name = "io_bazel_rules_go") bazel_dep(name = "rules_rust", version = "0.54.1") -bazel_dep(name = "rules_foreign_cc", version = "0.12.0") +bazel_dep(name = "rules_foreign_cc", version = "0.13.0") bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "com_google_absl") # As a workaround for https://github.com/bazelbuild/rules_foreign_cc/issues/1018. diff --git a/tests/WORKSPACE b/tests/WORKSPACE index 922fdae1..ede3e3ed 100644 --- a/tests/WORKSPACE +++ b/tests/WORKSPACE @@ -255,9 +255,9 @@ rust_register_toolchains() http_archive( name = "rules_foreign_cc", - sha256 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3", - strip_prefix = "rules_foreign_cc-0.12.0", - url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.12.0.tar.gz", + sha256 = "8e5605dc2d16a4229cb8fbe398514b10528553ed4f5f7737b663fdd92f48e1c2", + strip_prefix = "rules_foreign_cc-0.13.0", + url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.13.0.tar.gz", ) load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")