aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xbin/bitbake2
-rw-r--r--lib/bb/cache.py2
-rw-r--r--lib/bb/shell.py2
4 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a93e70498..b0d1d0136 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@ Changes in BitBake 1.3.x:
- git fetcher cleanup and efficency improvements
- Change the format of the cache
- Update usermanual to document the Fetchers
+ - Major changes to caching with a new strategy
+ giving a major performance increase when reparsing
+ with few data changes
Changes in BitBake 1.3.3:
- Create a new Fetcher module to ease the
diff --git a/bin/bitbake b/bin/bitbake
index af5704b92..dffe0afa1 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -249,7 +249,7 @@ class BBCooker:
If build_depends is empty, we're dealing with a runtime depends
"""
- the_data, fromCache = self.bb_cache.loadDataFull(fn, self)
+ the_data = self.bb_cache.loadDataFull(fn, self)
if not buildAllDeps:
buildAllDeps = self.status.build_all[fn]
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 5899356c0..eb4ae856c 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -117,7 +117,7 @@ class Cache:
To do this, we need to parse the file.
"""
bb_data, skipped = self.load_bbfile(fn, cooker)
- return bb_data, False
+ return bb_data
def loadData(self, fn, cooker):
"""
diff --git a/lib/bb/shell.py b/lib/bb/shell.py
index 841d69860..f16f0f477 100644
--- a/lib/bb/shell.py
+++ b/lib/bb/shell.py
@@ -433,7 +433,7 @@ SRC_URI = ""
name, var = params
bbfile = self._findProvider( name )
if bbfile is not None:
- the_data, cached = cooker.bb_cache.loadDataFull(bbfile, cooker)
+ the_data = cooker.bb_cache.loadDataFull(bbfile, cooker)
value = the_data.getVar( var, 1 )
print value
else: