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 9EAE64317F; Mon, 16 Oct 2023 16:06:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E80BE40A79; Mon, 16 Oct 2023 16:06:37 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 5EE50406B8 for ; Mon, 16 Oct 2023 16:06: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=1697465194; x=1729001194; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z6RtbglnMm22lWjy1qGvABoPGj95+vX1ZGY9X5/aW/4=; b=EUZi6/YjY6YlySkodXahfZ9JPRNUbe96hlQPdt9fhg+vblDWgboFMF+/ 6Lb3r5vpEav+Whg5wFxlvLRrKRFSib8V0YYCKPiXW7Bk653BSr6J8+Pa1 m6o/ehRp4FM7bfXmnz0JfzedDlfvsEPg1dDEStvfVuc+1MldiTQ0F/N5t qJ6LL43x3SzcSzvdYZtn6rfkuVqkMX/VFQaKP3YRxTzYG9YHmEZkd2QUP 0l/hPzzkjdlcim8TZFr/gH8vxpwKBdfZRkgTK58nQ3fXOF9fxX6DvlqJl H3MDeT4RFIIdnpmDxtekW3NLSBASxWRdVAL0hZQSg4atRoO0u5Vvp9k4Q w==; X-IronPort-AV: E=McAfee;i="6600,9927,10863"; a="385370299" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="385370299" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 07:06:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10863"; a="821583964" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="821583964" Received: from silpixa00401385.ir.intel.com ([10.237.214.154]) by fmsmga008.fm.intel.com with ESMTP; 16 Oct 2023 07:06:31 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, rjarry@redhat.com, Bruce Richardson , Aaron Conole , Michael Santana Subject: [PATCH v4 3/7] ci: allow use of DPDK tools when building examples Date: Mon, 16 Oct 2023 15:06:08 +0100 Message-Id: <20231016140612.664853-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231016140612.664853-1-bruce.richardson@intel.com> References: <20230802170052.955323-1-bruce.richardson@intel.com> <20231016140612.664853-1-bruce.richardson@intel.com> MIME-Version: 1.0 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 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 --- .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-*" | -- 2.39.2