Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-15 Thread Emil Velikov
On 7 June 2017 at 16:22, Jonathan Gray wrote: > On Wed, Jun 07, 2017 at 11:18:53PM +0800, Chih-Wei Huang wrote: >> 2017-06-07 22:47 GMT+08:00 Jonathan Gray : >> > On Wed, Jun 07, 2017 at 10:30:49PM +0800, Chih-Wei Huang wrote: >> >> 2017-06-07 21:54 GMT+08:00 Jonathan Gray : >> >> > On Wed, Jun 07

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-07 Thread Jonathan Gray
On Wed, Jun 07, 2017 at 11:18:53PM +0800, Chih-Wei Huang wrote: > 2017-06-07 22:47 GMT+08:00 Jonathan Gray : > > On Wed, Jun 07, 2017 at 10:30:49PM +0800, Chih-Wei Huang wrote: > >> 2017-06-07 21:54 GMT+08:00 Jonathan Gray : > >> > On Wed, Jun 07, 2017 at 02:45:15PM +0100, Emil Velikov wrote: > >>

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-07 Thread Chih-Wei Huang
2017-06-07 22:47 GMT+08:00 Jonathan Gray : > On Wed, Jun 07, 2017 at 10:30:49PM +0800, Chih-Wei Huang wrote: >> 2017-06-07 21:54 GMT+08:00 Jonathan Gray : >> > On Wed, Jun 07, 2017 at 02:45:15PM +0100, Emil Velikov wrote: >> >> On 6 June 2017 at 07:30, Chih-Wei Huang wrote: >> >> >>> These are are

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-07 Thread Jonathan Gray
On Wed, Jun 07, 2017 at 10:30:49PM +0800, Chih-Wei Huang wrote: > 2017-06-07 21:54 GMT+08:00 Jonathan Gray : > > On Wed, Jun 07, 2017 at 02:45:15PM +0100, Emil Velikov wrote: > >> On 6 June 2017 at 07:30, Chih-Wei Huang wrote: > >> >>> These are are due to program_invocation_short_name/getprogname

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-07 Thread Chih-Wei Huang
2017-06-07 21:54 GMT+08:00 Jonathan Gray : > On Wed, Jun 07, 2017 at 02:45:15PM +0100, Emil Velikov wrote: >> On 6 June 2017 at 07:30, Chih-Wei Huang wrote: >> >>> These are are due to program_invocation_short_name/getprogname. How >> >>> about updating the file alike xmlconfig.c? >> >> >> >> Oh..

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-07 Thread Jonathan Gray
On Wed, Jun 07, 2017 at 02:45:15PM +0100, Emil Velikov wrote: > On 6 June 2017 at 07:30, Chih-Wei Huang wrote: > > 2017-06-06 13:06 GMT+08:00 Chih-Wei Huang : > >> 2017-06-05 21:04 GMT+08:00 Emil Velikov : > >>> On 4 June 2017 at 04:31, Chih-Wei Huang wrote: > Android bionic is derived from

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-07 Thread Emil Velikov
On 6 June 2017 at 07:30, Chih-Wei Huang wrote: > 2017-06-06 13:06 GMT+08:00 Chih-Wei Huang : >> 2017-06-05 21:04 GMT+08:00 Emil Velikov : >>> On 4 June 2017 at 04:31, Chih-Wei Huang wrote: Android bionic is derived from OpenBSD. So the logics of BSD almost apply to Android as well.

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-05 Thread Chih-Wei Huang
2017-06-06 13:06 GMT+08:00 Chih-Wei Huang : > 2017-06-05 21:04 GMT+08:00 Emil Velikov : >> On 4 June 2017 at 04:31, Chih-Wei Huang wrote: >>> Android bionic is derived from OpenBSD. So the logics of BSD >>> almost apply to Android as well. >>> >> Having platform FOO define both PIPE_OS_BSD and PIP

Re: [Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-05 Thread Emil Velikov
On 4 June 2017 at 04:31, Chih-Wei Huang wrote: > Android bionic is derived from OpenBSD. So the logics of BSD > almost apply to Android as well. > Having platform FOO define both PIPE_OS_BSD and PIPE_OS_LINUX does not seem so obvious bth. > It fixes the warnings > > external/mesa/src/gallium/auxi

[Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-03 Thread Chih-Wei Huang
Android bionic is derived from OpenBSD. So the logics of BSD almost apply to Android as well. It fixes the warnings external/mesa/src/gallium/auxiliary/os/os_process.c:43:2: warning: unexpected platform in os_process.c [-W#warnings] ^ external/mesa/src/gallium/auxiliary/os/os_process.c:97:2: wa