From patchwork Thu Sep 28 11:04:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 132135 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53D5642660; Thu, 28 Sep 2023 13:05:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D566440DCD; Thu, 28 Sep 2023 13:05:06 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id A20CD40A6F for ; Thu, 28 Sep 2023 13:05:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695899105; x=1727435105; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+EjpXomC+dVUgdnwOUQ4WXTzkslyivNeCphJmkRJ4sA=; b=SBlEprVl5TQNT4J0jIwl7eqap09YGpMJT/kalplQ4h1y+enOfQMN6WEf fezl+2xcUvXuevaDQYBZku37bgllPjCKhimPzrp/ldDfYgMsOHv3EKhdN 5ZK47LZviCe/0h1rKQJmLLvFR6xZgzym6G0/MfAjdtdxYa4fzouii/4dT /MBrOr6twK5h+w0zprR0iRopvz1kSJyw9Etx8ViySKFtOyEbKCqLPFFyK SX/cdmQhJMJ6GmqwkndJWeqeTsrUBQCeX1NUwDDv5VpBTdiRS/ptfgT8G 6ozbDIZ5AMxBqTpWAATJ79ntGyU08qRwkTsigA3a2D7rk5JoisPU5QnsZ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10846"; a="412944834" X-IronPort-AV: E=Sophos;i="6.03,183,1694761200"; d="scan'208";a="412944834" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 04:05:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10846"; a="743038611" X-IronPort-AV: E=Sophos;i="6.03,183,1694761200"; d="scan'208";a="743038611" Received: from silpixa00401385.ir.intel.com ([10.237.214.155]) by orsmga007.jf.intel.com with ESMTP; 28 Sep 2023 04:05:03 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: gakhil@marvell.com, Bruce Richardson Subject: [PATCH 2/2] app/test: make crypto scheduler an optional dependency Date: Thu, 28 Sep 2023 12:04:50 +0100 Message-Id: <20230928110450.862698-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230928110450.862698-1-bruce.richardson@intel.com> References: <20230928092639.162449-1-bruce.richardson@intel.com> <20230928110450.862698-1-bruce.richardson@intel.com> MIME-Version: 1.0 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 The cryptodev autotests make use of the crypto scheduler driver when it is available, but build fine without. We can therefore remove the hard dependency on that driver when building the crypto test files. Fixes: 50823f30f0c8 ("test: build using per-file dependencies") Reported-by: Akhil Goyal Signed-off-by: Bruce Richardson --- app/test/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.build index 80b60f68b2..bf9fc90612 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -7,7 +7,7 @@ sources += files('commands.c', 'test.c') # optional dependencies: some files may use these - and so we should link them in - # but do not explicitly require them so they are not listed in the per-file lists below -optional_deps = [] +optional_deps = ['crypto_scheduler'] # some other utility C files, providing functions used by various tests # so we need to include these deps in the dependency list for the files using those fns. @@ -15,7 +15,7 @@ packet_burst_generator_deps = ['net'] sample_packet_forward_deps = ['net_ring', 'ethdev', 'bus_vdev'] virtual_pmd_deps = ['ethdev', 'net', 'bus_pci'] # test_cryptodev has material that other crypto tests need -test_cryptodev_deps = ['bus_vdev', 'net', 'cryptodev', 'crypto_scheduler', 'security'] +test_cryptodev_deps = ['bus_vdev', 'net', 'cryptodev', 'security'] source_file_deps = { # The C files providing functionality to other test cases