Skip to content

Releases: bazel-contrib/rules_foreign_cc

0.13.0

06 Dec 23:13
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_foreign_cc", version = "0.13.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_foreign_cc",
    sha256 = "8e5605dc2d16a4229cb8fbe398514b10528553ed4f5f7737b663fdd92f48e1c2",
    strip_prefix = "rules_foreign_cc-0.13.0",
    url = "https://github.com/bazel-contrib/rules_foreign_cc/releases/download/0.13.0/rules_foreign_cc-0.13.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.13.0/flatten.html#rules_foreign_cc_dependencies
rules_foreign_cc_dependencies()

What's Changed

New Contributors

Full Changelog: 0.12.0...0.13.0

0.12.0

14 Aug 22:32
d9367d2
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

New Contributors

Full Changelog: 0.11.1...0.12.0

0.11.1

03 Jul 23:15
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

New Contributors

Full Changelog: 0.10.1...0.11.1

0.10.1

25 Oct 21:49
3a85c82
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

New Contributors

Read more

0.10.0

25 Oct 19:54
fa1d617
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. 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

New Contributors

Read more

0.9.0

02 Aug 20:08
8d54060
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.8.0...0.9.0

0.8.0

18 Apr 12:53
e208dee
Compare
Choose a tag to compare

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 with escape_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

03 Jan 11:56
ae4ff42
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.7.0...0.7.1

0.7.0

03 Dec 17:15
605a803
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.6.0...0.7.0

0.6.0

13 Sep 16:22
6e68116
Compare
Choose a tag to compare

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

  • Added CMake 3.21.1 (#757)
  • Pass all tags to execution_requirements (#765)
  • Added support for Visual Studio 2022 (#758)
  • Fix building without sandboxing (#769)
  • Fix building for iOS (#767)
  • Add cmake version 3.21.2 (#778)
  • Resolve symlinks among output binaries (#781)