v2.0.0-rc1
Top level
This is the first Release Candidate for hermetic_cc_toolchain
v2. Highlights:
- Name change. It is now
hermetic_cc_toolchain
almost everywhere. - 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. - Remove
fcntl64
andres_*
hacks, as they have been fixed upstream. - Add a workaround to a
zig build-exe
race in zig. - Remove top-level folder
rules/
. - Repository variable for Zig cache directory changed from
BAZEL_ZIG_CC_CACHE_PREFIX
toHERMETIC_CC_TOOLCHAIN_CACHE_PREFIX
. - 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.
- 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
- More CI by @motiejus in #3
- remove contrib/ by @motiejus in #4
- update README by @motiejus in #5
- go mod tidy by @motiejus in #7
- all commands: use /tmp/bazel-zig-cc by @motiejus in #6
- Add the mailing list archive by @motiejus in #8
- move bin/ to tools/ by @motiejus in #9
- launcher miscompilation workaround by @motiejus in #16
- releaser by @motiejus in #12
- Fixed release URL in readme by @jonathanbaker7 in #26
- Fixing the url template in readme by @linzhp in #27
- Make Project Origin more prominent by @motiejus in #34
- revert "Re-license portions of the code to Apache 2.0" by @motiejus in #35
- rename to hermetic_cc_toolchain by @motiejus in #36
- README: fix the download URL by @motiejus in #37
- remove
@bazel_skylib
dependency by @motiejus in #32 - Work around a known race in Zig build system by @motiejus in #18
- rules/ remove run_under by @motiejus in #21
- remove @bazel_skylib dependency (again) by @motiejus in #41
- Adding MODULE.bazel by @linzhp in #19
- remove glibc hacks and update Zig SDK by @goniz in #30
- README.md: use the correct badge by @motiejus in #28
- README: bring the compat name of
http_archive
by @motiejus in #40 - launcher: use
-mcpu=baseline
by @motiejus in #23
New Contributors
- @jonathanbaker7 made their first contribution in #26
- @goniz made their first contribution in #30
Full Changelog: v1.0.1...v2.0.0-rc1