From d3c925ad5882135bdc9237b8d7efcd613179c0a2 Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Mon, 28 Oct 2024 21:45:08 +0200 Subject: [PATCH] miniprot: add aarch64/arm64 builds (#51714) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Tzvetanov Grigorov Co-authored-by: Björn Grüning --- recipes/miniprot/build.sh | 4 +++- recipes/miniprot/meta.yaml | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/recipes/miniprot/build.sh b/recipes/miniprot/build.sh index 538daeacc98c7..65a03d01d4c0f 100644 --- a/recipes/miniprot/build.sh +++ b/recipes/miniprot/build.sh @@ -1,6 +1,8 @@ #!/bin/bash -make CC=$CC CFLAGS="$CFLAGS -I$PREFIX/include" LIBS="$LDFLAGS -L$PREFIX/lib -lpthread -lz -lm" +set -xe + +make -j"${CPU_COUNT}" CC=$CC CFLAGS="$CFLAGS -I$PREFIX/include" LIBS="$LDFLAGS -L$PREFIX/lib -lpthread -lz -lm" if [ ! -d $PREFIX/bin ] ; then mkdir -p $PREFIX/bin diff --git a/recipes/miniprot/meta.yaml b/recipes/miniprot/meta.yaml index d3ee72d13b2c3..203fcc669f373 100644 --- a/recipes/miniprot/meta.yaml +++ b/recipes/miniprot/meta.yaml @@ -7,7 +7,7 @@ package: version: "{{ version }}" build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage(name, max_pin="x") }} @@ -35,3 +35,8 @@ about: summary: | Miniprot aligns a protein sequence against a genome with affine gap penalty, splicing and frameshift. It is primarily intended for annotating protein-coding genes in a new species using known genes from other species. + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 \ No newline at end of file