We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d04329 commit 1f28e37Copy full SHA for 1f28e37
.github/workflows/wheels-pytorch.yml
@@ -83,6 +83,12 @@ jobs:
83
New-Item -ItemType Directory -Force -Path ${{ env.NEW_WORKSPACE }}\tmp
84
85
cd pytorch
86
+
87
+ # We need ninja >= 1.12.0 to support long names on Windows. At the moment there is no required
88
+ # version in pypi, so instead of installing ninja with pip we use a preinstalled 1.12.1 on the
89
+ # runner.
90
+ Set-Content -Path pyproject.toml -Value (get-content -Path pyproject.toml | Select-String -Pattern '"ninja"' -NotMatch)
91
92
# Required to build on Windows
93
$env:CMAKE_SHARED_LINKER_FLAGS = "/FORCE:MULTIPLE"
94
$env:CMAKE_MODULE_LINKER_FLAGS = "/FORCE:MULTIPLE"
0 commit comments