0.4.0
0.4.0
https://bazelbuild.github.io/rules_foreign_cc/0.4.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 = "e14a159c452a68a97a7c59fa458033cc91edb8224516295b047a95555140af5f",
strip_prefix = "rules_foreign_cc-0.4.0",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.4.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.4.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()
Contributors
This release had contributions from 5 authors.
Thanks to @UebelAndre, @jheaff1, @attilaolah, @al-tu, & @alexeagle for their contributions to this release.
Migration Instructions
- The
configure_make
attributesautoconf_env_vars
,autogen_env_vars
,autoreconf_env_vars
, andconfigure_env_vars
have been removed. Useenv
instead. - The
cmake
attributeenv_vars
has been removed, useenv
instead. - The common attribute
make_commands
has been removed. Instead, usetargets
andargs
which are available on each platform. With the addition oftool_prefix
and existence ofpostfix_script
we're able to cover all known use cases.
Release Notes
- Provide
out_data_dirs
attribute (#419) (#622) - Updated macos install behavior to be more consistent with other platforms (#687)
- Removed legacy
*env_vars
attributes fromcmake
andconfigure_make
rule (#675) - Removed make_commands attribute and fixed configure_make (#671)
- update cmake to 3.20.4 (#680)
- Added support for replacing sandbox paths in build artifacts (#650)
- Added tool_prefix attribute (#676)