portmgr:things_to_speedup_pkg_builds

Ways to possibly speed up package builds:

  • Faster hardware. Currently using 96GB of RAM and 24 cores. Could go to 512GB RAM and 64 cores, but there are concerns we don't scale that well there.
  • Cleanup - Getting rid of duplicate versions of large packages such as multiple llvm ports, multiple gcc ports, multiple openoffice ports, multiple webkit ports, etc.
  • Only rebuild things if libraries they are linked to have change
  • Avoid installing runtime deps when making packages – has impacts on meta ports, needs work, see Replace dependencies by dep formula

See Also: pkg TODO

  • portmgr/things_to_speedup_pkg_builds.txt
  • Last modified: 2017/02/12 15:27
  • by SteveWills