Skip to content

Commit

Permalink
fastk: add linux-aarch64 build
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Oct 14, 2024
1 parent 3f4eb64 commit a6a09e6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 6 additions & 3 deletions recipes/fastk/build.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
#!/bin/bash

set -xe

export LDFLAGS="-L$SRC_DIR/HTSLIB -L$PREFIX/lib"
export CFLAGS="-I$SRC_DIR -I$SRC_DIR/HTSLIB -I$SRC_DIR/LIBDEFLATE -I$SRC_DIR/LIBDEFLATE/common -I$PREFIX/include -L$SRC_DIR/HTSLIB -L$PREFIX/lib"
export CPPFLAGS="-I$SRC_DIR -I$SRC_DIR/HTSLIB -I$SRC_DIR/LIBDEFLATE -I$SRC_DIR/LIBDEFLATE/common -I$PREFIX/include -L$SRC_DIR/HTSLIB -L$PREFIX/lib"

# build HTSLIB
cd HTSLIB
make lib-static
make -j"${CPU_COUNT}" lib-static
cd -
# build LIBDEFLATE
cd LIBDEFLATE
make
make -j"${CPU_COUNT}"
cd -
# build fastk
make
make -j"${CPU_COUNT}"
make install
6 changes: 5 additions & 1 deletion recipes/fastk/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source:
- patch

build:
number: 0
number: 1
skip: true # [osx]
run_exports:
- {{ pin_subpackage("fastk", max_pin="x") }}
Expand All @@ -36,3 +36,7 @@ about:
license: https://github.com/thegenemyers/FASTK/blob/master/LICENSE
summary: FastK is a k‑mer counter that is optimized for processing high quality DNA assembly data sets such as those produced with an Illumina instrument or a PacBio run in HiFi mode.
home: https://github.com/thegenemyers/FASTK

extra:
additional-platforms:
- linux-aarch64

0 comments on commit a6a09e6

Please sign in to comment.