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 0D5BD43081; Wed, 16 Aug 2023 17:36:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 606264328B; Wed, 16 Aug 2023 17:35:49 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 296C943280 for ; Wed, 16 Aug 2023 17:35:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692200147; x=1723736147; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/aubjjtmNTHfcLoV01FtIX5ii38xHE8a204GN0Tde/Q=; b=GRObQlhxQnXo9lmZds3YGctoPOY4JxQ0HNZIIKZPiJ+n5dUY64/D6e3/ F8dsYF/IVnFk/cTvvaVNEc+Dc8Vti2ygwfzKR5y//9zxekuCwslHBXkIf jqsloRlEMt0dRZrLkONw1jGEAnxgFkGBX+YtTd42zCu00cO1IQv9Ox//M NU6Wfi0I+IMloqGVD3ijHINudZjOq/WGld7bcsBP/RfNVObz5nsa81Zyn n8BHb9nBcBny2ns1sYaFwoFFRLSlWKV8DZouHqEEQm2mfoUDQ0nZnuM0y mvKmUiJuEqZhT3cLYwtWxeDidDwTyJxhuwJxzHgIZJcbbhIo1GoMp2EXM Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="458916041" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="458916041" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 08:35:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="857856329" X-IronPort-AV: E=Sophos;i="6.01,177,1684825200"; d="scan'208";a="857856329" Received: from silpixa00401385.ir.intel.com ([10.237.214.14]) by orsmga004.jf.intel.com with ESMTP; 16 Aug 2023 08:35:45 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, probb@iol.unh.edu, mb@smartsharesystems.com, Bruce Richardson Subject: [PATCH v6 10/11] build: make most device classes optional Date: Wed, 16 Aug 2023 16:34:38 +0100 Message-Id: <20230816153439.551501-11-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230816153439.551501-1-bruce.richardson@intel.com> References: <20230721115125.55137-1-bruce.richardson@intel.com> <20230816153439.551501-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