Hi Mike, On 9/12/07, Robert Osfield <[EMAIL PROTECTED]> 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 TWO_PARAM_sched_setaffinity OFF Toggle this to ON, then press 'c' to configure and 'g' to generate the build system. 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. Robert. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

