dlannan / sokol-luajit

A luajit set of ffi wrappers for the excellent sokol framework,
MIT License
3 stars 0 forks source link

Mac ARM binary #2

Open funatsufumiya opened 1 week ago

funatsufumiya commented 1 week ago

Awesome project. I'd like to know the way (build instructions of dlls) to add Mac ARM binary to this project.

dlannan commented 1 week ago

Hi, I was trying to build this on the weekend. Needs a little work. The build repo is here: https://github.com/dlannan/sokol-build

ARM should be easy to add. I'll take a look at it tomorrow. The Mac stuff has taken a little longer because of the old mac mini Im using as a temp build tool (its not ideal).

funatsufumiya commented 1 week ago

Thank you for your quick reply! Good information :)

dlannan commented 1 week ago

Added a build step for arm64 (Im assuming this is for M1 builds). Need to make sure sokol compiler settings are right. Should be able to get that building tonight (about 8 hrs away). After work,.

dlannan commented 1 week ago

Ok. there are some artefacts here: https://github.com/dlannan/sokol-build/actions/runs/11703429372 I know there are some nuances with luajit + ffi on mac osx. Which I need to sort out (pathing related from memory). Will try to get that sorted over the next couple of days. Will leave this open until it is properly working.

dlannan commented 14 hours ago

Ok. Update to this. Max x86_64 is in and working. I will add a macos_arm64 (for arm64 builds). I currently cant test it so I will check it on a runner and that should be 'close'. Will need others to confirm, or people will just have to wait until I get my hands on some hw sometime in the future.

Not marking off just yet. Expect to be done in next day or so.