mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 10:54:37 +00:00

Buildman uses all available CPUs by default, so running more than one or two concurrent processes is not normally useful. However in some CI cases we want to be able to run several jobs at once to save time. For example, in a lab situation we may want to run a test on 20 boards at a time, since only the build step actually takes much CPU. Add an option which allows such a limit. When buildman starts up, it waits until the number of running processes goes below the limit, then claims a spot in the list. The list is maintained with a temporary file. Note that the temp file is user-specific, since it is hard to create a locked temporary file which can be accessed by any user. In most cases, only one user is running jobs on a machine, so this should not matter. Signed-off-by: Simon Glass <sjg@chromium.org>
33 lines
844 B
TOML
33 lines
844 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "buildman"
|
|
version = "0.0.6"
|
|
authors = [
|
|
{ name="Simon Glass", email="sjg@chromium.org" },
|
|
]
|
|
dependencies = [
|
|
"filelock >= 3.0.12",
|
|
"u_boot_pylib >= 0.0.6",
|
|
"patch-manager >= 0.0.6"
|
|
]
|
|
description = "Buildman build tool for U-Boot"
|
|
readme = "README.rst"
|
|
requires-python = ">=3.7"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://docs.u-boot.org/en/latest/build/buildman.html"
|
|
"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
|
|
|
|
[project.scripts]
|
|
buildman = "buildman.main:run_buildman"
|
|
|
|
[tool.setuptools.package-data]
|
|
buildman = ["*.rst"]
|