Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable native builds on Linux aarch64 #607

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
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

indygreg
Copy link
Collaborator

I just published an LLVM 20 toolchain for aarch64. The toolchain has support for PGO and BOLT.

This commit switches the Linux aarch64 builds to be performed natively on aarch64 machines. PGO and BOLT are enabled on the builds, hopefully making them a bit faster.

@indygreg indygreg force-pushed the indygreg/aarch64-native-builds branch from 13b293e to a253fa4 Compare May 12, 2025 03:48
@zanieb
Copy link
Member

zanieb commented May 14, 2025

I got stuck on the Docker image last time #484 (comment) — though I didn't dig deep there. It looks like you set up a new image but we need to add it to CI.

@zanieb zanieb added the platform:linux Specific to the Linux platform label May 14, 2025
@indygreg indygreg force-pushed the indygreg/aarch64-native-builds branch 14 times, most recently from e65eb09 to 8aceb0e Compare May 15, 2025 04:08
@zanieb
Copy link
Member

zanieb commented May 15, 2025

For c26a0f0, we support this via pull request labels now (just as a heads up). I added the aarch64 label for you, it should subset automatically.

As part of trying to stand up native Linux ARM builds, I ran into a
failure with xproto's config.guess not recognizing ARM. That package
not releasing since 2016 clued me in that it was likely not a required
part of X11 any more.

I looked at Debian's dependency tree and there was no xproto in sight.
But there was an xorgproto. And sure enough if you install xorgproto
instead of xproto in the build environment, things "just work."

Clued into the potential for outdated packages, I looked at other
proto packages. I pulled the thread and inputproto, kbproto, and
xextproto all appeared to be dead and replaced by xorgproto.

So this commit deletes inputproto, kbproto, xextproto, and xproto
and effectively replaces their use with xorgproto.

Good riddance.
@indygreg indygreg force-pushed the indygreg/toolchain-update branch from e1a50ae to a545994 Compare May 17, 2025 02:01
indygreg added 5 commits May 16, 2025 19:13
This seems to "just work." Let's stay modern.
I think deletion of the legacy proto packages a few commits ago fixed up
the build failures the deleted comment alluded to.
@indygreg indygreg force-pushed the indygreg/aarch64-native-builds branch 2 times, most recently from 384948b to 0ca85f8 Compare May 17, 2025 03:05
I just published an LLVM 20 toolchain for aarch64. The toolchain
has support for PGO and BOLT.

This commit switches the Linux aarch64 builds to be performed natively
on aarch64 machines. PGO and BOLT are enabled on the builds, hopefully
making them a bit faster.
@indygreg indygreg force-pushed the indygreg/aarch64-native-builds branch from 0ca85f8 to ec30c2b Compare May 17, 2025 03:09
Base automatically changed from indygreg/toolchain-update to main May 17, 2025 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch:aarch64 platform:linux Specific to the Linux platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants