pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is it safe to have two build sessions running in parallel

Put the following to your mk.conf:


and build also pkgtools/shlock

Then it should be safe to run more build jobs in parallel.

You could also set

MAKE_JOBS=      2

or more if you have spare CPU.

> Is it safe to launch two parallel build sessions - particularly since
> they may have a common dependency.
> Just wondering what if both build sessions try to update the common
> dependency at same time - including the dist file download operation
> besides trying to build the same source at the same time etc.
> Mayuresh.

Home | Main Index | Thread Index | Old Index