Skip to content

Commit 22ac878

Browse files
committed
Move installing python requirements after third_party/onnx so that
onnx doesn't get installed then reinstalled Signed-off-by: Gong Su <[email protected]>
1 parent b703957 commit 22ac878

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/macos-amd64-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ jobs:
5050
path: ~/work/onnx-mlir/llvm-project
5151
key: ${{ steps.restore-mlir-cache.outputs.cache-primary-key }}
5252

53+
- name: install third_party/onnx
54+
run: |
55+
cd ~/work/onnx-mlir/onnx-mlir/third_party/onnx
56+
sh ~/work/onnx-mlir/onnx-mlir/utils/install-onnx.sh
57+
5358
- name: install python requirements
5459
run: |
5560
cd ~/work/onnx-mlir/onnx-mlir
5661
python3 -m pip install --upgrade wheel
5762
python3 -m pip install -r requirements.txt
5863
59-
- name: install third_party/onnx
60-
run: |
61-
cd ~/work/onnx-mlir/onnx-mlir/third_party/onnx
62-
sh ~/work/onnx-mlir/onnx-mlir/utils/install-onnx.sh
63-
6464
- name: build onnx-mlir
6565
run: |
6666
cd ~/work/onnx-mlir

0 commit comments

Comments
 (0)