Skip to content

Commit 6d7157a

Browse files
authored
Merge branch 'main' into unify-compilation-workflow
2 parents b889698 + 9871d4b commit 6d7157a

6 files changed

Lines changed: 20 additions & 8 deletions

File tree

.github/actions/setup_base/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ runs:
8383
8484
- name: pip install standard tools
8585
shell: bash
86-
run: pip install cibuildwheel wheel
86+
run: pip install --require-hashes -r python/requirements_dev.lock
8787

8888
- name: install rename
8989
if: ${{ inputs.MATRIX_OS == 'ubuntu-22.04' || inputs.MATRIX_OS == 'macos-12' || inputs.MATRIX_OS == 'macos-14' }}

.github/workflows/mlirAIEDistro.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,14 @@ jobs:
167167
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
168168
with:
169169
# checkout just the actions in order to pick and choose
170-
# where the actual repo is checked out manually (see actions/setup_base)
171-
sparse-checkout: .github/actions
170+
# where the actual repo is checked out manually (see actions/setup_base).
171+
# requirements_dev.lock is pulled too so setup_base can hash-pin its
172+
# build tooling (cibuildwheel/wheel) before the full tree is cloned.
173+
# Single-file paths require non-cone mode.
174+
sparse-checkout: |
175+
.github/actions
176+
python/requirements_dev.lock
177+
sparse-checkout-cone-mode: false
172178

173179
- uses: ./.github/actions/setup_base
174180
id: setup_base

.github/workflows/mlirDistro.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,14 @@ jobs:
177177
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
178178
with:
179179
# checkout just the actions in order to pick and choose
180-
# where the actual repo is checked out manually (see actions/setup_base)
181-
sparse-checkout: .github/actions
180+
# where the actual repo is checked out manually (see actions/setup_base).
181+
# requirements_dev.lock is pulled too so setup_base can hash-pin its
182+
# build tooling (cibuildwheel/wheel) before the full tree is cloned.
183+
# Single-file paths require non-cone mode.
184+
sparse-checkout: |
185+
.github/actions
186+
python/requirements_dev.lock
187+
sparse-checkout-cone-mode: false
182188

183189
- uses: ./.github/actions/setup_base
184190
id: setup_base

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ xrt-smi examine
106106
```bash
107107
# Python versions 3.11, 3.12, 3.13, and 3.14 are currently supported by our wheels
108108
sudo apt install \
109-
build-essential clang clang-14 lld lld-14 cmake ninja-build python3-venv python3-pip
109+
build-essential clang clang-14 lld lld-14 cmake ninja-build python3-venv python3-pip uuid-dev
110110
```
111111
112112
> **Note:** CMake **3.30 or newer** is required. If your distribution provides an older

docs/Building.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ xrt-smi examine
103103
```bash
104104
# Python versions 3.11, 3.12, 3.13, and 3.14 are currently supported by our wheels
105105
sudo apt install \
106-
build-essential clang clang-14 lld lld-14 cmake ninja-build python3-venv python3-pip
106+
build-essential clang clang-14 lld lld-14 cmake ninja-build python3-venv python3-pip uuid-dev
107107
```
108108
109109
## Build and Install mlir-aie and IRON

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Turn off SecureBoot (Allows for unsigned drivers to be installed):
7373
```bash
7474
# Python versions 3.11, 3.12, 3.13, and 3.14 are currently supported by our wheels
7575
sudo apt install \
76-
build-essential clang clang-14 lld lld-14 cmake ninja-build python3-venv python3-pip
76+
build-essential clang clang-14 lld lld-14 cmake ninja-build python3-venv python3-pip uuid-dev
7777
```
7878

7979
> **Note:** CMake **3.30 or newer** is required. If your distribution provides an older

0 commit comments

Comments
 (0)