Skip to content

fix: add aarch64 build#519

Merged
ShadowApex merged 2 commits into
mainfrom
shadowapex/aarch64
Jul 15, 2026
Merged

fix: add aarch64 build#519
ShadowApex merged 2 commits into
mainfrom
shadowapex/aarch64

Conversation

@ShadowApex

Copy link
Copy Markdown
Collaborator

This change updates the Dockerfile definition to allow cross-compiling OpenGamepadUI to arm64 and also removes and updates all assumptions of building and running on x86_64.

@ShadowApex
ShadowApex requested a review from pastaq March 27, 2026 05:23
@ShadowApex
ShadowApex force-pushed the shadowapex/aarch64 branch 3 times, most recently from ae852c3 to 102d02b Compare March 27, 2026 06:09
Comment thread Makefile Outdated
Comment thread Makefile

LIBIIO_URL ?= https://mirror.rackspace.com/archlinux/extra/os/x86_64/libiio-$(SYSEXT_LIBIIO_VERSION)-x86_64.pkg.tar.zst
ifeq ($(TARGET_ARCH),x86_64)
LIBIIO_URL ?= https://mirror.rackspace.com/archlinux/extra/os/$(TARGET_ARCH)/libiio-$(SYSEXT_LIBIIO_VERSION)-$(TARGET_ARCH).pkg.tar.zst

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're touching this we should make it more robust. It should be possible to rank the arch mirrors list, loop through them, & parse if the file exists. I don't want to deal with builds failing because this breaks anymore.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After switching to using the rackspace mirror, I haven't seen issues with this. I agree we should improve the reliability of this, but I think that improvement exceeds the scope of this PR and should be done in a separate request.

Comment thread Makefile

LIBSERIALPORT_URL ?= https://mirror.rackspace.com/archlinux/extra/os/x86_64/libserialport-$(SYSEXT_LIBSERIALPORT_VERSION)-x86_64.pkg.tar.zst
ifeq ($(TARGET_ARCH),x86_64)
LIBSERIALPORT_URL ?= https://mirror.rackspace.com/archlinux/extra/os/$(TARGET_ARCH)/libserialport-$(SYSEXT_LIBSERIALPORT_VERSION)-$(TARGET_ARCH).pkg.tar.zst

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this

@ShadowApex
ShadowApex requested a review from pastaq March 28, 2026 03:19
@JustRadical

Copy link
Copy Markdown

Tested on a Yoga Slim 7x with the Snapdragon X Elite, runs as expected

@ShadowApex
ShadowApex merged commit 4a00117 into main Jul 15, 2026
7 checks passed
@ShadowApex
ShadowApex deleted the shadowapex/aarch64 branch July 15, 2026 13:31
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.45.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants