Skip to content

Commit

Permalink
kmc: add arm64 build (#51281)
Browse files Browse the repository at this point in the history
  • Loading branch information
mencian authored Oct 9, 2024
1 parent 6942d4d commit 9b4107e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion recipes/kmc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mkdir -p ${PREFIX}/bin
mkdir -p ${PREFIX}/lib
mkdir -p ${PREFIX}/include

if [ "$(uname)" == "Darwin" ]; then
if [[ "$(uname)" == "Darwin" ]]; then
mv bin/kmc ${PREFIX}/bin
mv bin/kmc_tools ${PREFIX}/bin
mv bin/kmc_dump ${PREFIX}/bin
Expand Down
18 changes: 9 additions & 9 deletions recipes/kmc/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
{% set sha256 = "158f2084f8d928b3f33b8aaf7d1220fee4183bf46837787e5e6b16bbdf54d31d" %} # [linux and x86_64]
{% set url = "https://github.com/refresh-bio/KMC/releases/download/v3.2.4/KMC3.2.4.linux.arm64.tar.gz" %} # [linux and aarch64]
{% set sha256 = "3049745a71c4219fb05cf003a53b03a9f434e8afacb79c710488f1aefae0a9c8" %} # [linux and aarch64]
{% set url = "https://github.com/refresh-bio/KMC/releases/download/v3.2.4/KMC3.2.4.mac.x64.tar.gz" %} # [osx]
{% set sha256 = "70d66545d5802cf116469e41acb2a04631271feac81ff5c4d1c299e9407ca326" %} # [osx]
{% set url = "https://github.com/refresh-bio/KMC/releases/download/v3.2.4/KMC3.2.4.mac.x64.tar.gz" %} # [osx and x86_64]
{% set sha256 = "70d66545d5802cf116469e41acb2a04631271feac81ff5c4d1c299e9407ca326" %} # [osx and x86_64]
{% set url = "https://github.com/refresh-bio/KMC/releases/download/v3.2.4/KMC3.2.4.mac.arm64.tar.gz" %} # [osx and arm64]
{% set sha256 = "a84b07bc2097e71ee7d23588a58070d1dc8ae37d1f63d3daf79cb518cc6b66ae" %} # [osx and arm64]

package:
name: {{ name }}
Expand All @@ -16,7 +18,7 @@ source:
sha256: {{ sha256 }}

build:
number: 1
number: 2
run_exports:
- {{ pin_subpackage("kmc", max_pin="x") }}

Expand All @@ -27,28 +29,26 @@ requirements:
host:
- zlib
- bzip2
run:
- zlib
- bzip2

test:
commands:
- kmc --help # [not aarch64]
- kmc --help # [not aarch64]

about:
home: https://github.com/refresh-bio/kmc
summary: "Tools for efficient k-mer counting and filtering of reads based on k-mer content."
description: |
KMC is a utility designed for counting k-mers (sequences
of consecutive k symbols) in a set of DNA sequences. KMC tools allow performing various operations on k-mers sets.
license: GPL-3
license: "GPL-3.0-or-later"
license_family: GPL3
license_file: gpl-3.0.txt
license_file: "gpl-3.0.txt"
dev_url: https://github.com/refresh-bio/kmc

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- biotools:kmc
- doi:10.1093/bioinformatics/btx304

0 comments on commit 9b4107e

Please sign in to comment.