Skip to content

Commit a53431b

Browse files
authored
Add LLVM aarch64 Almalinux build (triton-lang#6092)
Builds: ``llvm-a66376b0-almalinux-arm64`` artifact Test: ``` bin/mlir-tblgen --version LLVM (http://llvm.org/): LLVM version 21.0.0git Optimized build with assertions. ``` Failed use case, trying to run ubunu generated aarch64 binary: ``` ../../llvm-a66376b0-ubuntu-arm64/bin/mlir-tblgen --version ../../llvm-a66376b0-ubuntu-arm64/bin/mlir-tblgen: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ../../llvm-a66376b0-ubuntu-arm64/bin/mlir-tblgen) ``` This is required in order to build triton aarch64 Manywheel 2.28 Successful run: https://github.com/triton-lang/triton/actions/runs/13640751105/job/38129853476?pr=6092 This should unlock adding Manyhwheel 2.28 aarch64 builds. Test PR: triton-lang#6089 which is currently failing (since its using ubuntu aarch64 llvm build): ``` /root/.triton/llvm/llvm-a66376b0-ubuntu-arm64/bin/mlir-tblgen: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /root/.triton/llvm/llvm-a66376b0-ubuntu-arm64/bin/mlir-tblgen) ``` Please note: The build cancelled because CentOS build finished and was not able to log into the Azure. Hence I restarted the Almalinux aarch64 builds
1 parent bde92ef commit a53431b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/llvm-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- llvm-head
77
paths:
88
- cmake/llvm-hash.txt
9+
pull_request:
10+
paths:
11+
- .github/workflows/llvm-build.yml
912
workflow_dispatch:
1013

1114
env:
@@ -30,6 +33,7 @@ jobs:
3033
- {runner: 'Ubuntu 20.04 ARM64', runs_on: 'ubuntu-20.04', target-os: 'ubuntu', arch: 'arm64'}
3134
- {runner: 'CentOS 7', runs_on: ['self-hosted', 'CPU'], target-os: 'centos', arch: 'x64'}
3235
- {runner: 'AlmaLinux 8', runs_on: ['self-hosted', 'CPU'], target-os: 'almalinux', arch: 'x64'}
36+
- {runner: 'AlmaLinux 8 ARM64', runs_on: 'ubuntu-22.04-arm', target-os: 'almalinux', arch: 'arm64'}
3337
- {runner: 'MacOS X64', runs_on: 'macos-13', target-os: 'macos', arch: 'x64'}
3438
- {runner: 'MacOS ARM64', runs_on: 'macos-13', target-os: 'macos', arch: 'arm64'}
3539
- {runner: 'Windows Latest', runs_on: 'windows-latest', target-os: 'windows', arch: 'x64'}

0 commit comments

Comments
 (0)