Skip to content

fix: add aarch64 build#519

Open
ShadowApex wants to merge 2 commits intomainfrom
shadowapex/aarch64
Open

fix: add aarch64 build#519
ShadowApex wants to merge 2 commits intomainfrom
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

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.


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

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.

3 participants