2019-02-07 15:53:18 +00:00
# Please keep these options sorted alphabetically.
2021-01-29 16:48:21 +00:00
option ( 'check_includes' , type : 'boolean' , value : false ,
description : 'build "chkincs" to verify each header file can compile alone' )
2021-02-25 15:29:01 +00:00
option ( 'developer_mode' , type : 'feature' ,
description : 'turn on additional build checks relevant for DPDK developers' )
2019-09-25 14:55:31 +00:00
option ( 'disable_drivers' , type : 'string' , value : '' ,
description : 'Comma-separated list of drivers to explicitly disable.' )
2018-10-02 16:20:46 +00:00
option ( 'drivers_install_subdir' , type : 'string' , value : 'dpdk/pmds-<VERSION>' ,
description : 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.' )
2018-09-11 20:42:36 +00:00
option ( 'enable_docs' , type : 'boolean' , value : false ,
description : 'build documentation' )
2021-03-12 22:20:06 +00:00
option ( 'enable_driver_sdk' , type : 'boolean' , value : false ,
description : 'Install headers to build drivers.' )
2020-01-17 19:14:00 +00:00
option ( 'enable_kmods' , type : 'boolean' , value : false ,
2019-02-07 15:53:18 +00:00
description : 'build kernel modules' )
examples: build some samples with meson
Add support for having selected example apps built as part of a meson,
ninja build. By default none are built, and those to be built should be
named directly in the -Dexamples='' meson configuration argument.
This is useful for developers working on a feature who want to use a
suitable example, or examples, to test that feature, as they can compile
everything up in one go, and run the example without having to do a ninja
install first.
This commit adds examples which don't consist of multiple apps in
subdirectories to the meson build, so they can be built by default by
passing -Dexamples parameter to meson.
Not included are the following examples:
* ethtool
* multi-process
* netmap_compat
* performance-thread
* quota_watermark
* server_node_efd
* vm_power_manager
To test the apps added here, use the following command, merged to one line,
to add them to your meson build (command to be run inside the build
directory):
meson configure -Dexamples=bbdev_app,bond,cmdline,distributor,\
eventdev_pipeline_sw_pmd, exception_path,helloworld,\
ip_fragmentation,ip_pipeline,ip_reassembly, ipsec-secgw,\
ipv4_multicast,kni,l2fwd-cat,l2fwd-crypto,l2fwd-jobstats,\
l2fwd-keepalive,l2fwd,l3fwd-acl,l3fwd-power,l3fwd-vf,l3fwd,\
link_status_interrupt,load_balancer,packet_ordering,ptpclient,\
qos_meter,qos_sched,rxtx_callbacks,skeleton,tep_termination,\
timer,vhost,vhost_scsi,vmdq,vmdq_dcb
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Luca Boccassi <bluca@debian.org>
2017-09-12 15:42:02 +00:00
option ( 'examples' , type : 'string' , value : '' ,
description : 'Comma-separated list of examples to build by default' )
2019-06-19 17:48:38 +00:00
option ( 'flexran_sdk' , type : 'string' , value : '' ,
description : 'Path to FlexRAN SDK optional Libraries for BBDEV device' )
2020-02-12 22:07:04 +00:00
option ( 'ibverbs_link' , type : 'combo' , choices : [ 'static' , 'shared' , 'dlopen' ] , value : 'shared' ,
description : 'Linkage method (static/shared/dlopen) for Mellanox PMDs with ibverbs dependencies.' )
2017-09-20 10:28:55 +00:00
option ( 'include_subdir_arch' , type : 'string' , value : '' ,
description : 'subdirectory where to install arch-dependent headers' )
option ( 'kernel_dir' , type : 'string' , value : '' ,
2021-02-11 12:59:46 +00:00
description : 'Path to the kernel for building kernel modules. Headers must be in $kernel_dir or $kernel_dir/build. Modules will be installed in /lib/modules.' )
2017-09-20 10:28:55 +00:00
option ( 'machine' , type : 'string' , value : 'native' ,
2021-03-30 06:40:19 +00:00
description : 'set the target machine type or "generic", a build usable on all machines of the build machine architecture or "native", which lets the compiler pick the architecture of the build machine.' )
2019-03-01 15:46:51 +00:00
option ( 'max_ethports' , type : 'integer' , value : 32 ,
2019-02-07 15:53:17 +00:00
description : 'maximum number of Ethernet devices' )
2019-02-26 17:46:36 +00:00
option ( 'max_lcores' , type : 'integer' , value : 128 ,
2017-09-20 10:28:55 +00:00
description : 'maximum number of cores/threads supported by EAL' )
2021-02-03 21:08:50 +00:00
option ( 'max_numa_nodes' , type : 'integer' , value : 32 ,
2017-09-20 10:28:55 +00:00
description : 'maximum number of NUMA nodes supported by EAL' )
2020-04-22 19:03:19 +00:00
option ( 'enable_trace_fp' , type : 'boolean' , value : false ,
description : 'enable fast path trace points.' )
2017-12-20 11:16:32 +00:00
option ( 'tests' , type : 'boolean' , value : true ,
description : 'build unit tests' )
2019-02-07 15:53:18 +00:00
option ( 'use_hpet' , type : 'boolean' , value : false ,
description : 'use HPET timer in EAL' )