yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05590
LLVM and Yade
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Anton Gladky <gladky.anton@xxxxxxxxx>
-
Date:
Sat, 28 Aug 2010 21:03:17 +0200
-
In-reply-to:
<1282892898.1998.1.camel@flux>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6
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
-
[Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: noreply, 2010-08-24
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: Anton Gladky, 2010-08-25
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: Václav Šmilauer, 2010-08-25
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: Anton Gladky, 2010-08-26
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: Václav Šmilauer, 2010-08-26
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: Anton Gladky, 2010-08-26
-
Re: [Branch ~yade-dev/yade/trunk] Rev 2411: 1. replace {pre, post}ProcessAttributes by {pre, post}{Save, Load} (not virtual)
From: Václav Šmilauer, 2010-08-27