Maybe I am doing something wrong but the longer is the list of ports I want to compile with poudriere, the longer it takes to configure them versus compiling them.
I have a lot of CPUs and RAM and I compile everything in memory. Multiple ports at the same time, apart from when they depend on each other. But the longer is the list, the more can be compiled independently.
But "poudriere options" is always taking one package from the list at a time, and recursively calls all the dependent ports to configure them. If I add a new port to the list, I still have to go through all to configure. I know that I can configure just the individual ports that I added, but then it's a manual work when I am adding a few ports to configure them one by one, and it still takes time.
I had a list of 32 ports and just added npm and yarn. It took 10 minutes for "poudriere options" to complete and 28 seconds for "poudriere bulk" to complete.
What's the typical way people work with options? Is configuring them a common scenario or maybe most would leave the defaults and only configure specific ports they care about? Or maybe there is another better way?
Probably just going through all the options for all the ports in a linear fashion would be quicker than allowing poudriere to traverse depedencies for each port from the list, as often ports share dependencies, and so the complexity becomes exponential instead of linear. Is there any way for poudriere to write down options for all the dependencies that "poudriere bulk" uses?
I have a lot of CPUs and RAM and I compile everything in memory. Multiple ports at the same time, apart from when they depend on each other. But the longer is the list, the more can be compiled independently.
But "poudriere options" is always taking one package from the list at a time, and recursively calls all the dependent ports to configure them. If I add a new port to the list, I still have to go through all to configure. I know that I can configure just the individual ports that I added, but then it's a manual work when I am adding a few ports to configure them one by one, and it still takes time.
I had a list of 32 ports and just added npm and yarn. It took 10 minutes for "poudriere options" to complete and 28 seconds for "poudriere bulk" to complete.
What's the typical way people work with options? Is configuring them a common scenario or maybe most would leave the defaults and only configure specific ports they care about? Or maybe there is another better way?
Probably just going through all the options for all the ports in a linear fashion would be quicker than allowing poudriere to traverse depedencies for each port from the list, as often ports share dependencies, and so the complexity becomes exponential instead of linear. Is there any way for poudriere to write down options for all the dependencies that "poudriere bulk" uses?