Skip to content

Commit 05f4d85

Browse files
authored
[CI] : Pin back ninja to older version on windows. (#4378)
Windows build is failing https://github.com/llvm/torch-mlir/actions/runs/19180245913/job/54834980057#step:8:6030 ``` LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\TorchMLIRAggregateCAPI.rsp /out:tools\torch-mlir\python_packages\torch_mlir\torch_mlir\_mlir_libs\TorchMLIRAggregateCAPI.dll /implib:tools\torch-mlir\python_packages\torch_mlir\torch_mlir\_mlir_libs\TorchMLIRAggregateCAPI.lib /pdb:tools\torch-mlir\python_packages\torch_mlir\torch_mlir\_mlir_libs\TorchMLIRAggregateCAPI.pdb /dll /version:0.0 /machine:x64 /INCREMENTAL:NO /DEF:tools\torch-mlir\python\CMakeFiles\TorchMLIRAggregateCAPI.dir\.\exports.def /MANIFEST:EMBED,ID=2" failed (exit code 1181) with the following output: LINK : fatal error LNK1181: cannot open input file 'LIRAggregateCAPI.dir\D_\a\torch-mlir\torch-mlir\externals\llvm-project\llvm\resources\windows_version_resource.rc.res' ``` due to the ninja issue mentioned in ninja-build/ninja#2616 Pinning back to older ninja version on windows.
1 parent 750bdb5 commit 05f4d85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
wheel
33
setuptools
44
cmake
5-
ninja
5+
ninja<1.13.0; sys_platform == 'win32'
6+
ninja; sys_platform != 'win32'
67
packaging
78

89
# Workaround for what should be a torch dep

0 commit comments

Comments
 (0)