-
Notifications
You must be signed in to change notification settings - Fork 17
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
changing version_config.cmake doesn't change git tags once already compiled #51
Comments
I thought the VM would always have |
at present, we set it to a specific tag for SIRF. We could use master probably (people might expect that For the VM, I have a separate SyneRBI/SyneRBI_VM#31 with a suggested solution. Let's continue the VM discussion there. For the SuperBuild itself, I think it's a surprising side-effect of our set-up, but I don't see an easy solution. |
related to #4 |
well we could include re-running cmake as part of the update script |
no, I don't think this is related to #4 after all. I've checked the dependencies generated by CMake and version-config.cmake et al are listed. |
We could we use the rebuild_cache target
|
@paskino can you document the solution we use on the VM, I guess in https://github.com/CCPPETMR/SIRF/wiki/Rebuilding-after-upgrades |
@paskino, please add instructions on how to update. (i.e. do what you do on the VM) |
documented on the wiki. Try to resolve this later. |
There isn't much we can do about this, and we have some doc already on updating, so closing. |
version_config.cmake sets
SIRF_TAG
as cached variables. However, this means that once you build, they never get changed (unless you force it). In particular, doing agit pull
might changeversion_config.cmake
but that still won't change the cahced variables, so you'll be building the same version.The only way around it is to run cmake again, e.g.
This is in particular a problem for the VM, as updating the VM now no longer works as expected.
@casperdcl, any ideas?
The text was updated successfully, but these errors were encountered: