Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions recipes/probeit/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash
$PYTHON -m pip install . --ignore-installed --no-deps -vv
cd probeit/setcover
make CXXFLAGS="${CXXFLAGS} -I. -O3 -std=c++14" -j $CPU_COUNT

export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
export CXXFLAGS="${CXXFLAGS} -I. -I${PREFIX}/include -O3 -std=c++14"

install -d "${PREFIX}/bin"
install setcover "${PREFIX}/bin/"
cd ../..

${PYTHON} -m pip install . --no-build-isolation --no-deps --no-cache-dir --use-pep517 -vvv

cd probeit/setcover

make CXXFLAGS="${CXXFLAGS}" -j"${CPU_COUNT}"

install -v -m 0755 setcover "${PREFIX}/bin"
24 changes: 16 additions & 8 deletions recipes/probeit/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ package:
name: probeit
version: {{ version }}

build:
skip: true # [py2k]
number: 4

source:
url: "https://github.com/steineggerlab/probeit/archive/refs/tags/v{{ version }}.tar.gz"
url: https://github.com/steineggerlab/probeit/archive/refs/tags/v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 5
run_exports:
- {{ pin_subpackage('probeit', max_pin="x") }}

requirements:
build:
- {{ compiler('cxx') }}
Expand All @@ -39,6 +40,13 @@ test:
- probeit > /dev/null

about:
home: https://github.com/steineggerlab/probeit
summary: "Probeit: a probe designer for detecting and genotyping pathogen!!!"
license: AGPL-3.0
home: "https://github.com/steineggerlab/probeit"
summary: "Probeit: a probe designer for detecting and genotyping pathogen!"
license: "AGPL-3.0-or-later"
license_family: AGPL
dev_url: "https://github.com/steineggerlab/probeit"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64