diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-09-19 13:53:38 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-10-10 17:28:26 +0200 |
commit | 1b8e5c3362673ece4bffe49e0f613eb3b5ec0aeb (patch) | |
tree | 31ec1b9eed5f89348ae79ae021c7f63d8e2b91fb /CC/EXPRESSIONS | |
parent | 8e6921348385bfe649ad5dacc6f23f08eddc0f3c (diff) | |
download | rules-cc-1b8e5c3362673ece4bffe49e0f613eb3b5ec0aeb.tar.gz |
rules: Remove CC/configure rule
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"] |