Skip to content

Commit

Permalink
viral_consensus: add aarch64/arm64 builds (#52470)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g authored Nov 29, 2024
1 parent 811a0eb commit 8001504
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion recipes/viral_consensus/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

make CXX="$CXX" INCLUDE="-I${PREFIX}/include -Ihtslib" RELEASEFLAGS="$CPPFLAGS $CXXFLAGS -O3 $LDFLAGS"
set -xe

make -j"${CPU_COUNT}" CXX="$CXX" INCLUDE="-I${PREFIX}/include -Ihtslib" RELEASEFLAGS="$CPPFLAGS $CXXFLAGS -O3 $LDFLAGS"
mkdir -p $PREFIX/bin
cp viral_consensus $PREFIX/bin/
5 changes: 4 additions & 1 deletion recipes/viral_consensus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package:
version: {{ version }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage('viral_consensus', max_pin="x.x.x") }}

Expand Down Expand Up @@ -35,6 +35,9 @@ test:
- viral_consensus --version

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- biotools:viral_consensus
- doi:10.1093/bioinformatics/btad317
Expand Down

0 comments on commit 8001504

Please sign in to comment.