From patchwork Fri Oct 27 11:01:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 133495 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 5464E43215; Fri, 27 Oct 2023 13:01:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D33840698; Fri, 27 Oct 2023 13:01:36 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mails.dpdk.org (Postfix) with ESMTP id 4627D42831 for ; Fri, 27 Oct 2023 13:01:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698404495; x=1729940495; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Jz2dynU2x+m0JylnErYqJwKYKNcdBfxLxTIYKN84SI8=; b=oC+V3Nr0CsH3PnpcQ2pkwFHVagyr9FbpsebltDLHcUZ6qGVJabSLxKkN kz6HHp7Ydb4e+Pt3/bBW7XCnMwyX2oEq1nDHMa64HSctEDL0/hDB4xrwo h6MjHKdF8T20tI8gRQT0Q/f0dzQLxFNAPydRohTEE6TC3O82xsQGV2wic 7ka2m0GsvZaBtwkYH6nwt47Kqqw8jAi5RQzSJ//myPFGPIav4FXxIdAao 8jzgpSf7nNcYdCqBxA+OCE8jKlUaobAC4+cg3RW2eQyoAQSaWryUTMZuG Iy38u4DhfdMGLRVcBqi4Awey7Pcb3/wCkg6R2X6Qcps8KkCR+p63OeFGN w==; X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="546688" X-IronPort-AV: E=Sophos;i="6.03,256,1694761200"; d="scan'208";a="546688" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 04:01:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="883157852" X-IronPort-AV: E=Sophos;i="6.03,256,1694761200"; d="scan'208";a="883157852" Received: from silpixa00401385.ir.intel.com ([10.237.214.154]) by orsmga004.jf.intel.com with ESMTP; 27 Oct 2023 04:01:32 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, rjarry@redhat.com, Bruce Richardson , Aaron Conole Subject: [PATCH v7 3/9] ci: allow use of DPDK tools when building examples Date: Fri, 27 Oct 2023 12:01:11 +0100 Message-Id: <20231027110117.70995-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231027110117.70995-1-bruce.richardson@intel.com> References: <20230802170052.955323-1-bruce.richardson@intel.com> <20231027110117.70995-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 b09df07b55..4cdbe9b9e9 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -178,6 +178,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-*" |