On Mon, Nov 5, 2012 at 9:14 PM, David Seikel <onef...@gmail.com> wrote:
> On Mon,  5 Nov 2012 17:06:11 -0200 Lucas De Marchi
> <lucas.demar...@profusion.mobi> wrote:
>
>> ---
>>
>> aka "add support for speed in our build system".
>>
>> I've always been very sad about the amount of time E17 takes to
>> build. And upgrading my CPU doesn't solve the problem neither. Using
>> SSD would help for sure but I don't have one and I'm pretty sure this
>> solution will speedup even more if I used SSD.
>>
>> Basically what this patch set does is to convert the recursive
>> makefiles created by automake in src/modules/* to a single
>> src/modules/Makefile.am that *includes* the makefile of each module.
>> This effectively converts the recursive makefiles into a single one.
>>
>> What's the build time improvement?
>>
>> -------------------------------------------
>> |                 |   Before   |  After   |
>> -------------------------------------------
>> | autogen.sh      |   0m47.6s  |  0m36.2s |
>> -------------------------------------------
>> | make -j31       |   3m1.9s   |  0m49s   |
>> -------------------------------------------
>> | make -j31       |            |          |
>> | with dirty      |   2m38s    |  0m28.2s |
>> | modules         |            |          |
>> -------------------------------------------
>>
>> To be able to do make -j31 I use icecream to spread the jobs through
>> the network.
>>
>> "with dirty modules" means: 'find src/modules -name '*.c' -exec touch
>> \;' before make.
>>
>>
>> Drawbacks:
>>
>> 1) It's not possible to do "make -C src/modules/my-module-name/"
>> anymore 2) It's not possible to do "cd src/modules/my-module-name/ &&
>> make" anymore.
>>
>> I plan to solve both of these. The solution will probably not use the
>> same commands, but I think it will be very similar.
>>
>> I split the patches in 3 to be easier to understand a single change.
>> Once it's committed I'll also remove the old Makefile.am files.
>>
>> Comments?
>
> I agree with the idea.

Nice. If nobody complains in the next hours I'll commit this.

Lucas De Marchi

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to