diff --git a/recipes/panacus/build.sh b/recipes/panacus/build.sh index f2c10555de8f5..3ecde6d917efb 100644 --- a/recipes/panacus/build.sh +++ b/recipes/panacus/build.sh @@ -1,7 +1,9 @@ #!/bin/bash -euo -RUST_BACKTRACE=1 CARGO_HOME="${BUILD_PREFIX}/.cargo" cargo build --release +set -xe mkdir -p $PREFIX/bin -cp target/release/panacus $PREFIX/bin + +RUST_BACKTRACE=1 CARGO_HOME="${BUILD_PREFIX}/.cargo" cargo install --no-track --locked --verbose --root \"${PREFIX}\" --path . + cp scripts/panacus-visualize.py $PREFIX/bin/panacus-visualize diff --git a/recipes/panacus/meta.yaml b/recipes/panacus/meta.yaml index a3ef8b6e13c5d..601eaab2d1cdc 100644 --- a/recipes/panacus/meta.yaml +++ b/recipes/panacus/meta.yaml @@ -10,7 +10,7 @@ source: sha256: e4709c5e3e4b5c445789406a0ebf06a2052e24bc5fcc3b540cacf8064c2ab478 build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage(name, max_pin="x.x") }} @@ -18,9 +18,9 @@ requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} + - {{ compiler('rust') }} - cmake - make - - rust >=1.68 run: - python - matplotlib-base @@ -43,6 +43,9 @@ about: summary: panacus is a tool for computing counting statistics for GFA files extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 recipe-maintainers: - danydoerr - heringerp