-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(binding): MacOS ARM64 native binaries #223
Conversation
Yes please! I need this so bad! |
kindly reminds that you could use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also have you checked the imgui-app-all jar? There is some issues in the build script:
- arm64 nativa lib is not found in /bin folder
- the lib is also not found in
:imgui-app:shadowJar
task (reason might be above)
I haven't checked the all one because I didn't know there was one! I will do that as well. Thanks for the reviews. |
Update will be in soon. Ok, this was a couple months ago so I'm not sure if I'm remembering correctly. Here are some notes (and maybe a follow up question):
I do have one follow up question. I see in the |
There is a github ci script for that:
There's an wrong if condition, I fixed this issue in #190, merge the upstream to fix
I am not quite sure... I have not looked carefully into your code.
see readme: https://github.com/SpaiR/imgui-java?tab=readme-ov-file#freetype After all, your PR still cannot be compiled and seems far away from being merged, I am neither the maintainer of this project nor an expert in imgui, I am not asking you to close the pr but it really has some problems and I think #190 works better. |
588aa1a
to
a9f822c
Compare
I opened this because both #112 and #190 seemed to be abandoned and had either changes requested by the maintainer or had other issues. If you can get 190 in, I don't care either way. However, 190 still has changes requested by the maintainer in 112.
how do you figure this? It compiles: https://github.com/rexfleischer/imgui-java/actions/runs/9118399802
If you "neither the maintainer of this project nor an expert in imgui", how do you figure this? I'm sorry if this PR caused some turmoil, but both the other PRs seemed far away from being merged. |
First of all, I apologize for the inconvenience to everyone who was waiting for the macOS ARM support and specifically for this PR to be merged. 🙏 There were several PRs, but for various reasons, I wasn't able to review them until now. However, the time has finally come! I will merge this PR since it includes some minor CI cleanups. I also want to thank everyone who has contributed (#112 and #190). I will mention all authors in the upcoming changelog, which I believe will be released very soon (within 1-2 weeks or even sooner). |
Ok, I revamped the whole concept. In PR #239, a universal binary for the ARM64 architecture was introduced. So, one dylib for all - which is great, I believe. Additionally, while working on the build scripts, I decided to resolve the longstanding issue with FreeType. As a result, FreeType is now statically compiled and enabled by default, which basically improves font quality for free. More details can be found in the PR description. |
Description
Change to add the native binaries for Mac OS ARM64. This is based on #112 and #190. I am not able to test all the different binaries, but I was able to test the non-freetype macos-arm64.
Type of change