diff options
Diffstat (limited to 'CC/EXPRESSIONS')
-rw-r--r-- | CC/EXPRESSIONS | 66 |
1 files changed, 0 insertions, 66 deletions
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"] |