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

infernal: add osx-arm64 build #50997

Merged
merged 4 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 6 additions & 2 deletions recipes/infernal/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

set -ex

export M4="${BUILD_PREFIX}/bin/m4"
export INCLUDE_PATH="${PREFIX}/include"
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"

grep -l -r "/usr/bin/perl" . | xargs sed -i.bak -e 's/usr\/bin\/perl/usr\/bin\/env perl/g'

autoreconf -i
autoreconf -if

case $(uname -m) in
"x86_64")
Expand All @@ -19,6 +23,6 @@ case $(uname -m) in
;;
esac

./configure --prefix="${PREFIX}" "${ARCH_OPTS}"
./configure --prefix="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS} -O3 -L${PREFIX}/lib" "${ARCH_OPTS}"
make -j${CPU_COUNT}
make install
18 changes: 11 additions & 7 deletions recipes/infernal/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source:
sha256: ad4ddae02f924ca7c85bc8c4a79c9f875af8df96aeb726702fa985cbe752497f

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

Expand All @@ -26,6 +26,9 @@ requirements:
- libgomp # [linux]
- llvm-openmp # [osx]
- wget
run:
- libgomp # [linux]
- llvm-openmp # [osx]

test:
commands:
Expand All @@ -41,18 +44,19 @@ test:
- cmstat -h

about:
home: http://eddylab.org/infernal
license: BSD-3-Clause
home: 'http://eddylab.org/infernal'
license: "BSD-3-Clause"
license_family: BSD
license_file: LICENSE
summary: Infernal is for searching DNA sequence databases for RNA structure and sequence similarities.
description: Infernal ("INFERence of RNA ALignment") is for searching DNA sequence databases for RNA structure and sequence similarities.
doc_url: http://eddylab.org/infernal/Userguide.pdf
dev_url: https://github.com/EddyRivasLab/infernal
summary: "Infernal is for searching DNA sequence databases for RNA structure and sequence similarities."
description: "Infernal (INFERence of RNA ALignment) is for searching DNA sequence databases for RNA structure and sequence similarities."
doc_url: "http://eddylab.org/infernal/Userguide.pdf"
dev_url: "https://github.com/EddyRivasLab/infernal"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- doi:10.1093/bioinformatics/btt509
- biotools:infernal