[lfs-dev] Libtool & Autoconf test times

Bruce Dubbs bruce.dubbs at gmail.com
Wed Jun 28 20:00:26 PDT 2017

Bruce Dubbs wrote:
> Jonathan Cottrill wrote:
>> In Chapter 6, both Libtool and Autoconf mention that the "make check"
>> commands
>> take a lot of time (and they do). Since these use Autotest, they don't
>> respect
>> the -j flag to make (which LFS builders may have set as the MAKEFLAGS
>> variable
>> from the note in section 4.5); however, they *do* respect the
>> variable. For example:
>> make check TESTSUITEFLAGS='-j4'
>> This helps a great deal; on my VM (quad-core), setting the variable to
>> -j6 (6
>> is based on trial and error while watching load averages) results in the
>> following time difference:
>> Libtool: from 16m48s to 6m0s
>> Autoconf: from 10m24s to 2m27s
>> Would that be worth mentioning somewhere in the book, or is it too much
>> messing around for builders to worry about?
> Thanks you for the report.  I will check that out.

Indeed I get a significant speedup.  On my system:

            j1    j4     j12
libtool    9+05  3+27   2+22
autoconf   5+32  1+43   0+44

I'll work something into the book tomorrow.

   -- Bruce

More information about the lfs-dev mailing list