Skip to content

Commit 84d3478

Browse files
github-actions[bot]andrejhunhoffe
authored
Update mlir-aie from v1.2.0 to v1.2.1 (#75)
* Update mlir-aie to version v1.2.1 * empty commit * fix version string naming typos --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: andrej <an.roesti@gmail.com> Co-authored-by: Erika Hunhoff <erika.hunhoff@amd.com>
1 parent 1531781 commit 84d3478

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/update-mlir-aie.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ jobs:
3030
- name: Get current mlir-aie version
3131
id: current_version
3232
run: |
33-
version=$(grep 'mlir_aie==' requirements.txt | cut -d'=' -f3)
33+
raw_version=$(grep 'mlir_aie==' requirements.txt | cut -d'=' -f3)
34+
version=$(echo "$raw_version" | sed 's/^v//')
3435
echo "Current version: $version"
3536
echo "version=$version" >> $GITHUB_OUTPUT
37+
echo "raw_version=$raw_version" >> $GITHUB_OUTPUT
3638
3739
- name: Get latest mlir-aie release
3840
id: latest_release
@@ -72,7 +74,7 @@ jobs:
7274
git checkout -b $new_branch
7375
7476
# Update requirements.txt
75-
sed -i "s|==${{ steps.current_version.outputs.version }}|==${{ steps.latest_release.outputs.tag }}|" requirements.txt
77+
sed -i "s|==${{ steps.current_version.outputs.raw_version }}|==${{ steps.latest_release.outputs.tag_with_v }}|" requirements.txt
7678
sed -i "s|mlir-aie/releases/expanded_assets/.*|mlir-aie/releases/expanded_assets/${{ steps.latest_release.outputs.tag_with_v }}|" requirements.txt
7779
7880
# Commit changes

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# version of torch (don't need CUDA), so we give this index precedence over the
77
# main PyPI. These indices are consulted in order of precedence by pip.
88
--index-url https://download.pytorch.org/whl/cpu
9-
--extra-index-url https://github.com/Xilinx/mlir-aie/releases/expanded_assets/v1.2.0
9+
--extra-index-url https://github.com/Xilinx/mlir-aie/releases/expanded_assets/v1.2.1
1010
--extra-index-url https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly
1111
--extra-index-url https://pypi.org/simple
1212

13-
mlir_aie==v1.2.0
13+
mlir_aie==v1.2.1
1414
llvm-aie
1515

1616
black

0 commit comments

Comments
 (0)