Skip to content

Commit

Permalink
Update riscv64 "latest" exclusion logic now that musl is on Alpine 3.…
Browse files Browse the repository at this point in the history
…20 with riscv64 support
  • Loading branch information
tianon committed Aug 30, 2024
1 parent 6fda3b5 commit b333133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ for version; do
archCommit="${archCommits[$arch]}"
if wget --quiet --spider -O /dev/null -o /dev/null "$rawGitUrl/$archCommit/$dir/$arch/rootfs.tar.gz"; then
variantArches+=( "$arch" )
if [ "$arch" = 'riscv64' ] && [[ "$variant" != *uclibc* ]]; then
: # do not let "glibc" or "musl" be "latest" on riscv64 until they are no longer based on Debian Unstable / Alpine Edge
if [ "$arch" = 'riscv64' ] && [ "$variant" = 'glibc' ]; then
: # do not let "glibc" be "latest" on riscv64 until it is no longer based on Debian Unstable
elif [ -z "${archLatestDir[$arch]:-}" ]; then
# record the first supported directory per architecture for "latest" and friends
archLatestDir["$arch"]="$dir/$arch"
Expand Down

0 comments on commit b333133

Please sign in to comment.