Skip to content

Commit

Permalink
bowtie2: add linux-aarch64 build (#46423)
Browse files Browse the repository at this point in the history
* bowtie2: add linux-aarch64 build

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>

* bowtie2: [linux-aarch64] Git clone the third party dependencies

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>

---------

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g authored Mar 19, 2024
1 parent ac58d6c commit 62ab5ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions recipes/bowtie2/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

# Fetch third party dependencies
# (Git submodules - https://github.com/BenLangmead/bowtie2/blob/a43fa6f43f54989468a294967898f85b9fe4cefa/.gitmodules)
git clone --branch master https://github.com/simd-everywhere/simde-no-tests.git third_party/simde
git clone https://github.com/ch4rr0/libsais third_party/libsais

LDFLAGS=""
make CXX=$CXX CPP=$CXX CC=$CC LDLIBS="-L$PREFIX/lib -lz -lzstd -ltbb -ltbbmalloc -lpthread" WITH_ZSTD=1

Expand Down
5 changes: 4 additions & 1 deletion recipes/bowtie2/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
sha256: 4ac3ece3db011322caab14678b9d80cfc7f75208cdaf0c58b24a6ea0f1a0a60e

build:
number: 0
number: 1
skip: True # [py2k]
run_exports:
- {{ pin_subpackage('bowtie2', max_pin="x") }}
Expand All @@ -18,6 +18,7 @@ requirements:
build:
- {{ compiler('cxx') }}
- make
- git
host:
- python
- zlib
Expand Down Expand Up @@ -54,6 +55,8 @@ about:
summary: Fast and sensitive gapped read alignment

extra:
additional-platforms:
- linux-aarch64
identifiers:
- biotools:bowtie2
- doi:10.1038/nmeth.1923
Expand Down

0 comments on commit 62ab5ca

Please sign in to comment.