From 32ea7668712a50d8f8b67d5e4558039e5092a485 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 18 Nov 2010 20:21:54 -0700 Subject: Implement parallel parsing support This utilizes python's multiprocessing module. The default number of threads to be used is the same as the number of available processor cores, however, you can manually set this with the BB_NUMBER_PARSE_THREADS variable. (Bitbake rev: c7b3ec819549e51e438d293969e205883fee725f) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/pysh/pyshyacc.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/pysh/pyshyacc.py') diff --git a/bitbake/lib/bb/pysh/pyshyacc.py b/bitbake/lib/bb/pysh/pyshyacc.py index 8bb9927321..3d6f54a58c 100644 --- a/bitbake/lib/bb/pysh/pyshyacc.py +++ b/bitbake/lib/bb/pysh/pyshyacc.py @@ -648,6 +648,7 @@ def p_error(p): try: import pyshtables except ImportError: + import os outputdir = os.path.dirname(__file__) if not os.access(outputdir, os.W_OK): outputdir = '' -- cgit v1.2.3-54-g00ecf