From 1b8e5c3362673ece4bffe49e0f613eb3b5ec0aeb Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 19 Sep 2022 13:53:38 +0200 Subject: rules: Remove CC/configure rule --- CC/EXPRESSIONS | 66 ---------------------------------------------------------- 1 file changed, 66 deletions(-) (limited to 'CC/EXPRESSIONS') diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index 2cf5957..48f40a2 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -82,72 +82,6 @@ } } } -, "configure transition": - { "vars": ["COMPILER_FAMILY"] - , "expression": - { "type": "let*" - , "bindings": - [ [ "OS" - , { "type": "assert_non_empty" - , "msg": "Missing field \"os\" for \"configure\"." - , "$1": {"type": "join", "$1": {"type": "FIELD", "name": "os"}} - } - ] - , [ "ARCH" - , { "type": "assert_non_empty" - , "msg": "Missing field \"arch\" for \"configure\"." - , "$1": {"type": "join", "$1": {"type": "FIELD", "name": "arch"}} - } - ] - , ["HOST_ARCH", {"type": "var", "name": "ARCH"}] - , [ "TARGET_ARCH" - , {"type": "join", "$1": {"type": "FIELD", "name": "target_arch"}} - ] - , [ "TARGET_ARCH" - , { "type": "if" - , "cond": {"type": "var", "name": "TARGET_ARCH"} - , "then": {"type": "var", "name": "TARGET_ARCH"} - , "else": {"type": "var", "name": "ARCH"} - } - ] - , [ "FAMILY" - , {"type": "join", "$1": {"type": "FIELD", "name": "compiler_family"}} - ] - , [ "COMPILER_FAMILY" - , { "type": "if" - , "cond": {"type": "var", "name": "FAMILY"} - , "then": {"type": "var", "name": "FAMILY"} - , "else": {"type": "var", "name": "COMPILER_FAMILY"} - } - ] - ] - , "body": - { "type": "map_union" - , "$1": - [ { "type": "singleton_map" - , "key": "OS" - , "value": {"type": "var", "name": "OS"} - } - , { "type": "singleton_map" - , "key": "ARCH" - , "value": {"type": "var", "name": "TARGET_ARCH"} - } - , { "type": "singleton_map" - , "key": "HOST_ARCH" - , "value": {"type": "var", "name": "HOST_ARCH"} - } - , { "type": "singleton_map" - , "key": "TARGET_ARCH" - , "value": {"type": "var", "name": "TARGET_ARCH"} - } - , { "type": "singleton_map" - , "key": "COMPILER_FAMILY" - , "value": {"type": "var", "name": "COMPILER_FAMILY"} - } - ] - } - } - } , "compile-deps": { "doc": ["Collect compile dependencies (headers) from given target_fields"] , "vars": ["deps-fieldnames", "transition"] -- cgit v1.2.3