Skip to content

Add build for ppc64le #145

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

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Add build for ppc64le #145

merged 2 commits into from
Dec 20, 2024

Conversation

jennydaman
Copy link
Collaborator

@jennydaman jennydaman commented Dec 20, 2024

pixi (neither micromamba nor uv) provide container images for linux/ppc64le. In this PR, a solution for building for ppc64le is added:

  1. Run pixi project export ... to produce a conda spec
  2. Run micromamba create ... to produce conda environments for the target platforms
  3. Run pixi run build (which calls hatch) to produce a wheel for pfcon
  4. Copy the conda environment and pfcon-*.whl into images and build

There is also an added benefit: by running the package manager on the host instead of in docker build, it is faster (compared to running the package manager during docker build using QEMU).

@jennydaman jennydaman merged commit 7a73a17 into master Dec 20, 2024
3 checks passed
@jennydaman jennydaman deleted the multi-arch-conda branch December 20, 2024 21:46
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

Successfully merging this pull request may close these issues.

1 participant