Skip to content

Commit

Permalink
fix dependers-of handling of adapters (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rostislav Khlebnikov authored and GitHub Enterprise committed Oct 10, 2024
1 parent 7c3df11 commit a5ff0c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/bbs_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,12 @@ def build(options):

def get_package_name(component):
parts = component.split("_")
# Take care of standalones
return f"s_{parts[1]}" if parts[0] == "s" else parts[0]
# Take care of standalones, adapters, etc.
return (
f"{parts[0]}_{parts[1]}"
if len(parts[0]) == 1
else parts[0]
)

target_list = list(
{get_package_name(depender) for depender in target_list}
Expand Down

0 comments on commit a5ff0c6

Please sign in to comment.