Skip to content

Commit e9832d2

Browse files
committed
install distutils
Signed-off-by: Tung D. Le <[email protected]>
1 parent c853ca1 commit e9832d2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@ jobs:
1818
- name: install tools that are needed for compilation
1919
run: |
2020
brew install automake libtool ninja pybind11
21-
- name: install python requirements
22-
run: |
23-
cd ~/work/onnx-mlir/onnx-mlir
24-
python3 -m pip install --upgrade wheel
25-
python3 -m pip install -r requirements.txt
26-
python3 -m pip install distutils
2721
- name: install protobuf
2822
run: |
2923
cd ~/work
24+
python3 -m pip install distutils
3025
sudo sh ~/work/onnx-mlir/onnx-mlir/utils/install-protobuf.sh
3126
- name: cache MLIR directory
3227
id: cache-mlir
@@ -40,6 +35,11 @@ jobs:
4035
cd ~/work/onnx-mlir
4136
sh ~/work/onnx-mlir/onnx-mlir/utils/clone-mlir.sh
4237
sh ~/work/onnx-mlir/onnx-mlir/utils/build-mlir.sh
38+
- name: install python requirements
39+
run: |
40+
cd ~/work/onnx-mlir/onnx-mlir
41+
python3 -m pip install --upgrade wheel
42+
python3 -m pip install -r requirements.txt
4343
- name: install third_party/onnx
4444
run: |
4545
cd ~/work/onnx-mlir/onnx-mlir/third_party/onnx

0 commit comments

Comments
 (0)