[llvm] figure out why arm build is failing (PR #146580)
Amy Huang via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 13:20:28 PDT 2025
https://github.com/amykhuang updated https://github.com/llvm/llvm-project/pull/146580
>From bc0f46b351e32dc44f8bf84ed80f593173eb48f0 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Tue, 1 Jul 2025 10:53:10 -0700
Subject: [PATCH 1/4] figure out why arm build is failing
---
.github/workflows/libc-fullbuild-tests.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/libc-fullbuild-tests.yml b/.github/workflows/libc-fullbuild-tests.yml
index 24d75f58d45e0..cac80c0f4ad3f 100644
--- a/.github/workflows/libc-fullbuild-tests.yml
+++ b/.github/workflows/libc-fullbuild-tests.yml
@@ -15,9 +15,16 @@ jobs:
strategy:
fail-fast: false
matrix:
- build_type: [Debug, Release, MinSizeRel]
include:
- os: ubuntu-24.04
+ build_type: Debug
+ ccache-variant: sccache
+ c_compiler: clang-21
+ cpp_compiler: clang++-21
+ target: x86_64-unknown-linux-llvm
+ include_scudo: ON
+ - os: ubuntu-24.04
+ build_type: MinSizeRel
ccache-variant: sccache
c_compiler: clang-21
cpp_compiler: clang++-21
@@ -25,12 +32,14 @@ jobs:
include_scudo: ON
# TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
- os: ubuntu-24.04-arm
+ build_type: Debug
ccache-variant: ccache
c_compiler: clang-21
cpp_compiler: clang++-21
target: aarch64-unknown-linux-llvm
include_scudo: ON
- os: ubuntu-24.04
+ build_type: Debug
ccache-variant: ccache
c_compiler: clang-21
cpp_compiler: clang++-21
>From 33e2fcdc44fa4e35b1c9f20f074b28527ce2b547 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Tue, 1 Jul 2025 11:09:44 -0700
Subject: [PATCH 2/4] more edits
---
.github/workflows/libc-overlay-tests.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/libc-overlay-tests.yml b/.github/workflows/libc-overlay-tests.yml
index da82d8d9fe8ab..b7814b2a6fe46 100644
--- a/.github/workflows/libc-overlay-tests.yml
+++ b/.github/workflows/libc-overlay-tests.yml
@@ -17,6 +17,7 @@ jobs:
fail-fast: false
matrix:
build_type: [Debug, Release, MinSizeRel]
+ os: [ubuntu-24.04,ubuntu-24.04-arm, windows-2022, windows-2025, macos-14]
include:
# TODO: add linux gcc when it is fixed
- os: ubuntu-24.04
@@ -119,3 +120,4 @@ jobs:
--build ${{ steps.strings.outputs.build-output-dir }}
--parallel
--target check-libc
+ -- -v
>From c208aa5310b06db0d17ffc2282e5ce538fed60e1 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Tue, 1 Jul 2025 11:20:47 -0700
Subject: [PATCH 3/4] more edits
---
.github/workflows/libc-overlay-tests.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/libc-overlay-tests.yml b/.github/workflows/libc-overlay-tests.yml
index b7814b2a6fe46..19390dc4966c3 100644
--- a/.github/workflows/libc-overlay-tests.yml
+++ b/.github/workflows/libc-overlay-tests.yml
@@ -16,7 +16,7 @@ jobs:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
fail-fast: false
matrix:
- build_type: [Debug, Release, MinSizeRel]
+ build_type: [Debug]
os: [ubuntu-24.04,ubuntu-24.04-arm, windows-2022, windows-2025, macos-14]
include:
# TODO: add linux gcc when it is fixed
@@ -111,7 +111,6 @@ jobs:
cmake
--build ${{ steps.strings.outputs.build-output-dir }}
--parallel
- --config MinSizeRel
--target libc
- name: Test
>From 20768dca82ebd9d945e65de09a92e41fc255d0a7 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Tue, 1 Jul 2025 11:29:59 -0700
Subject: [PATCH 4/4] test different clang version
---
.github/workflows/libc-fullbuild-tests.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/libc-fullbuild-tests.yml b/.github/workflows/libc-fullbuild-tests.yml
index cac80c0f4ad3f..e5458827e0af7 100644
--- a/.github/workflows/libc-fullbuild-tests.yml
+++ b/.github/workflows/libc-fullbuild-tests.yml
@@ -34,8 +34,8 @@ jobs:
- os: ubuntu-24.04-arm
build_type: Debug
ccache-variant: ccache
- c_compiler: clang-21
- cpp_compiler: clang++-21
+ c_compiler: /usr/bin/clang
+ cpp_compiler: /usr/bin/clang
target: aarch64-unknown-linux-llvm
include_scudo: ON
- os: ubuntu-24.04
More information about the llvm-commits
mailing list