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 6137F43070; Tue, 15 Aug 2023 15:13:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBE104329C; Tue, 15 Aug 2023 15:13:44 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id A8ECF4325E; Tue, 15 Aug 2023 15:13:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692105220; x=1723641220; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/aubjjtmNTHfcLoV01FtIX5ii38xHE8a204GN0Tde/Q=; b=Xc5PmfuhezGbMIjpp7KErbsjYc9rvieAMeQ1U/dEiVBNmtzBmPnbY628 29R5u65KsKd7rt7YqEDWyMM2gR9oGkci26k67xFGBJiL3q/p92dF/PQFr HipBEPHMkIotfsmsLlWzCMqtDgFooD54rJUmr7NPjRz078uswFJCGRaXS i9CQPToaZaKIj89ETJQkt27uVa9bYmrYSJ75KbOmhAH+9R++ojUPaquPa g381VBZAT89tN3tjQd69o1A/o2YBLLgPavj2tNhs8tVhjhaWZDGZq6MTn IEbEoL0oRc+5nxfzP3dFpFdin5Yaj8xPq08ya/QG62UMaFfBT28dzps3C A==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="458623173" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="458623173" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2023 06:13:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="799189852" X-IronPort-AV: E=Sophos;i="6.01,174,1684825200"; d="scan'208";a="799189852" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by fmsmga008.fm.intel.com with ESMTP; 15 Aug 2023 06:13:38 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: ci@dpdk.org, Bruce Richardson , =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH v4 7/8] build: make most device classes optional Date: Tue, 15 Aug 2023 14:13:19 +0100 Message-Id: <20230815131320.375088-8-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230815131320.375088-1-bruce.richardson@intel.com> References: <20230721115125.55137-1-bruce.richardson@intel.com> <20230815131320.375088-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-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