[gobject-introspection] scanner: disable cache in reparse validate mode



commit 6cb457e2e67c3e1c3f165d69a46f5c17944dcc25
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Fri Jun 19 20:56:47 2015 +0200

    scanner: disable cache in reparse validate mode
    
    Only types are stored in the cache store, so disable
    the cache for reparse validate mode since it needs
    access to the whole serialized tree.
    
    This fixes a seemingly hard to debug build failure
    running 'make distcheck' on source trees configured
    with --enable-doctool.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751238

 giscanner/scannermain.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index 6be958e..fdc432d 100755
--- a/giscanner/scannermain.py
+++ b/giscanner/scannermain.py
@@ -375,7 +375,7 @@ def create_transformer(namespace, options):
                               identifier_filter_cmd=options.identifier_filter_cmd,
                               symbol_filter_cmd=options.symbol_filter_cmd)
     transformer.set_include_paths(options.include_paths)
-    if options.passthrough_gir:
+    if options.passthrough_gir or options.reparse_validate_gir:
         transformer.disable_cache()
         transformer.set_passthrough_mode()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]