Skip to content

Commit

Permalink
chore(deps): update coreutils to v0.0.27 (#905)
Browse files Browse the repository at this point in the history
* chore(deps): update coreutils to v0.0.27

This release has an `aarch64-apple-darwin` binary, eliminating the need
for a `version_override` hack to support that platform.

* chore: restore previous coreutils

Users should be able to pin and not have us break them

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
  • Loading branch information
plobsing and alexeagle authored Sep 2, 2024
1 parent 208b057 commit de9fd59
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/repositories.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 24 additions & 2 deletions lib/private/coreutils_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,33 @@ COREUTILS_PLATFORMS = {
),
}

DEFAULT_COREUTILS_VERSION = "0.0.26"

# https://github.com/uutils/coreutils/releases
#
# The integrity hashes can be automatically fetched for the coreutils releases by running
# `tools/coreutils_mirror_release.sh`.
COREUTILS_VERSIONS = {
"0.0.27": {
"darwin_arm64": {
"filename": "coreutils-0.0.27-aarch64-apple-darwin.tar.gz",
"sha256": "sha256-BjAeGgJ8+sLCIwmokCOkfelCCLtnNRH49QcFnrDq8a4=",
},
"linux_arm64": {
"filename": "coreutils-0.0.27-aarch64-unknown-linux-musl.tar.gz",
"sha256": "sha256-doU+ZfTyA5I8RSwDAcsOkEI3BZXFuFwBfEbg+diS06g=",
},
"darwin_amd64": {
"filename": "coreutils-0.0.27-x86_64-apple-darwin.tar.gz",
"sha256": "sha256-1ivz4ue8/ROUYhPh22Bg2ASPgC6MKMulR52nLgZvTBo=",
},
"windows_amd64": {
"filename": "coreutils-0.0.27-x86_64-pc-windows-msvc.zip",
"sha256": "sha256-DC4H+hQX51aHoFudV39n7u217NDcNL9AiG4o4edboV0=",
},
"linux_amd64": {
"filename": "coreutils-0.0.27-x86_64-unknown-linux-musl.tar.gz",
"sha256": "sha256-tM+hJd16cCjflJyMwsCaevPYZMiBkIKZJm7/XC+760w=",
},
},
"0.0.26": {
"darwin_arm64": {
"filename": "coreutils-0.0.26-aarch64-apple-darwin.tar.gz",
Expand All @@ -67,6 +87,8 @@ COREUTILS_VERSIONS = {
},
}

DEFAULT_COREUTILS_VERSION = COREUTILS_VERSIONS.keys()[0]

CoreUtilsInfo = provider(
doc = "Provide info for executing coreutils",
fields = {
Expand Down

0 comments on commit de9fd59

Please sign in to comment.