-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
PPSSPP git version doesn't update under rare circumstances #5575
Comments
It actually happens at times using Git Bash too, even before the move to VS2013. When that happens I just run the |
I don't think I've ever seen it not update. Maybe if nothing in Core is changed in 2013? You can try bisecting or etc. - it should update every time. -[Unknown] |
It happened again after updating source from v0.9.7.2-220-ge11e4cf to v0.9.7.2-221-g505b0c3. Most likely because it's a very small change, Core project didn't get updated. It's reference didn't appear at all in the building log. |
Still an issue? |
I followed @solarmystic guideline and worked around it since March. But, I'll retest, though this will require plenty of time and small commits that don't interact with Core project. Anyway testing is on. I disabled the workaround. |
Yes, @hrydgard, this issue can still be reproduced with msysgit and Visual Studio 2013 Update 3. Update from any revision to v0.9.9.1-92-g d4ec7d8 succeeds with no issue because MIPSAnalyst.cpp is part of Core project. |
I have just encountered this issue while I was updating to 4c06232, my PPSSPP build was keeping the previous version number I used (from ff68e32). I have added the execution of the |
Probably can just add the build rule to GPU, Common, and Windows, or etc. I don't want to see it like Dolphin where the build is always dirty, that's annoying. -[Unknown] |
This won't catch native or armips, but it will catch more before and still won't make the build wrongly dirty all the time. See #5575.
Personally, I don't think it's worth making this update any more than bafa7d0 makes it. The following are the remaining scenarios:
Assets aren't really code changes, especially since they are not in the executable on Windows. Triggering on the submodules isn't really reasonable without triggering a script even when not dirty, which I think marks the build as always dirty in Visual Studio (as I mentioned above, I find this very annoying, and I sometimes want to start without recompiling.) Anyway, the goal of the version update, at least from my perspective, isn't so much private dev builds as buildbot builds. This problem doesn't affect the buildbot, because for better or for worse (probably for better), it does a clean build every time. That means the builds on the download page always have the latest version, for all platforms. -[Unknown] |
It happened again after this update: 3706414...2e675c7. |
In that case, building UI will make Core dirty, and if you build again it will update. Again, I think that it's not worth making the build constantly dirty. -[Unknown] |
This issue still exists, I believe, and is a small annoyance sometimes. |
It feels like MSVC has made it so the build is constantly dirty now anyway (because of file watches detecting access to git-version.cpp), I don't think I've really seen the build number not get updated unless changing something like libzstd only. Maybe there's some other way we can do this, maybe moving it to a prebuild step of some project everything is dependent on... -[Unknown] |
This began happening after the project files were permanently upgraded to VS2013 (2c204e8). Last time it happened when upgraded the source from v0.9.7.2-92-gafdaaf3 to v0.9.7.2-95-g99283b0 using msysgit, built and surprisingly version didn't change in the executable, I had to rebuild to sort it out. I don't know what's going on. It didn't happen again since then.
The text was updated successfully, but these errors were encountered: