path: root/meson_options.txt
diff options
authorLuca Boccassi <>2019-02-26 17:46:36 +0000
committerThomas Monjalon <>2019-02-27 12:28:03 +0100
commite04ea7fcf03c513a55c9d559dee3dc5560d7289d (patch)
tree36f68d8add08fa690d971b15e13fb901cdad3777 /meson_options.txt
parenta9933bb1debf55509f1ec265d86192d62473b1a9 (diff)
build: use integers for numerical options
Now that the minimum Meson version has been bumped past 0.45 we can use integer as an option type directly. Signed-off-by: Luca Boccassi <> Acked-by: Bruce Richardson <>
Diffstat (limited to 'meson_options.txt')
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 79dade5..dc7346f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -22,9 +22,9 @@ option('machine', type: 'string', value: 'native',
description: 'set the target machine type')
option('max_ethports', type: 'string', value: '32',
description: 'maximum number of Ethernet devices')
-option('max_lcores', type: 'string', value: '128',
+option('max_lcores', type: 'integer', value: 128,
description: 'maximum number of cores/threads supported by EAL')
-option('max_numa_nodes', type: 'string', value: '4',
+option('max_numa_nodes', type: 'integer', 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')