Hi, Ccache is certainly a good idea.
The other one is to actually keep several source and build folders in parallel (e.g. release-3_4, release-3_10, master). I would recommend getting familiar with "git worktree" which is an amazing utility to use several sources in parallel, based on the same git configuration.
I quite often develop small fixes on a master tree with mixed patches on top and then compile this mixed branch and do:
git commit git worktree add ../my_new_functionality cd ../my_new_functionality git rebase -i qgis/master # only keep the commits to be pushed git push -u my_own_repo my_new_functionality For small fixes here and there this is super fast to work with Hope this helps Matthias On 12/16/19 8:57 AM, Samweli wrote:
Hi, I just joined Kartoza and I am going to be doing a bunch of work on the QGIS core. Can someone share a good practice to avoid lengthy recompilation times when I switch branches. I'm using ccache in compiling. -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer