From patchwork Mon Oct 23 13:15:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 133188 X-Patchwork-Delegate: thomas@monjalon.net 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 17CB3431E2; Mon, 23 Oct 2023 15:16:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADCC342DA3; Mon, 23 Oct 2023 15:16:07 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id EBDE64161A for ; Mon, 23 Oct 2023 15:16:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698066965; x=1729602965; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=rdqlN+wroXTgq7AT6ETUDKrorF8KJqJBCbCNNphRZEg=; b=msgTnAP0lMryxjO41Dr4epR5P8PX/qVjrhUWXQ7Fp5V2+YsqcrD6z60Z wS8itNbEqAX2idMrObGaFnWVwsMqQx8m451aK8iEGT4n7Ej6Ce98EEnHL jy72LrGeR+r/nhTwnoBoGSeF6ebeVVDsODljVTKVCI/eRT8EU3Svm9oP9 DAErHnxqbcWrZ2AGYHycqXHmWLdRM+mqeHWWxeyt+GRPySqRo91cKAW+5 kJQV7DybnNvfPJkBrQFpFRlsGNXy8Ms7+TjgDDRCzAO4MhgPc3bdJYPHD OaRinjtS/Svyp9bIwMjxE0cvEPS5x77i6NYyIU0IV1zza9Q+olH0xPu8O w==; X-IronPort-AV: E=McAfee;i="6600,9927,10872"; a="384033628" X-IronPort-AV: E=Sophos;i="6.03,244,1694761200"; d="scan'208";a="384033628" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2023 06:16:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10872"; a="931680647" X-IronPort-AV: E=Sophos;i="6.03,244,1694761200"; d="scan'208";a="931680647" Received: from silpixa00401385.ir.intel.com ([10.237.214.154]) by orsmga005.jf.intel.com with ESMTP; 23 Oct 2023 06:16:03 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson , Aaron Conole Subject: [PATCH v6 3/9] ci: allow use of DPDK tools when building examples Date: Mon, 23 Oct 2023 14:15:46 +0100 Message-Id: <20231023131552.1024375-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231023131552.1024375-1-bruce.richardson@intel.com> References: <20230802170052.955323-1-bruce.richardson@intel.com> <20231023131552.1024375-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 To allow use of the DPDK python scripts (installed in $(prefix)/bin) from within the makefiles of our examples, we need to export the PATH variable with the location of our installed scripts from within our CI scripts. This matches what is already done for other paths e.g. the PKG_CONFIG_PATH variable. Signed-off-by: Bruce Richardson Reviewed-by: Aaron Conole --- .ci/linux-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index e0b62bac90..3db9d9de6e 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -174,6 +174,7 @@ fi if [ "$BUILD_EXAMPLES" = "true" ]; then [ -d install ] || DESTDIR=$(pwd)/install meson install -C build export LD_LIBRARY_PATH=$(dirname $(find $(pwd)/install -name librte_eal.so)):$LD_LIBRARY_PATH + export PATH=$(dirname $(find $(pwd)/install -name dpdk-devbind.py)):$PATH export PKG_CONFIG_PATH=$(dirname $(find $(pwd)/install -name libdpdk.pc)):$PKG_CONFIG_PATH export PKGCONF="pkg-config --define-prefix" find build/examples -maxdepth 1 -type f -name "dpdk-*" |