diff options
-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"] |