← Back to team overview

yade-dev team mailing list archive

LLVM and Yade

 

Hi, Vaclav,

pointing the absolute path to CXX solved the problem.
I have tested the calculation speed and compared it with GCC builds.

There is a small table, showing the relative calculation speed.

GCC, optimized........................... 1.0
LLVM, optimized........................ 0.91

So. GCC makes better binaries for the moment.

But I added also -O3 into CXXFlags in both cases, and there is what I got:
GCC, optimized........................... 1.32
LLVM, optimized........................ 1.21

Anyway, GCC wins.

Vaclav, could you not have a look at "optimize" option in SConstruct?
It seems, there is a bug, it does not optimize a code, although "scons -h" shows optimize=True.

Thanks



On 08/27/2010 09:08 AM, Václav Šmilauer wrote:
But when I start the string "clang++
-o /home/anton/dem/yade/currentClang/build-bzr2413-clang/.sconf_tem....."  from terminal, it says nothing. No errors.
Why scons says, that it can't find clang++?
Sorry, Anton, I have no idea what happens on your computer. You might
need to set PATH in scons (don't know how, see man scons perhaps) or you
can say CXX="/some/directory/bin/clang++".

HTH, v



_______________________________________________
Mailing list:https://launchpad.net/~yade-dev
Post to     :yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe :https://launchpad.net/~yade-dev
More help   :https://help.launchpad.net/ListHelp





Follow ups

References