make speed and dependency

Поиск
Список
Период
Сортировка
Искать

make speed and dependency

От:
Andreas Pflug <Andreas.Pflug@web.de>
Дата:
Adam,

I wonder if the make process could be speeded up.
At the moment, the auto dependency tracking is integrally implemented 
for each object make, which makes things quite slow. Can this be changed 
to a "make dep; make; make install" way, as I know it from the kernel?

Regards,

Andreas

Re: make speed and dependency

От:
Adam H.Pendleton <fmonkey@fmonkey.net>
Дата:
Вложения:
Not unless we want to manually track dependencies, which is how the 
linux kernel currently works.  I would venture to say that a make dep 
&& make for the linux kernel takes the same amount of time as a plain 
make would if the kernel automatically tracked dependencies.  Currently 
the make process only builds those sources which are out-of-date, so 
while the initial build may take some time, any subsequent, incremental 
builds, should be much faster.  Manual dependency tracking would 
require re-running 'make dep' each time you made a source change.

ahp
FAQ