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

parsnp: add aarch64/arm64 builds #51064

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 4 additions & 2 deletions recipes/parsnp/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -xe

mkdir -p "$PREFIX/bin"
mkdir -p "$PREFIX/bin/bin"

Expand All @@ -13,7 +15,7 @@ else
sed -i '/bin_PROGRAMS/d' ./libMUSCLE/Makefile.am
./configure --prefix=$PREFIX CXXFLAGS='-fopenmp'
fi
make -j
make -j ${CPU_COUNT}
make install

cd ..
Expand All @@ -24,7 +26,7 @@ cd ..

./autogen.sh
./configure --with-libmuscle=$PREFIX/include
make LDADD="$LDADD -lMUSCLE-3.7"
make -j ${CPU_COUNT} LDADD="$LDADD -lMUSCLE-3.7"
make install

rm -R muscle/libMUSCLE
Expand Down
11 changes: 8 additions & 3 deletions recipes/parsnp/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
sha256: cde5fb488418764e87942afa747002d01d35e80d7c3a44a71bb2d1bd4d69ed0c

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

Expand All @@ -23,11 +23,11 @@ requirements:
host:
- zlib
- llvm-openmp # [osx]
- openmp # [linux]
- libgomp # [linux]
run:
- python >=3.7
- llvm-openmp # [osx]
- openmp # [linux]
- libgomp # [linux]
- biopython
- numpy
- zlib
Expand All @@ -46,3 +46,8 @@ about:
summary: Parsnp is a command-line-tool for efficient microbial core genome alignment and SNP detection.
doc_url: "https://harvest.readthedocs.io/en/latest/content/parsnp/tutorial.html"
dev_url: https://github.com/marbl/parsnp

extra:
additional-platforms:
- linux-aarch64
- osx-arm64