Replies: 1 comment 8 replies
-
You should be able to cross compile ldr_tools_py for different targets using the PyO3 guide. The process doesn't look as straightforward as with a regular Rust program. I use a separate runner for Windows, Linux, and MacOS when publishing using GitHub actions. Each runner builds for its own target. MacOS also cross compiles for arm64 on an x64 host, which seems to not require any additional PyO3 configuration. You should be fine just compiling for arm64 for local development on your Mac. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I took a fork of your plugin a few weeks back and have been extending it some of my own ideas whilst merging in some of your more elegant code implementations for stud logo type and primitives than mine where.
https://github.com/philm400/ldr_tools_blender
However, I see when you publish a release you have a number of platform you support through compilation of the ldr_tools_py library.
I'm MacOS based.
Reason I ask is that I've tried to setup RustUp with MinGw-w64, but have errors in the build (trying to compile for x86_64-pc-windows-gnu from my M2 MacOS). I feel really close but think I need a little guidance in the right direction now.
:)
Beta Was this translation helpful? Give feedback.
All reactions