Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] [hwloc-svn] svn:hwloc r1961
From: Bert Wesarg (bert.wesarg_at_[hidden])
Date: 2010-04-20 11:55:10


Hi,

On Tue, Apr 20, 2010 at 14:33, <sthibaul_at_[hidden]> wrote:
> Author: sthibaul
> Date: 2010-04-20 08:33:33 EDT (Tue, 20 Apr 2010)
> New Revision: 1961
> URL: https://svn.open-mpi.org/trac/hwloc/changeset/1961
>
> Log:
> properly include sched.h to get the sched_setaffinity prototype
> Text files modified:
>   trunk/config/hwloc.m4 |     5 ++++-
>   1 files changed, 4 insertions(+), 1 deletions(-)
>
> Modified: trunk/config/hwloc.m4
> ==============================================================================
> --- trunk/config/hwloc.m4       (original)
> +++ trunk/config/hwloc.m4       2010-04-20 08:33:33 EDT (Tue, 20 Apr 2010)
> @@ -379,7 +379,10 @@
>         AC_MSG_RESULT([yes]),
>         AC_MSG_RESULT([no])
>       )
> -    ])
> +    ], , [[
> +#define GNU_SOURCE

That should be: _GNU_SOURCE. See 'man 7 feature_test_macros'

Bert

> +#include <sched.h>
> +]])
>
>     AC_MSG_CHECKING([for working CPU_SET])
>     AC_LINK_IFELSE(
> _______________________________________________
> hwloc-svn mailing list
> hwloc-svn_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-svn
>