Skip to content

0.4.0

Compare
Choose a tag to compare
@UebelAndre UebelAndre released this 22 Jun 20:13
· 276 commits to main since this release
a7f1c9e

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 attributes autoconf_env_vars, autogen_env_vars, autoreconf_env_vars, and configure_env_vars have been removed. Use env instead.
  • The cmake attribute env_vars has been removed, use env instead.
  • The common attribute make_commands has been removed. Instead, use targets and args which are available on each platform. With the addition of tool_prefix and existence of postfix_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 from cmake and configure_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)