File tree 5 files changed +2
-58
lines changed
5 files changed +2
-58
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ concurrency:
25
25
cancel-in-progress : true
26
26
27
27
env :
28
- IREE_REPO_DIR : ${{ github.workspace }}/iree
29
28
LIBSHORTFIN_DIR : ${{ github.workspace }}/shortfin/
30
29
31
30
jobs :
95
94
with :
96
95
toolchain : stable
97
96
98
- - name : Checkout IREE repo
99
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
100
- with :
101
- repository : iree-org/iree
102
- path : ${{ env.IREE_REPO_DIR }}
103
- submodules : false
104
- ref : iree-3.1.0rc20241220
105
-
106
- - name : Initalize IREE submodules
107
- working-directory : ${{ env.IREE_REPO_DIR }}
108
- run : |
109
- git submodule update --init --depth 1 -- third_party/benchmark
110
- git submodule update --init --depth 1 -- third_party/cpuinfo/
111
- git submodule update --init --depth 1 -- third_party/flatcc
112
- git submodule update --init --depth 1 -- third_party/googletest
113
- git submodule update --init --depth 1 -- third_party/hip-build-deps/
114
-
115
97
- name : " Setup Python ${{ matrix.python-version }}"
116
98
uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
117
99
with :
@@ -134,7 +116,6 @@ jobs:
134
116
cmake -GNinja \
135
117
-S. \
136
118
-Bbuild \
137
- -DSHORTFIN_IREE_SOURCE_DIR="${{ env.IREE_REPO_DIR }}" \
138
119
-DSHORTFIN_BUILD_PYTHON_BINDINGS=ON \
139
120
${{matrix.cmake-options}}
140
121
cmake --build build --target all
Original file line number Diff line number Diff line change 36
36
PYTHON_VER : 3.12.7
37
37
CACHE_ASAN_VER : 2
38
38
CACHE_DEPS_VER : 1
39
- IREE_SOURCE_DIR : ${{ github.workspace }}/iree
40
39
LIBSHORTFIN_DIR : ${{ github.workspace }}/shortfin/
41
40
42
41
jobs :
@@ -100,23 +99,6 @@ jobs:
100
99
sudo apt update
101
100
sudo apt install clang lld cmake ninja-build
102
101
103
- - name : Checkout IREE repo
104
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
105
- with :
106
- repository : iree-org/iree
107
- path : ${{ env.IREE_SOURCE_DIR }}
108
- submodules : false
109
- ref : iree-3.1.0rc20241220
110
-
111
- - name : Initalize IREE submodules
112
- working-directory : ${{ env.IREE_SOURCE_DIR }}
113
- run : |
114
- git submodule update --init --depth 1 -- third_party/benchmark
115
- git submodule update --init --depth 1 -- third_party/cpuinfo/
116
- git submodule update --init --depth 1 -- third_party/flatcc
117
- git submodule update --init --depth 1 -- third_party/googletest
118
- git submodule update --init --depth 1 -- third_party/hip-build-deps/
119
-
120
102
- name : Restore Python dependencies cache
121
103
id : cache-python-deps-restore
122
104
uses : actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
@@ -157,7 +139,6 @@ jobs:
157
139
working-directory : ${{ env.LIBSHORTFIN_DIR }}
158
140
run : |
159
141
eval "$(pyenv init -)"
160
- SHORTFIN_IREE_SOURCE_DIR="${{ env.IREE_SOURCE_DIR }}" \
161
142
SHORTFIN_ENABLE_ASAN=ON \
162
143
SHORTFIN_DEV_MODE=ON \
163
144
SHORTFIN_RUN_CTESTS=ON \
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ concurrency:
32
32
cancel-in-progress : true
33
33
34
34
env :
35
- IREE_REPO_DIR : ${{ github.workspace }}/iree
36
35
LIBSHORTFIN_DIR : ${{ github.workspace }}/shortfin/
37
36
38
37
jobs :
48
47
sudo apt update
49
48
sudo apt install clang lld cmake ninja-build
50
49
51
- - name : Checkout IREE repo
52
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
53
- with :
54
- repository : iree-org/iree
55
- path : ${{ env.IREE_REPO_DIR }}
56
- submodules : false
57
- ref : iree-3.1.0rc20241220
58
-
59
- - name : Initalize IREE submodules
60
- working-directory : ${{ env.IREE_REPO_DIR }}
61
- run : |
62
- git submodule update --init --depth 1 -- third_party/benchmark
63
- git submodule update --init --depth 1 -- third_party/cpuinfo/
64
- git submodule update --init --depth 1 -- third_party/flatcc
65
- git submodule update --init --depth 1 -- third_party/googletest
66
- git submodule update --init --depth 1 -- third_party/hip-build-deps/
67
-
68
50
- name : Setup Python
69
51
uses : deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
70
52
with :
87
69
-DCMAKE_CXX_COMPILER=clang++-18 \
88
70
-DCMAKE_LINKER_TYPE=LLD \
89
71
-DSHORTFIN_BUNDLE_DEPS=ON \
90
- -DSHORTFIN_IREE_SOURCE_DIR="${{ env.IREE_REPO_DIR }}" \
91
72
-DSHORTFIN_BUILD_PYTHON_BINDINGS=ON
92
73
cmake --build build --target all
93
74
pip install -v -e build/
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
44
44
add_compile_options ("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>" )
45
45
46
46
# Pins
47
+ # Keep in sync with requirements-iree-compiler.txt.
47
48
set (SHORTFIN_IREE_GIT_TAG "iree-3.1.0rc20241220" )
48
49
49
50
# build options
Original file line number Diff line number Diff line change 1
- # Keep in sync with "ref: iree-" in .github/workflows/* and GIT_TAG in CMakeLists.txt
1
+ # Keep in sync with SHORTFIN_IREE_GIT_TAG in CMakeLists.txt
2
2
-f https://iree.dev/pip-release-links.html
3
3
iree-base-compiler==3.1.0rc20241204
4
4
iree-base-runtime==3.1.0rc20241204
You can’t perform that action at this time.
0 commit comments