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

RE: Speeding up ATLAS build time



Guys,

Here is an idea that works at least somewhat:

===============================================================================
PMAKE = $(MAKE) -j 4

obj = tst.o tst2.o
dlib :
        $(PMAKE) $(obj)
        $(MAKE) lib.grd

lib.grd : $(obj)
        ar r tst.a $(obj)
        touch lib.grd
===============================================================================

The weakness of this scheme is that the $(obj) dependency is checked twice,
and this may add too much overhead.  I think experimentation with converting
a lib or two over to something like this and seeing what the time loss/gain
is will be needed . . .

Cheers,
Clint