From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1821A0C4E; Mon, 25 Oct 2021 18:17:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73B4440E32; Mon, 25 Oct 2021 18:17:53 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id F07AC4003E for ; Mon, 25 Oct 2021 18:17:51 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5D0635C018B; Mon, 25 Oct 2021 12:17:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 25 Oct 2021 12:17:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=R4PqGQ/KI+sqbTKdPkjYuE+nsD q2Agvj8Ad1fiOGWB8=; b=HSFUWn0XsFE6VlX6jFxxfraAhhWFTOh/VtllwXJoB0 4BAcyUziyLQrw7xdn0N26ATarO+AJKKiYutpwY32H6aOdxrdjUvwAhRkeoWJckp9 UxemOAZ5tg6PCz5sd9bLS5KvzKsaUJlVyPYYj1+cG4cvRwUmLcmXNgerWInyE1B9 kh3PmZLtkbkaocb3Q+9jAgEt2vqorTnA9oSDJoUkGyvE1ubJeHyv37xW83Lp1NxG rXTPx564GVyyULsmlXxgreI/7STFZFdkh/D4aq2K/OSQN4/MiSpKCIiqbirITWEt H4Z2oWrHk889a2qa8M5tQHW9s6f1mRi0txs9VBOGiWkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=R4PqGQ/KI+sqbTKdP kjYuE+nsDq2Agvj8Ad1fiOGWB8=; b=AFPmc5e6/bNTULiBVkDXqPL/eESyNniaj bUhuEbZj/nLLu16MK0EN38oAdZvX8OTh46RR+4JdL34EX2+kb8zklU44qjZYeiot qGmCmBFzmMP+9oecwiiKfG0jxWYBwcrIfHuFLwOhTVcoWam0jZy7ax5MflM9S4+R LAfnFJcbKnQh/FV9+gj2mNwGmnGSpm5PmFHs+pTvwTzcMexI9R+W/rl2nUhM3VtR IQgGnLCdMk0OVaGBpurtS/+6TloDN8EofKcWBaJLfDgLDr/3Vf/aJwyKZO9ngPfG FSZa27nTkjCVJt7tvdubVz6J6BFTO6y0h6AaQCvdLS2AM8L0s06pQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepvdelvdduhedvudduveeuvdevheegudelgeeigfejheduhedttdegudff jeeihffgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 12:17:50 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Bruce Richardson Date: Mon, 25 Oct 2021 18:17:35 +0200 Message-Id: <20211025161736.12689-1-thomas@monjalon.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] config: sort Meson options by categories X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Options used to be sorted alphabetically. It looks easier to read when major options are first, then path tuning, libs options, and drivers options. Signed-off-by: Thomas Monjalon --- meson_options.txt | 75 ++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 36 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 7c220ad68d..281719c794 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,50 +1,53 @@ -# 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]') +# general compilation tuning +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('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('machine', type: 'string', value: 'auto', description: + 'Alias of cpu_instruction_set.') +option('include_subdir_arch', type: 'string', value: '', description: + 'Subdirectory where to install arch-dependent headers.') 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('disable_libs', type: 'string', value: '', description: + 'Comma-separated list of libraries to explicitly disable. [NOTE: not all libs can be disabled]') +option('disable_drivers', type: 'string', value: '', description: + 'Comma-separated list of drivers to explicitly disable.') 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') + 'Build kernel modules.') 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('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('tests', type: 'boolean', value: true, description: + 'Build unit tests.') +option('developer_mode', type: 'feature', description: + 'Turn on additional build checks relevant for DPDK developers.') +option('check_includes', type: 'boolean', value: false, description: + 'Build chkincs to verify each header file can compile alone.') + +# library-specific options 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('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('mbuf_refcnt_atomic', type: 'boolean', value: true, description: 'Atomically access the mbuf refcnt.') -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('max_ethports', type: 'integer', value: 32, description: + 'Maximum number of Ethernet devices.') option('use_hpet', type: 'boolean', value: false, description: - 'use HPET timer in EAL') + 'Use HPET timer in EAL.') +option('enable_trace_fp', type: 'boolean', value: false, description: + 'Enable fast path trace points.') + +# driver-specific options +option('flexran_sdk', type: 'string', value: '', description: + 'Path to FlexRAN SDK optional libraries for bbdev driver.') +option('ibverbs_link', type: 'combo', choices : ['static', 'shared', 'dlopen'], value: 'shared', description: + 'Linkage method (static/shared/dlopen) for Mellanox PMDs with ibverbs dependencies.') -- 2.33.0