
6

debuginfo 编译速度
source link: http://abcdxyzk.github.io/blog/2015/11/26/debug-spec/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

debuginfo 编译速度
2015-11-26 11:30:00
Have a look into /usr/lib/rpm/macros:
# Compression type and level for source/binary package payloads.
# "w9.gzdio" gzip level 9 (default).
# "w9.bzdio" bzip2 level 9.
# "w7.xzdio" xz level 7, xz's default.
# "w7.lzdio" lzma-alone level 7, lzma's default
#
#%_source_payload w9.gzdio
#%_binary_payload w9.gzdio
binkernel.spec中加入
%_source_payload w5.gzdio
%_binary_payload w5.gzdio
略微降低压缩率,大大提高打包速度。kernel增加600K,debuginfo增加3M,时间从14分钟降至2分钟内
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK