0.11.1
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.11.1")
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 = "4b33d62cf109bcccf286b30ed7121129cc34cf4f4ed9d8a11f38d9108f40ba74",
strip_prefix = "rules_foreign_cc-0.11.1",
url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.11.1/rules_foreign_cc-0.11.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.11.1/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
Full Changelog: 0.10.1...0.11.1
What's Changed
- Add missing sha256 for meson_src 1.1.1 by @lalten in #1111
- Set an empty tools_data attribute for boost by @attilaolah in #1112
- Advertise CcInfo provider by @calebzulawski in #1118
- Allow file targets in native_tool_toolchain() by @sitaktif in #1117
- set CC and CXX and their flags in meson by @xytan0056 in #1098
- Turn off bzlmod in CI for now by @jsharpe in #1142
- Fix
//openssl/...
by callingopenssl_setup()
by @bcsgh in #1137 - Sort tests under examples/third_party and add zlib to the list. by @bcsgh in #1136
- Use gazelle to generate bzl_library targets by @jsharpe in #1127
- Use platform specific configs in bazelrc to reduce scope of settings by @jsharpe in #1144
- Update to ubuntu 20.04 on RBE by @jsharpe in #1145
- Remove explicit mention of bazel 4.x support by @jsharpe in #1146
- Add mirrors to external repositories by @mishazharov in #1153
- Build msvc cmake with prebuilt cmake by @matt-sm in #1148
- Simplify the toolchain registration for bzlmod by @jsharpe in #1105
- Update CMake versions by @jsharpe in #1159
- Fix tool path for nmake by @jsun-splunk in #1165
- chore(deps): Bump rules_apple. Fixes #1156 by @jsharpe in #1166
- Add make 4.4.1 by @novas0x2a in #1167
- Increase resiliency of
runnable_binary
by @mishazharov in #1134 - Fix windows examples CI by upgrading TLS trust store by @mishazharov in #1171
- Fixes the CI failure at Bazel@HEAD by @sgowroji in #1173
- Add j2objc fragment to rules by @sgowroji in #1175
- Cater for different drive letters when normalizing path by @matt-sm in #1169
- Fix #1161: set the
CMAKE
environment variables for prebuilt toolchains. by @thb-sb in #1163 - Add aarch64 to prebuild library constraints for macos by @dmeijboom in #1176
- Use a sed delimiter that is unlikely to appear in the input by @mkauf in #1184
- Update rules_apple by @sgowroji in #1190
- Fix - Copy Dir ignores hidden files on macOS by @LaurenceTews in #1188
- fix(docs): Port docs generation to bzlmod to fix user facing doc generation by @jsharpe in #1193
- Revert "fix(docs): Port docs generation to bzlmod to fix user facing doc generation" by @jsharpe in #1194
- chore(deps): Add ninja 1.12.0 and latest versions of cmake by @jsharpe in #1192
- adjust relative msvc paths by @matt-sm in #1180
- Make pkgconfig Hermetic by @dstufft in #1069
- Exclude filenames with spaces from cmake toolchains by @illicitonion in #1199
- fix: change cygpath to mixed mode by @jsun-splunk in #1204
- fix: path expansion on windows by @jsun-splunk in #1207
- Revert inadvertent direct commit to main by @jsharpe in #1213
- Update framework.bzl to account for externalIncludes by @layus in #1215
- chore(deps): cmake/ninja: add new versions by @novas0x2a in #1212
- Revert "cmake: use variable expansion on generator args" by @jsharpe in #1219
- Add in custom glib patch by @andrewkatson in #1211
New Contributors
- @lalten made their first contribution in #1111
- @sitaktif made their first contribution in #1117
- @mishazharov made their first contribution in #1153
- @matt-sm made their first contribution in #1148
- @jsun-splunk made their first contribution in #1165
- @sgowroji made their first contribution in #1173
- @thb-sb made their first contribution in #1163
- @dmeijboom made their first contribution in #1176
- @mkauf made their first contribution in #1184
- @LaurenceTews made their first contribution in #1188
- @layus made their first contribution in #1215
- @andrewkatson made their first contribution in #1211
Full Changelog: 0.10.1...0.11.1