[cfe-dev] Hardware for building LLVM+Clang in 10-20 minutes

Jean-Daniel Dupas devlists at shadowlab.org
Fri Mar 29 08:55:18 PDT 2013


Le 29 mars 2013 à 16:43, Anton Yartsev <anton.yartsev at gmail.com> a écrit :

> On 29.03.2013 19:16, John Criswell wrote:
>> On 3/29/13 9:48 AM, Anton Yartsev wrote:
>>> Hi all!
>>> 
>>> I have finally decided to upgrade from my old Core 2 Duo E8500, 6GB DDR2 400 MHz.
>>> Currently the full building+testing of llvm lasts for hours (slightly faster with VS2008, slightly slower with MinGW) and makes everything lag.
>> 
>> By "test," do you mean the lit tests in llvm/test or a full run of the test suite in the test-suite project?
> I mean lit tests.
> 
>> 
>>> Ideally would be happy to perform build+test for about 10-20 minutes, as some fast builders do, and have no lags with other useful applications, such as browsers and Acrobat, during building/testing.
>>> Please can anybody advise me an appropriate hardware? Or just tell, what hardware the fast buildbots are running (specifically clang-native-mingw64-win7, clang-x86_64-ubuntu-gdb-75 and clang-x86_64-debian-fast)?
>>> 
>> 
>> Just to throw out some rough numbers, we have a 128 GB, 32 core machine.  The processors are Intel(R) Xeon(R) CPU E7- 8837  @ 2.67GHz.
>> Doing a make -j20 on LLVM+Clang from scratch takes about 4 minutes of wall time and about 50 minutes of user+system CPU time.  I can't seem to run the tests in llvm/test, so I can't time that.
> Cool! :)
> Then I can forget about 10 minutes..
> looking at something like Intel Core i7-3770K or Core i7-3930K in the best case.
> 

With a Core i7 3.4 GHz SandyBridge, a full LLVM/clang rebuild took me 470s according to time (with make -j9 on OS X and using clang 3.2 as compiler).

-- Jean-Daniel








More information about the cfe-dev mailing list