Re: [PATCH v1] build: make gpudev optional

2021-11-17 Thread Thomas Monjalon
17/11/2021 13:36, Thomas Monjalon: > 17/11/2021 21:33, eagost...@nvidia.com: > > --- a/app/test-gpudev/meson.build > > +++ b/app/test-gpudev/meson.build > > @@ -1,5 +1,12 @@ > > # SPDX-License-Identifier: BSD-3-Clause > > # Copyright (c) 2021 NVIDIA Corporation & Affiliates > > > > -sources = f

Re: [PATCH v1] build: make gpudev optional

2021-11-17 Thread Thomas Monjalon
17/11/2021 21:33, eagost...@nvidia.com: > --- a/app/test-gpudev/meson.build > +++ b/app/test-gpudev/meson.build > @@ -1,5 +1,12 @@ > # SPDX-License-Identifier: BSD-3-Clause > # Copyright (c) 2021 NVIDIA Corporation & Affiliates > > -sources = files('main.c') > -deps = ['gpudev', 'ethdev'] > +if

[PATCH v1] build: make gpudev optional

2021-11-17 Thread eagostini
From: Elena Agostini This library can be made optional. drivers/gpu and app/test-gpudev depend on this library, so there is a check for dependencies. Signed-off-by: Elena Agostini --- app/test-gpudev/meson.build | 11 +-- doc/guides/prog_guide/gpudev.rst | 1 + drivers/gpu/meson.