Skip to content

Commit

Permalink
pepnovo: add aarch64/arm64 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 7, 2024
1 parent 1bc7f1b commit 608e2dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion build-fail-blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ recipes/gemma
recipes/roary
recipes/deltabs
recipes/gottcha
recipes/pepnovo
recipes/ea-utils
recipes/nextgenmap
recipes/igor_vdj
Expand Down
4 changes: 3 additions & 1 deletion recipes/pepnovo/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash

set -xe

cd src/

# Below we add -Wno-narrowing because of the compilation error:
# CumulativeSeqProb.h:10:71: error: narrowing conversion of '999999999' from 'int' to 'float' inside { } [-Wnarrowing]
make CC="${CXX}" CFLAGS="${CXXFLAGS} -Wno-narrowing " LDFLAGS="${LDFLAGS}"
make -j ${CPU_COUNT} CC="${CXX}" CFLAGS="${CXXFLAGS} -Wno-narrowing " LDFLAGS="${LDFLAGS}"

mkdir -p ${PREFIX}/bin
cp PepNovo_bin ${PREFIX}/bin/pepnovo
7 changes: 6 additions & 1 deletion recipes/pepnovo/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ source:
- 0001-fix-type-error-in-ReScoreDB.cpp.patch

build:
number: 3
number: 4
run_exports:
- {{ pin_subpackage('pepnovo', max_pin=None) }}

requirements:
build:
Expand All @@ -28,5 +30,8 @@ about:
summary: PepNovo serves as a high throughput de novo peptide sequencing tool for tandem mass spectrometry data

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
identifiers:
- biotools:pepnovo

0 comments on commit 608e2dc

Please sign in to comment.