From 2da0626ea673a59968a7ab5b8f23f406f0896fbd Mon Sep 17 00:00:00 2001 From: Huy Do Date: Wed, 27 Nov 2024 16:55:32 -0800 Subject: [PATCH] Fix nightly build after #6538 --- .github/workflows/build-wheels-linux.yml | 5 +---- .github/workflows/build-wheels-m1.yml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-wheels-linux.yml b/.github/workflows/build-wheels-linux.yml index 75f2c13fa8..bc0f064eb8 100644 --- a/.github/workflows/build-wheels-linux.yml +++ b/.github/workflows/build-wheels-linux.yml @@ -51,10 +51,7 @@ jobs: test-infra-repository: pytorch/test-infra test-infra-ref: main build-matrix: ${{ needs.generate-matrix.outputs.matrix }} - # ExecuTorch only needs the first layer of submodules; override the - # "recursive" default to do less work, and to give the buck daemon fewer - # files to look at. - submodules: true + submodules: recursive env-var-script: build/packaging/env_var_script_linux.sh pre-script: ${{ matrix.pre-script }} post-script: ${{ matrix.post-script }} diff --git a/.github/workflows/build-wheels-m1.yml b/.github/workflows/build-wheels-m1.yml index a160f5ab9b..08413d6558 100644 --- a/.github/workflows/build-wheels-m1.yml +++ b/.github/workflows/build-wheels-m1.yml @@ -51,10 +51,7 @@ jobs: test-infra-repository: pytorch/test-infra test-infra-ref: main build-matrix: ${{ needs.generate-matrix.outputs.matrix }} - # ExecuTorch only needs the first layer of submodules; override the - # "recursive" default to do less work, and to give the buck daemon fewer - # files to look at. - submodules: true + submodules: recursive delocate-wheel: false env-var-script: build/packaging/env_var_script_m1.sh pre-script: ${{ matrix.pre-script }}