GNOME Bugzilla – Bug 746231
Fails when GI_SCANNER_DISABLE_CACHE is set
Last modified: 2015-04-19 20:11:52 UTC
I have to set GI_SCANNER_DISABLE_CACHE because the cache store tends to fail with parallel builds: https://bugzilla.gnome.org/show_bug.cgi?id=620187 However, g-ir-scanner assumes that the cache store is always working. With this patch I have been able to run gobject-introspection `make check` many times without seeing the same failure. This also has the effect of removing a round-trip to the cache store, so should increase performance a bit.
Created attachment 299439 [details] [review] scanner: Don't fail when GI_SCANNER_DISABLE_CACHE is set It was assumed that cache store was always working, this also removes a round trip to the cache store. So performance should also get a small boost.
ping? This is very annoying, especially when working on gobject-introspection.
Review of attachment 299439 [details] [review]: LGTM
The following fix has been pushed: cc6ef77 scanner: Don't fail when GI_SCANNER_DISABLE_CACHE is set
Created attachment 301944 [details] [review] scanner: Don't fail when GI_SCANNER_DISABLE_CACHE is set It was assumed that cache store was always working, this also removes a round trip to the cache store. So performance should also get a small boost. https://bugzilla.gnome.org/show_bug.cgi?id=746231 Signed-off-by: Garrett Regier <garrett.regier@riftio.com>