間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

Kernel作成(make-kpkg)高速化

環境変数のCONCURRENCY_LEVELに数字を入れておくと並列makeをしてくれるようだ。

man make-kpkg
If defined, this environment variable sets the concurrency level of make used to compile the kernel and
the modules set using -j flags to the sub make in the build target of make-kpkg.

力技より良さそう。
未検証


参考
ccache な make-kpkg
http://blog.11n.jp/archives/205

time CONCURRENCY_LEVEL=4 MAKEFLAGS="CC=ccache\ gcc" fakeroot make-kpkg -append_to_version -3-noch-i686 -revision=1 -initrd kernel-image -config menuconfig

http://distcc.samba.org/faq.html

make-kpkg with distcc?

How to compile the debian kernel with make-kpkg using distcc?

Use the CONCURRENCY_LEVEL environment variable eg make-kpkg kernel_image CONCURRENCY_LEVEL=4 after installing distcc into a masquerade directory.

Implementation-Agnostic Support for Alternative Compilers: ccache, distcc, etc.
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/182942
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460719

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。