[llvm] [libc] Add gcc-12-arm-linux-gnueabihf to libc-shared-tests CI. (PR #202421)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 12:51:56 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: lntue
<details>
<summary>Changes</summary>
To prevent regression for arm-linux-gnueabihf target. See
https://github.com/llvm/llvm-project/issues/201678
---
Full diff: https://github.com/llvm/llvm-project/pull/202421.diff
1 Files Affected:
- (modified) .github/workflows/libc-shared-tests.yml (+7-9)
``````````diff
diff --git a/.github/workflows/libc-shared-tests.yml b/.github/workflows/libc-shared-tests.yml
index d2290621bc271..71803130c257e 100644
--- a/.github/workflows/libc-shared-tests.yml
+++ b/.github/workflows/libc-shared-tests.yml
@@ -53,26 +53,24 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-24.04
container:
- image: 'ghcr.io/llvm/libc-ubuntu-24.04:latest at sha256:a902fb53bdad5e4a4bb6c11b6584e717a7b3d6e886f1ea58e11f95e46226249c'
+ image: 'ghcr.io/llvm/libc-ubuntu-24.04:latest at sha256:c6e2ee2a9bf5cebd51fd27dd8e85381c2f73d90e091c764082f8ad528ee18918'
strategy:
fail-fast: false # If one arch fails, let the other finish
matrix:
include:
- arch: aarch64
- libc: libc6-dev-arm64-cross
- libcpp: libstdc++6-arm64-cross
target_triple: aarch64-linux-gnu
gcc_arch: aarch64-linux-gnu
- arch: riscv64
- libc: libc6-dev-riscv64-cross
- libcpp: libstdc++6-riscv64-cross
target_triple: riscv64-linux-gnu
gcc_arch: riscv64-linux-gnu
- arch: ppc64le
- libc: libc6-dev-ppc64el-cross
- libcpp: libstdc++6-ppc64el-cross
target_triple: powerpc64le-linux-gnu
gcc_arch: powerpc64le-linux-gnu
+ - arch: armhf
+ target_triple: arm-linux-gnueabihf
+ gcc_arch: arm-linux-gnueabihf
+ gcc_ver: -12
steps:
- name: Checkout LLVM
@@ -110,8 +108,8 @@ jobs:
run: |
cmake -B build/gcc -S runtimes -G Ninja \
-DLLVM_ENABLE_RUNTIMES=libc \
- -DCMAKE_C_COMPILER=${{ matrix.target_triple }}-gcc \
- -DCMAKE_CXX_COMPILER=${{ matrix.target_triple }}-g++ \
+ -DCMAKE_C_COMPILER=${{ matrix.target_triple }}-gcc${{ matrix.gcc_ver }} \
+ -DCMAKE_CXX_COMPILER=${{ matrix.target_triple }}-g++${{ matrix.gcc_ver }} \
-DCMAKE_BUILD_TYPE=Release \
-DLIBC_TARGET_TRIPLE=${{ matrix.target_triple }} \
-DCMAKE_CROSSCOMPILING_EMULATOR=/__w/llvm-project/llvm-project/build/qemu-wrapper.sh
``````````
</details>
https://github.com/llvm/llvm-project/pull/202421
More information about the llvm-commits
mailing list