Lines Matching +full:foo +full:- +full:queue

2 # SPDX-License-Identifier: GPL-2.0-only
86 var = var[:-len(suffix)]
142 if oe.utils.all_distro_features(d, "foo bar"):
143 bb.fatal("foo and bar are mutually exclusive DISTRO_FEATURES")
147 require ${@ oe.utils.all_distro_features(d, "foo bar", "foo-and-bar.inc")
162 if not oe.utils.any_distro_features(d, "foo bar"):
163 bb.fatal("foo, bar or both must be set in DISTRO_FEATURES")
167 require ${@ oe.utils.any_distro_features(d, "foo bar", "foo-or-bar.inc")
178 e.g. if PARALLEL_MAKE = "-j 10", this will return 10 as an integer.
184 # look for '-j' and throw other options (e.g. '-l') away
187 if opt == '-j':
189 elif opt.startswith('-j'):
208 e.g. if PARALLEL_MAKE = "-j 10", parallel_make_argument(d, "-n %d") will return
209 "-n 10"
221 PN-dbg PN-doc PN-locale-eb-gb removed.
224 …pkgfilter = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src…
225 localepkg = pn + "-locale-"
337 msg = msg + e.output.decode("utf-8", errors="ignore")
348 # Map file -> pkg provider
352 path_to_pkgfile = os.path.join(pkgdata_dir, 'runtime-reverse', pkg)
418 # datastore PATH does not contain session PATH as set by environment-setup-...
419 # this breaks the install-buildtools use-case
421 output = subprocess.check_output("%s --version" % compiler, \
422 shell=True, env=env, stderr=subprocess.STDOUT).decode("utf-8")
424 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8")))
428 bb.fatal("Can't get compiler version from %s --version output" % compiler)
447 output = subprocess.check_output("%s --version" % compiler, \
448 shell=True, env=env, stderr=subprocess.STDOUT).decode("utf-8")
450 bb.fatal("Error running %s --version: %s" % (compiler, e.output.decode("utf-8")))
454 bb.fatal("Can't get compiler version from %s --version output" % compiler)
457 return "-%s" % version if version in ("4.8", "4.9") else ""
463 overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + variant
465 localdata.setVar("MLPREFIX", variant + "-")
471 overrides = ":".join([x for x in overrides if not x.startswith("virtclass-multilib-")])
481 from queue import Queue
485 """Thread executing tasks from a given tasks queue"""
495 from queue import Empty
517 """Pool of threads consuming tasks from a queue"""
518 …ef __init__(self, num_workers, num_tasks, worker_init=None, worker_end=None, name="ThreadedPool-"):
519 self.tasks = Queue(num_tasks)
531 """Add a task to the queue"""
535 """Wait for completion of all the tasks in the queue"""