Skip to content

Commit

Permalink
openroad: Change order in which targets are displayed at the end of t…
Browse files Browse the repository at this point in the history
…he build

Signed-off-by: Eryk Szpotanski <[email protected]>
  • Loading branch information
eszpotanski committed Apr 30, 2024
1 parent a6847af commit 324be72
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions openroad.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,11 @@ def build_openroad(
)

# Scripts target
# Specifies additional dependencies to ensure _local_make and _docker are printed at the end
native.filegroup(
name = target_name_stage + "_scripts",
srcs = [target_name_stage + "_local_make", target_name_stage + "_docker"],
srcs = [target_name_stage + "_make_local_script", target_name_stage + "_make_docker_script",
target_name_stage + "_local_make", target_name_stage + "_docker"],
)

# Generate general config for design stage targets
Expand Down Expand Up @@ -794,7 +796,7 @@ def build_openroad(
# Target building `target_name` `stage` dependencies and generating `stage` scripts
native.filegroup(
name = target_name + "_" + stage + "_make",
srcs = [target_name + "_" + stage + "_scripts"] + stage_sources[stage] +
([target_name + "_" + previous] if stage not in ("clock_period", "synth_sdc") else []) +
([target_name + "_generate_abstract_mock_area"] if mock_area != None and stage == "generate_abstract" else []),
srcs = stage_sources[stage] + ([target_name + "_" + previous] if stage not in ("clock_period", "synth_sdc") else []) +
([target_name + "_generate_abstract_mock_area"] if mock_area != None and stage == "generate_abstract" else []) +
[target_name + "_" + stage + "_scripts"],
)

0 comments on commit 324be72

Please sign in to comment.