Skip to content
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

[draft] add ARM64 support to Linux CI #12411

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

gmesm
Copy link

@gmesm gmesm commented Feb 8, 2025

Add ARM64 support to Linux CI

Changes

Makes required modifications to CI scripting and cmake files to properly build on ARM64 linux target systems. Ubuntu 24.04 ARM64 is used due to this being the minimum supported release by QT6 https://doc.qt.io/qt-6/supported-platforms.html for ARM64 Linux (before you ask, no 22.04 is not good enough, the builds of QT6 are made on 24.04 and the dependencies cannot be satisfied on 24.04).

This pull request is marked as a draft until the upstream dependency exiv2 cuts a new release with the following PR merged Exiv2/exiv2#3143 and install-qt-action cuts a new release with the following PR merged jurplel/install-qt-action#273

Checklist:

Related Issue

#9856

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@gmesm gmesm marked this pull request as draft February 8, 2025 21:02
@gmesm
Copy link
Author

gmesm commented Feb 8, 2025

Rebase on master, no longer blocked by Exiv2/exiv2#3143 due to qgroundcontrol switching to always build this dependency from source. If in the future you want to switch back to prebuilds, refer to the original commit hash.

@HTRamsey
Copy link
Collaborator

I've been very tempted to fork the qt install action. It doesn't see the activity I'd like. Or we could just use aqtinstall directly.

@gmesm
Copy link
Author

gmesm commented Feb 13, 2025

Or we could just use aqtinstall directly.

That seems reasonable. For the Linux CI it would just involve installing aqt (sudo pipx install aqtinstall) and then running aqt with the appropriate options. The only additional thing you would probably need to do would be add the tools to the PATH like install-qt-action does.

@HTRamsey
Copy link
Collaborator

could probably just use the existing script already being used to install Qt in Docker. But then we'd have to accommodate for all the other build systems. Maybe that's an excuse to actually finish those other setup scripts though.

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.

2 participants