Skip to content

docker: Support arm64 manylinux image and wheel creation.#16

Merged
fklebert merged 4 commits intomainfrom
manylinux-arm64
Jul 9, 2025
Merged

docker: Support arm64 manylinux image and wheel creation.#16
fklebert merged 4 commits intomainfrom
manylinux-arm64

Conversation

@MisterGC
Copy link
Contributor

@MisterGC MisterGC commented Jul 7, 2025

Add ARM64 support for manylinux wheel building and support for ARM64 Linux in cmake cfg.

Summary

  • Enable building manylinux wheels for ARM64 architecture
  • Update Docker configuration to support multi-architecture builds
  • Improve Python version handling in Docker images

Changes

  • ARM64 Support: Modified Dockerfile.template and deploy.bash to handle ARM64 architecture alongside x86_64
  • CMake Improvements: Updated CMake files to properly detect ARM64 platform and use Development.Module component instead of full Development - this leverages the Python development files already provided by manylinux images, avoiding the need to manually download and build Python from source
  • Python Version Management: Enhanced Docker configuration to use two-digit Python versions (e.g., 3.9, 3.10) instead of pinning to specific patch versions, allowing manylinux images to automatically use the latest patch releases with critical security and bug fixes
  • Documentation: Updated README with ARM64 architecture information

Technical Details

  • Uses platform-specific base images for manylinux builds
  • Properly detects aarch64 architecture in CMake for wheel tagging
  • Ensures Python versions are correctly activated in Docker containers
  • Follows manylinux best practices by using flexible Python version specifications

@MisterGC MisterGC marked this pull request as ready for review July 9, 2025 08:29
@MisterGC MisterGC requested a review from josephbirkner July 9, 2025 08:29
@MisterGC MisterGC changed the title docker: Support arm64 manylinux image creation. docker: Support arm64 manylinux image and wheel creation. Jul 9, 2025
Copy link
Collaborator

@josephbirkner josephbirkner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@fklebert fklebert merged commit a6af975 into main Jul 9, 2025
@fklebert fklebert deleted the manylinux-arm64 branch July 9, 2025 10:01
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.

3 participants