-
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
Suggestion: Consider making Aarch64 builts ? #23454
Comments
Eventually? Yes. Today? No. You are welcome to get the necessary infrastructure in place to support that kind of build, we'd welcome a PR. Many packages require extra effort for every build target though, and unless there is a real need, it's difficult to justify. Just MacOS in addition to Linux already is a burden. |
@epruesse Thanks for the response. What's the process to add arm64 / aarch64 support to an existing recipe? We could document that, for users who want to self-service. |
We can't just add it for a single recipe. You'd have to start by creating the infrastructure parts for the new build target. Then you'd try to build all 6000 recipes. Many will fail, so you will have to fix them, making sure that they still build under both other target platforms. Once you have a reasonable set of packages done, say 5000 or so, you could give up and mark the rest with |
@DrYak Your original post also missed that Arm-based servers are also now readily available in the AWS cloud with Graviton2. I can help with access to native Arm64 build infrastructure if that will help someone work on building/testing of Arm64? As a first pass it would be useful to get a view of how many recipes may just work and then analyze the characteristics of those that fail to see if there are any patterns to the failure modes that would help address 'blocks' of failures. |
For official packages, we use free public services only. Initially it was TravisCI, now CircleCI and Github Actions for the bulk bioconductor packages. Conda-forge is using Azure. I assume that they are using a cross compiler. Personally I think we have a lot of other areas that need work, but if you guys want to work on this, as I said, you are welcome. Head over to bioconda-utils, make a fork, set up some build chain. If in doubt you can always post the packages to a custom conda channel to start with. |
That is true. @JeffUnderhill you could for example try to rebuild bioconda on those AWS instances and see how far you will come. |
Circling back to this, I'm up for volunteering some of my time to work on aarch64 (ARM) builds. |
Seems like this is also under discussion in bioconda/bioconda-utils#706 with more recent comments. |
Yes please! |
Notably, conda-forge has an osx64-arm channel - so it would be great if this could get off the ground for bioconda, too. At some point in the near future, almost all users of osx will be using apple silicon - at which point it would be weird to use emulation for all of bioconda. Are there free-to-use resources now to build for osx-ARM? Things may have changed a lot since the first comments ~2y ago. |
Per Github roadmap, osx-arm64 support is now scheduled to arrive in Q3 of 2023 🎉 However, this wouldn't help with Linux aarch64. Is there a reason that we need to use Github actions? Isn't the current CI Azure based anyways? |
Just curious, how many build resources are needed to support bioconda linux aarch64? Before the Github-hosted host supported linux aarch64, the self hosted runner or run-on-arch-action (qemu based) Could it be an alternative as aarch64 build resource? |
I use the following script to build Bioconda packages on Linux ARM64:
So far I have built 100+ recipes. Some of them fail, some pass, but the tooling (bioconda-utils) seems to work just fine! |
Entering Q4 of 2023 -- any update on this issue? |
|
so nearly there, awesome. |
Can't wait for this! |
Here is the updated version of the script I shared earlier. Now it uses the official Docker images:
|
There's a lot of progress! Looks like aarch64 will happen in the next few weeks. And eventually also arm64. See: |
Can't wait for it to happen! |
Is this supported yet? |
I see there is a lot of progress in the last weeks! |
@Adamtaranto No! This is a custom shell script that I use locally to build/test recipes on Linux ARM64. extra:
additional-platforms:
- linux-aarch64 |
Per the docs, linux aarch64 now appears to be supported. |
There is no support for linux-aarch64 for sra-tools, a vital package for any bioinformatician. Will these be added in the near future? |
@erikalmecdc sra-tools depends on many |
As per #33333 (comment), the infrastructure is now in place for aarch64 builds for both Linux and macOS. |
A weird outlandish suggestion. Given that:
...would the bioconda project eventually consider enabling Aarch64 builds of its package ?
The text was updated successfully, but these errors were encountered: