Skip to content

add Arm64 builds for Linux and Windows platforms - #450

Open
chirontt wants to merge 1 commit into
SpaiR:mainfrom
chirontt:support_arm64_linux_and_windows
Open

chirontt wants to merge 1 commit into
SpaiR:mainfrom
chirontt:support_arm64_linux_and_windows

Conversation

@chirontt

@chirontt chirontt commented Nov 23, 2026 •

Copy link
Copy Markdown

Thanks to the work of @Enaium and @greenjon, from their respective PRs #443 and #439 for Linux ARM64 and Windows ARM64 support, this PR is a follow-up to their work to enable arm64 builds for imgui-java to produce relevant Linux/Windows ARM64 artifacts. This should fix issues #386 and #337.

Summary

  • the native libraries in bin folder are now split into 2 platform folders: bin/x64 and bin/arm64, with existing (x64) libraries moved there respectively in this PR; the missing arm64 binaries for Linux and Windows should be added (and checked in) later by an official build.
  • io/imgui/java/native-bin/<x64|arm64> package paths are now used in various build artifacts native-library-*.zip and native-libraries.zip, with imgui-app.jar now containing both x64 and arm64 native libraries.
  • imgui-binding/src/main/java/imgui/ImGui.java is modified to use the new io/imgui/java/native-bin/<x64|arm64> package paths appropriately when searching for native libraries in the classpath.
  • imgui-binding/src/generated/java/imgui/ImGui.java is re-generated and checked in accordingly in this commit.
  • various build scripts are updated to support both x64 and arm64 native libraries.
  • the ci.yml action script now builds for linuxarm64 and windowsarm64 targets also.
  • README.md file has extra info to generate Windows/Linux ARM64 native libraries.

Type of change

  • Minor changes or tweaks (quality of life stuff)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Notes for reviewer

Closes #386 and #337

- the native libraries in `bin` folder are now split into 2 platform
folders: `bin/x64` and `bin/arm64`, with existing (x64) libraries moved
there respectively; the missing `arm64` binaries for Linux and Windows
should be added (and checked in) later by an official build.
- `io/imgui/java/native-bin/<x64|arm64>` package paths are now used in
various build artifacts `native-library-*.zip` and `native-libraries.zip`, with
`imgui-app.jar` now containing both `x64` and `arm64` native libraries.
- `imgui-binding/src/main/java/imgui/ImGui.java` is modified to use the
new `io/imgui/java/native-bin/<x64|arm64>` package paths appropriately
when searching for native libraries in the classpath.
- `imgui-binding/src/generated/java/imgui/ImGui.java` is re-generated and
checked in accordingly in this commit.
- various build scripts are updated to support both `x64` and `arm64` native libraries.
- the `ci.yml` action script now builds for `linuxarm64` and `windowsarm64` targets also.
- `README.md` file has extra info to generate Windows/Linux ARM64 native libraries.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make it work in arm64 linux

1 participant