From a8dece5799e44d837a752391ac44685593e7deb7 Mon Sep 17 00:00:00 2001 From: Scott Todd Date: Fri, 4 Aug 2023 11:26:11 -0700 Subject: [PATCH] Abbreviate `main_checkout` to `c`. --- .github/workflows/build_package.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml index 97e8466321c0a..db3dcafe18666 100644 --- a/.github/workflows/build_package.yml +++ b/.github/workflows/build_package.yml @@ -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 }} @@ -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 @@ -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. @@ -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 @@ -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'" @@ -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'" @@ -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 @@ -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'" @@ -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'" @@ -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 @@ -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: