macosx-arm64 support
phronmophobic opened this issue · 2 comments
I've recently been playing with a wrapper for webgpu and the clj-manifold3d project seems like a natural complement for generating meshes. I was able to get it to work by compiling manifold locally, but it would be great have native jars for arm64.
I started work on updating the github workflow to work on mac osx, but I did run into some complications, https://github.com/phronmophobic/manifold.
- The workflow build uses homebrew and requires users of the jar to also use homebrew. The install name and linked dependencies of the shared libraries are hardcoded to homebrew paths and in some cases, paths to the home directory of the workflow runner.
- I was able to make the install name and rpath changes, but there's still some work getting the libraries that are shipped via javacpp to find the libraries that aren't shipped with javacpp (ie. libassimp and libpng).
I'm not sure how interested you would be in a pull request that fixes these issues, but I could send a cleaned up patch once I get it working if you are. Thanks for the library!
Hello,
Thanks for reporting this. I have not been tracking issues here.
I do not have a Mac so it's hard for me to validate the Mac build. If you have a fix I'd love to see it! We might want to just ship libassimp and libpng in the jar.
It's been a few months since I've looked at this. I wasn't able to get the build to run in github's CI, but I don't quite remember what steps are remaining. I'll have to look into it again once I get some free time.
I have not been tracking issues here.
Is there a more convenient place to discuss the project? clj-manifold3d is a really neat project and would be a great complement to clj-webgpu that I've been playing with.