Re: [PATCH] fast-build.sh rpmbuild combo for faster compilation

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

 



On 06/13/2016 12:54 PM, Paul Bolle wrote:
On vr, 2016-06-10 at 12:42 -0700, Miguel Flores Silverio wrote:
+rpmbuild --target $1 --without debuginfo --without perf --without tools --rebuild $2

When I build locally I also have:
    --with baseonly
    --without debug
    --without doc

I've been using these additional flags for years. My hope is that doing
this speeds up building the kernel rpms. Of course I've never actually
measured anything so this might be cargo cult behavior on my side.

(I also build with CONFIG_DEBUG_INFO unset, for a year or two now. See
https://lkml.org/lkml/2014/1/28/402 . I mainly noticed that it saves a
few GB of space in my rpmbuild directory, if memory serves me right.
Cargo cult again?)


Thanks for this info. CONFIG_DEBUG_INFO does save a bunch of disk space.
It goes from ~7GB -> ~1.5GB which is much more reasonable.

I think --without debug would be a good addition to this. Miguel, can
you send out another version of this patch with --without debug added?

Thanks,
Laura
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux