summaryrefslogtreecommitdiff
path: root/giscanner/scannermain.py
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2015-06-19 20:56:47 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2015-06-24 20:52:39 +0200
commit6cb457e2e67c3e1c3f165d69a46f5c17944dcc25 (patch)
treeae9d521d8b3d64fe00c9751fb720ee53efa48cc7 /giscanner/scannermain.py
parent0aef39a20bd229170871edda862ade7d24ff7edd (diff)
downloadgobject-introspection-6cb457e2e67c3e1c3f165d69a46f5c17944dcc25.tar.gz
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
Diffstat (limited to 'giscanner/scannermain.py')
-rwxr-xr-xgiscanner/scannermain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
index 6be958ed..fdc432d6 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()