[osg-users] Please test SVN version of OpenSceneGraph
robert.osfield at gmail.com
Wed Sep 12 02:23:33 PDT 2007
On 9/12/07, Robert Osfield <robert.osfield at gmail.com> wrote:
> We really need to get this added into the Cmake build, at least as an
> option. I don't if it would be possible to autodetect given the
> specific version of RedHat and some other Linux variants that have
> this issue.
I have now added this to OpenThreads Cmake build. First up do a svn
update on the OSG (this will bring in the updates to OpenThreads),
then run ccmake . in the root OpenSceneGraph directory, then scroll
down till you see the parameter
Toggle this to ON, then press 'c' to configure and 'g' to generate the
This option is only relevant to Linux so should only appear on linux
systems. The vast majority should be just fine with
TWO_PARAM_sched_setaffinity OFF, but those who have older RedHat (and
similar) Linux variants may required this.
You can also pass this setting in via
cmake -DTWO_PARAM_sched_setaffinity=ON -DCMAKE_BUILD_TYPE=Release
The release option above is just required for making sure you build
with optimization on, and is not related to setaffinity.
More information about the osg-users