xref: /dpdk/meson_options.txt (revision 93b2a850)
1# Please keep these options sorted alphabetically.
2
3option('check_includes', type: 'boolean', value: false, description:
4       'build "chkincs" to verify each header file can compile alone')
5option('cpu_instruction_set', type: 'string', value: 'auto',
6	description: 'Set the target machine ISA (instruction set architecture). Will be set according to the platform option by default.')
7option('developer_mode', type: 'feature', description:
8       'turn on additional build checks relevant for DPDK developers')
9option('disable_drivers', type: 'string', value: '', description:
10       'Comma-separated list of drivers to explicitly disable.')
11option('disable_libs', type: 'string', value: '', description:
12       'Comma-separated list of libraries to explicitly disable. [NOTE: not all libs can be disabled]')
13option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>', description:
14       'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')
15option('enable_docs', type: 'boolean', value: false, description:
16       'build documentation')
17option('enable_drivers', type: 'string', value: '', description:
18       'Comma-separated list of drivers to build. If unspecified, build all drivers.')
19option('enable_driver_sdk', type: 'boolean', value: false, description:
20       'Install headers to build drivers.')
21option('enable_kmods', type: 'boolean', value: false, description:
22       'build kernel modules')
23option('examples', type: 'string', value: '', description:
24       'Comma-separated list of examples to build by default')
25option('flexran_sdk', type: 'string', value: '', description:
26       'Path to FlexRAN SDK optional Libraries for BBDEV device')
27option('ibverbs_link', type: 'combo', choices : ['static', 'shared', 'dlopen'], value: 'shared', description:
28       'Linkage method (static/shared/dlopen) for Mellanox PMDs with ibverbs dependencies.')
29option('include_subdir_arch', type: 'string', value: '', description:
30       'subdirectory where to install arch-dependent headers')
31option('kernel_dir', type: 'string', value: '', description:
32       '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.')
33option('machine', type: 'string', value: 'auto', description:
34       'Alias of cpu_instruction_set.')
35option('max_ethports', type: 'integer', value: 32, description:
36       'maximum number of Ethernet devices')
37option('max_lcores', type: 'string', value: 'default', description:
38       'Set maximum number of cores/threads supported by EAL; "default" is different per-arch, "detect" detects the number of cores on the build machine.')
39option('max_numa_nodes', type: 'string', value: 'default', description:
40       'Set the highest NUMA node supported by EAL; "default" is different per-arch, "detect" detects the highest NUMA node on the build machine.')
41option('mbuf_refcnt_atomic', type: 'boolean', value: true, description:
42       'Atomically access the mbuf refcnt.')
43option('platform', type: 'string', value: 'native', description:
44       'Platform to build, either "native", "generic" or a SoC. Please refer to the Linux build guide for more information.')
45option('enable_trace_fp', type: 'boolean', value: false, description:
46       'enable fast path trace points.')
47option('tests', type: 'boolean', value: true, description:
48       'build unit tests')
49option('use_hpet', type: 'boolean', value: false, description:
50       'use HPET timer in EAL')
51