Skip to content

Commit a80f2b4

Browse files
chore(deps): update dependency rules_foreign_cc to v0.12.0 (#377)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_foreign_cc](https://togithub.com/bazelbuild/rules_foreign_cc) | http_archive | minor | `0.11.1` -> `0.12.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_foreign_cc (rules_foreign_cc)</summary> ### [`v0.12.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.12.0) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.11.1...0.12.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.12.0") ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3", strip_prefix = "rules_foreign_cc-0.12.0", url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.12.0/rules_foreign_cc-0.12.0.tar.gz", ) load("@&#8203;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.12.0/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Re-export runfiles env vars so that dependencies can use them by [@&#8203;mishazharov](https://togithub.com/mishazharov) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1235](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1235) - Apply expand_locations_and_make_variables to cache_entries by [@&#8203;froody](https://togithub.com/froody) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1240](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1240) - Revert "Apply expand_locations_and_make_variables to cache_entries" by [@&#8203;jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1250](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1250) - Fix macOS CI by [@&#8203;jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1251](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1251) - Upgrade default ninja version to 1.12.1 by [@&#8203;jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1248](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1248) - Add setup_args and run `meson setup` explictly by [@&#8203;allsey87](https://togithub.com/allsey87) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1223](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1223) - Portable copy_dir_contents_to_dir by [@&#8203;lamcw](https://togithub.com/lamcw) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1246](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1246) - Do not clobber user environment variables in Meson script by [@&#8203;allsey87](https://togithub.com/allsey87) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1255](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1255) - runnable_binary: use package_relative_label by [@&#8203;lamcw](https://togithub.com/lamcw) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1253](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1253) - configure_make: support autotools cross-compilation by [@&#8203;novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1247](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1247) - cmake: handle builds that use static toolchain libs by [@&#8203;novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1256](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1256) - Fix `_get_make_variables` ignoring user environment variables by [@&#8203;allsey87](https://togithub.com/allsey87) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1230](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1230) - add support for cc_shared_library deps by [@&#8203;matt-sm](https://togithub.com/matt-sm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1243](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1243) - autotools: return darwin as os instead of cmake in xcompile by [@&#8203;novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1258](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1258) - Update BCR presubmit by [@&#8203;jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1259](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1259) - fix meson tests for macOS CI by [@&#8203;jsun-splunk](https://togithub.com/jsun-splunk) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1260](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1260) - Merge user provided CPPFLAGS with build system CPPFLAGS by [@&#8203;allsey87](https://togithub.com/allsey87) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1261](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1261) #### New Contributors - [@&#8203;froody](https://togithub.com/froody) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1240](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1240) - [@&#8203;allsey87](https://togithub.com/allsey87) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1223](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1223) - [@&#8203;lamcw](https://togithub.com/lamcw) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1246](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1246) **Full Changelog**: bazel-contrib/rules_foreign_cc@0.11.1...0.12.0 </details> --- ### 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 this update again. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
1 parent 1a23261 commit a80f2b4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tests/WORKSPACE

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,20 @@ rust_register_toolchains()
220220

221221
http_archive(
222222
name = "rules_foreign_cc",
223-
sha256 = "4b33d62cf109bcccf286b30ed7121129cc34cf4f4ed9d8a11f38d9108f40ba74",
224-
strip_prefix = "rules_foreign_cc-0.11.1",
225-
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.11.1.tar.gz",
223+
sha256 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3",
224+
strip_prefix = "rules_foreign_cc-0.12.0",
225+
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.12.0.tar.gz",
226226
)
227227

228228
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
229229

230230
rules_foreign_cc_dependencies()
231231

232+
load("@bazel_features//:deps.bzl", "bazel_features_deps")
233+
234+
# Dep of `rules_foreign_cc`.
235+
bazel_features_deps()
236+
232237
_ALL_CONTENT = """\
233238
filegroup(
234239
name = "all_srcs",

0 commit comments

Comments
 (0)