Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gxf2bed: add aarch64/arm64 builds #51120

Merged
merged 1 commit into from
Oct 3, 2024
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
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