File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,17 @@ set -euxo pipefail
99
1010# This script is run before building ExecuTorch binaries
1111
12+ # Enable long paths (relevant for Windows, but can run on any system).
13+ git config --system core.longpaths true
14+
15+ # Clone nested submodules for tokenizers - this is a workaround for recursive
16+ # submodule clone failing due to path length limitations on Windows. Eventually,
17+ # we should update the core job in test-infra to enable long paths before
18+ # checkout to avoid needing to do this.
19+ pushd extension/llm/tokenizers
20+ git submodule update --init
21+ popd
22+
1223# Manually install build requirements because `python setup.py bdist_wheel` does
1324# not install them. TODO(dbort): Switch to using `python -m build --wheel`,
1425# which does install them. Though we'd need to disable build isolation to be
Original file line number Diff line number Diff line change @@ -55,11 +55,10 @@ jobs:
5555 test-infra-repository : pytorch/test-infra
5656 test-infra-ref : main
5757 build-matrix : ${{ needs.generate-matrix.outputs.matrix }}
58- submodules : recursive
58+ submodules : true
5959 env-script : .ci/scripts/wheel/envvar_windows.ps1
6060 pre-script : ${{ matrix.pre-script }}
6161 post-script : ${{ matrix.post-script }}
6262 package-name : ${{ matrix.package-name }}
6363 smoke-test-script : ${{ matrix.smoke-test-script }}
6464 trigger-event : ${{ github.event_name }}
65-
You can’t perform that action at this time.
0 commit comments