Skip to contentSkip to conversation

bitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS

PATCH New Richard Purdie 1 participant 1 message Dec 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS

This is mainly a performance optimisation. Since we added these flags to functions, the system spends a lot of time trying to expand these flags. The values don't really influence checksums and don't need to be included since if the function content changes, that is will be detected regardless and is the key detail we care about.

Therefore exclude these from the checksums and gain a signficiant chunk of parsing speed back.

meta/conf/bitbake.conf +1 -1
index cec4110..371af31 100644
@@ -801,7 +801,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
     lockfiles type vardepsexclude vardeps vardepvalue vardepvalueexclude \
     file-checksums python func task export unexport noexec nostamp dirs cleandirs \
     sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \
-    recrdeptask nodeprrecs stamp-base stamp-extra-info sstate-outputdirs"
+    recrdeptask nodeprrecs stamp-base stamp-extra-info sstate-outputdirs filename lineno"
 
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""