Skip to content

0.5.0

Compare
Choose a tag to compare
@UebelAndre UebelAndre released this 29 Jul 14:32
· 249 commits to main since this release
5accf6c

0.5.0

https://bazelbuild.github.io/rules_foreign_cc/0.5.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 = "ed8068eea78cdccb8a638b3b4b49dd333db01ec83879f3fcd460cc8b6aeaa0c6",
    strip_prefix = "rules_foreign_cc-0.5.0",
    url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.5.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.5.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()

Contributors

This release had contributions from 5 authors.
Thanks to @jheaff1, @jsharpe, @UebelAndre, @al-tu, & @philwo for their contributions to this release.

Migration Instructions

No migrations needed since 0.4.0.

Release Notes

  • Fix quoting of toolchain flags passed to cmake (#703)
  • Add <rule>_variant macros (#734)
  • Prepend user-specified PATH to existing PATH (#733)
  • Convert MSVC flags by replacing slashes with dashes (#731)
  • Fixed issues with paths to tools containing spaces (#732)
  • Added cmake 3.21.0 and older 3.X versions of cmake (#726, #698)
  • Added Gnu make built tool toolchain for windows (#716)
  • Updated progress message for all rules (#697, #744)
  • Added copts attribute to core ForeignCc rules.