Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust trixie to avoid too much riscv64 #163

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,14 @@ for version; do
variantAliases=( "${variantAliases[@]//latest-/}" )

variantArches="$arches"
if [ "$version" = 'ubuntu/focal' ] && [ "$variant" != 'curl' ]; then
# focal on riscv64 doesn't have mercurial, so we just exclude the upper focal variants from riscv64 entirely
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
fi
case "$version" in
debian/trixie)
# trixie on riscv64 doesn't have git yet (at the very least, probably more once we get past that one), so we just exclude the upper variants for now and can revisit later
if [ "$variant" != 'curl' ]; then
variantArches="$(sed -r -e 's/ riscv64 / /g' <<<" $variantArches ")"
fi
;;
esac

echo
cat <<-EOE
Expand Down
Loading