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

Update Nextclade: Enable linux-aarch64 #46185

Merged
merged 5 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
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
15 changes: 10 additions & 5 deletions recipes/nextclade/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@ package:
source:
- url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-x86_64-unknown-linux-gnu # [linux64]
sha256: 9eecdb2e56362d24cfedb510b236f2054c3d02264f3ca7e8c586fe234d25e2f2 # [linux64]
- url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-aarch64-unknown-linux-gnu # [aarch64]
sha256: 63b38aac186b9b9776761bb1a321b87382044d01c17e6b4a2ba76ca614d04ed1 # [aarch64]
- url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-x86_64-apple-darwin # [osx and x86_64]
sha256: d8e1604be6a32f34086616ebdf532ec1409d500b5fe72c239b6db2614d75e722 # [osx and x86_64]
- url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-aarch64-apple-darwin # [arm64]
sha256: b95e2ed966b08dbd481fe48d7aa1019a748d29ef330daad4773d1c98e6b007ba # [arm64]
sha256: 330ad12cd1bb20429f49fd00bcd773c453b66662842913ec35bc9e288ab3db2a # [osx and x86_64]
- url: https://github.com/nextstrain/nextclade/releases/download/{{ version }}/{{ name }}-aarch64-apple-darwin # [osx and arm64]
sha256: b95e2ed966b08dbd481fe48d7aa1019a748d29ef330daad4773d1c98e6b007ba # [osx and arm64]

build:
number: 0
number: 1
binary_relocation: False
run_exports:
- {{ pin_compatible(name, max_pin='x') }}

requirements:

# Disable test for aarch64, as nextclade requires glibc 2.18 not available on aarch64
test:
commands:
- nextclade --help
- nextclade --help # [not aarch64]

about:
home: https://github.com/nextstrain/nextclade
Expand All @@ -34,6 +37,8 @@ about:
dev_url: https://github.com/nextstrain/nextclade

extra:
additional-platforms:
- linux-aarch64
recipe-maintainers:
- pvanheus
- corneliusroemer
Expand Down
7 changes: 7 additions & 0 deletions recipes/nextclade/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ set -e

MAJOR_VERSION=$(echo "$PKG_VERSION" | cut -d. -f1)

# Skip if aarch64 on linux
# Because Nextclade requires glibc >= 2.18 not available yet on aarch64 builder
if [[ $target_platform == linux-aarch64 ]]; then
echo "Skipping test on aarch64"
exit 0
fi

for BIN in nextclade nextclade$MAJOR_VERSION; do
"$BIN" --version

Expand Down