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 A254243063; Mon, 14 Aug 2023 17:17:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17368432DE; Mon, 14 Aug 2023 17:16:33 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 85B1243298; Mon, 14 Aug 2023 17:16:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692026190; x=1723562190; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/aubjjtmNTHfcLoV01FtIX5ii38xHE8a204GN0Tde/Q=; b=GD+KeMreBWByE6us5jAeO+tj5Z4ivb/4Ga4jEhV3HAMsxbuGOrfCfRKT ppqLSsSWD90Fe2lFVdYx7r1v0EwfTrxk/G+rMDY0vZmSIFrWbpK2wHiyX TC4MC/8NKAuWFQz7bh4iX00CfYuuMy20xzVFu1gub2gdV7hzurz/V+3hO 8SFzdpu2eRDadY8VF9GGhK2h7tIIIvQsvAMFt2Fv6AuEyqfLKs9ZJr8oq 1GZ/1QKWrJBhwha/36cf55awNk74Qi5XyfX6Nbi7jP2yXhnzZS+A4Xar2 qQgr48DPENPt40xCaJZpuXxFepiz2c4RncTMXb6E3RNqCIVvBAEqCP+b3 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="362211304" X-IronPort-AV: E=Sophos;i="6.01,172,1684825200"; d="scan'208";a="362211304" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 08:16:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="803499980" X-IronPort-AV: E=Sophos;i="6.01,172,1684825200"; d="scan'208";a="803499980" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by fmsmga004.fm.intel.com with ESMTP; 14 Aug 2023 08:16:27 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ci@dpdk.org, Bruce Richardson , =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH v2 7/8] build: make most device classes optional Date: Mon, 14 Aug 2023 16:16:08 +0100 Message-Id: <20230814151609.3077077-8-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230814151609.3077077-1-bruce.richardson@intel.com> References: <20230721115125.55137-1-bruce.richardson@intel.com> <20230814151609.3077077-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Apart from ethdev and cryptodev, which have lots of components and tests which depend on them, we can make the device class libraries optional without too much work. This patch marks: * bbdev, * compressdev, * dmadev, * eventdev, * mldev, * rawdev, * regexdev optional, and ensures that DPDK - including tests - can be built with these components disabled. Signed-off-by: Bruce Richardson Acked-by: Morten Brørup --- lib/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/meson.build b/lib/meson.build index 92cbd6bb66..1a78c8c984 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -67,8 +67,12 @@ libraries = [ ] optional_libs = [ + 'bbdev', 'bitratestats', 'cfgfile', + 'compressdev', + 'dmadev', + 'eventdev', 'gpudev', 'graph', 'gro', @@ -76,11 +80,14 @@ optional_libs = [ 'jobstats', 'latencystats', 'metrics', + 'mldev', 'node', 'pdump', 'pipeline', 'port', 'power', + 'rawdev', + 'regexdev', 'table', 'vhost', ] -- 2.39.2