From 8cbcafe5263d66b3b55127a53eb28284d25efb53 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Tue, 1 Oct 2024 11:18:56 +0300 Subject: [PATCH] parsnp: add aarch64/arm64 builds Signed-off-by: Martin Tzvetanov Grigorov --- recipes/parsnp/build.sh | 6 ++++-- recipes/parsnp/meta.yaml | 7 ++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/recipes/parsnp/build.sh b/recipes/parsnp/build.sh index 8c6ca7f6a253e9..c4c1a26f440428 100644 --- a/recipes/parsnp/build.sh +++ b/recipes/parsnp/build.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -xe + mkdir -p "$PREFIX/bin" mkdir -p "$PREFIX/bin/bin" @@ -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 .. @@ -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 diff --git a/recipes/parsnp/meta.yaml b/recipes/parsnp/meta.yaml index 893029bbcf9677..90a907861f6fd5 100644 --- a/recipes/parsnp/meta.yaml +++ b/recipes/parsnp/meta.yaml @@ -9,7 +9,7 @@ source: sha256: cde5fb488418764e87942afa747002d01d35e80d7c3a44a71bb2d1bd4d69ed0c build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage('parsnp', max_pin="x") }} @@ -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