diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-05 22:21:34 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-05 22:26:33 +0100 |
commit | 35d095c282aa27bb2c5b90b9ebafeaa4a3de907e (patch) | |
tree | e4e5b4732ffa2e58f2e93fc51d3bd7e101e5eedf /bitbake/lib/bb/cache.py | |
parent | 2d93cb0a0d70e6219379363cd80d375e30abebae (diff) | |
download | openembedded-core-35d095c282aa27bb2c5b90b9ebafeaa4a3de907e.tar.gz openembedded-core-35d095c282aa27bb2c5b90b9ebafeaa4a3de907e.tar.bz2 openembedded-core-35d095c282aa27bb2c5b90b9ebafeaa4a3de907e.zip |
bitbake/sstate: Implement a lookup function to speed up setscene processing
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 646fdecbeb..c6f3794d5e 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -453,6 +453,8 @@ class Cache: if not self.getVar('BROKEN', file_name, True) and not self.getVar('EXCLUDE_FROM_WORLD', file_name, True): cacheData.possible_world.append(file_name) + cacheData.hashfn[file_name] = self.getVar('BB_HASHFILENAME', file_name, True) + # Touch this to make sure its in the cache self.getVar('__BB_DONT_CACHE', file_name, True) self.getVar('__VARIANTS', file_name, True) @@ -545,6 +547,7 @@ class CacheData: self.preferred = {} self.tasks = {} self.basetaskhash = {} + self.hashfn = {} """ Indirect Cache variables |