Skip to content

Commit

Permalink
Pin IREE to specific version
Browse files Browse the repository at this point in the history
Pins IREE checkout in the CI or obtained via FetchContent to the same
specified version. Furthermore, installs the iree-compiler in the CI.
  • Loading branch information
marbre committed Sep 4, 2024
1 parent 944e358 commit 911feb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci_linux_x64-libshortfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
repository: iree-org/iree
path: ${{ env.IREE_REPO_DIR }}
submodules: false
ref: candidate-20240904.1006

- name: Initalize IREE submodules
run : |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci_linux_x64_asan-libshortfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ jobs:
repository: iree-org/iree
path: ${{ env.IREE_SOURCE_DIR }}
submodules: false
ref: candidate-20240904.1006

- name: Initalize IREE submodules
run : |
Expand Down Expand Up @@ -130,6 +131,7 @@ jobs:
run: |
eval "$(pyenv init -)"
pip install -r ${{ env.LIBSHORTFIN_DIR }}/requirements-tests.txt
pip install -r ${{ env.LIBSHORTFIN_DIR }}/requirements-iree-compiler.txt
pip freeze
- name: Save Python dependencies cache
Expand Down
2 changes: 1 addition & 1 deletion libshortfin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ if (NOT SHORTFIN_IREE_SOURCE_DIR AND SHORTFIN_BUNDLE_DEPS)
FetchContent_Declare(
iree
GIT_REPOSITORY https://github.com/iree-org/iree.git
GIT_TAG candidate-20240821.992
GIT_TAG candidate-20240904.1006
# TODO: We shouldn't have to pull googletest when we are not building tests.
# This needs to be fixed with IREE.
GIT_SUBMODULES "third_party/benchmark third_party/cpuinfo third_party/flatcc third_party/hip-build-deps third_party/googletest"
Expand Down
3 changes: 3 additions & 0 deletions libshortfin/requirements-iree-compiler.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Keep in sync with IREE_REF in CI and GIT_TAG in CMakeLists.txt
-f https://iree.dev/pip-release-links.html
iree-compiler==20240904.1006

0 comments on commit 911feb4

Please sign in to comment.