Skip to content

Commit

Permalink
add iree cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
renxida committed Nov 14, 2024
1 parent 7c53f1a commit 0c61e03
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-shark-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ jobs:
pip install -f https://iree.dev/pip-release-links.html --upgrade --pre \
iree-base-compiler \
iree-base-runtime
- name: Clone IREE with matching version
run: |
# Get IREE version and extract the version number
IREE_VERSION=$(pip show iree-base-compiler | grep Version: | cut -d' ' -f2)
echo "Found IREE version: ${IREE_VERSION}"
# Clone IREE repository at the parent directory level. Git clone --branch supports tags.
cd .. && git clone --depth 1 --branch "iree-${IREE_VERSION}" https://github.com/iree-org/iree.git
cd SHARK-Platform
- name: Install shortfin via dev_me.py
run: cd shortfin && python dev_me.py

Expand Down

0 comments on commit 0c61e03

Please sign in to comment.