07/08/2024 06:09, Gagandeep Singh: > From: Bruce Richardson <bruce.richard...@intel.com> > > On Tue, Aug 06, 2024 at 07:12:16PM +0530, Gagandeep Singh wrote: > > > Adding a meson option "enable_examples_bin_install" > > > to install the examples binaries in bin. > > > > > > Default value is false. > > > > > > Signed-off-by: Gagandeep Singh <g.si...@nxp.com> > > > --- > > > examples/meson.build | 13 ++++++++++++- > > > meson_options.txt | 2 ++ > > > 2 files changed, 14 insertions(+), 1 deletion(-) > > > > > Is there a particular reason we might want to do this? Installing sample > > code > > binaries in bin seems rather strange to me. > > > Currently, I can see only app binaries are getting installed in bin but not > examples binaries. I am not able to > find the particular reason behind this. > The main reason to have the examples in installation directory is to provides > a convenient > way for users to explore DPDK's examples without having to manually scan each > example build directory and copy them in > their package. > The default behavior remains unchanged.
It does not make sense to me. Examples must be seen as a doc. We are compiling them mostly to check there is no error. Running an example should be educational only, no need to install it somewhere else. I'm afraid this patch is deviating from the intent behind examples.