diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-04-04 15:14:02 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-04-23 15:26:15 +0200 |
commit | 20b7c7fa1b10a90e0e3aad46579ebe450d6720b9 (patch) | |
tree | 7a982a8af1d875336df6381c6c43e73a7808c55b | |
parent | a1069b261c9f266d2c1955170304202befb4f3fe (diff) | |
download | rules-cc-20b7c7fa1b10a90e0e3aad46579ebe450d6720b9.tar.gz |
rules CC: Extend install-wih-deps to stage DWARF package files
-rw-r--r-- | CC/EXPRESSIONS | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index 5904281..cb114aa 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -2738,6 +2738,18 @@ } } ] + , [ "dwarf-pkg" + , { "type": "if" + , "cond": {"type": "var", "name": "skip-debug-stage"} + , "then": {"type": "empty_map"} + , "else": + { "type": "DEP_PROVIDES" + , "dep": {"type": "var", "name": "target"} + , "provider": "dwarf-pkg" + , "default": {"type": "empty_map"} + } + } + ] ] , "body": { "type": "if" @@ -2747,9 +2759,14 @@ { "type": "let*" , "bindings": [ [ "artifacts" - , { "type": "DEP_ARTIFACTS" - , "dep": {"type": "var", "name": "target"} - , "default": {"type": "empty_map"} + , { "type": "map_union" + , "$1": + [ { "type": "DEP_ARTIFACTS" + , "dep": {"type": "var", "name": "target"} + , "default": {"type": "empty_map"} + } + , {"type": "var", "name": "dwarf-pkg"} + ] } ] , [ "link-deps" |