Skip to content

Commit

Permalink
build: make most device classes optional
Browse files Browse the repository at this point in the history
Apart from ethdev and cryptodev, which have lots of components and tests
which depend on them, we can make the device class libraries optional
without too much work.

This patch marks:
* bbdev,
* compressdev,
* dmadev,
* eventdev,
* mldev,
* rawdev,
* regexdev
optional, and ensures that DPDK - including tests - can be built with
these components disabled.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
bruce-richardson authored and ovsrobot committed Aug 15, 2023
1 parent 969dfa7 commit 7dcea11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,27 @@ libraries = [
]

optional_libs = [
'bbdev',
'bitratestats',
'cfgfile',
'compressdev',
'dmadev',
'eventdev',
'gpudev',
'graph',
'gro',
'gso',
'jobstats',
'latencystats',
'metrics',
'mldev',
'node',
'pdump',
'pipeline',
'port',
'power',
'rawdev',
'regexdev',
'table',
'vhost',
]
Expand Down

0 comments on commit 7dcea11

Please sign in to comment.