Skip to content

Commit

Permalink
d4binding: add aarch64/arm64 builds
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Oct 23, 2024
1 parent 9b88759 commit 3ab94d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 1 addition & 5 deletions recipes/d4binding/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

set -x

# TODO: Remove the following export when pinning is updated and we use
# {{ compiler('rust') }} in the recipe.
export \
CARGO_NET_GIT_FETCH_WITH_CLI=true \
CARGO_HOME="${BUILD_PREFIX}/.cargo"
export CARGO_HOME="${BUILD_PREFIX}/.cargo"

cp $RECIPE_DIR/build_htslib.sh d4-hts/build_htslib.sh

Expand Down
7 changes: 5 additions & 2 deletions recipes/d4binding/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package:
version: {{ version }}

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage("d4binding", max_pin="x.x") }}

Expand All @@ -18,7 +18,7 @@ requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- rust >=1.30
- {{ compiler('rust') }}
- gcc # [not osx]
- clangdev
- pkg-config
Expand All @@ -40,6 +40,9 @@ about:
dev_url: https://github.com/38/d4-format

extra:
additional-platforms:
- linux-aarch64
- osx-arm64
recipe-maintainers:
- haohou
skip-lints:
Expand Down

0 comments on commit 3ab94d3

Please sign in to comment.