Skip to content

v2.0.0-rc1

Compare
Choose a tag to compare
@motiejus motiejus released this 24 Apr 13:47
· 146 commits to main since this release

Top level

This is the first Release Candidate for hermetic_cc_toolchain v2. Highlights:

  1. Name change. It is now hermetic_cc_toolchain almost everywhere.
  2. The release process has changed; the http_archive flag will need to be adjusted. The released archive now skips internal tests, internal rules, and only contains what is necessary to use it by third-party projects.
  3. Remove fcntl64 and res_* hacks, as they have been fixed upstream.
  4. Add a workaround to a zig build-exe race in zig.
  5. Remove top-level folder rules/.
  6. Repository variable for Zig cache directory changed from BAZEL_ZIG_CC_CACHE_PREFIX to HERMETIC_CC_TOOLCHAIN_CACHE_PREFIX.
  7. Bump to Zig 0.11.0-dev.2619+bd3e248c7, see unofficial release note summary. Among other things, it bumps LLVM from 15.0.7 to 16.0.1.
  8. License change: roll back to MIT.

WORKSPACE snippet

HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0-rc1"

http_archive(
    name = "hermetic_cc_toolchain",
    sha256 = "43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2",
    urls = [
        "https://mirror.bazel.build/github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz".format(HERMETIC_CC_TOOLCHAIN_VERSION),
        "https://github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz".format(HERMETIC_CC_TOOLCHAIN_VERSION),
    ],
)

load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains")

zig_toolchains()

Detailed Changes

New Contributors

Full Changelog: v1.0.1...v2.0.0-rc1