[LLVMdev] Clang vs. gcc for building BRL-CAD
Tom Browder
tom.browder at gmail.com
Fri Aug 16 12:20:22 PDT 2013
I've been interested in llvm for some time, and I finally got around to
testing it with BRL-CAD. I first built llvm and clang from the current svn
trunk, but that generated a crash report (llvm bug 16921 just submitted to
llvm.org).
Then I installed clang+llvm (v. 3.3.0) on Debian amd64 from pre-built
binaries and got a good BRL-CAD build (but I haven't done the regression
tests yet) and thought the following compilation timings from my 4-cpu box
might be interesting to some users:
Release build BRL-CAD trunk (r56887):
====================================
make -j4
---------
clang 3.3.0: 7 minutes 4 seconds
gcc 4.4.5 : 10 minutes 9 seconds
make -j1
--------
clang 3.3.0: 27 minutes 5 seconds
gcc 4.4.5 : 36 minutes 19 seconds
Best,
-Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130816/cf957594/attachment.html>
More information about the llvm-dev
mailing list