* [dpdk-dev] remove specific modules from meson/ninja build
@ 2019-01-24 6:41 Liron Himi
2019-01-24 9:40 ` Bruce Richardson
0 siblings, 1 reply; 2+ messages in thread
From: Liron Himi @ 2019-01-24 6:41 UTC (permalink / raw)
To: bruce.richardson, dev; +Cc: Liron Himi
Hi,
In our specific platform makefile we have removed several components. Some due to conflicts and some to reduce final package size.
As you know this can be done by setting to 'false' specific 'CONFIG_RTE_LIBRTE_<x>'.
Is there a way to do the same in the meson/ninja process?
Regards,
Liron
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] remove specific modules from meson/ninja build
2019-01-24 6:41 [dpdk-dev] remove specific modules from meson/ninja build Liron Himi
@ 2019-01-24 9:40 ` Bruce Richardson
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2019-01-24 9:40 UTC (permalink / raw)
To: Liron Himi; +Cc: dev
On Thu, Jan 24, 2019 at 06:41:01AM +0000, Liron Himi wrote:
> Hi,
>
>
> In our specific platform makefile we have removed several components.
> Some due to conflicts and some to reduce final package size.
>
> As you know this can be done by setting to ‘false’ specific
> ‘CONFIG_RTE_LIBRTE_<x>’.
>
> Is there a way to do the same in the meson/ninja process?
>
>
No, it's not possible. If we support turning on and off individual
libraries then it vastly increases the number of possible configurations
that need to be validated, and we'd need to have each library check for the
presence of it's own dependencies and behave appropriately if they are
missing. It keeps things far saner if all libraries - bar those with
specific external dependencies - are always built, and so their presence
can be relied upon by other libraries and drivers.
If you want to remove individual components I suggest you remove them at
package building time. Out of interest, are you using shared or static
libraries, and how big of space difference does omitting a few libraries
make?
/Bruce
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-24 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24 6:41 [dpdk-dev] remove specific modules from meson/ninja build Liron Himi
2019-01-24 9:40 ` Bruce Richardson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).