-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bsb build order is seemingly non-deterministic (wrong-deterministic?) #1264
Comments
@glennsl we can do it this way, suppose we know
(I need check if ninja respect the order though) If it does, it should work |
I've looked around a bit, and I've not found anything to indicate that target order is respected, but I have found evidence to the contrary: ninja-build/ninja#1055 I've also found this exact issue discussed in several issues dating as far back as 2011, with no resolution in sight:
The only possible solution I've found is to set up explicit order-only dependencies in the |
@glennsl actually, we can do this from bsb side without bother ninja. so you get a file changed, you just recompile that file (assume that we compute the compiler flags from bsb) and run ninja later(no matter the former succeeds or not). |
Ok, so when |
Yes, it requires some refactoring though |
@glennsl This will help reduce the latency even for very large projects, I think it is the right direction |
When doing a refactor that spans multiple files, bsb doesn't "stick" to reporting errors in the file you are currently working on. This leads to having to jump back and forth between different files to make one error fix attempt per file at a time, which then causes you to lose track of what you were doing in one file when bsb temporarily moves on to some other file.
Bsb should perhaps instead prioritize the last modified file, if that's possible.
The text was updated successfully, but these errors were encountered: