summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 10:33:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 15:48:23 +0100
commite55dc39c3702538ab3d81ff55c37ab7e8c1e78a2 (patch)
treef96f5b108795c3a223525370656b313c3ff3a776 /bitbake/lib/bb/cooker.py
parentc7f76a1bc9868ea4709688967d9794acd4d784ec (diff)
downloadpoky-e55dc39c3702538ab3d81ff55c37ab7e8c1e78a2.tar.gz
Drop psyco support
At best it gave 1-2% improvement now, its 32 bit x86 only and isn't supported after python 2.6. PyPy is probably a better option now. (Bitbake rev: 3c3bd0c2fa80d747f25401c17b785c7c2f3787ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index dc196ae801..5bdf90ffa7 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -904,19 +904,6 @@ class BBCooker:
904 if self.state != state.parsing: 904 if self.state != state.parsing:
905 self.parseConfiguration () 905 self.parseConfiguration ()
906 906
907 # Import Psyco if available and not disabled
908 import platform
909 if platform.machine() in ['i386', 'i486', 'i586', 'i686']:
910 if not self.configuration.disable_psyco:
911 try:
912 import psyco
913 except ImportError:
914 collectlog.info("Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.")
915 else:
916 psyco.bind( CookerParser.parse_next )
917 else:
918 collectlog.info("You have disabled Psyco. This decreases performance.")
919
920 self.status = bb.cache.CacheData(self.caches_array) 907 self.status = bb.cache.CacheData(self.caches_array)
921 908
922 ignore = bb.data.getVar("ASSUME_PROVIDED", self.configuration.data, 1) or "" 909 ignore = bb.data.getVar("ASSUME_PROVIDED", self.configuration.data, 1) or ""