X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=meson_options.txt;h=9beedabe4ce1f61523bda67a837060dbec6bf94a;hb=refs%2Fheads%2Fkvargs-20210924;hp=d14bde892d3eab5861c2a493fc5ce8512c964486;hpb=96d7c62a70c7d636001de887f8b739a2be88d1b5;p=dpdk.git diff --git a/meson_options.txt b/meson_options.txt index d14bde892d..9beedabe4c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,28 +1,48 @@ -option('allow_invalid_socket_id', type: 'boolean', value: false, - description: 'allow out-of-range NUMA socket id\'s for platforms that don\'t report the value correctly') -option('enable_driver_mlx_glue', type: 'boolean', value: false, - description: 'Enable glue library for Mellanox PMDs') -option('enable_kmods', type: 'boolean', value: true, - description: 'build kernel modules') -option('enable_docs', type: 'boolean', value: false, - description: 'build documentation') -option('examples', type: 'string', value: '', - description: 'Comma-separated list of examples to build by default') -option('include_subdir_arch', type: 'string', value: '', - description: 'subdirectory where to install arch-dependent headers') -option('kernel_dir', type: 'string', value: '', - description: 'path to the kernel for building kernel modules, they will be installed in $DEST_DIR/$kernel_dir/../extra/dpdk') -option('lib_musdk_dir', type: 'string', value: '', - description: 'path to the MUSDK library installation directory') -option('machine', type: 'string', value: 'native', - description: 'set the target machine type') -option('max_lcores', type: 'string', value: '128', - description: 'maximum number of cores/threads supported by EAL') -option('max_numa_nodes', type: 'string', value: '4', - description: 'maximum number of NUMA nodes supported by EAL') -option('per_library_versions', type: 'boolean', value: true, - description: 'true: each lib gets its own version number, false: DPDK version used for each lib') -option('use_hpet', type: 'boolean', value: false, - description: 'use HPET timer in EAL') -option('tests', type: 'boolean', value: true, - description: 'build unit tests') +# Please keep these options sorted alphabetically. + +option('check_includes', type: 'boolean', value: false, description: + 'build "chkincs" to verify each header file can compile alone') +option('cpu_instruction_set', type: 'string', value: 'auto', + description: 'Set the target machine ISA (instruction set architecture). Will be set according to the platform option by default.') +option('developer_mode', type: 'feature', description: + 'turn on additional build checks relevant for DPDK developers') +option('disable_drivers', type: 'string', value: '', description: + 'Comma-separated list of drivers to explicitly disable.') +option('disable_libs', type: 'string', value: '', description: + 'Comma-separated list of libraries to explicitly disable. [NOTE: not all libs can be disabled]') +option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-', description: + 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.') +option('enable_docs', type: 'boolean', value: false, description: + 'build documentation') +option('enable_drivers', type: 'string', value: '', description: + 'Comma-separated list of drivers to build. If unspecified, build all drivers.') +option('enable_driver_sdk', type: 'boolean', value: false, description: + 'Install headers to build drivers.') +option('enable_kmods', type: 'boolean', value: false, description: + 'build kernel modules') +option('examples', type: 'string', value: '', description: + 'Comma-separated list of examples to build by default') +option('flexran_sdk', type: 'string', value: '', description: + 'Path to FlexRAN SDK optional Libraries for BBDEV device') +option('ibverbs_link', type: 'combo', choices : ['static', 'shared', 'dlopen'], value: 'shared', description: + 'Linkage method (static/shared/dlopen) for Mellanox PMDs with ibverbs dependencies.') +option('include_subdir_arch', type: 'string', value: '', description: + 'subdirectory where to install arch-dependent headers') +option('kernel_dir', type: 'string', value: '', 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.') +option('machine', type: 'string', value: 'auto', description: + 'Alias of cpu_instruction_set.') +option('max_ethports', type: 'integer', value: 32, description: + 'maximum number of Ethernet devices') +option('max_lcores', type: 'string', value: 'default', description: + 'Set maximum number of cores/threads supported by EAL; "default" is different per-arch, "detect" detects the number of cores on the build machine.') +option('max_numa_nodes', type: 'string', value: 'default', description: + 'Set the highest NUMA node supported by EAL; "default" is different per-arch, "detect" detects the highest NUMA node on the build machine.') +option('platform', type: 'string', value: 'native', description: + 'Platform to build, either "native", "generic" or a SoC. Please refer to the Linux build guide for more information.') +option('enable_trace_fp', type: 'boolean', value: false, description: + 'enable fast path trace points.') +option('tests', type: 'boolean', value: true, description: + 'build unit tests') +option('use_hpet', type: 'boolean', value: false, description: + 'use HPET timer in EAL')