diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-06-01 17:34:54 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-06-01 17:34:54 +0200 |
commit | 434c23f6c025435dd2e10150ff3465187d1f8cc9 (patch) | |
tree | a001959e3914a5dba016b871536d95219396cb14 /rules/CC | |
parent | 99af2e8c7075cf3a62826abdfd32aab3484a45b5 (diff) | |
parent | 7135061273b03ec076c46b440ce4f6415e4fea70 (diff) | |
download | rules-cc-434c23f6c025435dd2e10150ff3465187d1f8cc9.tar.gz |
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules/CC')
-rw-r--r-- | rules/CC/foreign/cmake/EXPRESSIONS | 2 | ||||
-rw-r--r-- | rules/CC/foreign/cmake/RULES | 10 | ||||
-rw-r--r-- | rules/CC/foreign/make/EXPRESSIONS | 3 | ||||
-rw-r--r-- | rules/CC/foreign/make/RULES | 10 |
4 files changed, 25 insertions, 0 deletions
diff --git a/rules/CC/foreign/cmake/EXPRESSIONS b/rules/CC/foreign/cmake/EXPRESSIONS index 88dd8a1..425c7a2 100644 --- a/rules/CC/foreign/cmake/EXPRESSIONS +++ b/rules/CC/foreign/cmake/EXPRESSIONS @@ -246,6 +246,8 @@ } , "out_dirs": ["install"] , "env": {"type": "var", "name": "ENV"} + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 10.0} } } } diff --git a/rules/CC/foreign/cmake/RULES b/rules/CC/foreign/cmake/RULES index 4622357..e4d16e0 100644 --- a/rules/CC/foreign/cmake/RULES +++ b/rules/CC/foreign/cmake/RULES @@ -23,6 +23,7 @@ , "ENV" , "AR" , "BUILD_POSITION_INDEPENDENT" + , "TIMEOUT_SCALE" ] , "implicit": {"defaults": [["CC", "defaults"]]} , "field_doc": @@ -123,6 +124,10 @@ , "If null, the respective value from [\"CC\", \"defaults\"] will be taken." ] , "BUILD_POSITION_INDEPENDENT": ["Build position independent code."] + , "TIMEOUT_SCALE": + [ "The scaling of the timeout for the invocation of the foreign build." + , "Defaults to 10." + ] } , "imports": { "stage_field": ["", "stage_singleton_field"] @@ -255,6 +260,7 @@ , "ENV" , "AR" , "BUILD_POSITION_INDEPENDENT" + , "TIMEOUT_SCALE" ] , "implicit": { "defaults": [["CC", "defaults"]] @@ -400,6 +406,10 @@ , "If null, the respective value from [\"CC\", \"defaults\"] will be taken." ] , "BUILD_POSITION_INDEPENDENT": ["Build position independent code."] + , "TIMEOUT_SCALE": + [ "The scaling of the timeout for the invocation of the foreign build." + , "Defaults to 10." + ] } , "imports": { "stage_field": ["", "stage_singleton_field"] diff --git a/rules/CC/foreign/make/EXPRESSIONS b/rules/CC/foreign/make/EXPRESSIONS index 0f20da5..7d733a6 100644 --- a/rules/CC/foreign/make/EXPRESSIONS +++ b/rules/CC/foreign/make/EXPRESSIONS @@ -30,6 +30,7 @@ , "AR" , "PREFIX" , "BUILD_POSITION_INDEPENDENT" + , "TIMEOUT_SCALE" ] , "imports": { "artifacts": ["", "field_artifacts"] @@ -354,6 +355,8 @@ } , "out_dirs": ["install"] , "env": {"type": "var", "name": "ENV"} + , "timeout scaling": + {"type": "var", "name": "TIMEOUT_SCALE", "default": 10.0} } } } diff --git a/rules/CC/foreign/make/RULES b/rules/CC/foreign/make/RULES index 8278e3f..992ec2a 100644 --- a/rules/CC/foreign/make/RULES +++ b/rules/CC/foreign/make/RULES @@ -35,6 +35,7 @@ , "AR" , "PREFIX" , "BUILD_POSITION_INDEPENDENT" + , "TIMEOUT_SCALE" ] , "implicit": {"defaults": [["CC", "defaults"]]} , "field_doc": @@ -164,6 +165,10 @@ , "is ignored if the field \"prefix\" is set." ] , "BUILD_POSITION_INDEPENDENT": ["Build position independent code."] + , "TIMEOUT_SCALE": + [ "The scaling of the timeout for the invocation of the foreign build." + , "Defaults to 10." + ] } , "imports": { "stage_field": ["", "stage_singleton_field"] @@ -317,6 +322,7 @@ , "AR" , "PREFIX" , "BUILD_POSITION_INDEPENDENT" + , "TIMEOUT_SCALE" ] , "implicit": { "defaults": [["CC", "defaults"]] @@ -490,6 +496,10 @@ , "is ignored if the field \"prefix\" is set." ] , "BUILD_POSITION_INDEPENDENT": ["Build position independent code."] + , "TIMEOUT_SCALE": + [ "The scaling of the timeout for the invocation of the foreign build." + , "Defaults to 10." + ] } , "imports": { "stage_field": ["", "stage_singleton_field"] |