From 26269f094a7c8a2e6428230926d81e804f1eb823 Mon Sep 17 00:00:00 2001 From: Gregory Comer Date: Fri, 12 Dec 2025 15:21:10 -0800 Subject: [PATCH 1/2] Set pip temp dir in wheel build to work around Windows path length --- .ci/scripts/wheel/vc_env_helper.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/scripts/wheel/vc_env_helper.bat b/.ci/scripts/wheel/vc_env_helper.bat index d7fa2c1a596..94bba35d743 100644 --- a/.ci/scripts/wheel/vc_env_helper.bat +++ b/.ci/scripts/wheel/vc_env_helper.bat @@ -58,4 +58,8 @@ if exist setup.py ( cd executorch ) +REM Override pip's default tempdir to reduce path length. +set TEMP=C:\temp +set TMPDIR=C:\temp + %args% || exit /b 1 From 3f812fb4fb3423d38131afa7e0dee3f9df3e21f2 Mon Sep 17 00:00:00 2001 From: Gregory Comer Date: Fri, 12 Dec 2025 15:59:00 -0800 Subject: [PATCH 2/2] Build windows wheels when ciflow/binaries is set --- .github/workflows/build-wheels-windows.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-wheels-windows.yml b/.github/workflows/build-wheels-windows.yml index 9bf9b71f693..742de0c090d 100644 --- a/.github/workflows/build-wheels-windows.yml +++ b/.github/workflows/build-wheels-windows.yml @@ -2,6 +2,8 @@ name: Build Windows Wheels on: pull_request: + tags: + - ciflow/binaries/* push: branches: - nightly @@ -11,6 +13,7 @@ on: # NOTE: Binary build pipelines should only get triggered on release candidate builds # Release candidate tags look like: v1.11.0-rc1 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ + - ciflow/binaries/* workflow_dispatch: permissions: