Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-24 Thread Dylan Baker
The only difference is DESTDIR is an environment variable in meson DESTDIR=/path/to/chroot/ ninja install On January 24, 2018 7:24:35 AM PST, "Michel Dänzer" wrote: >On 2018-01-24 02:54 PM, Ilia Mirkin wrote: >> >> Here's the usecase: >> >> I want to crosscompile. At

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-24 Thread Michel Dänzer
On 2018-01-24 02:54 PM, Ilia Mirkin wrote: > > Here's the usecase: > > I want to crosscompile. At install time, the results have to go into a > chroot. The machine that runs out of the chroot would like things to > work. I don't think setting environment cars, esp ones as unadvisable as > libgl

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-24 Thread Emil Velikov
On 24 January 2018 at 13:54, Ilia Mirkin wrote: >> >> >> On Jan 24, 2018 13:32, "Emil Velikov" wrote: >> >> On 23 January 2018 at 18:44, Dylan Baker wrote: >>> Quoting Emil Velikov (2018-01-19 10:28:18) On 17 January 2018

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-24 Thread Ilia Mirkin
On Jan 24, 2018 13:32, "Emil Velikov" wrote: On 23 January 2018 at 18:44, Dylan Baker wrote: > Quoting Emil Velikov (2018-01-19 10:28:18) >> On 17 January 2018 at 21:34, Dylan Baker wrote: >> > Currently there is not a

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-24 Thread Emil Velikov
On 23 January 2018 at 18:44, Dylan Baker wrote: > Quoting Emil Velikov (2018-01-19 10:28:18) >> On 17 January 2018 at 21:34, Dylan Baker wrote: >> > Currently there is not a separate option for setting the search path of >> > DRI drivers in meson, like

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-23 Thread Dylan Baker
Sure enough, it does use ':' You might want to send the patch to the list and CC Emil, and probably stable. Although Emil also mentioned that maybe it would just be better to delete this option since we have LIBGL_DRIVERS_PATH. Quoting Eric Engestrom (2018-01-23 15:28:50) > On Tuesday,

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-23 Thread Eric Engestrom
On Tuesday, 2018-01-23 21:53:14 +, Dylan Baker wrote: > Quoting Eric Engestrom (2018-01-18 15:02:46) > > On Thursday, 2018-01-18 17:09:33 +, Dylan Baker wrote: > > > Currently there is not a separate option for setting the search path of > > > DRI drivers in meson, like there is in scons

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-23 Thread Dylan Baker
Quoting Emil Velikov (2018-01-19 10:28:18) > On 17 January 2018 at 21:34, Dylan Baker wrote: > > Currently there is not a separate option for setting the search path of > > DRI drivers in meson, like there is in scons and autotools. This is an > > oversight and needs to be

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-23 Thread Dylan Baker
Quoting Eric Engestrom (2018-01-18 15:02:46) > On Thursday, 2018-01-18 17:09:33 +, Dylan Baker wrote: > > Currently there is not a separate option for setting the search path of > > DRI drivers in meson, like there is in scons and autotools. This is an > > oversight and needs to be fixed. This

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-19 Thread Emil Velikov
On 17 January 2018 at 21:34, Dylan Baker wrote: > Currently there is not a separate option for setting the search path of > DRI drivers in meson, like there is in scons and autotools. This is an > oversight and needs to be fixed. This adds an extra option > `dri-search-path`,

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-18 Thread Eric Engestrom
On Thursday, 2018-01-18 17:09:33 +, Dylan Baker wrote: > Currently there is not a separate option for setting the search path of > DRI drivers in meson, like there is in scons and autotools. This is an > oversight and needs to be fixed. This adds an extra option > `dri-search-path`, which will

Re: [Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-18 Thread Eric Anholt
Dylan Baker writes: > Currently there is not a separate option for setting the search path of > DRI drivers in meson, like there is in scons and autotools. This is an > oversight and needs to be fixed. This adds an extra option > `dri-search-path`, which will default to the

[Mesa-dev] [PATCH v2] meson: Don't confuse the install and search paths for dri drivers

2018-01-18 Thread Dylan Baker
Currently there is not a separate option for setting the search path of DRI drivers in meson, like there is in scons and autotools. This is an oversight and needs to be fixed. This adds an extra option `dri-search-path`, which will default to the value of `dri-drivers-path`, like autotools does.