Skip to contentSkip to conversation

providers: We don't depend on previous build results

PATCH New Richard Purdie 1 participant 1 message Apr 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 providers: We don't depend on previous build results

Back in history the code did depend on previous build results. This was bad for determinism and we no longer do that. Update comments to match the current behaviour.

bitbake/lib/bb/providers.py +3 -3
index ffa532c..8195d62 100644
@@ -226,7 +226,7 @@ def findBestProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
 def _filterProviders(providers, item, cfgData, dataCache):
     """
     Take a list of providers and filter/reorder according to the
-    environment variables and previous build results
+    environment variables
     """
     eligible = []
     preferred_versions = {}
@@ -283,7 +283,7 @@ def _filterProviders(providers, item, cfgData, dataCache):
 def filterProviders(providers, item, cfgData, dataCache):
     """
     Take a list of providers and filter/reorder according to the
-    environment variables and previous build results
+    environment variables
     Takes a "normal" target item
     """
 
@@ -311,7 +311,7 @@ def filterProviders(providers, item, cfgData, dataCache):
 def filterProvidersRunTime(providers, item, cfgData, dataCache):
     """
     Take a list of providers and filter/reorder according to the
-    environment variables and previous build results
+    environment variables
     Takes a "runtime" target item
     """