DragonFly BSD
DragonFly kernel List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Why does it take so long to compile a module


From: Alex Hornung <ahornung@xxxxxxxxx>
Date: Wed, 20 Oct 2010 21:04:19 +0100

On 20/10/10 20:31, Pratyush wrote:
> I just wrote a simple module. In declare module i wrote SI_ORDER_MIDDLE, wrote a
> Makefile  and included .include <bsd.kmod.mk>.
> Its almost 40 min compiling with verbose display. Is their a mechanism to speed
> it up? or a work around.
> 
> Pratyush.
> 

Please take a look at one of our modules in the source tree. Nothing
takes 40 minutes to build. The whole kernel takes <10 minutes on an
average machine. I'd venture to say that the average build time of a
1-file kmod is < 30 seconds.

Cheers,
Alex



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