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

John Criswell criswell at illinois.edu
Fri Mar 29 08:16:22 PDT 2013

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?

> 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.

-- John T.

More information about the cfe-dev mailing list