Re: makepkg - any way to recompile only newly patched files in large packages?

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



On 08/07/2017 10:06 PM, David C. Rankin wrote:
> On 08/07/2017 06:06 AM, Christoph Gysin via arch-general wrote:
>> Not the answer to your question, but you might consider configuring
>> /etc/makepkg.conf to use ccache to speed up rebuilds. Also set
>> MAKEFLAGS=-j4 or similar to make sure you are using all available
>> cores.
> 
> Thanks Cristoph,
> 
>   How do you know whether a package is capable of being built in parallel?
> I've run into problems before with big builds when building in parallel. Is it
> just a 'try and see if it works' issue, or is there some general rule-of-thumb
> you can use?

Generally, you try and see if it works. If it doesn't, the build rules
don't properly specify dependencies, and you file an upstream bug
report, which may or may not get fixed, and you make sure the PKGBUILD
maintainer specifically resets MAKEFLAGS back to -j1 (this is the only
time it is okay to specify the number of make jobs to run in parallel,
if you are resetting back to the defaults because a package doesn't
compile with custom MAKEFLAGS in makepkg.conf).

-- 
Eli Schwartz

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux