Skip to content

Commit

Permalink
gxf2bed: add aarch64/arm64 builds (#51120)
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 authored Oct 3, 2024
1 parent c8cc2e4 commit c91fdaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 2 additions & 5 deletions recipes/gxf2bed/build.sh
Original file line number Diff line number Diff line change
@@ -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
7 changes: 5 additions & 2 deletions recipes/gxf2bed/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -33,5 +33,8 @@ about:
summary: "Fastest GTF/GFF-to-BED converter chilling around"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
recipe-maintainers:
- alejandrogzi

0 comments on commit c91fdaf

Please sign in to comment.