summaryrefslogtreecommitdiff
path: root/mdbp/build_schema.json
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-05-09 22:30:29 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-05-09 22:30:29 +0200
commit29859ef384a596e32d7c6c062eb5e9011ba14dde (patch)
treec109f81f4e162b751cd8cdb61c66aa34cb4f5dae /mdbp/build_schema.json
parent49f5448f0f48bbfdd823f076312cd234d707f3f2 (diff)
downloadmdbp-29859ef384a596e32d7c6c062eb5e9011ba14dde.tar.gz
support a new field "parallel"
It is basically the parallel field from DEB_BUILD_OPTION which a special value "auto" that is converted to the CPU count.
Diffstat (limited to 'mdbp/build_schema.json')
-rw-r--r--mdbp/build_schema.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/mdbp/build_schema.json b/mdbp/build_schema.json
index 90e4a36..34185ce 100644
--- a/mdbp/build_schema.json
+++ b/mdbp/build_schema.json
@@ -79,6 +79,15 @@
"default": [],
"description": "values of DEB_BUILD_OPTIONS"
},
+ "parallel": {
+ "oneOf": [ {
+ "type": "integer",
+ "minimum": 1
+ }, {
+ "const": "auto"
+ } ],
+ "description": "add parallel=value to DEB_BUILD_OPTIONS. The special value auto is replaced with the CPU count."
+ },
"environment": {
"type": "object",
"propertyNames": { "pattern": "^[^=-][^=]*$" },