Skip to content

Commit

Permalink
parsnp: add aarch64/arm64 builds
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Oct 1, 2024
1 parent 8fc154f commit 8cbcafe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
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
7 changes: 6 additions & 1 deletion 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 Down Expand Up @@ -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

0 comments on commit 8cbcafe

Please sign in to comment.