From 8001504dffe31cba0961e81ec187d0d92fe8c6bc Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Sat, 30 Nov 2024 00:50:21 +0200 Subject: [PATCH] viral_consensus: add aarch64/arm64 builds (#52470) Signed-off-by: Martin Tzvetanov Grigorov --- recipes/viral_consensus/build.sh | 4 +++- recipes/viral_consensus/meta.yaml | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/recipes/viral_consensus/build.sh b/recipes/viral_consensus/build.sh index 6637bb02284e0..f7ad517596cd7 100644 --- a/recipes/viral_consensus/build.sh +++ b/recipes/viral_consensus/build.sh @@ -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/ diff --git a/recipes/viral_consensus/meta.yaml b/recipes/viral_consensus/meta.yaml index b7a18172f8d64..216948ec4fd42 100644 --- a/recipes/viral_consensus/meta.yaml +++ b/recipes/viral_consensus/meta.yaml @@ -5,7 +5,7 @@ package: version: {{ version }} build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage('viral_consensus', max_pin="x.x.x") }} @@ -35,6 +35,9 @@ test: - viral_consensus --version extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 identifiers: - biotools:viral_consensus - doi:10.1093/bioinformatics/btad317