HI All,

I've been testing my newly built Intel Core i7/X58/Kubuntu 8.10 system
and found that OSG performance was around 1/3rd of what I expected,
and have traced the cause of this down to the cmake-2.6.0 (2.6 patch
0) that I installed from the Ubuntu repositories.  The specific
problem is that Cmake is defaulting to a blank entry for
CMAKE_CXX_FLAGS_RELEASE, something that normally reads "-O3 -DNDEBUG",
to see the value run ccmake . and then press 't' to get the advanced
options.

Manually setting CMAKE_CXX_FLAGS_RELEASE to -O3  -DNDEBUG fixed the
performance problem with the Release build.  I have also pulled down
cmake 2.6.2 from the cmake website, built and installed it and this
version of Cmake sets up the expect value for CMAKE_CXX_FLAGS_RELEASE
so they have fixed this bug.

I don't know whether this bug is just specific to my process
architecture, or whether its just an issue with the Ubuntu
repositories version of CMake 2.6.0, but there is a good chance that
the problem affects more platforms and Cmake versions.  Could users
check their CMAKE_CXX_FLAGS_RELEASE value and report this value along
with cmake version, source of your cmake version and platform details.

Once we have a pattern of what is cmake versions/platforms this
problem we can post an advisory on the wiki, and perhaps see if we can
get the repositories updated.

Thanks,
Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to