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

Switch to cross-compilation for linux_aarch64 and linux_ppc64le #25

Closed
jakirkham opened this issue Apr 5, 2024 · 1 comment
Closed

Comments

@jakirkham
Copy link
Member

Sometimes the natives builds of linux_aarch64 and linux_ppc64le on Travis CI don't start or fail in the queuing process, which needs restarting. This creates a bit of friction during the CTK release process

To reduce this friction, think we should switch linux_aarch64 and linux_ppc64le to "cross-compilation" on Azure. As the CTK packages are binary redists, we are not actually cross-compiling them. However the way the build architecture for Azure is setup is to use cross-compilers and different build_platform and target_platform. This would allow the builds to complete just as fast. Though it would mean that some kinds of tests (like running binaries for the target_platform) wouldn't work in cross-compilation (as they do in the native case). However this can already be an issue as we don't currently test with GPUs either

Making this change would amount to adding the following lines to the top of conda-forge.yml files for the feedstocks and re-rendering:

build_platform:
  linux_aarch64: linux_64
  linux_ppc64le: linux_64
This was referenced Apr 5, 2024
@jakirkham
Copy link
Member Author

Closing as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant