Skip to content

Optimize HLS IP builds by adding dependency tracking to Makefiles#102

Open
taraxacum45e9a wants to merge 1 commit into
Xilinx:devfrom
taraxacum45e9a:fix/incrbuild
Open

Optimize HLS IP builds by adding dependency tracking to Makefiles#102
taraxacum45e9a wants to merge 1 commit into
Xilinx:devfrom
taraxacum45e9a:fix/incrbuild

Conversation

@taraxacum45e9a
Copy link
Copy Markdown

@taraxacum45e9a taraxacum45e9a commented May 30, 2026

Improves build efficiency for hbm_bandwidth and traffic_producer HLS IPs by enabling proper dependency tracking in their Makefiles.

Changes

  • Replaced phony all targets with explicit ip/*.zip file targets.
  • Added *.cpp and *.cfg as prerequisites so Make only rebuilds when sources actually change.

This prevents redundant, time-consuming HLS compilations during local development and CI runs.

Replace the phony 'all' targets with explicit zip archive targets
and add prerequisites for source (.cpp) and config (.cfg) files.
This enables proper incremental builds and prevents unnecessary
HLS recompilations when no source files have changed.

Signed-off-by: Shen Jiamin <shen_jiamin@comp.nus.edu.sg>
taraxacum45e9a added a commit to taraxacum45e9a/SLASH that referenced this pull request Jun 1, 2026
…Makefiles

Replace the phony 'all' targets with explicit zip archive targets
and add prerequisites for source (.cpp) and config (.cfg) files.
This enables proper incremental builds and prevents unnecessary
HLS recompilations when no source files have changed.

Signed-off-by: Shen Jiamin <shen_jiamin@comp.nus.edu.sg>
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.

1 participant