-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add support to linux arm64 #248
Comments
Hi! Did you try that? This action and its backend will install Qt for you. Maybe you don't know how to specify parameters? |
You can check the action here, it already works for Linux, windows and Mac, it's failing for linux-arm. |
It's installing GCC x64 for arm. |
OK. The workflow config of run: jurplel/install-qt-action@v4
with:
version: 5.15.2
target: desktop
modules: qtcharts
setup-python: false
install-deps: true
cache: false
cache-key-prefix: install-qt-action
add-tools-to-path: true
set-env: true
no-qt-binaries: false
tools-only: false
aqtversion: ==3.1.*
py7zrversion: ==0.20.*
source: false
documentation: false
examples: false
It failed because:
The good news is that you may be able to install Qt arm64 with aqtinstall directly. Please try these commands 34: set -e
sudo apt-get install build-essential libgl1-mesa-dev libgstreamer-gl1.0-0 libpulse-dev libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb1 libxkbcommon-dev libxkbcommon-x11-0 libxcb-xkb-dev -y
python3 -m pip install setuptools wheel py7zr==0.20.*
python3 -m pip install aqtinstall==3.1.*
python3 -m aqt version
python3 -m aqt install-qt linux_arm64 desktop 6.7.2 --autodesktop --outputdir /home/runner/work/ping-viewer/Qt --modules qtcharts
If everything goes well, I think you will see This action is not actively maintained, thus new features of its backend (i.e., aqtinstall) will not be quickly adapted. If above commands don't help you, you can search and raise issues in aqtinstall's repository. Footnotes
|
I wouldn't quite go that far—it does sometimes take me quite a while to find time to look into issues/PRs. I would also definitely accept a PR providing support for this. |
This also affects
aqt supports hosts |
I will look into supporting more values for hosts later this week. |
Are you able to get this up soon? Alongside the WASM PR these are both necessities for cross-platform builds. |
This would add support for both Linux/Windows ARM64 hosts in theory. I tested with Linux and it seems to work. I couldn't test with Windows as the runner image isn't public yet. If anyone wants to play around with it, just change uses: jdpurcell/install-qt-action@v4 |
At least until jurplel/install-qt-action#248 is resolved.
Squashed commit of the following: commit a3916a5 Author: Paul Colby <[email protected]> Date: Sat Jan 18 14:38:50 2025 +1100 Reinstate all macOS and Windows builds commit bd0c6be Author: Paul Colby <[email protected]> Date: Sat Jan 18 14:24:42 2025 +1100 Use x86-64 as the arch matrix value For consistency with other workflow jobs. commit 987f22e Author: Paul Colby <[email protected]> Date: Sat Jan 18 14:04:59 2025 +1100 Avoid workflow expressions in `uses` GitHub Actions does not support that. commit 30c2794 Author: Paul Colby <[email protected]> Date: Sat Jan 18 14:00:51 2025 +1100 Use jdpurcell's patch on linux-arm runners for now At least until jurplel/install-qt-action#248 is resolved. commit b7e5bf1 Author: Paul Colby <[email protected]> Date: Sat Jan 18 13:51:26 2025 +1100 Auto-detect linuxdeploy-aarch64.AppImage too commit ec94af3 Author: Paul Colby <[email protected]> Date: Sat Jan 18 13:12:29 2025 +1100 Set the correct host type (default the arch) commit de316e8 Author: Paul Colby <[email protected]> Date: Sat Jan 18 13:01:00 2025 +1100 Tell coveralls the correct arch commit e1176d0 Author: Paul Colby <[email protected]> Date: Sat Jan 18 12:09:22 2025 +1100 Exclude Qt versions not supported by Qt's online installer Thus, not supported by aqtinstall, and thus not supported by install-qt-action. commit ef98409 Author: Paul Colby <[email protected]> Date: Sat Jan 18 12:02:58 2025 +1100 Install Qt for the right arch commit eb63847 Author: Paul Colby <[email protected]> Date: Sat Jan 18 11:57:30 2025 +1100 Include the right arch in the Linux build IDs commit 34427ce Merge: 20ce8fe 18872c5 Author: Paul Colby <[email protected]> Date: Sat Jan 18 11:35:51 2025 +1100 Merge branch 'main' into linux-arm64 commit 20ce8fe Author: Paul Colby <[email protected]> Date: Thu Jan 16 18:01:56 2025 +1100 Hold the correct EFI package commit 5370b0e Author: Paul Colby <[email protected]> Date: Thu Jan 16 18:00:00 2025 +1100 Try out GitHub's new Linux arm64 runners Now in public preview: https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
Note, using jdpurcell's patch on linux-arm runners for now; just until jurplel/install-qt-action#248 is resolved. Squashed commit of the following: commit b1ae920 Author: Paul Colby <[email protected]> Date: Sat Jan 18 15:10:32 2025 +1100 Exclude Qt 6.0 and 6.1 arm64 on Linux commit 8fa94b5 Author: Paul Colby <[email protected]> Date: Sat Jan 18 14:40:32 2025 +1100 Support GitHub's Linux arm64 preview hosts
Is this possible ?
The text was updated successfully, but these errors were encountered: