From 13a41ebb1e1969ffce3583665c50bed76374bed7 Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Tue, 10 Dec 2024 06:20:23 -0600 Subject: [PATCH] Build poa on osx (#52699) * Build poa on osx * Update pscores.patch * Update pscores.patch * Update meta.yaml --- recipes/poa/build.sh | 11 ++++++----- recipes/poa/meta.yaml | 23 +++++++++++++++++------ 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/recipes/poa/build.sh b/recipes/poa/build.sh index 741919e947e41..eccfbcf32d478 100644 --- a/recipes/poa/build.sh +++ b/recipes/poa/build.sh @@ -3,9 +3,10 @@ mkdir -p $PREFIX/bin mkdir -p $PREFIX/lib -make poa CC=$CC CXX=$CXX CFLAGS="$CFLAGS -fcommon -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I." - -cp poa $PREFIX/bin -cp make_pscores.pl $PREFIX/bin -cp liblpo.a $PREFIX/lib +make poa CC="$CC" CXX="$CXX" \ + CFLAGS="$CFLAGS -O3 -Wno-implicit-function-declaration -Wno-format -fcommon -DUSE_WEIGHTED_LINKS -DUSE_PROJECT_HEADER -I." \ + -j"${CPU_COUNT}" +install -v -m 0755 poa $PREFIX/bin +install -v -m 0755 make_pscores.pl $PREFIX/bin +cp -rf liblpo.a $PREFIX/lib diff --git a/recipes/poa/meta.yaml b/recipes/poa/meta.yaml index 72c3fa033d626..d07f3731eb39e 100644 --- a/recipes/poa/meta.yaml +++ b/recipes/poa/meta.yaml @@ -1,14 +1,18 @@ +{% set name = "poa" %} +{% set version = "2.0" %} + package: - name: poa - version: "2.0" + name: {{ name }} + version: {{ version }} build: - number: 5 - skip: True # [osx] + number: 6 + run_exports: + - {{ pin_subpackage('poa', max_pin="x") }} source: - md5: 9e2eb270d4867114406f53dab1311b2b url: https://downloads.sourceforge.net/project/poamsa/poamsa/2.0/poaV2.tar.gz + sha256: d98d8251af558f442d909a6527694825ef6f79881b7636cad4925792559092c2 patches: - pscores.patch @@ -25,5 +29,12 @@ test: about: home: 'https://sourceforge.net/projects/poamsa' - license: GPLv2 + license: "GPL-2.0-or-later" + license_family: GPL summary: "POA is Partial Order Alignment, a fast program for multiple sequence alignment in bioinformatics. Its advantages are speed, scalability, sensitivity, and the superior ability to handle branching / indels in the alignment." + dev_url: 'https://sourceforge.net/projects/poamsa' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64