[osg-users] Please test SVN version of OpenSceneGraph

Mathias Froehlich M.Froehlich at science-computing.de
Wed Sep 12 02:38:51 PDT 2007


Hi Robert,

On Wednesday 12 September 2007 11:23, Robert Osfield wrote:
> Hi Mike,
>
> 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
>
>   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.

I have also posted a patch to OpenThreads that implements a cmake test for 
that.
I hope to find time today to resend that ...

   Greetings

       Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 




More information about the osg-users mailing list