Skip to content

Commit

Permalink
centrifuge-core: add linux-aarch64 build
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Oct 21, 2024
1 parent 50fd1c1 commit 559e3d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion recipes/centrifuge-core/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -xe

export LDFLAGS="-L$PREFIX/lib"
export CPATH=${PREFIX}/include

Expand All @@ -7,6 +10,6 @@ mkdir -p $PREFIX/bin
sed "/^GCC/d;/^CC =/d;/^CPP =/d;/^CXX =/d" < Makefile > Makefile.new
mv Makefile.new Makefile
cat Makefile
make CC=$CC CXX=$CXX RELEASE_FLAGS="$CXXFLAGS"
make -j"${CPU_COUNT}" CC=$CC CXX=$CXX RELEASE_FLAGS="$CXXFLAGS"
make install prefix=$PREFIX

12 changes: 9 additions & 3 deletions recipes/centrifuge-core/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package:
version: {{ version }}

build:
number: 0
number: 1
skip: true # [osx]
run_exports:
- {{ pin_subpackage("centrifuge-core", max_pin="x.x") }}
Expand Down Expand Up @@ -34,11 +34,17 @@ test:
- centrifuge --help

about:
home: https://github.com/DaehwanKimLab/centrifuge
license: GPL3
home: http://www.ccb.jhu.edu/software/centrifuge
license: GPL-3.0-only
license_file: LICENSE
license_family: GPL3
summary: 'Classifier for metagenomic sequences. Does not include evaluation scripts'
dev_url: https://github.com/DaehwanKimLab/centrifuge
doc_url: https://genome.cshlp.org/content/26/12/1721

extra:
additional-platforms:
- linux-aarch64
identifiers:
- biotools:Centrifuge
- doi:10.1101/gr.210641.116

0 comments on commit 559e3d8

Please sign in to comment.