Releases: bazel-contrib/rules_foreign_cc
0.12.0
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.12.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 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3",
strip_prefix = "rules_foreign_cc-0.12.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.12.0/rules_foreign_cc-0.12.0.tar.gz",
)
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
# This sets up some common toolchains for building targets. For more details, please see
# https://bazelbuild.github.io/rules_foreign_cc/0.12.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
load("@bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
What's Changed
- Re-export runfiles env vars so that dependencies can use them by @mishazharov in #1235
- Apply expand_locations_and_make_variables to cache_entries by @froody in #1240
- Revert "Apply expand_locations_and_make_variables to cache_entries" by @jsharpe in #1250
- Fix macOS CI by @jsharpe in #1251
- Upgrade default ninja version to 1.12.1 by @jsharpe in #1248
- Add setup_args and run
meson setup
explictly by @allsey87 in #1223 - Portable copy_dir_contents_to_dir by @lamcw in #1246
- Do not clobber user environment variables in Meson script by @allsey87 in #1255
- runnable_binary: use package_relative_label by @lamcw in #1253
- configure_make: support autotools cross-compilation by @novas0x2a in #1247
- cmake: handle builds that use static toolchain libs by @novas0x2a in #1256
- Fix
_get_make_variables
ignoring user environment variables by @allsey87 in #1230 - add support for cc_shared_library deps by @matt-sm in #1243
- autotools: return darwin as os instead of cmake in xcompile by @novas0x2a in #1258
- Update BCR presubmit by @jsharpe in #1259
- fix meson tests for macOS CI by @jsun-splunk in #1260
- Merge user provided CPPFLAGS with build system CPPFLAGS by @allsey87 in #1261
New Contributors
- @froody made their first contribution in #1240
- @allsey87 made their first contribution in #1223
- @lamcw made their first contribution in #1246
Full Changelog: 0.11.1...0.12.0
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
0.10.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.10.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 = "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 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 https://github.com/bazelbuild/rules_foreign_...
0.10.0
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 https://github.com/bazelbuild/rules_foreign_...
0.9.0
https://bazelbuild.github.io/rules_foreign_cc/0.9.0/
Usage
Add the following to your WORKSPACE
file:
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 in #893 - Pass '-undefined error' non sysroot ldflag on macOS by @uhthomas in #894
- Upgrade rules_apple to 0.34.0 by @fweikert in #896
- Fix ninja bootstrap on macOS 12.3+ by @keith in #900
- Use an unreleased version of rules_apple by @fweikert in #899
- Update to new rules_apple release by @keith in #906
- fix: expose CMAKE env variable from cmake toolchains by @roman-kashitsyn in #911
- Make tests pass on busybox by @graywolf-at-work in #912
- Don't load examples dependencies from main WORKSPACE by @jsharpe in #917
- Ninja 1.11.0 by @jsharpe in #919
- Update cmake versions by @jsharpe in #918
- Use bazel_skylib 1.2.1 by @jsharpe in #920
- zlib 1.2.12 by @jsharpe in #916
- Fix small typos in doc and comments by @kiron1 in #924
- fix replace_in_files for file names with spaces by @george-enf in #923
- Speed up CI by preventing the python2 build from running tests by @jheaff1 in #930
- Faciliate usage of jom by @jheaff1 in #932
- Fix
RANLIB
forconfigure_make
by @jun-sheaf in #928 - Hermetic ninja build by @jheaff1 in #935
- Add tool runfiles to action by @jheaff1 in #942
- Add ability to specify DLL dir by @jheaff1 in #939
- openssl 1.1.1o by @jsharpe in #922
- Release version 0.9.0 by @jsharpe in #944
New Contributors
- @uhthomas made their first contribution in #894
- @fweikert made their first contribution in #896
- @roman-kashitsyn made their first contribution in #911
- @graywolf-at-work made their first contribution in #912
- @kiron1 made their first contribution in #924
- @george-enf made their first contribution in #923
- @jun-sheaf made their first contribution in #928
Full Changelog: 0.8.0...0.9.0
0.8.0
0.8.0
https://bazelbuild.github.io/rules_foreign_cc/0.8.0/
Usage
Add the following to your WORKSPACE
file:
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 in #852
- Update bazelignore files by @jsharpe in #854
- Remove call to register_toolchains for bzlmod by @jsharpe in #855
- Allow all source files to be modified in configure_make when using configure_in_place = True by @jsharpe in #856
- Remove arbitrary limits in Starlark "while" loops by @fmeum in #862
- Do not set user defined env variables twice for (c)make by @fmeum in #860
- Pin buildifier version by @jsharpe in #873
- Remove unused BUILD.perl.bazel file by @jheaff1 in #871
- Replace
escape_locations
withescape_locations_and_make_variables
everywhere by @fmeum in #861 - Absolutise path to cmake crosstool file by @jheaff1 in #870
- Add CMake 3.22.2 and 3.21.5 by @jsharpe in #875
- Add current_*_toolchain rules to allow passing current toolchain inst… by @jsharpe in #843
- Fixups to use of Labels to support bzlmod by @jsharpe in #872
- Set CMAKE_OSX_ARCHITECTURES to target architecture by @keith in #891
- Release
v0.8.0
by @UebelAndre in #892
Full Changelog: 0.7.1...0.8.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:
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 in #829 - Support propagation of
includes
by @ericastor in #826 - Adapt tests to new cc_binary file extension on macOS by @fmeum in #834
- Fixed
0.7.0
docs by @UebelAndre in #838 - Add toolchain types for autotools tools by @jsharpe in #816
- Fix typo in comment by @jsharpe in #840
- Add runfiles to built_tools by @jsharpe in #844
- Minor cleanup for examples by @UebelAndre in #835
- use rules_perl toolchain for Windows build of OpenSSL by @jheaff1 in #846
- Bash quoting by @jsharpe in #842
- Initial bzlmod support by @jsharpe in #839
- CMake 3.22.1 by @jsharpe in #841
- More quoting fixes for handling paths with spaces by @jsharpe in #850
New Contributors
- @ericastor made their first contribution in #826
Full Changelog: 0.7.0...0.7.1
0.7.0
0.7.0
https://bazelbuild.github.io/rules_foreign_cc/0.7.0/
Usage
Add the following to your WORKSPACE
file:
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 in #785
- Improve failed exports logic by @keith in #789
- Updated
rules_cc
andbazel_skylib
versions by @UebelAndre in #795 - Add flags from copts and linkopts attributes by @fmeum in #796
- Updated libgit2 example by @UebelAndre in #799
- Expand make variables in env by @illicitonion in #788
- Added libgit2 Google mirror by @UebelAndre in #800
- Update min tested Bazel version to
4.0.0
by @UebelAndre in #802 - Updated
bazel_skylib
,rules_cc
andrules_python
by @UebelAndre in #801 - Updated
pcre
example by @UebelAndre in #809 - Explicitly turn off guile support in built version of GNU make by @jsharpe in #814
- CMake 3.21.3, 3.21.4 and 3.22.0 support by @jsharpe in #815
- Autotools examples by @jsharpe in #754
- Ensure Windows paths provided to CMake contain forward slashes only by @jheaff1 in #807
- Let make build in BUILD_TMPDIR by @fmeum in #818
- Pass toolchain and user env variables to make invocation by @fmeum in #777
- Adds toolchain for freebsd. by @yesudeep in #794
- Bootstrap make reproducibly by @fmeum in #817
- Fixed docs by @UebelAndre in #828
- Release
v0.7.0
by @UebelAndre in #827
New Contributors
Full Changelog: 0.6.0...0.7.0
0.6.0
0.6.0
https://bazelbuild.github.io/rules_foreign_cc/0.6.0/
Usage
Add the following to your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_foreign_cc",
sha256 = "69023642d5781c68911beda769f91fcbc8ca48711db935a75da7f6536b65047f",
strip_prefix = "rules_foreign_cc-0.6.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.6.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.6.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
Contributors
This release had contributions from # authors.
Thanks to @fmeum, @jsharpe, @keith, @UebelAndre, @jheaff1, & @djmarcin for their contributions to this release.
Migration Instructions
No migrations needed since 0.6.0
.
Release Notes
0.5.1
0.5.1
https://bazelbuild.github.io/rules_foreign_cc/0.5.1/
Usage
Add the following to your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_foreign_cc",
sha256 = "33a5690733c5cc2ede39cb62ebf89e751f2448e27f20c8b2fbbc7d136b166804",
strip_prefix = "rules_foreign_cc-0.5.1",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.5.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.5.1/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
Contributors
This release had contributions from 1 authors.
Thanks to @UebelAndre for their contributions to this release.
Migration Instructions
No migrations needed since 0.5.0
.
Release Notes
- Fix use of
make::tool_prefix
(#746)