From cf4a1366d4ecc00fe63debbd174270e2aedbc617 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Mon, 28 Oct 2024 15:59:57 +0200 Subject: [PATCH 1/5] zol: add aarch64/arm64 builds Signed-off-by: Martin Tzvetanov Grigorov --- recipes/zol/build.sh | 2 ++ recipes/zol/meta.yaml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/zol/build.sh b/recipes/zol/build.sh index 630782d6a3810..4c06ecd4976bd 100644 --- a/recipes/zol/build.sh +++ b/recipes/zol/build.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -xe + $PYTHON -m pip install . --ignore-installed --no-deps -vv mkdir -p ${PREFIX}/bin diff --git a/recipes/zol/meta.yaml b/recipes/zol/meta.yaml index 6feff20c708e5..741658f81e3d3 100644 --- a/recipes/zol/meta.yaml +++ b/recipes/zol/meta.yaml @@ -10,7 +10,7 @@ source: sha256: e1d0d090a08a26d2ecbb958d398dc47df94ffbaa034265086c7084d1e88cfb2d build: - number: 0 + number: 1 skip: True # [py != 310] run_exports: - {{ pin_subpackage('zol', max_pin='x') }} @@ -72,5 +72,8 @@ about: dev_url: https://github.com/Kalan-Lab/zol extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 recipe-maintainers: - raufs From e48e05bc160a9836f8a0393715d600b317b4e8c0 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Mon, 28 Oct 2024 16:27:42 +0200 Subject: [PATCH 2/5] miniprot: add aarch64/arm64 builds Signed-off-by: Martin Tzvetanov Grigorov --- 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 From 60b5d5ec1501e653431ec1c0de63e7d3cf730e63 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Mon, 28 Oct 2024 16:30:16 +0200 Subject: [PATCH 3/5] Prodigal-gv: add aarch64/arm64 builds Signed-off-by: Martin Tzvetanov Grigorov --- recipes/prodigal-gv/build.sh | 4 +++- recipes/prodigal-gv/meta.yaml | 12 ++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/recipes/prodigal-gv/build.sh b/recipes/prodigal-gv/build.sh index 15bf945056cfe..86994efd62287 100644 --- a/recipes/prodigal-gv/build.sh +++ b/recipes/prodigal-gv/build.sh @@ -1,8 +1,10 @@ #!/bin/sh +set -xe + # the executable is not installed in $PREFIX though # make install prefix=$PREFIX -make CC=$CC +make -j"${CPU_COUNT}" CC=$CC mkdir -p $PREFIX/bin cp $PKG_NAME $PREFIX/bin diff --git a/recipes/prodigal-gv/meta.yaml b/recipes/prodigal-gv/meta.yaml index e322b1fd68b4d..e8108dd5a1016 100644 --- a/recipes/prodigal-gv/meta.yaml +++ b/recipes/prodigal-gv/meta.yaml @@ -9,7 +9,9 @@ source: sha256: 1fb40a8ae204ce2f41a413edb1edf5b8f22c28c2812320e2807ab48f8e8ce795 build: - number: 2 + number: 3 + run_exports: + - {{ pin_subpackage('prodigal-gv', max_pin="x") }} requirements: build: @@ -26,5 +28,11 @@ test: about: home: https://github.com/apcamargo/prodigal-gv - license: GPL v3 + license: GPL-3.0-only + license_file: LICENSE summary: A fork of Prodigal meant to improve gene calling for giant viruses + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 \ No newline at end of file From cdcb51b0c21489392d018b9ddcb411c763e4050a Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Mon, 4 Nov 2024 14:25:12 +0200 Subject: [PATCH 4/5] Use newer version of miniprot for aarch64 miniprot 0.13+ supports Linux ARM64 --- recipes/zol/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/zol/meta.yaml b/recipes/zol/meta.yaml index 8c29d40e26f04..f13914cf70556 100644 --- a/recipes/zol/meta.yaml +++ b/recipes/zol/meta.yaml @@ -52,7 +52,8 @@ requirements: - slclust - trimal - gzip - - miniprot =0.7 + - miniprot =0.7 # [x86_64] + - miniprot >=0.7 # [aarch64] - bioconductor-ggtree - ete3 - codoff From 8f580f276863c8b4836f00800be2b4dca399baae Mon Sep 17 00:00:00 2001 From: Martin Grigorov Date: Mon, 4 Nov 2024 14:57:40 +0200 Subject: [PATCH 5/5] Do not build for OSX ARM64. Many deps are not available --- recipes/zol/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/zol/meta.yaml b/recipes/zol/meta.yaml index f13914cf70556..328a669203374 100644 --- a/recipes/zol/meta.yaml +++ b/recipes/zol/meta.yaml @@ -75,6 +75,5 @@ about: extra: additional-platforms: - linux-aarch64 - - osx-arm64 recipe-maintainers: - raufs