diff --git a/recipes/extract-sv-reads/build.sh b/recipes/extract-sv-reads/build.sh index fb47d40cdb5a4..39946110689e9 100644 --- a/recipes/extract-sv-reads/build.sh +++ b/recipes/extract-sv-reads/build.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -xe + mkdir -p build cd build cmake \ @@ -8,5 +11,5 @@ cmake \ -DHTSLIB_USE_LZMA=1 \ -DHTSLIB_USE_BZ2=1 \ .. -make +make -j"${CPU_COUNT}" make install diff --git a/recipes/extract-sv-reads/meta.yaml b/recipes/extract-sv-reads/meta.yaml index a9239916329f0..f8f35628dfe51 100644 --- a/recipes/extract-sv-reads/meta.yaml +++ b/recipes/extract-sv-reads/meta.yaml @@ -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 @@ -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: @@ -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