bazelbuild/rules_foreign_cc (rules_foreign_cc)
### [`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("@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("@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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
- [@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)
- [@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)
- [@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
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.11.1
->0.12.0
Release Notes
bazelbuild/rules_foreign_cc (rules_foreign_cc)
### [`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("@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("@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 [@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 - [@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) - [@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) - [@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.0Configuration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.