-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
devider: add aarch64/arm64 builds #51370
Merged
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
280278c
devider: add aarch64/arm64 builds
martin-g ab313f1
devider: add a patch for better ARM64 support
martin-g 17c8237
devider: add clangdev host dependency for linux-aarch64
martin-g c02f604
Do not build osx-arm64. It tries to build an unrelated recipe
martin-g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
#!/bin/bash -euo | ||
#!/bin/bash | ||
|
||
set -xeuo | ||
|
||
# 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="$(pwd)/.cargo" | ||
export CARGO_HOME="$(pwd)/.cargo" | ||
|
||
# build statically linked binary with Rust | ||
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml | ||
RUST_BACKTRACE=1 cargo install --verbose --locked --no-track --root $PREFIX --path . | ||
|
||
case $(uname -m) in | ||
aarch64 | arm64) | ||
FEATURES="--features neon --no-default-features" | ||
;; | ||
*) | ||
FEATURES="" | ||
;; | ||
esac | ||
|
||
RUST_BACKTRACE=1 cargo install --verbose --locked --no-track --root $PREFIX --path . ${FEATURES} | ||
cp scripts/* $PREFIX/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- Cargo.toml.orig 2024-10-14 10:59:48.140000000 +0000 | ||
+++ Cargo.toml 2024-10-14 11:03:33.120000000 +0000 | ||
@@ -13,9 +13,9 @@ | ||
rayon="1.7" | ||
rand="0.8" | ||
rand_core="0.6" | ||
-rust-htslib= { version = "0.44", default-features = false } | ||
+rust-htslib= { version = "0.47", default-features = false } | ||
clap = { version = "=4.2.0", features = ["derive"] } | ||
-block-aligner = { version = "0.4", default-features = false } | ||
+block-aligner = { version = "0.5", default-features = false } | ||
debruijn = "0.3" | ||
simple_logger="4" | ||
log="0.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Patch File Does Not Address aarch64-Specific Changes
The
devider-aarch64.patch
only updates dependency versions and does not include any modifications specific to aarch64 architecture support.🔗 Analysis chain
LGTM! Verify the patch file contents.
The addition of the architecture-specific patch for aarch64 is appropriate. This is a common approach for supporting new architectures.
Please ensure that the
devider-aarch64.patch
file contains the necessary changes for aarch64 support. You can verify its contents with:🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 560