Skip to content

[cpullvm] Unify Linux AArch64 Host Compiler to Clang 22.1.8 on GitHub Ubuntu Runner - #625

Open
pranav4330 wants to merge 1 commit into
qualcomm:qualcomm-softwarefrom
pranav4330:pr/host-compiler-unification-linuxaarch64
Open

[cpullvm] Unify Linux AArch64 Host Compiler to Clang 22.1.8 on GitHub Ubuntu Runner#625
pranav4330 wants to merge 1 commit into
qualcomm:qualcomm-softwarefrom
pranav4330:pr/host-compiler-unification-linuxaarch64

Conversation

@pranav4330

Copy link
Copy Markdown
Contributor

Align the Linux AArch64 GitHub Ubuntu runner with the host compiler version used across other build environments.

This change installs and uses Clang 22.1.8 on the GitHub-hosted AArch64 Ubuntu runner, ensuring consistent compiler versions across all supported build configurations and reducing toolchain-related variations.

@jonathonpenix Jonathon Penix (jonathonpenix) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Re: the PR description/title:

  • Please don't mark this as [clang], it isn't a change in clang
  • It seems a bit misleading to say that this is aligning with other build environments seeing as no other builds use 22 right now

Comment thread .github/workflows/nightly.yml Outdated
#
# Other build configurations such as building the runtimes on non-Linux
# x86_64 platforms are built and tested separately.
# clang-22 for linux aarch64 github runner.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this is just a temporary change to trigger the workflow, that is fine--please just make sure it is removed once the build completes/before merging.

Otherwise, please remove this--it isn't providing any particularly helpful information and keeping this updated is just going to be noise.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes its a temporary change

Comment thread qualcomm-software/scripts/install_dependencies.sh Outdated
Comment thread qualcomm-software/scripts/install_dependencies.sh Outdated
Comment thread qualcomm-software/scripts/install_dependencies.sh Outdated
sudo apt-get update
# Install swig and libedit-dev used by lldb and
# libc++-dev required for eld tests
sudo apt-get install -y swig libedit-dev clang-19 libc++-19-dev
sudo apt-get install -y swig libedit-dev clang-22 libc++-22-dev

@jonathonpenix Jonathon Penix (jonathonpenix) Aug 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if we're missing lld here--see the /usr/bin/ld warnings in the AArch64 build

This might be fixed by using the install script as I think it'll pull everything if not otherwise specified.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think default ld is being picked up so i will add lld-22

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hm, still seeing the /usr/bin/ld warnings

Comment thread qualcomm-software/scripts/install_dependencies.sh Outdated
Comment thread qualcomm-software/scripts/install_dependencies.sh Outdated
@pranav4330 pranav4330 changed the title [clang] Unify Linux AArch64 Host Compiler to Clang 22.1.8 on GitHub Ubuntu Runner [cpullvm] Unify Linux AArch64 Host Compiler to Clang 22.1.8 on GitHub Ubuntu Runner Aug 26, 2026
@pranav4330
pranav4330 force-pushed the pr/host-compiler-unification-linuxaarch64 branch from 7ea2b95 to 7f1b105 Compare August 26, 2026 22:32
@@ -1,14 +1,24 @@
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shall we define CLANG_VERSION=22 and refer to it as ${CLANG_VERSION}?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think its not necessary, as this is working as expected.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it is a good suggestion--next time we update versions we only need to update one spot.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks for suggesting srilakshmi yalamaraju (@sriyalamar) I have made that change.

Comment thread qualcomm-software/scripts/install_dependencies.sh
Comment thread qualcomm-software/scripts/install_dependencies.sh Outdated
@@ -1,14 +1,24 @@
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it is a good suggestion--next time we update versions we only need to update one spot.

…buntu Runner

Align the Linux AArch64 GitHub Ubuntu runner with the host compiler version used across other build environments.

This change installs and uses Clang 22.1.8 on the GitHub-hosted AArch64 Ubuntu runner, ensuring consistent compiler versions across
all supported build configurations and reducing toolchain-related variations.

Signed-off-by: Pranav Patil <pranpati@qti.qualcomm.com>
@pranav4330
pranav4330 force-pushed the pr/host-compiler-unification-linuxaarch64 branch from 7f1b105 to 03e56a2 Compare September 1, 2026 21:42
@pranav4330

Copy link
Copy Markdown
Contributor Author

hello Jonathon Penix (@jonathonpenix) i have made the changes can you check if i missed something, also Navaneeth Shanmugasundaram (@navaneethshan) can you look at this as well?

@jonathonpenix Jonathon Penix (jonathonpenix) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One last nit, but otherwise this should be close.

When fixing whatever is changing in the meson line, I think you can remove the test change in nightly.yml to prepare for merging.

Added a nit, but I think it is also a bit concerning we're still seeing the /usr/bin/ld warnings--seems like something still is off.


# Install meson. eld support was added in v1.9.0, so we need at least that.
pip install meson==1.10.0
pip install meson==1.10.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like something weird is going on with whitespace--please remove this change

(probably some line ending or invisible characters?)

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