Re: [Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-20 Thread Dylan Baker
Quoting Emil Velikov (2018-09-20 02:43:37) > On 13 September 2018 at 19:41, Dylan Baker wrote: > > Rather than trying to encode all of the rules in a header, lets just put > > them in the build system where they belong. This fixes the build on > > FreeBSD, which does have pthraed_setaffinity_np, b

Re: [Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-20 Thread Emil Velikov
On 13 September 2018 at 19:41, Dylan Baker wrote: > Rather than trying to encode all of the rules in a header, lets just put > them in the build system where they belong. This fixes the build on > FreeBSD, which does have pthraed_setaffinity_np, but it's in a > pthread_np.h, not behind _GNU_SOURCE

Re: [Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-14 Thread Dylan Baker
Quoting Eric Engestrom (2018-09-14 09:39:27) > On Thursday, 2018-09-13 11:41:38 -0700, Dylan Baker wrote: > > Rather than trying to encode all of the rules in a header, lets just put > > them in the build system where they belong. This fixes the build on > > FreeBSD, which does have pthraed_setaffi

Re: [Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-14 Thread Dylan Baker
Quoting Dylan Baker (2018-09-13 11:41:38) > Rather than trying to encode all of the rules in a header, lets just put > them in the build system where they belong. This fixes the build on > FreeBSD, which does have pthraed_setaffinity_np, but it's in a > pthread_np.h, not behind _GNU_SOURCE. FreeBSD

Re: [Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-14 Thread Eric Engestrom
On Thursday, 2018-09-13 11:41:38 -0700, Dylan Baker wrote: > Rather than trying to encode all of the rules in a header, lets just put > them in the build system where they belong. This fixes the build on > FreeBSD, which does have pthraed_setaffinity_np, but it's in a > pthread_np.h, not behind _GN

Re: [Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-13 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Sep 13, 2018 at 2:41 PM, Dylan Baker wrote: > Rather than trying to encode all of the rules in a header, lets just put > them in the build system where they belong. This fixes the build on > FreeBSD, which does have pthraed_setaffinity_np, but it's in a >

[Mesa-dev] [PATCH] move pthread_setaffinity_np check to the build system

2018-09-13 Thread Dylan Baker
Rather than trying to encode all of the rules in a header, lets just put them in the build system where they belong. This fixes the build on FreeBSD, which does have pthraed_setaffinity_np, but it's in a pthread_np.h, not behind _GNU_SOURCE. FreeBSD also implements cpu_set slightly differently, so