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 | 2cd1b1da920bd6cff30d75123fff64d703160b3a (patch) | |
tree | 177a3df59d562885321a1d521481f330901d1ef2 /rules | |
parent | efa1754843195999fa6f1549507202233f12d325 (diff) | |
download | justbuild-2cd1b1da920bd6cff30d75123fff64d703160b3a.tar.gz |
rules CC: Extend install-wih-deps to stage DWARF package files
Diffstat (limited to 'rules')
-rw-r--r-- | rules/CC/EXPRESSIONS | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS index 59042819..cb114aa9 100644 --- a/rules/CC/EXPRESSIONS +++ b/rules/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" |