Skip to content

Commit

Permalink
clean up bindist before building
Browse files Browse the repository at this point in the history
  • Loading branch information
powderluv authored Aug 15, 2023
1 parent d6d35e8 commit 953621e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
packages: "iree-runtime"
output_dir: "${{ github.workspace }}/bindist"
run: |
[ -e ./bindist/* ] && rm ./bindist/*
./c/build_tools/python_deploy/build_linux_packages.sh
- name: Build runtime wheels (Linux-AArch64)
Expand All @@ -191,6 +192,7 @@ jobs:
packages: "iree-runtime"
output_dir: "${{ github.workspace }}/bindist"
run: |
[ -e ./bindist/* ] && rm ./bindist/*
./c/build_tools/python_deploy/build_linux_packages.sh
- name: Build runtime wheels (MacOS)
Expand All @@ -213,7 +215,11 @@ jobs:
packages: "iree-runtime"
output_dir: "${{ github.workspace }}/bindist"
override_python_versions: "3.11"
run: ./c/build_tools/python_deploy/build_windows_packages.ps1
run: |
if (Test-Path -Path "${{ github.workspace }}/bindist") {
Remove-Item -Path "${{ github.workspace }}/bindist" -Recurse -Force
}
./c/build_tools/python_deploy/build_windows_packages.ps1
##########################################################################
# py-compiler-pkg
Expand Down Expand Up @@ -260,7 +266,11 @@ jobs:
packages: "iree-compiler"
output_dir: "${{ github.workspace }}/bindist"
override_python_versions: "3.11"
run: ./c/build_tools/python_deploy/build_windows_packages.ps1
run: |
if (Test-Path -Path "${{ github.workspace }}/bindist") {
Remove-Item -Path "${{ github.workspace }}/bindist" -Recurse -Force
}
./c/build_tools/python_deploy/build_windows_packages.ps1
##########################################################################
# TF Compiler Tools
Expand Down

0 comments on commit 953621e

Please sign in to comment.