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

muscle: add linux-aarch64 build #46484

Closed
wants to merge 3 commits into from
Closed
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
94 changes: 0 additions & 94 deletions recipes/muscle/0001-Replace-zero-macro-with-memset_zero.patch

This file was deleted.

This file was deleted.

16 changes: 10 additions & 6 deletions recipes/muscle/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{% set name = "muscle" %}
{% set version = "5.1" %}
{% set version = "5.1.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/rcedgar/muscle/archive/refs/tags/v{{ version }}.tar.gz
sha256: 091d9f8733b92ff106c2a8eb274d1e5a57960d397a2068d8638d6002e8880dab
url: https://github.com/rcedgar/muscle/archive/refs/tags/{{ version }}.tar.gz
sha256: 2bba8b06e3ccabf6465fa26f459763b2029d7e7b9596881063e3aaba60d9e87d
patches:
- 0001-Replace-zero-macro-with-memset_zero.patch
- 0002-Move-va_start-va_end-out-of-critical-section.patch
- support-linux-aarch64.patch

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


requirements:
build:
Expand All @@ -31,5 +33,7 @@ about:
summary: "MUSCLE: multiple sequence alignment with high accuracy and high throughput"

extra:
additional-platforms:
- linux-aarch64
identifiers:
- biotools:muscle
13 changes: 13 additions & 0 deletions recipes/muscle/support-linux-aarch64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git i/src/myutils.h w/src/myutils.h
index 49d28ef..8e8167e 100644
--- i/src/myutils.h
+++ w/src/myutils.h
@@ -11,7 +11,7 @@
#define TRACK_ALLOC 0
#define ALLOC_TOTALS 0

-#if defined(__x86_64__) || defined(_M_X64) || defined(__arm64__)
+#if defined(__x86_64__) || defined(_M_X64) || defined(__arm64__) || defined(__aarch64__)
#define BITS 64
#else
#define BITS 32
6 changes: 4 additions & 2 deletions recipes/pasta/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source:
- mpstart.patch # issue in OSX py38 (not in Linux nor OSX py37): RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.

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

Expand Down Expand Up @@ -45,7 +45,7 @@ requirements:
- raxml
- muscle <4 # later versions expects other cmd argument names
- mafft
- hmmer ==3.1b2
- hmmer =>3.4
- prank

test:
Expand All @@ -71,6 +71,8 @@ about:
summary: 'An implementation of the PASTA (Practical Alignment using Sate and TrAnsitivity) algorithm'

extra:
additional-platforms:
- linux-aarch64
skip-lints:
# necessary, because pasta is NOT platform independent:
# during build time, platform specific binaries for mafft/raxml/muscle/... are copied into the PREFIX/bin dir
Expand Down
6 changes: 4 additions & 2 deletions recipes/sepp/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ source:
- nodeps.setup.py.patch

build:
number: 4
number: 5
run_exports:
- {{ pin_subpackage('sepp', max_pin="x") }}

Expand All @@ -32,7 +32,7 @@ requirements:
- python <=3.9
- dendropy <=4.5.1
- openjdk
- hmmer ==3.1b2
- hmmer =>3.4
- pasta
# TODO: source bundled binaries as conda packages.
# But pplacer / guppy are not available for OSX.
Expand All @@ -54,6 +54,8 @@ about:
summary: SATe-enabled phylogenetic placement

extra:
additional-platforms:
- linux-aarch64
identifiers:
- biotools:sepp
skip-lints:
Expand Down
Loading