Skip to content

Commit 547ced4

Browse files
authored
Pin IREE to specific version (#166)
Pins IREE checkout in the CI or obtained via FetchContent to the same specified version. Furthermore, installs the iree-compiler in the CI.
1 parent 944e358 commit 547ced4

4 files changed

+7
-1
lines changed

.github/workflows/ci_linux_x64-libshortfin.yml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
repository: iree-org/iree
4747
path: ${{ env.IREE_REPO_DIR }}
4848
submodules: false
49+
ref: candidate-20240904.1006
4950

5051
- name: Initalize IREE submodules
5152
run : |

.github/workflows/ci_linux_x64_asan-libshortfin.yml

+2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
repository: iree-org/iree
9797
path: ${{ env.IREE_SOURCE_DIR }}
9898
submodules: false
99+
ref: candidate-20240904.1006
99100

100101
- name: Initalize IREE submodules
101102
run : |
@@ -130,6 +131,7 @@ jobs:
130131
run: |
131132
eval "$(pyenv init -)"
132133
pip install -r ${{ env.LIBSHORTFIN_DIR }}/requirements-tests.txt
134+
pip install -r ${{ env.LIBSHORTFIN_DIR }}/requirements-iree-compiler.txt
133135
pip freeze
134136
135137
- name: Save Python dependencies cache

libshortfin/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if (NOT SHORTFIN_IREE_SOURCE_DIR AND SHORTFIN_BUNDLE_DEPS)
130130
FetchContent_Declare(
131131
iree
132132
GIT_REPOSITORY https://github.com/iree-org/iree.git
133-
GIT_TAG candidate-20240821.992
133+
GIT_TAG candidate-20240904.1006
134134
# TODO: We shouldn't have to pull googletest when we are not building tests.
135135
# This needs to be fixed with IREE.
136136
GIT_SUBMODULES "third_party/benchmark third_party/cpuinfo third_party/flatcc third_party/hip-build-deps third_party/googletest"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Keep in sync with IREE_REF in CI and GIT_TAG in CMakeLists.txt
2+
-f https://iree.dev/pip-release-links.html
3+
iree-compiler==20240904.1006

0 commit comments

Comments
 (0)