Parallel Port Make optimizes FreeBSD ports building by utilizing the full potential of modern multi-core processors by enabling parallel execution.
The default command to run the tool is "pportmake.py --clean --cleanup --install -job=2 [port1] [portn]". This command will clean the port before compiling and install it while utilizing two threads per CPU core. Users can specify the ports they want to build within the command itself.
The tool also offers an advanced option for those who want more control over the process. Users can run the command "pportmake.py -rSvD -j 10 irc/irssi" to reinstall the port and all its dependencies, while also maximizing CPU usage and using ten threads.
There are several other command options available, such as "--clean" to clean the port before compiling, "--deinstall" to uninstall ports, and "--reinstall" to reinstall ports and all dependencies. Users can also use the "--maxspeed" option to further increase the tool's speed, although caution is advised as it may break some ports.
Additionally, users can specify a list of arguments to pass to make using the "-O args --options=foo" option, providing even more flexibility with the process.
While the tool is very powerful and efficient, it should be noted that it is currently only safe to run one copy of it and not have other ports compiling simultaneously. Overall, the Parallel Port Make project can significantly speed up the port building process for FreeBSD users, making it a valuable tool to have in their software arsenal.
Version 0.22: N/A