How to handle different system architecture [arm/x86]? #187
-
Does the current workflow support the building of packages for architectures that differ from the host environment? Scenario: Building a project that uses a Docker container and will run in an x86 environment, from an M1 Mac. Some current examples: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @FridayPush! Polylith runs on top of tools like Poetry, Hatch, PDM and Rye. The packaging capabilities is depending on which one of those tools you are using. Polylith doesn't deal with the actual building of a wheel, but will collect code before a build action is triggered. For Poetry, it is done with a plugin and for Hatch, PDM and Rye that is accomplished with build hooks as described in the docs. I hope this answer is helpful! |
Beta Was this translation helpful? Give feedback.
Hi @FridayPush! Polylith runs on top of tools like Poetry, Hatch, PDM and Rye. The packaging capabilities is depending on which one of those tools you are using. Polylith doesn't deal with the actual building of a wheel, but will collect code before a build action is triggered. For Poetry, it is done with a plugin and for Hatch, PDM and Rye that is accomplished with build hooks as described in the docs.
I hope this answer is helpful!