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**:
https://github.com/bazelbuild/rules_foreign_cc/compare/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>
This commit is contained in:
renovate[bot] 2024-10-11 21:32:38 +00:00 committed by GitHub
parent 1a23261326
commit a80f2b4219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 3 deletions

View File

@ -220,15 +220,20 @@ rust_register_toolchains()
http_archive(
name = "rules_foreign_cc",
sha256 = "4b33d62cf109bcccf286b30ed7121129cc34cf4f4ed9d8a11f38d9108f40ba74",
strip_prefix = "rules_foreign_cc-0.11.1",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.11.1.tar.gz",
sha256 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3",
strip_prefix = "rules_foreign_cc-0.12.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.12.0.tar.gz",
)
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
load("@bazel_features//:deps.bzl", "bazel_features_deps")
# Dep of `rules_foreign_cc`.
bazel_features_deps()
_ALL_CONTENT = """\
filegroup(
name = "all_srcs",