Skip to content

Commit

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

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

* Add bamtools as a host dependency

```
12:23:02 �[32mBIOCONDA INFO�[0m (OUT) /opt/conda/conda-bld/msisensor_1733919694295/_build_env/bin/../lib/gcc/aarch64-conda-linux-gnu/13.3.0/../../../../aarch64-conda-linux-gnu/bin/ld: cannot find -lbam: No such file or directory
```

---------

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

set -xe

CFLAGS="${CFLAGS} ${LDFLAGS}" \
make \
make -j"${CPU_COUNT}" \
CXX="${CXX}" CC="${CC}"
install -d "${PREFIX}/bin"
install msisensor "${PREFIX}/bin/"
install -m 755 msisensor "${PREFIX}/bin/"
21 changes: 15 additions & 6 deletions recipes/msisensor/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{% set name = "msisensor" %}
{% set version = "0.5" %}

package:
name: msisensor
name: {{ name }}
version: {{ version }}

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

source:
url: https://github.com/niu-lab/msisensor/archive/v{{ version }}.tar.gz
Expand All @@ -17,15 +20,16 @@ requirements:
- make
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- llvm-openmp # [osx]
- libgomp # [linux]
host:
- zlib
- openmp
- llvm-openmp # [osx]
- libgomp # [linux]
- bamtools
- ncurses
run:
- zlib
- openmp
- llvm-openmp # [osx]
- libgomp # [linux]
- ncurses

test:
Expand All @@ -36,5 +40,10 @@ test:
about:
home: https://github.com/ding-lab/msisensor
license: MIT
license_file: LICENSE
summary: MSIsensor is a C++ program to detect replication slippage variants at microsatellite regions, and differentiate them as somatic or germline.
dev_url: https://github.com/ding-lab/msisensor

extra:
additional-platforms:
- linux-aarch64

0 comments on commit cbb03f0

Please sign in to comment.