-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
ninja version: 1.13.2
cmake version: 4.2.1
I'm not sure if it's related but I always get a "premature end of file; recovering" error from ninja when it runs. Annoyingly, ninja doesn't report the name of the offending file. CMake v4 bug?
In any case, if ninja runs the build to completion rerunning it recompiles everything it just built. I don't know how to debug this or what you need from me to reproduce it yourself.
Ninja 1.12.1 still gives the "premature end of file" warning, but doesn't exhibit the "always rebuild everything" behavior. Also, interestingly, it reports a different number for the total job size than 1.13.2 does. 1.13.2 thought there were about 1900 items left to build, which number doesn't change on a repeat build, while 1.12.1 reports about 3600 (and does properly decrease on a partial build).