Skip to content

Commit

Permalink
Update Nextclade: Enable linux-aarch64 (#46185)
Browse files Browse the repository at this point in the history
* Add linux-aarch64 to Nextclade platforms

* fix sha256
  • Loading branch information
corneliusroemer authored Mar 10, 2024
1 parent 8a314dd commit f88a164
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
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

0 comments on commit f88a164

Please sign in to comment.