Skip to content

Commit

Permalink
extract-sv-reads: add linux-aarch64 build (#52734)
Browse files Browse the repository at this point in the history
* extract-sv-reads: add linux-aarch64 build

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Try to use htslib 1.19+ for aarch64

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g authored Dec 11, 2024
1 parent 3f4daed commit 6d1b60f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
5 changes: 4 additions & 1 deletion recipes/extract-sv-reads/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -xe

mkdir -p build
cd build
cmake \
Expand All @@ -8,5 +11,5 @@ cmake \
-DHTSLIB_USE_LZMA=1 \
-DHTSLIB_USE_BZ2=1 \
..
make
make -j"${CPU_COUNT}"
make install
20 changes: 15 additions & 5 deletions recipes/extract-sv-reads/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{% set name="extract-sv-reads" %}
{% set version="1.3.0" %}

package:
name: extract-sv-reads
name: {{ name }}
version: {{ version }}

build:
number: 5
number: 6
skip: True # [osx]
run_exports:
{{ pin_subpackage(name, max_pin="x") }}

source:
url: https://github.com/hall-lab/extract_sv_reads/archive/v1.3.0.tar.gz
url: https://github.com/hall-lab/extract_sv_reads/archive/v{{ version }}.tar.gz
sha256: e19e21b84cc6229b414440e3f219bf0fa4779f6dec1877498cd3244f0140977f
patches:
- 0001-Unvendor-HTSlib-and-Boost.patch
Expand All @@ -20,10 +24,12 @@ requirements:
- cmake
host:
- perl
- htslib 1.9.*
- htslib 1.9.* # [not aarch64]
- htslib 1.19.* # [aarch64]
- boost-cpp
run:
- htslib 1.9.*
- htslib 1.9.* # [not aarch64]
- htslib 1.19.* # [aarch64]
- boost-cpp

test:
Expand All @@ -34,5 +40,9 @@ test:
about:
home: https://github.com/hall-lab/extract_sv_reads
license: MIT
license_file: LICENSE.txt
summary: Tool for extracting splitter or discordant reads from a BAM or CRAM file.

extra:
additional-platforms:
- linux-aarch64

0 comments on commit 6d1b60f

Please sign in to comment.