Replies: 3 comments 5 replies
-
M1 and M2 are the same architecture ( So if you want the same application build to support both architectures, you need to go
Technically, PyInstaller is not compiling any machine-level code (i.e., binaries) - it is collecting binaries (shared libs and binary extension modules) from your python environment. So whether you can create a You can cross-compile your C++ code for If you cannot create
That's only for compiling bootloader (you are likely using pre-compiled bootloader), not for creating frozen applications. |
Beta Was this translation helpful? Give feedback.
-
Thanks ALOT for the clarification.
If possible, I'm more incline to spent time on cross compiling from Linux, I could make the build more reproducible by using Docker container. Or maybe you have another suggestion to make a reproducible build ?
Yes, I mean x86_64 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a build pipeline created to compile a python project with c++ dependenciesand freeze it with Pyinstaller on multiple platform including Windows, Linux and MacOS. For MacOS, I'm compiling on x86 AMD64 architecture and I wish to include support for the new architecture M1 and M2.
3 I also read something about cross-compiling from a Linux for MacOS ? https://pyinstaller.org/en/stable/bootloader-building.html#cross-building-for-macos Is it working on M1 and M2 ?
Beta Was this translation helpful? Give feedback.
All reactions