Parallel builds in of ports? - BSD

This is a discussion on Parallel builds in of ports? - BSD ; I have a fairly decent multi-core desktop, but I've had quite a bit of trouble building ports in parallel. Most of the time, my resource usages are very low while building ports, and it takes quite a bit of time... ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Parallel builds in of ports?

  1. Parallel builds in of ports?

    I have a fairly decent multi-core desktop, but I've had quite a bit of
    trouble building ports in parallel. Most of the time, my resource
    usages are very low while building ports, and it takes quite a bit of
    time...

    I don't know much about the ports system, but I am a software engineer.
    I've noticed that make -j 4 tends to do bad things to builds that
    aren't set up to handle concurrency, so I got to thinking that maybe
    there could/should be a script that will build the ports in parallel. I
    would start with the ports that have no dependencies left to install.
    Basically, it could maintain a "priority" queue for what can be built
    next, and have a few "worker" threads that look for the next thing that
    can be built.

    Is there something that does this? Does it sound feasible to do?

    Thanks,
    Daniel.
    --
    Daniel Pitts' Tech Blog:

  2. Re: Parallel builds in of ports?

    Daniel Pitts wrote:
    > would start with the ports that have no dependencies left to install.
    > Basically, it could maintain a "priority" queue for what can be built
    > next, and have a few "worker" threads that look for the next thing that
    > can be built.
    >
    > Is there something that does this? Does it sound feasible to do?
    >


    Look for things about so-called ports-2.0 in the ports mailing list.


    --

    Michel TALON


+ Reply to Thread