From de4f1edc350636e4e2cde14ef1adda8716d394f6 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 26 Aug 2022 12:05:18 +0200 Subject: Rules: Extend configure rule by 'compiler_family' --- CC/RULES | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'CC/RULES') diff --git a/CC/RULES b/CC/RULES index c2c7202..099a629 100644 --- a/CC/RULES +++ b/CC/RULES @@ -54,8 +54,9 @@ , "The artifacts and runfiles of the specified target will be propagated." , "The target defined by this rule does not propagate any provides data." ] - , "config_fields": ["os", "arch", "target_arch"] + , "config_fields": ["os", "arch", "target_arch", "compiler_family"] , "target_fields": ["target"] + , "config_vars": ["COMPILER_FAMILY"] , "field_doc": { "os": ["The operation system used for building."] , "arch": ["The architecture used for building."] @@ -63,6 +64,10 @@ [ "Non-mandatory target architecture to build for. If omitted, target" , "architecture is derived from \"arch\"." ] + , "compiler_family": + [ "Non-mandatory compiler family used for building. If omitted, compiler" + , "family is taken from variable \"COMPILER_FAMILY\"." + ] , "target": [ "The target to configure. Multiple targets are supported, but their" , "artifacts and runfiles should not conflict." -- cgit v1.2.3