forked from analogdevicesinc/hdl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: Parallel build with pattern rules (analogdevicesinc#1202)
Drop shell for loops in favor of makefile pattern rules, so make can run targets in parallel using -j. This doesn't affect Vivado's own settings. As a benchmark, 12th Gen Intel(R) Core(TM) i9-12900H 5GHz(max): $ make -C projects/adrv9009/zcu102/ clean-all $ time make -C projects/adrv9009/zcu102/ -j$CORES lib CORES=1: real 9m27.223s user 9m2.556s sys 0m32.358s CORES=8: real 1m54.639s user 16m26.512s sys 1m2.317s i.e. about 5 times faster to build IP core dependencies. Signed-off-by: Liam Beguin <[email protected]> Signed-off-by: Jorge Marques <[email protected]>
- Loading branch information
1 parent
ee373c8
commit 5e863d6
Showing
5 changed files
with
62 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.