bazelbuild/rules_foreign_cc (rules_foreign_cc)
### [`v0.10.1`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.10.1)
[Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.10.0...0.10.1)
#### 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.10.1")
```
#### 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 = "476303bd0f1b04cc311fc258f1708a5f6ef82d3091e53fd1977fa20383425a6a",
strip_prefix = "rules_foreign_cc-0.10.1",
url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.1/rules_foreign_cc-0.10.1.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.10.1/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```
#### What's Changed
- Release 0.9.0 docs by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/945](https://togithub.com/bazelbuild/rules_foreign_cc/pull/945)
- Add ninja 11 to prebuilt_toolchains.py by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/950](https://togithub.com/bazelbuild/rules_foreign_cc/pull/950)
- migrating to rbe_preconfig by [@aranguyen](https://togithub.com/aranguyen) in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952)
- Ping MSVC version to 2017 by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/964](https://togithub.com/bazelbuild/rules_foreign_cc/pull/964)
- Expand variables in `user_options` for boost_build by [@petoknm](https://togithub.com/petoknm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957)
- Disable cc toolchain resolution in examples on Mac by [@comius](https://togithub.com/comius) in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967)
- Bazel 6.0: Fix config_setting visibility failure on bazel CI by [@gregestren](https://togithub.com/gregestren) in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975)
- Fix current toolchains by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/978](https://togithub.com/bazelbuild/rules_foreign_cc/pull/978)
- Add prefix flag config option to make_configure by [@cmburn](https://togithub.com/cmburn) in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973)
- Add macro that faciliates "bazel run" of binary generated by rules_foreign_cc by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/971](https://togithub.com/bazelbuild/rules_foreign_cc/pull/971)
- Add make 4.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/980](https://togithub.com/bazelbuild/rules_foreign_cc/pull/980)
- Reduce build times (especially on windows) by symlinking directories by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/983](https://togithub.com/bazelbuild/rules_foreign_cc/pull/983)
- Hermetic pkg config by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/979](https://togithub.com/bazelbuild/rules_foreign_cc/pull/979)
- Add toolchain executables to the PATH by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/987](https://togithub.com/bazelbuild/rules_foreign_cc/pull/987)
- Disable stale-issue automation by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/989](https://togithub.com/bazelbuild/rules_foreign_cc/pull/989)
- Fix runnable_binary_wrapper when used as a tool in a dependant rule by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/991](https://togithub.com/bazelbuild/rules_foreign_cc/pull/991)
- Rename make_variant to foreign_cc_rule_variant by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/993](https://togithub.com/bazelbuild/rules_foreign_cc/pull/993)
- Add runfiles of dependency tools to the build by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/994](https://togithub.com/bazelbuild/rules_foreign_cc/pull/994)
- Update build rules by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/995](https://togithub.com/bazelbuild/rules_foreign_cc/pull/995)
- Update buildifier by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/998](https://togithub.com/bazelbuild/rules_foreign_cc/pull/998)
- Disable fdo features. by [@rjogrady](https://togithub.com/rjogrady) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002)
- Remove Python 2 configuration and targets by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006)
- Update cmake and ninja versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/996](https://togithub.com/bazelbuild/rules_foreign_cc/pull/996)
- Remove tests that depend on shared libraries by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1016](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1016)
- Fix pkgconfig built by MSVC on Windows by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/992](https://togithub.com/bazelbuild/rules_foreign_cc/pull/992)
- Add dependency shared libs to sandbox by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/990](https://togithub.com/bazelbuild/rules_foreign_cc/pull/990)
- Fix cross compiling for android on macOS by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/997](https://togithub.com/bazelbuild/rules_foreign_cc/pull/997)
- Disable coverage when a C library is not instrumented by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021)
- Add new darwin CC toolchain for tests by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1017](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1017)
- Use python3 instead of python2 in macos commands by [@fffonion](https://togithub.com/fffonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037)
- Updated cmake versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1039](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1039)
- Bump buildifier to 6.1.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1040](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1040)
- installdir_copy seems meaningless as output by [@lifengxiang1025](https://togithub.com/lifengxiang1025) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038)
- Bump zlib version in examples by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1043](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1043)
- Skip minimal Bazel version support tasks in Bazel's downstream pipeline by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1044](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1044)
- Pass must_keep_debug = False to cc_common.create_link_variables by [@jvolkman](https://togithub.com/jvolkman) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046)
- Add bzlmod support files. by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/999](https://togithub.com/bazelbuild/rules_foreign_cc/pull/999)
- Specify path to sed on MacOS and FreeBSD by [@garymm](https://togithub.com/garymm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961)
- Add meson support by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/986](https://togithub.com/bazelbuild/rules_foreign_cc/pull/986)
- Bump mako from 1.2.1 to 1.2.2 in /examples by [@dependabot](https://togithub.com/dependabot) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053)
- Add meson to docs by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1055](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1055)
- Allow selecting individual outputs from a rule by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056)
- Adds some documentation specific to the `make` rule. by [@filmil](https://togithub.com/filmil) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050)
- Fix issue where meson documentation was blank on docs site by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1060](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1060)
- fix linux cross compiling on macos by [@isaactorz](https://togithub.com/isaactorz) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062)
- Add cmake 3.26.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1067](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1067)
- Create hub repo for shell framework toolchains by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1066](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1066)
- Update meson to 1.1.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1072](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1072)
- Fix multiple-definition error on windows_config_setting by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084)
- Update rules_apple by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1086](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1086)
- Advertise CcInfo provider by [@calebzulawski](https://togithub.com/calebzulawski) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095)
- Allow runnable_binary to work on non-external targets by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1100](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1100)
- Fix .bcr config files by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1103](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1103)
- Set the LD environment variable by [@dstufft](https://togithub.com/dstufft) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068)
- Upgrade rules_python by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1058](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1058)
- cmake: use variable expansion on generator args by [@lummax](https://togithub.com/lummax) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087)
- Register pkgconfig by default by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1104](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1104)
- Expand locations and make variables in configure options by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1102](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1102)
- update @rules_perl in examples by [@xytan0056](https://togithub.com/xytan0056) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108)
- Updating release process to use stable tarball urls by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1059](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1059)
#### New Contributors
- [@aranguyen](https://togithub.com/aranguyen) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952)
- [@petoknm](https://togithub.com/petoknm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957)
- [@comius](https://togithub.com/comius) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967)
- [@gregestren](https://togithub.com/gregestren) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975)
- [@cmburn](https://togithub.com/cmburn) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973)
- [@rjogrady](https://togithub.com/rjogrady) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002)
- [@rickeylev](https://togithub.com/rickeylev) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006)
- [@linzhp](https://togithub.com/linzhp) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021)
- [@fffonion](https://togithub.com/fffonion) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037)
- [@lifengxiang1025](https://togithub.com/lifengxiang1025) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038)
- [@jvolkman](https://togithub.com/jvolkman) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046)
- [@garymm](https://togithub.com/garymm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053)
- [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056)
- [@filmil](https://togithub.com/filmil) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050)
- [@isaactorz](https://togithub.com/isaactorz) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062)
- [@novas0x2a](https://togithub.com/novas0x2a) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084)
- [@calebzulawski](https://togithub.com/calebzulawski) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095)
- [@dstufft](https://togithub.com/dstufft) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068)
- [@lummax](https://togithub.com/lummax) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087)
- [@xytan0056](https://togithub.com/xytan0056) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108)
**Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.9.0...0.10.1
### [`v0.10.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.10.0)
[Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.9.0...0.10.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.10.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 = "3ff4997dfcd701b292b3a64526b7d1b9b07eecd5c624e2555682cac98cb09721",
strip_prefix = "rules_foreign_cc-0.10.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.0/rules_foreign_cc-0.10.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.10.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```
#### What's Changed
- Release 0.9.0 docs by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/945](https://togithub.com/bazelbuild/rules_foreign_cc/pull/945)
- Add ninja 11 to prebuilt_toolchains.py by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/950](https://togithub.com/bazelbuild/rules_foreign_cc/pull/950)
- migrating to rbe_preconfig by [@aranguyen](https://togithub.com/aranguyen) in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952)
- Ping MSVC version to 2017 by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/964](https://togithub.com/bazelbuild/rules_foreign_cc/pull/964)
- Expand variables in `user_options` for boost_build by [@petoknm](https://togithub.com/petoknm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957)
- Disable cc toolchain resolution in examples on Mac by [@comius](https://togithub.com/comius) in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967)
- Bazel 6.0: Fix config_setting visibility failure on bazel CI by [@gregestren](https://togithub.com/gregestren) in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975)
- Fix current toolchains by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/978](https://togithub.com/bazelbuild/rules_foreign_cc/pull/978)
- Add prefix flag config option to make_configure by [@cmburn](https://togithub.com/cmburn) in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973)
- Add macro that faciliates "bazel run" of binary generated by rules_foreign_cc by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/971](https://togithub.com/bazelbuild/rules_foreign_cc/pull/971)
- Add make 4.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/980](https://togithub.com/bazelbuild/rules_foreign_cc/pull/980)
- Reduce build times (especially on windows) by symlinking directories by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/983](https://togithub.com/bazelbuild/rules_foreign_cc/pull/983)
- Hermetic pkg config by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/979](https://togithub.com/bazelbuild/rules_foreign_cc/pull/979)
- Add toolchain executables to the PATH by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/987](https://togithub.com/bazelbuild/rules_foreign_cc/pull/987)
- Disable stale-issue automation by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/989](https://togithub.com/bazelbuild/rules_foreign_cc/pull/989)
- Fix runnable_binary_wrapper when used as a tool in a dependant rule by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/991](https://togithub.com/bazelbuild/rules_foreign_cc/pull/991)
- Rename make_variant to foreign_cc_rule_variant by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/993](https://togithub.com/bazelbuild/rules_foreign_cc/pull/993)
- Add runfiles of dependency tools to the build by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/994](https://togithub.com/bazelbuild/rules_foreign_cc/pull/994)
- Update build rules by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/995](https://togithub.com/bazelbuild/rules_foreign_cc/pull/995)
- Update buildifier by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/998](https://togithub.com/bazelbuild/rules_foreign_cc/pull/998)
- Disable fdo features. by [@rjogrady](https://togithub.com/rjogrady) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002)
- Remove Python 2 configuration and targets by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006)
- Update cmake and ninja versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/996](https://togithub.com/bazelbuild/rules_foreign_cc/pull/996)
- Remove tests that depend on shared libraries by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1016](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1016)
- Fix pkgconfig built by MSVC on Windows by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/992](https://togithub.com/bazelbuild/rules_foreign_cc/pull/992)
- Add dependency shared libs to sandbox by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/990](https://togithub.com/bazelbuild/rules_foreign_cc/pull/990)
- Fix cross compiling for android on macOS by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/997](https://togithub.com/bazelbuild/rules_foreign_cc/pull/997)
- Disable coverage when a C library is not instrumented by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021)
- Add new darwin CC toolchain for tests by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1017](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1017)
- Use python3 instead of python2 in macos commands by [@fffonion](https://togithub.com/fffonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037)
- Updated cmake versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1039](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1039)
- Bump buildifier to 6.1.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1040](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1040)
- installdir_copy seems meaningless as output by [@lifengxiang1025](https://togithub.com/lifengxiang1025) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038)
- Bump zlib version in examples by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1043](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1043)
- Skip minimal Bazel version support tasks in Bazel's downstream pipeline by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1044](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1044)
- Pass must_keep_debug = False to cc_common.create_link_variables by [@jvolkman](https://togithub.com/jvolkman) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046)
- Add bzlmod support files. by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/999](https://togithub.com/bazelbuild/rules_foreign_cc/pull/999)
- Specify path to sed on MacOS and FreeBSD by [@garymm](https://togithub.com/garymm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961)
- Add meson support by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/986](https://togithub.com/bazelbuild/rules_foreign_cc/pull/986)
- Bump mako from 1.2.1 to 1.2.2 in /examples by [@dependabot](https://togithub.com/dependabot) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053)
- Add meson to docs by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1055](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1055)
- Allow selecting individual outputs from a rule by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056)
- Adds some documentation specific to the `make` rule. by [@filmil](https://togithub.com/filmil) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050)
- Fix issue where meson documentation was blank on docs site by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1060](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1060)
- fix linux cross compiling on macos by [@isaactorz](https://togithub.com/isaactorz) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062)
- Add cmake 3.26.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1067](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1067)
- Create hub repo for shell framework toolchains by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1066](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1066)
- Update meson to 1.1.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1072](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1072)
- Fix multiple-definition error on windows_config_setting by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084)
- Update rules_apple by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1086](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1086)
- Advertise CcInfo provider by [@calebzulawski](https://togithub.com/calebzulawski) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095)
- Allow runnable_binary to work on non-external targets by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1100](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1100)
- Fix .bcr config files by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1103](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1103)
- Set the LD environment variable by [@dstufft](https://togithub.com/dstufft) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068)
- Upgrade rules_python by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1058](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1058)
- cmake: use variable expansion on generator args by [@lummax](https://togithub.com/lummax) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087)
- Register pkgconfig by default by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1104](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1104)
- Expand locations and make variables in configure options by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1102](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1102)
- update @rules_perl in examples by [@xytan0056](https://togithub.com/xytan0056) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108)
- Updating release process to use stable tarball urls by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1059](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1059)
#### New Contributors
- [@aranguyen](https://togithub.com/aranguyen) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952)
- [@petoknm](https://togithub.com/petoknm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957)
- [@comius](https://togithub.com/comius) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967)
- [@gregestren](https://togithub.com/gregestren) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975)
- [@cmburn](https://togithub.com/cmburn) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973)
- [@rjogrady](https://togithub.com/rjogrady) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002)
- [@rickeylev](https://togithub.com/rickeylev) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006)
- [@linzhp](https://togithub.com/linzhp) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021)
- [@fffonion](https://togithub.com/fffonion) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037)
- [@lifengxiang1025](https://togithub.com/lifengxiang1025) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038)
- [@jvolkman](https://togithub.com/jvolkman) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046)
- [@garymm](https://togithub.com/garymm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053)
- [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056)
- [@filmil](https://togithub.com/filmil) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050)
- [@isaactorz](https://togithub.com/isaactorz) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062)
- [@novas0x2a](https://togithub.com/novas0x2a) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084)
- [@calebzulawski](https://togithub.com/calebzulawski) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095)
- [@dstufft](https://togithub.com/dstufft) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068)
- [@lummax](https://togithub.com/lummax) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087)
- [@xytan0056](https://togithub.com/xytan0056) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108)
**Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.9.0...0.10.0
### [`v0.9.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.9.0)
[Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.8.0...0.9.0)
https://bazelbuild.github.io/rules_foreign_cc/0.9.0/
#### Usage
Add the following to your `WORKSPACE` file:
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_foreign_cc",
sha256 = "2a4d07cd64b0719b39a7c12218a3e507672b82a97b98c6a89d38565894cf7c51",
strip_prefix = "rules_foreign_cc-0.9.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/refs/tags/0.9.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.9.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```
#### What's Changed
- Release `v0.8.0` docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/893](https://togithub.com/bazelbuild/rules_foreign_cc/pull/893)
- Pass '-undefined error' non sysroot ldflag on macOS by [@uhthomas](https://togithub.com/uhthomas) in [https://github.com/bazelbuild/rules_foreign_cc/pull/894](https://togithub.com/bazelbuild/rules_foreign_cc/pull/894)
- Upgrade rules_apple to 0.34.0 by [@fweikert](https://togithub.com/fweikert) in [https://github.com/bazelbuild/rules_foreign_cc/pull/896](https://togithub.com/bazelbuild/rules_foreign_cc/pull/896)
- Fix ninja bootstrap on macOS 12.3+ by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/900](https://togithub.com/bazelbuild/rules_foreign_cc/pull/900)
- Use an unreleased version of rules_apple by [@fweikert](https://togithub.com/fweikert) in [https://github.com/bazelbuild/rules_foreign_cc/pull/899](https://togithub.com/bazelbuild/rules_foreign_cc/pull/899)
- Update to new rules_apple release by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/906](https://togithub.com/bazelbuild/rules_foreign_cc/pull/906)
- fix: expose CMAKE env variable from cmake toolchains by [@roman-kashitsyn](https://togithub.com/roman-kashitsyn) in [https://github.com/bazelbuild/rules_foreign_cc/pull/911](https://togithub.com/bazelbuild/rules_foreign_cc/pull/911)
- Make tests pass on busybox by [@graywolf-at-work](https://togithub.com/graywolf-at-work) in [https://github.com/bazelbuild/rules_foreign_cc/pull/912](https://togithub.com/bazelbuild/rules_foreign_cc/pull/912)
- Don't load examples dependencies from main WORKSPACE by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/917](https://togithub.com/bazelbuild/rules_foreign_cc/pull/917)
- Ninja 1.11.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/919](https://togithub.com/bazelbuild/rules_foreign_cc/pull/919)
- Update cmake versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/918](https://togithub.com/bazelbuild/rules_foreign_cc/pull/918)
- Use bazel_skylib 1.2.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/920](https://togithub.com/bazelbuild/rules_foreign_cc/pull/920)
- zlib 1.2.12 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/916](https://togithub.com/bazelbuild/rules_foreign_cc/pull/916)
- Fix small typos in doc and comments by [@kiron1](https://togithub.com/kiron1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/924](https://togithub.com/bazelbuild/rules_foreign_cc/pull/924)
- fix replace_in_files for file names with spaces by [@george-enf](https://togithub.com/george-enf) in [https://github.com/bazelbuild/rules_foreign_cc/pull/923](https://togithub.com/bazelbuild/rules_foreign_cc/pull/923)
- Speed up CI by preventing the python2 build from running tests by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/930](https://togithub.com/bazelbuild/rules_foreign_cc/pull/930)
- Faciliate usage of jom by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/932](https://togithub.com/bazelbuild/rules_foreign_cc/pull/932)
- Fix `RANLIB` for `configure_make` by [@jun-sheaf](https://togithub.com/jun-sheaf) in [https://github.com/bazelbuild/rules_foreign_cc/pull/928](https://togithub.com/bazelbuild/rules_foreign_cc/pull/928)
- Hermetic ninja build by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/935](https://togithub.com/bazelbuild/rules_foreign_cc/pull/935)
- Add tool runfiles to action by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/942](https://togithub.com/bazelbuild/rules_foreign_cc/pull/942)
- Add ability to specify DLL dir by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/939](https://togithub.com/bazelbuild/rules_foreign_cc/pull/939)
- openssl 1.1.1o by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/922](https://togithub.com/bazelbuild/rules_foreign_cc/pull/922)
- Release version 0.9.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/944](https://togithub.com/bazelbuild/rules_foreign_cc/pull/944)
#### New Contributors
- [@uhthomas](https://togithub.com/uhthomas) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/894](https://togithub.com/bazelbuild/rules_foreign_cc/pull/894)
- [@fweikert](https://togithub.com/fweikert) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/896](https://togithub.com/bazelbuild/rules_foreign_cc/pull/896)
- [@roman-kashitsyn](https://togithub.com/roman-kashitsyn) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/911](https://togithub.com/bazelbuild/rules_foreign_cc/pull/911)
- [@graywolf-at-work](https://togithub.com/graywolf-at-work) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/912](https://togithub.com/bazelbuild/rules_foreign_cc/pull/912)
- [@kiron1](https://togithub.com/kiron1) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/924](https://togithub.com/bazelbuild/rules_foreign_cc/pull/924)
- [@george-enf](https://togithub.com/george-enf) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/923](https://togithub.com/bazelbuild/rules_foreign_cc/pull/923)
- [@jun-sheaf](https://togithub.com/jun-sheaf) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/928](https://togithub.com/bazelbuild/rules_foreign_cc/pull/928)
**Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.8.0...0.9.0
### [`v0.8.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.8.0)
[Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.7.1...0.8.0)
### 0.8.0
https://bazelbuild.github.io/rules_foreign_cc/0.8.0/
#### Usage
Add the following to your `WORKSPACE` file:
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_foreign_cc",
sha256 = "6041f1374ff32ba711564374ad8e007aef77f71561a7ce784123b9b4b88614fc",
strip_prefix = "rules_foreign_cc-0.8.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.8.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.8.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```
#### What's Changed
- Release v0.7.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/852](https://togithub.com/bazelbuild/rules_foreign_cc/pull/852)
- Update bazelignore files by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/854](https://togithub.com/bazelbuild/rules_foreign_cc/pull/854)
- Remove call to register_toolchains for bzlmod by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/855](https://togithub.com/bazelbuild/rules_foreign_cc/pull/855)
- Allow all source files to be modified in configure_make when using configure_in_place = True by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/856](https://togithub.com/bazelbuild/rules_foreign_cc/pull/856)
- Remove arbitrary limits in Starlark "while" loops by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/862](https://togithub.com/bazelbuild/rules_foreign_cc/pull/862)
- Do not set user defined env variables twice for (c)make by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/860](https://togithub.com/bazelbuild/rules_foreign_cc/pull/860)
- Pin buildifier version by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/873](https://togithub.com/bazelbuild/rules_foreign_cc/pull/873)
- Remove unused BUILD.perl.bazel file by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/871](https://togithub.com/bazelbuild/rules_foreign_cc/pull/871)
- Replace `escape_locations` with `escape_locations_and_make_variables` everywhere by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/861](https://togithub.com/bazelbuild/rules_foreign_cc/pull/861)
- Absolutise path to cmake crosstool file by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/870](https://togithub.com/bazelbuild/rules_foreign_cc/pull/870)
- Add CMake 3.22.2 and 3.21.5 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/875](https://togithub.com/bazelbuild/rules_foreign_cc/pull/875)
- Add current_\*\_toolchain rules to allow passing current toolchain inst… by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/843](https://togithub.com/bazelbuild/rules_foreign_cc/pull/843)
- Fixups to use of Labels to support bzlmod by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/872](https://togithub.com/bazelbuild/rules_foreign_cc/pull/872)
- Set CMAKE_OSX_ARCHITECTURES to target architecture by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/891](https://togithub.com/bazelbuild/rules_foreign_cc/pull/891)
- Release `v0.8.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/892](https://togithub.com/bazelbuild/rules_foreign_cc/pull/892)
**Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.7.1...0.8.0
### [`v0.7.1`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.7.1)
[Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.7.0...0.7.1)
### 0.7.1
https://bazelbuild.github.io/rules_foreign_cc/0.7.1/
#### Usage
Add the following to your `WORKSPACE` file:
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_foreign_cc",
sha256 = "bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83",
strip_prefix = "rules_foreign_cc-0.7.1",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.1.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.7.1/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```
#### What's Changed
- Added `v0.7.0` docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/829](https://togithub.com/bazelbuild/rules_foreign_cc/pull/829)
- Support propagation of `includes` by [@ericastor](https://togithub.com/ericastor) in [https://github.com/bazelbuild/rules_foreign_cc/pull/826](https://togithub.com/bazelbuild/rules_foreign_cc/pull/826)
- Adapt tests to new cc_binary file extension on macOS by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/834](https://togithub.com/bazelbuild/rules_foreign_cc/pull/834)
- Fixed `0.7.0` docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/838](https://togithub.com/bazelbuild/rules_foreign_cc/pull/838)
- Add toolchain types for autotools tools by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/816](https://togithub.com/bazelbuild/rules_foreign_cc/pull/816)
- Fix typo in comment by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/840](https://togithub.com/bazelbuild/rules_foreign_cc/pull/840)
- Add runfiles to built_tools by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/844](https://togithub.com/bazelbuild/rules_foreign_cc/pull/844)
- Minor cleanup for examples by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/835](https://togithub.com/bazelbuild/rules_foreign_cc/pull/835)
- use rules_perl toolchain for Windows build of OpenSSL by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/846](https://togithub.com/bazelbuild/rules_foreign_cc/pull/846)
- Bash quoting by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/842](https://togithub.com/bazelbuild/rules_foreign_cc/pull/842)
- Initial bzlmod support by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/839](https://togithub.com/bazelbuild/rules_foreign_cc/pull/839)
- CMake 3.22.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/841](https://togithub.com/bazelbuild/rules_foreign_cc/pull/841)
- More quoting fixes for handling paths with spaces by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/850](https://togithub.com/bazelbuild/rules_foreign_cc/pull/850)
#### New Contributors
- [@ericastor](https://togithub.com/ericastor) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/826](https://togithub.com/bazelbuild/rules_foreign_cc/pull/826)
**Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.7.0...0.7.1
### [`v0.7.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.7.0)
[Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.6.0...0.7.0)
### 0.7.0
https://bazelbuild.github.io/rules_foreign_cc/0.7.0/
#### Usage
Add the following to your `WORKSPACE` file:
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_foreign_cc",
sha256 = "1df78c7d7eed2dc21b8b325a2853c31933a81e7b780f9a59a5d078be9008b13a",
strip_prefix = "rules_foreign_cc-0.7.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.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.7.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
```
#### What's Changed
- Release 0.6.0 docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/785](https://togithub.com/bazelbuild/rules_foreign_cc/pull/785)
- Improve failed exports logic by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/789](https://togithub.com/bazelbuild/rules_foreign_cc/pull/789)
- Updated `rules_cc` and `bazel_skylib` versions by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/795](https://togithub.com/bazelbuild/rules_foreign_cc/pull/795)
- Add flags from copts and linkopts attributes by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/796](https://togithub.com/bazelbuild/rules_foreign_cc/pull/796)
- Updated libgit2 example by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/799](https://togithub.com/bazelbuild/rules_foreign_cc/pull/799)
- Expand make variables in env by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/788](https://togithub.com/bazelbuild/rules_foreign_cc/pull/788)
- Added libgit2 Google mirror by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/800](https://togithub.com/bazelbuild/rules_foreign_cc/pull/800)
- Update min tested Bazel version to `4.0.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/802](https://togithub.com/bazelbuild/rules_foreign_cc/pull/802)
- Updated `bazel_skylib`, `rules_cc` and `rules_python` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/801](https://togithub.com/bazelbuild/rules_foreign_cc/pull/801)
- Updated `pcre` example by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/809](https://togithub.com/bazelbuild/rules_foreign_cc/pull/809)
- Explicitly turn off guile support in built version of GNU make by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/814](https://togithub.com/bazelbuild/rules_foreign_cc/pull/814)
- CMake 3.21.3, 3.21.4 and 3.22.0 support by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/815](https://togithub.com/bazelbuild/rules_foreign_cc/pull/815)
- Autotools examples by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/754](https://togithub.com/bazelbuild/rules_foreign_cc/pull/754)
- Ensure Windows paths provided to CMake contain forward slashes only by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/807](https://togithub.com/bazelbuild/rules_foreign_cc/pull/807)
- Let make build in BUILD_TMPDIR by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/818](https://togithub.com/bazelbuild/rules_foreign_cc/pull/818)
- Pass toolchain and user env variables to make invocation by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/777](https://togithub.com/bazelbuild/rules_foreign_cc/pull/777)
- Adds toolchain for freebsd. by [@yesudeep](https://togithub.com/yesudeep) in [https://github.com/bazelbuild/rules_foreign_cc/pull/794](https://togithub.com/bazelbuild/rules_foreign_cc/pull/794)
- Bootstrap make reproducibly by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/817](https://togithub.com/bazelbuild/rules_foreign_cc/pull/817)
- Fixed docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/828](https://togithub.com/bazelbuild/rules_foreign_cc/pull/828)
- Release `v0.7.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/827](https://togithub.com/bazelbuild/rules_foreign_cc/pull/827)
#### New Contributors
- [@yesudeep](https://togithub.com/yesudeep) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/794](https://togithub.com/bazelbuild/rules_foreign_cc/pull/794)
**Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.6.0...0.7.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 becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.6.0
->0.10.1
Release Notes
bazelbuild/rules_foreign_cc (rules_foreign_cc)
### [`v0.10.1`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.10.1) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.10.0...0.10.1) #### 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.10.1") ``` #### 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 = "476303bd0f1b04cc311fc258f1708a5f6ef82d3091e53fd1977fa20383425a6a", strip_prefix = "rules_foreign_cc-0.10.1", url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.1/rules_foreign_cc-0.10.1.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.10.1/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Release 0.9.0 docs by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/945](https://togithub.com/bazelbuild/rules_foreign_cc/pull/945) - Add ninja 11 to prebuilt_toolchains.py by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/950](https://togithub.com/bazelbuild/rules_foreign_cc/pull/950) - migrating to rbe_preconfig by [@aranguyen](https://togithub.com/aranguyen) in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952) - Ping MSVC version to 2017 by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/964](https://togithub.com/bazelbuild/rules_foreign_cc/pull/964) - Expand variables in `user_options` for boost_build by [@petoknm](https://togithub.com/petoknm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957) - Disable cc toolchain resolution in examples on Mac by [@comius](https://togithub.com/comius) in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967) - Bazel 6.0: Fix config_setting visibility failure on bazel CI by [@gregestren](https://togithub.com/gregestren) in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975) - Fix current toolchains by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/978](https://togithub.com/bazelbuild/rules_foreign_cc/pull/978) - Add prefix flag config option to make_configure by [@cmburn](https://togithub.com/cmburn) in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973) - Add macro that faciliates "bazel run" of binary generated by rules_foreign_cc by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/971](https://togithub.com/bazelbuild/rules_foreign_cc/pull/971) - Add make 4.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/980](https://togithub.com/bazelbuild/rules_foreign_cc/pull/980) - Reduce build times (especially on windows) by symlinking directories by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/983](https://togithub.com/bazelbuild/rules_foreign_cc/pull/983) - Hermetic pkg config by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/979](https://togithub.com/bazelbuild/rules_foreign_cc/pull/979) - Add toolchain executables to the PATH by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/987](https://togithub.com/bazelbuild/rules_foreign_cc/pull/987) - Disable stale-issue automation by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/989](https://togithub.com/bazelbuild/rules_foreign_cc/pull/989) - Fix runnable_binary_wrapper when used as a tool in a dependant rule by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/991](https://togithub.com/bazelbuild/rules_foreign_cc/pull/991) - Rename make_variant to foreign_cc_rule_variant by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/993](https://togithub.com/bazelbuild/rules_foreign_cc/pull/993) - Add runfiles of dependency tools to the build by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/994](https://togithub.com/bazelbuild/rules_foreign_cc/pull/994) - Update build rules by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/995](https://togithub.com/bazelbuild/rules_foreign_cc/pull/995) - Update buildifier by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/998](https://togithub.com/bazelbuild/rules_foreign_cc/pull/998) - Disable fdo features. by [@rjogrady](https://togithub.com/rjogrady) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002) - Remove Python 2 configuration and targets by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006) - Update cmake and ninja versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/996](https://togithub.com/bazelbuild/rules_foreign_cc/pull/996) - Remove tests that depend on shared libraries by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1016](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1016) - Fix pkgconfig built by MSVC on Windows by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/992](https://togithub.com/bazelbuild/rules_foreign_cc/pull/992) - Add dependency shared libs to sandbox by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/990](https://togithub.com/bazelbuild/rules_foreign_cc/pull/990) - Fix cross compiling for android on macOS by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/997](https://togithub.com/bazelbuild/rules_foreign_cc/pull/997) - Disable coverage when a C library is not instrumented by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021) - Add new darwin CC toolchain for tests by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1017](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1017) - Use python3 instead of python2 in macos commands by [@fffonion](https://togithub.com/fffonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037) - Updated cmake versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1039](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1039) - Bump buildifier to 6.1.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1040](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1040) - installdir_copy seems meaningless as output by [@lifengxiang1025](https://togithub.com/lifengxiang1025) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038) - Bump zlib version in examples by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1043](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1043) - Skip minimal Bazel version support tasks in Bazel's downstream pipeline by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1044](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1044) - Pass must_keep_debug = False to cc_common.create_link_variables by [@jvolkman](https://togithub.com/jvolkman) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046) - Add bzlmod support files. by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/999](https://togithub.com/bazelbuild/rules_foreign_cc/pull/999) - Specify path to sed on MacOS and FreeBSD by [@garymm](https://togithub.com/garymm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961) - Add meson support by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/986](https://togithub.com/bazelbuild/rules_foreign_cc/pull/986) - Bump mako from 1.2.1 to 1.2.2 in /examples by [@dependabot](https://togithub.com/dependabot) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053) - Add meson to docs by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1055](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1055) - Allow selecting individual outputs from a rule by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056) - Adds some documentation specific to the `make` rule. by [@filmil](https://togithub.com/filmil) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050) - Fix issue where meson documentation was blank on docs site by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1060](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1060) - fix linux cross compiling on macos by [@isaactorz](https://togithub.com/isaactorz) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062) - Add cmake 3.26.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1067](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1067) - Create hub repo for shell framework toolchains by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1066](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1066) - Update meson to 1.1.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1072](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1072) - Fix multiple-definition error on windows_config_setting by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084) - Update rules_apple by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1086](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1086) - Advertise CcInfo provider by [@calebzulawski](https://togithub.com/calebzulawski) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095) - Allow runnable_binary to work on non-external targets by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1100](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1100) - Fix .bcr config files by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1103](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1103) - Set the LD environment variable by [@dstufft](https://togithub.com/dstufft) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068) - Upgrade rules_python by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1058](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1058) - cmake: use variable expansion on generator args by [@lummax](https://togithub.com/lummax) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087) - Register pkgconfig by default by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1104](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1104) - Expand locations and make variables in configure options by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1102](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1102) - update @rules_perl in examples by [@xytan0056](https://togithub.com/xytan0056) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108) - Updating release process to use stable tarball urls by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1059](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1059) #### New Contributors - [@aranguyen](https://togithub.com/aranguyen) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952) - [@petoknm](https://togithub.com/petoknm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957) - [@comius](https://togithub.com/comius) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967) - [@gregestren](https://togithub.com/gregestren) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975) - [@cmburn](https://togithub.com/cmburn) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973) - [@rjogrady](https://togithub.com/rjogrady) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002) - [@rickeylev](https://togithub.com/rickeylev) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006) - [@linzhp](https://togithub.com/linzhp) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021) - [@fffonion](https://togithub.com/fffonion) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037) - [@lifengxiang1025](https://togithub.com/lifengxiang1025) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038) - [@jvolkman](https://togithub.com/jvolkman) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046) - [@garymm](https://togithub.com/garymm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961) - [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053) - [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056) - [@filmil](https://togithub.com/filmil) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050) - [@isaactorz](https://togithub.com/isaactorz) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062) - [@novas0x2a](https://togithub.com/novas0x2a) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084) - [@calebzulawski](https://togithub.com/calebzulawski) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095) - [@dstufft](https://togithub.com/dstufft) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068) - [@lummax](https://togithub.com/lummax) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087) - [@xytan0056](https://togithub.com/xytan0056) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108) **Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.9.0...0.10.1 ### [`v0.10.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.10.0) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.9.0...0.10.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.10.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 = "3ff4997dfcd701b292b3a64526b7d1b9b07eecd5c624e2555682cac98cb09721", strip_prefix = "rules_foreign_cc-0.10.0", url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.10.0/rules_foreign_cc-0.10.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.10.0/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Release 0.9.0 docs by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/945](https://togithub.com/bazelbuild/rules_foreign_cc/pull/945) - Add ninja 11 to prebuilt_toolchains.py by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/950](https://togithub.com/bazelbuild/rules_foreign_cc/pull/950) - migrating to rbe_preconfig by [@aranguyen](https://togithub.com/aranguyen) in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952) - Ping MSVC version to 2017 by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/964](https://togithub.com/bazelbuild/rules_foreign_cc/pull/964) - Expand variables in `user_options` for boost_build by [@petoknm](https://togithub.com/petoknm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957) - Disable cc toolchain resolution in examples on Mac by [@comius](https://togithub.com/comius) in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967) - Bazel 6.0: Fix config_setting visibility failure on bazel CI by [@gregestren](https://togithub.com/gregestren) in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975) - Fix current toolchains by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/978](https://togithub.com/bazelbuild/rules_foreign_cc/pull/978) - Add prefix flag config option to make_configure by [@cmburn](https://togithub.com/cmburn) in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973) - Add macro that faciliates "bazel run" of binary generated by rules_foreign_cc by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/971](https://togithub.com/bazelbuild/rules_foreign_cc/pull/971) - Add make 4.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/980](https://togithub.com/bazelbuild/rules_foreign_cc/pull/980) - Reduce build times (especially on windows) by symlinking directories by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/983](https://togithub.com/bazelbuild/rules_foreign_cc/pull/983) - Hermetic pkg config by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/979](https://togithub.com/bazelbuild/rules_foreign_cc/pull/979) - Add toolchain executables to the PATH by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/987](https://togithub.com/bazelbuild/rules_foreign_cc/pull/987) - Disable stale-issue automation by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/989](https://togithub.com/bazelbuild/rules_foreign_cc/pull/989) - Fix runnable_binary_wrapper when used as a tool in a dependant rule by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/991](https://togithub.com/bazelbuild/rules_foreign_cc/pull/991) - Rename make_variant to foreign_cc_rule_variant by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/993](https://togithub.com/bazelbuild/rules_foreign_cc/pull/993) - Add runfiles of dependency tools to the build by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/994](https://togithub.com/bazelbuild/rules_foreign_cc/pull/994) - Update build rules by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/995](https://togithub.com/bazelbuild/rules_foreign_cc/pull/995) - Update buildifier by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/998](https://togithub.com/bazelbuild/rules_foreign_cc/pull/998) - Disable fdo features. by [@rjogrady](https://togithub.com/rjogrady) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002) - Remove Python 2 configuration and targets by [@rickeylev](https://togithub.com/rickeylev) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006) - Update cmake and ninja versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/996](https://togithub.com/bazelbuild/rules_foreign_cc/pull/996) - Remove tests that depend on shared libraries by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1016](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1016) - Fix pkgconfig built by MSVC on Windows by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/992](https://togithub.com/bazelbuild/rules_foreign_cc/pull/992) - Add dependency shared libs to sandbox by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/990](https://togithub.com/bazelbuild/rules_foreign_cc/pull/990) - Fix cross compiling for android on macOS by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/997](https://togithub.com/bazelbuild/rules_foreign_cc/pull/997) - Disable coverage when a C library is not instrumented by [@linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021) - Add new darwin CC toolchain for tests by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1017](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1017) - Use python3 instead of python2 in macos commands by [@fffonion](https://togithub.com/fffonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037) - Updated cmake versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1039](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1039) - Bump buildifier to 6.1.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1040](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1040) - installdir_copy seems meaningless as output by [@lifengxiang1025](https://togithub.com/lifengxiang1025) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038) - Bump zlib version in examples by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1043](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1043) - Skip minimal Bazel version support tasks in Bazel's downstream pipeline by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1044](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1044) - Pass must_keep_debug = False to cc_common.create_link_variables by [@jvolkman](https://togithub.com/jvolkman) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046) - Add bzlmod support files. by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/999](https://togithub.com/bazelbuild/rules_foreign_cc/pull/999) - Specify path to sed on MacOS and FreeBSD by [@garymm](https://togithub.com/garymm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961) - Add meson support by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/986](https://togithub.com/bazelbuild/rules_foreign_cc/pull/986) - Bump mako from 1.2.1 to 1.2.2 in /examples by [@dependabot](https://togithub.com/dependabot) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053) - Add meson to docs by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1055](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1055) - Allow selecting individual outputs from a rule by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056) - Adds some documentation specific to the `make` rule. by [@filmil](https://togithub.com/filmil) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050) - Fix issue where meson documentation was blank on docs site by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1060](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1060) - fix linux cross compiling on macos by [@isaactorz](https://togithub.com/isaactorz) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062) - Add cmake 3.26.4 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1067](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1067) - Create hub repo for shell framework toolchains by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1066](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1066) - Update meson to 1.1.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1072](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1072) - Fix multiple-definition error on windows_config_setting by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084) - Update rules_apple by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1086](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1086) - Advertise CcInfo provider by [@calebzulawski](https://togithub.com/calebzulawski) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095) - Allow runnable_binary to work on non-external targets by [@novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1100](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1100) - Fix .bcr config files by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1103](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1103) - Set the LD environment variable by [@dstufft](https://togithub.com/dstufft) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068) - Upgrade rules_python by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1058](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1058) - cmake: use variable expansion on generator args by [@lummax](https://togithub.com/lummax) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087) - Register pkgconfig by default by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1104](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1104) - Expand locations and make variables in configure options by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1102](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1102) - update @rules_perl in examples by [@xytan0056](https://togithub.com/xytan0056) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108) - Updating release process to use stable tarball urls by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1059](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1059) #### New Contributors - [@aranguyen](https://togithub.com/aranguyen) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/952](https://togithub.com/bazelbuild/rules_foreign_cc/pull/952) - [@petoknm](https://togithub.com/petoknm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/957](https://togithub.com/bazelbuild/rules_foreign_cc/pull/957) - [@comius](https://togithub.com/comius) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/967](https://togithub.com/bazelbuild/rules_foreign_cc/pull/967) - [@gregestren](https://togithub.com/gregestren) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/975](https://togithub.com/bazelbuild/rules_foreign_cc/pull/975) - [@cmburn](https://togithub.com/cmburn) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/973](https://togithub.com/bazelbuild/rules_foreign_cc/pull/973) - [@rjogrady](https://togithub.com/rjogrady) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1002](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1002) - [@rickeylev](https://togithub.com/rickeylev) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1006](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1006) - [@linzhp](https://togithub.com/linzhp) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1021](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1021) - [@fffonion](https://togithub.com/fffonion) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1037](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1037) - [@lifengxiang1025](https://togithub.com/lifengxiang1025) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1038](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1038) - [@jvolkman](https://togithub.com/jvolkman) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1046](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1046) - [@garymm](https://togithub.com/garymm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/961](https://togithub.com/bazelbuild/rules_foreign_cc/pull/961) - [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1053](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1053) - [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1056](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1056) - [@filmil](https://togithub.com/filmil) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1050](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1050) - [@isaactorz](https://togithub.com/isaactorz) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1062](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1062) - [@novas0x2a](https://togithub.com/novas0x2a) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1084](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1084) - [@calebzulawski](https://togithub.com/calebzulawski) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1095](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1095) - [@dstufft](https://togithub.com/dstufft) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1068](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1068) - [@lummax](https://togithub.com/lummax) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1087](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1087) - [@xytan0056](https://togithub.com/xytan0056) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1108](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1108) **Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.9.0...0.10.0 ### [`v0.9.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.9.0) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.8.0...0.9.0) https://bazelbuild.github.io/rules_foreign_cc/0.9.0/ #### Usage Add the following to your `WORKSPACE` file: ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "2a4d07cd64b0719b39a7c12218a3e507672b82a97b98c6a89d38565894cf7c51", strip_prefix = "rules_foreign_cc-0.9.0", url = "https://github.com/bazelbuild/rules_foreign_cc/archive/refs/tags/0.9.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.9.0/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Release `v0.8.0` docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/893](https://togithub.com/bazelbuild/rules_foreign_cc/pull/893) - Pass '-undefined error' non sysroot ldflag on macOS by [@uhthomas](https://togithub.com/uhthomas) in [https://github.com/bazelbuild/rules_foreign_cc/pull/894](https://togithub.com/bazelbuild/rules_foreign_cc/pull/894) - Upgrade rules_apple to 0.34.0 by [@fweikert](https://togithub.com/fweikert) in [https://github.com/bazelbuild/rules_foreign_cc/pull/896](https://togithub.com/bazelbuild/rules_foreign_cc/pull/896) - Fix ninja bootstrap on macOS 12.3+ by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/900](https://togithub.com/bazelbuild/rules_foreign_cc/pull/900) - Use an unreleased version of rules_apple by [@fweikert](https://togithub.com/fweikert) in [https://github.com/bazelbuild/rules_foreign_cc/pull/899](https://togithub.com/bazelbuild/rules_foreign_cc/pull/899) - Update to new rules_apple release by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/906](https://togithub.com/bazelbuild/rules_foreign_cc/pull/906) - fix: expose CMAKE env variable from cmake toolchains by [@roman-kashitsyn](https://togithub.com/roman-kashitsyn) in [https://github.com/bazelbuild/rules_foreign_cc/pull/911](https://togithub.com/bazelbuild/rules_foreign_cc/pull/911) - Make tests pass on busybox by [@graywolf-at-work](https://togithub.com/graywolf-at-work) in [https://github.com/bazelbuild/rules_foreign_cc/pull/912](https://togithub.com/bazelbuild/rules_foreign_cc/pull/912) - Don't load examples dependencies from main WORKSPACE by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/917](https://togithub.com/bazelbuild/rules_foreign_cc/pull/917) - Ninja 1.11.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/919](https://togithub.com/bazelbuild/rules_foreign_cc/pull/919) - Update cmake versions by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/918](https://togithub.com/bazelbuild/rules_foreign_cc/pull/918) - Use bazel_skylib 1.2.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/920](https://togithub.com/bazelbuild/rules_foreign_cc/pull/920) - zlib 1.2.12 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/916](https://togithub.com/bazelbuild/rules_foreign_cc/pull/916) - Fix small typos in doc and comments by [@kiron1](https://togithub.com/kiron1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/924](https://togithub.com/bazelbuild/rules_foreign_cc/pull/924) - fix replace_in_files for file names with spaces by [@george-enf](https://togithub.com/george-enf) in [https://github.com/bazelbuild/rules_foreign_cc/pull/923](https://togithub.com/bazelbuild/rules_foreign_cc/pull/923) - Speed up CI by preventing the python2 build from running tests by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/930](https://togithub.com/bazelbuild/rules_foreign_cc/pull/930) - Faciliate usage of jom by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/932](https://togithub.com/bazelbuild/rules_foreign_cc/pull/932) - Fix `RANLIB` for `configure_make` by [@jun-sheaf](https://togithub.com/jun-sheaf) in [https://github.com/bazelbuild/rules_foreign_cc/pull/928](https://togithub.com/bazelbuild/rules_foreign_cc/pull/928) - Hermetic ninja build by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/935](https://togithub.com/bazelbuild/rules_foreign_cc/pull/935) - Add tool runfiles to action by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/942](https://togithub.com/bazelbuild/rules_foreign_cc/pull/942) - Add ability to specify DLL dir by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/939](https://togithub.com/bazelbuild/rules_foreign_cc/pull/939) - openssl 1.1.1o by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/922](https://togithub.com/bazelbuild/rules_foreign_cc/pull/922) - Release version 0.9.0 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/944](https://togithub.com/bazelbuild/rules_foreign_cc/pull/944) #### New Contributors - [@uhthomas](https://togithub.com/uhthomas) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/894](https://togithub.com/bazelbuild/rules_foreign_cc/pull/894) - [@fweikert](https://togithub.com/fweikert) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/896](https://togithub.com/bazelbuild/rules_foreign_cc/pull/896) - [@roman-kashitsyn](https://togithub.com/roman-kashitsyn) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/911](https://togithub.com/bazelbuild/rules_foreign_cc/pull/911) - [@graywolf-at-work](https://togithub.com/graywolf-at-work) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/912](https://togithub.com/bazelbuild/rules_foreign_cc/pull/912) - [@kiron1](https://togithub.com/kiron1) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/924](https://togithub.com/bazelbuild/rules_foreign_cc/pull/924) - [@george-enf](https://togithub.com/george-enf) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/923](https://togithub.com/bazelbuild/rules_foreign_cc/pull/923) - [@jun-sheaf](https://togithub.com/jun-sheaf) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/928](https://togithub.com/bazelbuild/rules_foreign_cc/pull/928) **Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.8.0...0.9.0 ### [`v0.8.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.8.0) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.7.1...0.8.0) ### 0.8.0 https://bazelbuild.github.io/rules_foreign_cc/0.8.0/ #### Usage Add the following to your `WORKSPACE` file: ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "6041f1374ff32ba711564374ad8e007aef77f71561a7ce784123b9b4b88614fc", strip_prefix = "rules_foreign_cc-0.8.0", url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.8.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.8.0/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Release v0.7.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/852](https://togithub.com/bazelbuild/rules_foreign_cc/pull/852) - Update bazelignore files by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/854](https://togithub.com/bazelbuild/rules_foreign_cc/pull/854) - Remove call to register_toolchains for bzlmod by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/855](https://togithub.com/bazelbuild/rules_foreign_cc/pull/855) - Allow all source files to be modified in configure_make when using configure_in_place = True by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/856](https://togithub.com/bazelbuild/rules_foreign_cc/pull/856) - Remove arbitrary limits in Starlark "while" loops by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/862](https://togithub.com/bazelbuild/rules_foreign_cc/pull/862) - Do not set user defined env variables twice for (c)make by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/860](https://togithub.com/bazelbuild/rules_foreign_cc/pull/860) - Pin buildifier version by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/873](https://togithub.com/bazelbuild/rules_foreign_cc/pull/873) - Remove unused BUILD.perl.bazel file by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/871](https://togithub.com/bazelbuild/rules_foreign_cc/pull/871) - Replace `escape_locations` with `escape_locations_and_make_variables` everywhere by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/861](https://togithub.com/bazelbuild/rules_foreign_cc/pull/861) - Absolutise path to cmake crosstool file by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/870](https://togithub.com/bazelbuild/rules_foreign_cc/pull/870) - Add CMake 3.22.2 and 3.21.5 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/875](https://togithub.com/bazelbuild/rules_foreign_cc/pull/875) - Add current_\*\_toolchain rules to allow passing current toolchain inst… by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/843](https://togithub.com/bazelbuild/rules_foreign_cc/pull/843) - Fixups to use of Labels to support bzlmod by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/872](https://togithub.com/bazelbuild/rules_foreign_cc/pull/872) - Set CMAKE_OSX_ARCHITECTURES to target architecture by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/891](https://togithub.com/bazelbuild/rules_foreign_cc/pull/891) - Release `v0.8.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/892](https://togithub.com/bazelbuild/rules_foreign_cc/pull/892) **Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.7.1...0.8.0 ### [`v0.7.1`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.7.1) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.7.0...0.7.1) ### 0.7.1 https://bazelbuild.github.io/rules_foreign_cc/0.7.1/ #### Usage Add the following to your `WORKSPACE` file: ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "bcd0c5f46a49b85b384906daae41d277b3dc0ff27c7c752cc51e43048a58ec83", strip_prefix = "rules_foreign_cc-0.7.1", url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.1.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.7.1/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Added `v0.7.0` docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/829](https://togithub.com/bazelbuild/rules_foreign_cc/pull/829) - Support propagation of `includes` by [@ericastor](https://togithub.com/ericastor) in [https://github.com/bazelbuild/rules_foreign_cc/pull/826](https://togithub.com/bazelbuild/rules_foreign_cc/pull/826) - Adapt tests to new cc_binary file extension on macOS by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/834](https://togithub.com/bazelbuild/rules_foreign_cc/pull/834) - Fixed `0.7.0` docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/838](https://togithub.com/bazelbuild/rules_foreign_cc/pull/838) - Add toolchain types for autotools tools by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/816](https://togithub.com/bazelbuild/rules_foreign_cc/pull/816) - Fix typo in comment by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/840](https://togithub.com/bazelbuild/rules_foreign_cc/pull/840) - Add runfiles to built_tools by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/844](https://togithub.com/bazelbuild/rules_foreign_cc/pull/844) - Minor cleanup for examples by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/835](https://togithub.com/bazelbuild/rules_foreign_cc/pull/835) - use rules_perl toolchain for Windows build of OpenSSL by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/846](https://togithub.com/bazelbuild/rules_foreign_cc/pull/846) - Bash quoting by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/842](https://togithub.com/bazelbuild/rules_foreign_cc/pull/842) - Initial bzlmod support by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/839](https://togithub.com/bazelbuild/rules_foreign_cc/pull/839) - CMake 3.22.1 by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/841](https://togithub.com/bazelbuild/rules_foreign_cc/pull/841) - More quoting fixes for handling paths with spaces by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/850](https://togithub.com/bazelbuild/rules_foreign_cc/pull/850) #### New Contributors - [@ericastor](https://togithub.com/ericastor) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/826](https://togithub.com/bazelbuild/rules_foreign_cc/pull/826) **Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.7.0...0.7.1 ### [`v0.7.0`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.7.0) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.6.0...0.7.0) ### 0.7.0 https://bazelbuild.github.io/rules_foreign_cc/0.7.0/ #### Usage Add the following to your `WORKSPACE` file: ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "1df78c7d7eed2dc21b8b325a2853c31933a81e7b780f9a59a5d078be9008b13a", strip_prefix = "rules_foreign_cc-0.7.0", url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.7.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.7.0/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` #### What's Changed - Release 0.6.0 docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/785](https://togithub.com/bazelbuild/rules_foreign_cc/pull/785) - Improve failed exports logic by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_foreign_cc/pull/789](https://togithub.com/bazelbuild/rules_foreign_cc/pull/789) - Updated `rules_cc` and `bazel_skylib` versions by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/795](https://togithub.com/bazelbuild/rules_foreign_cc/pull/795) - Add flags from copts and linkopts attributes by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/796](https://togithub.com/bazelbuild/rules_foreign_cc/pull/796) - Updated libgit2 example by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/799](https://togithub.com/bazelbuild/rules_foreign_cc/pull/799) - Expand make variables in env by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/788](https://togithub.com/bazelbuild/rules_foreign_cc/pull/788) - Added libgit2 Google mirror by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/800](https://togithub.com/bazelbuild/rules_foreign_cc/pull/800) - Update min tested Bazel version to `4.0.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/802](https://togithub.com/bazelbuild/rules_foreign_cc/pull/802) - Updated `bazel_skylib`, `rules_cc` and `rules_python` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/801](https://togithub.com/bazelbuild/rules_foreign_cc/pull/801) - Updated `pcre` example by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/809](https://togithub.com/bazelbuild/rules_foreign_cc/pull/809) - Explicitly turn off guile support in built version of GNU make by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/814](https://togithub.com/bazelbuild/rules_foreign_cc/pull/814) - CMake 3.21.3, 3.21.4 and 3.22.0 support by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/815](https://togithub.com/bazelbuild/rules_foreign_cc/pull/815) - Autotools examples by [@jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/754](https://togithub.com/bazelbuild/rules_foreign_cc/pull/754) - Ensure Windows paths provided to CMake contain forward slashes only by [@jheaff1](https://togithub.com/jheaff1) in [https://github.com/bazelbuild/rules_foreign_cc/pull/807](https://togithub.com/bazelbuild/rules_foreign_cc/pull/807) - Let make build in BUILD_TMPDIR by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/818](https://togithub.com/bazelbuild/rules_foreign_cc/pull/818) - Pass toolchain and user env variables to make invocation by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/777](https://togithub.com/bazelbuild/rules_foreign_cc/pull/777) - Adds toolchain for freebsd. by [@yesudeep](https://togithub.com/yesudeep) in [https://github.com/bazelbuild/rules_foreign_cc/pull/794](https://togithub.com/bazelbuild/rules_foreign_cc/pull/794) - Bootstrap make reproducibly by [@fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_foreign_cc/pull/817](https://togithub.com/bazelbuild/rules_foreign_cc/pull/817) - Fixed docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/828](https://togithub.com/bazelbuild/rules_foreign_cc/pull/828) - Release `v0.7.0` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_foreign_cc/pull/827](https://togithub.com/bazelbuild/rules_foreign_cc/pull/827) #### New Contributors - [@yesudeep](https://togithub.com/yesudeep) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/794](https://togithub.com/bazelbuild/rules_foreign_cc/pull/794) **Full Changelog**: https://github.com/bazelbuild/rules_foreign_cc/compare/0.6.0...0.7.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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.