-
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
trnascan-se: add aarch64/arm64 build #50996
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request includes modifications to the Changes
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (2)
recipes/trnascan-se/build.sh (1)
Line range hint
1-18
: Consider architecture-specific optimizations.The changes made are good for supporting aarch64/arm64 builds. However, to fully leverage the capabilities of different architectures, consider the following suggestions:
Add architecture-specific compiler flags. For example:
if [[ "${target_platform}" == "osx-arm64" || "${target_platform}" == "linux-aarch64" ]]; then export CFLAGS="${CFLAGS} -mcpu=native" fiEnsure that any assembly code or architecture-specific optimizations in the source are compatible with aarch64/arm64.
If possible, run architecture-specific tests after the build to ensure compatibility and performance.
These suggestions can help optimize the build for specific architectures while maintaining cross-platform compatibility.
recipes/trnascan-se/meta.yaml (1)
38-40
: LGTM! Metadata updates improve security and provide more information.The changes to the
about
section are excellent:
- Updating URLs to HTTPS improves security.
- Precise license specification (GPL-3.0-or-later) clarifies usage terms.
- Adding the dev URL provides easy access to the source code and development resources.
Consider adding a
description
field to provide a more detailed explanation of the package's functionality. This can help users better understand the purpose and capabilities of tRNAscan-SE.Also applies to: 43-44
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
- recipes/trnascan-se/build.sh (1 hunks)
- recipes/trnascan-se/meta.yaml (3 hunks)
🔇 Additional comments (6)
recipes/trnascan-se/build.sh (2)
10-11
: LGTM: Cleanup of backup files.The addition of these lines to remove backup files is a good practice. It keeps the build environment clean by removing temporary files created during the sed operations.
13-13
: Excellent addition for cross-architecture support.The addition of
autoreconf -if
is crucial for ensuring proper configuration across different architectures. This command regenerates the build system files, which is essential for supporting the aarch64/arm64 builds as intended in this PR.recipes/trnascan-se/meta.yaml (4)
10-12
: LGTM! Build number increment and run_exports addition are appropriate.The build number increment is correct for package changes without a version change. The new
run_exports
section withpin_subpackage
ensures that when this package is used as a dependency, a compatible version will be installed. This helps maintain consistency and prevents potential version conflicts.
26-26
: LGTM! Addition of libtool as a build requirement is appropriate.The addition of
libtool
to the build requirements is a good change. This tool is often used for creating portable libraries, which aligns with the PR objective of adding aarch64/arm64 build support. It will help ensure that the package can be built consistently across different architectures.
50-52
: LGTM! Addition of ARM64 platform support aligns with PR objective.The addition of
linux-aarch64
andosx-arm64
to theadditional-platforms
list is excellent. This change directly addresses the PR objective of adding aarch64/arm64 build support. It explicitly declares support for ARM64 architectures on both Linux and macOS, which is crucial information for users and package managers.
Line range hint
1-52
: Overall, excellent updates to improve package metadata and cross-platform support.The changes in this PR successfully address the objective of adding aarch64/arm64 build support for tRNAscan-SE. The modifications include:
- Incrementing the build number and adding run_exports for better dependency management.
- Including libtool as a build requirement to support cross-platform builds.
- Improving package metadata with updated URLs, precise license information, and a dev URL.
- Explicitly declaring support for ARM64 architectures on both Linux and macOS.
These changes collectively enhance the package's portability, metadata accuracy, and user information. Great job on improving the Conda recipe!
No artifacts found on the most recent builds. Either the builds failed, the artifacts have been removed due to age, or the recipe was blacklisted/skipped. |
2 similar comments
No artifacts found on the most recent builds. Either the builds failed, the artifacts have been removed due to age, or the recipe was blacklisted/skipped. |
No artifacts found on the most recent builds. Either the builds failed, the artifacts have been removed due to age, or the recipe was blacklisted/skipped. |
No artifacts found on the most recent builds. Either the builds failed, the artifacts have been removed due to age, or the recipe was blacklisted/skipped. |
Package(s) built are ready for inspection:
|
Describe your pull request here
Please read the guidelines for Bioconda recipes before opening a pull request (PR).
General instructions
@BiocondaBot please add label
command.@bioconda/core
in a comment.Instructions for avoiding API, ABI, and CLI breakage issues
Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes.
This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe.
If not already present in the meta.yaml, make sure to specify
run_exports
(see here for the rationale and comprehensive explanation).Add a
run_exports
section like this:with
...
being one of:{{ pin_subpackage("myrecipe", max_pin="x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin="x.x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin=None) }}
while replacing
"myrecipe"
with eithername
if aname|lower
variable is defined in your recipe or with the lowercase name of the package in quotes.Bot commands for PR management
Please use the following BiocondaBot commands:
Everyone has access to the following BiocondaBot commands, which can be given in a comment:
@BiocondaBot please update
@BiocondaBot please add label
please review & merge
label.@BiocondaBot please fetch artifacts
You can use this to test packages locally.
Note that the
@BiocondaBot please merge
command is now depreciated. Please just squash and merge instead.Also, the bot watches for comments from non-members that include
@bioconda/<team>
and will automatically re-post them to notify the addressed<team>
.Summary by CodeRabbit
New Features
linux-aarch64
andosx-arm64
.libtool
as a new host dependency.run_exports
section for improved package management.Bug Fixes
Documentation