Skip to content

Commit

Permalink
Abbreviate main_checkout to c.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Aug 4, 2023
1 parent 0ec34ab commit a8dece5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
with:
path: "main_checkout"
path: "c" # Windows can hit path length limits, so use a short path.
submodules: true
ref: ${{ github.event.inputs.commit }}

Expand All @@ -101,7 +101,7 @@ jobs:
- name: Install dependencies (Windows)
if: "matrix.build-family == 'windows'"
shell: powershell
run: ./main_checkout/build_tools/python_deploy/install_windows_deps.ps1
run: ./c/build_tools/python_deploy/install_windows_deps.ps1
- name: "Configure MSVC (Windows)"
if: "matrix.build-family == 'windows'"
uses: ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d # v1.12.0
Expand All @@ -113,14 +113,14 @@ jobs:
- name: Write version info (release)
shell: bash
run: |
cat << EOF > ./main_checkout/version_info.json
cat << EOF > ./c/version_info.json
{
"package-suffix": "${{ github.event.inputs.package_suffix }}",
"package-version": "${{ github.event.inputs.package_version }}",
"iree-revision": "$(cd ./main_checkout && git rev-parse HEAD)"
"iree-revision": "$(cd ./c && git rev-parse HEAD)"
}
EOF
cat ./main_checkout/version_info.json
cat ./c/version_info.json
##########################################################################
# Build the main distribution tarball.
Expand All @@ -141,7 +141,7 @@ jobs:
docker run --rm -w=/work \
-v $PWD:/work \
"${MANYLINUX_X86_64_IMAGE}" \
bash -c 'export PATH=/opt/python/cp39-cp39/bin:$PATH; python ./main_checkout/build_tools/github_actions/build_dist.py main-dist'
bash -c 'export PATH=/opt/python/cp39-cp39/bin:$PATH; python ./c/build_tools/github_actions/build_dist.py main-dist'
##########################################################################
# py-runtime-pkg
Expand All @@ -157,7 +157,7 @@ jobs:
packages: "iree-runtime iree-runtime-instrumented"
output_dir: "${{ github.workspace }}/bindist"
run: |
./main_checkout/build_tools/python_deploy/build_linux_packages.sh
./c/build_tools/python_deploy/build_linux_packages.sh
- name: Build runtime wheels (MacOS)
if: "matrix.build-package == 'py-runtime-pkg' && matrix.build-family == 'macos'"
Expand All @@ -168,7 +168,7 @@ jobs:
output_dir: "${{ github.workspace }}/bindist"
override_python_versions: "3.11"
run: |
./main_checkout/build_tools/python_deploy/build_macos_packages.sh
./c/build_tools/python_deploy/build_macos_packages.sh
- name: Build runtime wheels (Windows)
if: "matrix.build-package == 'py-runtime-pkg' && matrix.build-family == 'windows'"
Expand All @@ -179,7 +179,7 @@ jobs:
output_dir: "${{ github.workspace }}/bindist"
override_python_versions: "3.11"
run: |
./main_checkout/build_tools/python_deploy/build_windows_packages.sh
./c/build_tools/python_deploy/build_windows_packages.sh
##########################################################################
# py-compiler-pkg
Expand All @@ -194,7 +194,7 @@ jobs:
packages: "iree-compiler"
output_dir: "${{ github.workspace }}/bindist"
run: |
./main_checkout/build_tools/python_deploy/build_linux_packages.sh
./c/build_tools/python_deploy/build_linux_packages.sh
- name: Build compiler wheels (MacOS)
if: "matrix.build-package == 'py-compiler-pkg' && matrix.build-family == 'macos'"
Expand All @@ -205,7 +205,7 @@ jobs:
output_dir: "${{ github.workspace }}/bindist"
override_python_versions: "3.11"
run: |
./main_checkout/build_tools/python_deploy/build_macos_packages.sh
./c/build_tools/python_deploy/build_macos_packages.sh
- name: Build compiler wheels (Windows)
if: "matrix.build-package == 'py-compiler-pkg' && matrix.build-family == 'windows'"
Expand All @@ -216,7 +216,7 @@ jobs:
output_dir: "${{ github.workspace }}/bindist"
override_python_versions: "3.11"
run: |
./main_checkout/build_tools/python_deploy/build_windows_packages.sh
./c/build_tools/python_deploy/build_windows_packages.sh
##########################################################################
# TF Compiler Tools
Expand All @@ -231,7 +231,7 @@ jobs:
docker run --rm -w=/work \
-v $PWD:/work \
"${MANYLINUX_X86_64_IMAGE}" \
bash -c 'export PATH=/opt/python/cp39-cp39/bin:$PATH; python ./main_checkout/build_tools/github_actions/build_dist.py py-tf-compiler-tools-pkg'
bash -c 'export PATH=/opt/python/cp39-cp39/bin:$PATH; python ./c/build_tools/github_actions/build_dist.py py-tf-compiler-tools-pkg'
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
Expand Down

0 comments on commit a8dece5

Please sign in to comment.