Skip to content

build: Run the desc64 register generation once under make -j - #220

Open
DanielKellerM wants to merge 1 commit into
develfrom
build/desc64-grouped-target
Open

build: Run the desc64 register generation once under make -j#220
DanielKellerM wants to merge 1 commit into
develfrom
build/desc64-grouped-target

Conversation

@DanielKellerM

Copy link
Copy Markdown
Collaborator

The three desc64 register outputs were the targets of one plain multi-target rule, so GNU make ran the recipe once per target and, under make -j, three concurrent peakrdl invocations clobbered each other's outputs (seen in cheshire's CI after bumping to 0.7.0 — pulp-platform/cheshire#294 had to serialize iDMA generation behind a flock). Make the two siblings depend on reg_top so the recipe runs exactly once; grouped targets (&:) need make 4.3, this form is portable. Verified: make -j8 runs peakrdl regblock once, a second invocation is a no-op, idma_hw_all unchanged.

The three desc64 outputs were targets of one plain multi-target rule, so GNU
make ran the recipe once per target and concurrent runs clobbered each other's
files. Hang reg_pkg and addrmap_pkg off reg_top so the recipe runs once
(grouped targets need make 4.3; this form is portable).
Copilot AI lite review requested due to automatic review settings August 19, 2026 17:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants