Skip to content

Commit 0dddf63

Browse files
authored
Add an Arm job (#22)
This is required to build wheels for Arm.
1 parent a38561d commit 0dddf63

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/buildReleaseAndPublish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ concurrency:
1616

1717
jobs:
1818
build_linux:
19-
name: Linux x86_64 Build
20-
runs-on: ubuntu-latest
19+
name: Linux Build
2120
# Elevates permissions for `GITHUB_TOKEN`'s content scope (to allow this action to make a release)
2221
permissions:
2322
contents: write
@@ -27,6 +26,9 @@ jobs:
2726
matrix:
2827
package: [torch-mlir]
2928
py_version: [cp310-cp310, cp311-cp311, cp312-cp312]
29+
arch: [x64_64, AArch64]
30+
31+
runs-on: ${{ matrix.arch == 'AArch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
3032

3133
steps:
3234
- name: Checkout torch-mlir

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Torch MLIR Build and Release Automation
22

3+
[![Build Release and Publish Windows Wheels](https://github.com/llvm/torch-mlir-release/actions/workflows/buildReleaseAndPublishWindows.yml/badge.svg)](https://github.com/llvm/torch-mlir-release/actions/workflows/buildReleaseAndPublishWindows.yml)
4+
[![Build Release and Publish Linux Wheels](https://github.com/llvm/torch-mlir-release/actions/workflows/buildReleaseAndPublish.yml/badge.svg)](https://github.com/llvm/torch-mlir-release/actions/workflows/buildReleaseAndPublish.yml)
5+
36
This repository houses release automation for torch-mlir. It is isolated from the main repository
47
so that we can more strictly control people with write access.
58

6-
### Python Releases (x86 linux and windows)
9+
### Python Releases
710
Python wheels for torch-mlir are auto-generated every night and made available at [this release page](https://github.com/llvm/torch-mlir-release/releases/tag/dev-wheels).
811

912
To install via `pip`, run:
@@ -18,4 +21,4 @@ or add this to `requirements.txt`:
1821
torch-mlir
1922
```
2023

21-
At the moment only linux and windows x86_64 builds are published, but this may be updated if the need arises (and we find appropriate owners to maintain the automation).
24+
At the moment only Linux (x86_64 + AArch64) and Windows (x86_64) builds are published. If you are interested in other configurations, please send a PR.

0 commit comments

Comments
 (0)