0.10.0
Pre-release
Pre-release
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_foreign_cc", version = "0.10.0")
Using WORKSPACE
Paste this snippet into your file:
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 in #945
- Add ninja 11 to prebuilt_toolchains.py by @jheaff1 in #950
- migrating to rbe_preconfig by @aranguyen in #952
- Ping MSVC version to 2017 by @meteorcloudy in #964
- Expand variables in
user_options
for boost_build by @petoknm in #957 - Disable cc toolchain resolution in examples on Mac by @comius in #967
- Bazel 6.0: Fix config_setting visibility failure on bazel CI by @gregestren in #975
- Fix current toolchains by @jheaff1 in #978
- Add prefix flag config option to make_configure by @cmburn in #973
- Add macro that faciliates "bazel run" of binary generated by rules_foreign_cc by @jheaff1 in #971
- Add make 4.4 by @jsharpe in #980
- Reduce build times (especially on windows) by symlinking directories by @jheaff1 in #983
- Hermetic pkg config by @jheaff1 in #979
- Add toolchain executables to the PATH by @jheaff1 in #987
- Disable stale-issue automation by @UebelAndre in #989
- Fix runnable_binary_wrapper when used as a tool in a dependant rule by @jsharpe in #991
- Rename make_variant to foreign_cc_rule_variant by @jsharpe in #993
- Add runfiles of dependency tools to the build by @jsharpe in #994
- Update build rules by @jsharpe in #995
- Update buildifier by @keith in #998
- Disable fdo features. by @rjogrady in #1002
- Remove Python 2 configuration and targets by @rickeylev in #1006
- Update cmake and ninja versions by @jsharpe in #996
- Remove tests that depend on shared libraries by @jheaff1 in #1016
- Fix pkgconfig built by MSVC on Windows by @jsharpe in #992
- Add dependency shared libs to sandbox by @jsharpe in #990
- Fix cross compiling for android on macOS by @keith in #997
- Disable coverage when a C library is not instrumented by @linzhp in #1021
- Add new darwin CC toolchain for tests by @keith in #1017
- Use python3 instead of python2 in macos commands by @fffonion in #1037
- Updated cmake versions by @jsharpe in #1039
- Bump buildifier to 6.1.0 by @jsharpe in #1040
- installdir_copy seems meaningless as output by @lifengxiang1025 in #1038
- Bump zlib version in examples by @jsharpe in #1043
- Skip minimal Bazel version support tasks in Bazel's downstream pipeline by @meteorcloudy in #1044
- Pass must_keep_debug = False to cc_common.create_link_variables by @jvolkman in #1046
- Add bzlmod support files. by @jsharpe in #999
- Specify path to sed on MacOS and FreeBSD by @garymm in #961
- Add meson support by @jheaff1 in #986
- Bump mako from 1.2.1 to 1.2.2 in /examples by @dependabot in #1053
- Add meson to docs by @jheaff1 in #1055
- Allow selecting individual outputs from a rule by @DolceTriade in #1056
- Adds some documentation specific to the
make
rule. by @filmil in #1050 - Fix issue where meson documentation was blank on docs site by @jheaff1 in #1060
- fix linux cross compiling on macos by @isaactorz in #1062
- Add cmake 3.26.4 by @jsharpe in #1067
- Create hub repo for shell framework toolchains by @jsharpe in #1066
- Update meson to 1.1.1 by @jsharpe in #1072
- Fix multiple-definition error on windows_config_setting by @novas0x2a in #1084
- Update rules_apple by @keith in #1086
- Advertise CcInfo provider by @calebzulawski in #1095
- Allow runnable_binary to work on non-external targets by @novas0x2a in #1100
- Fix .bcr config files by @jsharpe in #1103
- Set the LD environment variable by @dstufft in #1068
- Upgrade rules_python by @jsharpe in #1058
- cmake: use variable expansion on generator args by @lummax in #1087
- Register pkgconfig by default by @jsharpe in #1104
- Expand locations and make variables in configure options by @jsharpe in #1102
- update @rules_perl in examples by @xytan0056 in #1108
- Updating release process to use stable tarball urls by @jsharpe in #1059
New Contributors
- @aranguyen made their first contribution in #952
- @petoknm made their first contribution in #957
- @comius made their first contribution in #967
- @gregestren made their first contribution in #975
- @cmburn made their first contribution in #973
- @rjogrady made their first contribution in #1002
- @rickeylev made their first contribution in #1006
- @linzhp made their first contribution in #1021
- @fffonion made their first contribution in #1037
- @lifengxiang1025 made their first contribution in #1038
- @jvolkman made their first contribution in #1046
- @garymm made their first contribution in #961
- @dependabot made their first contribution in #1053
- @DolceTriade made their first contribution in #1056
- @filmil made their first contribution in #1050
- @isaactorz made their first contribution in #1062
- @novas0x2a made their first contribution in #1084
- @calebzulawski made their first contribution in #1095
- @dstufft made their first contribution in #1068
- @lummax made their first contribution in #1087
- @xytan0056 made their first contribution in #1108
Full Changelog: 0.9.0...0.10.0