Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zol: add aarch64/arm64 builds #51711

Merged
merged 6 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion recipes/miniprot/build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion recipes/miniprot/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package:
version: "{{ version }}"

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

Expand Down Expand Up @@ -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
4 changes: 3 additions & 1 deletion recipes/prodigal-gv/build.sh
Original file line number Diff line number Diff line change
@@ -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
12 changes: 10 additions & 2 deletions recipes/prodigal-gv/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ source:
sha256: 1fb40a8ae204ce2f41a413edb1edf5b8f22c28c2812320e2807ab48f8e8ce795

build:
number: 2
number: 3
run_exports:
- {{ pin_subpackage('prodigal-gv', max_pin="x") }}

requirements:
build:
Expand All @@ -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
2 changes: 2 additions & 0 deletions recipes/zol/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -xe

$PYTHON -m pip install . --ignore-installed --no-deps -vv

mkdir -p ${PREFIX}/bin
Expand Down
5 changes: 4 additions & 1 deletion recipes/zol/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source:
sha256: e1d0d090a08a26d2ecbb958d398dc47df94ffbaa034265086c7084d1e88cfb2d

build:
number: 0
number: 1
skip: True # [py != 310]
run_exports:
- {{ pin_subpackage('zol', max_pin='x') }}
Expand Down Expand Up @@ -72,5 +72,8 @@ about:
dev_url: https://github.com/Kalan-Lab/zol

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
recipe-maintainers:
- raufs