diff --git a/recipes/gxf2bed/build.sh b/recipes/gxf2bed/build.sh index 8e10cdc3e3237..5502a47bd8e38 100644 --- a/recipes/gxf2bed/build.sh +++ b/recipes/gxf2bed/build.sh @@ -1,9 +1,6 @@ #!/bin/bash -# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. -# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. -export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="${BUILD_PREFIX}/.cargo" +set -xe # build statically linked binary with Rust -RUST_BACKTRACE=1 -cargo install --verbose --path . --root ${PREFIX} +RUST_BACKTRACE=1 cargo install --verbose --path . --root ${PREFIX} --no-track diff --git a/recipes/gxf2bed/meta.yaml b/recipes/gxf2bed/meta.yaml index 61af4d475731e..0521ca13cce91 100644 --- a/recipes/gxf2bed/meta.yaml +++ b/recipes/gxf2bed/meta.yaml @@ -10,14 +10,14 @@ source: sha256: 1f8358a972bded0c4906bf03532ba4ee9f7fc6bf9b84063e4b25b98f37ced45f build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage('gxf2bed', max_pin="x.x") }} requirements: build: - {{ compiler("cxx") }} - - rust >=1.39 + - {{ compiler("rust") }} - pkg-config test: @@ -33,5 +33,8 @@ about: summary: "Fastest GTF/GFF-to-BED converter chilling around" extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 recipe-maintainers: - alejandrogzi