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 857F643C92; Tue, 12 Mar 2024 14:50:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CF4140689; Tue, 12 Mar 2024 14:50:32 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by mails.dpdk.org (Postfix) with ESMTP id EDE2A40282 for ; Tue, 12 Mar 2024 14:50:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710251430; x=1741787430; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Dr22EuaKnwte5xvQKPzK5Ba+g91EJtNeGf0jUWJeKuk=; b=DHhGpSdfDjyXtMZfC4l7NKM3IMy5kcFC0E5rv5BTqLOV0x7Ljyfvntfs fljEf9bkJ+bLHHGcl3l6qegAofkjxMvtqeY+FSePI0yB8Rb5Stxs1uDv+ r42JPhBDAV6lPO8+Fw2BZ6yK1IX0HSckHMr6TfVEuhJPWneIZT5KTUfch A3m3dA9zD6Y5cvC3ZxlbPPVx6/7sX7hIw/s5/CQW5f5z6ips9dTDC6laS 6qtaQhJAqr7eRdOw9VJvMK6fCHus74hPL1dQcyqbNd1QogiEzVV3FXw1y rhiq7ZlrOoR9aYHN55p0a1rg6qjTEJgzc2JA4IkEcG56hsBt1xaJ391RG Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11010"; a="5081141" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="5081141" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 06:50:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="11466537" Received: from unknown (HELO silpixa00400886.ir.intel.com) ([10.243.23.150]) by fmviesa009.fm.intel.com with ESMTP; 12 Mar 2024 06:50:24 -0700 From: Brian Dooley To: Aaron Conole , Michael Santana Cc: dev@dpdk.org, gakhil@marvell.com, pablo.de.lara.guarch@intel.com, probb@iol.unh.edu, wathsala.vithanage@arm.com, Ciara Power Subject: [PATCH v6 1/5] ci: replace IPsec-mb package install Date: Tue, 12 Mar 2024 13:50:15 +0000 Message-Id: <20240312135020.2969533-1-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231212153640.1561504-1-brian.dooley@intel.com> References: <20231212153640.1561504-1-brian.dooley@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 From: Ciara Power The IPsec-mb version that is available through current package managers is 1.2. This release moves the minimum required IPsec-mb version for IPsec-mb based SW PMDs to 1.4. To compile these PMDs, a manual step is added to install IPsec-mb v1.4 using dpkg. Signed-off-by: Ciara Power --- .github/workflows/build.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 776fbf6f30..ed44b1f730 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,9 +106,15 @@ jobs: run: sudo apt update || true - name: Install packages run: sudo apt install -y ccache libarchive-dev libbsd-dev libbpf-dev - libfdt-dev libibverbs-dev libipsec-mb-dev libisal-dev libjansson-dev + libfdt-dev libibverbs-dev libisal-dev libjansson-dev libnuma-dev libpcap-dev libssl-dev ninja-build pkg-config python3-pip python3-pyelftools python3-setuptools python3-wheel zlib1g-dev + - name: Install ipsec-mb library + run: | + wget "https://launchpad.net/ubuntu/+archive/primary/+files/libipsec-mb-dev_1.4-3_amd64.deb" + wget "https://launchpad.net/ubuntu/+archive/primary/+files/libipsec-mb1_1.4-3_amd64.deb" + sudo dpkg -i libipsec-mb1_1.4-3_amd64.deb + sudo dpkg -i libipsec-mb-dev_1.4-3_amd64.deb - name: Install libabigail build dependencies if no cache is available if: env.ABI_CHECKS == 'true' && steps.libabigail-cache.outputs.cache-hit != 'true' run: sudo apt install -y autoconf automake libdw-dev libtool libxml2-dev @@ -187,11 +193,18 @@ jobs: run: docker exec -i dpdk dnf update -y - name: Install packages if: steps.image_cache.outputs.cache-hit != 'true' - run: docker exec -i dpdk dnf install -y ccache intel-ipsec-mb-devel + run: docker exec -i dpdk dnf install -y ccache isa-l-devel jansson-devel libarchive-devel libatomic libbsd-devel libbpf-devel libfdt-devel libpcap-devel libxdp-devel ninja-build numactl-devel openssl-devel python3-pip python3-pyelftools python3-setuptools python3-wheel rdma-core-devel zlib-devel + - name: Install ipsec-mb library + if: steps.image_cache.outputs.cache-hit != 'true' + run: | + wget "https://launchpad.net/ubuntu/+archive/primary/+files/libipsec-mb-dev_1.4-3_amd64.deb" + wget "https://launchpad.net/ubuntu/+archive/primary/+files/libipsec-mb1_1.4-3_amd64.deb" + sudo dpkg -i libipsec-mb1_1.4-3_amd64.deb + sudo dpkg -i libipsec-mb-dev_1.4-3_amd64.deb - name: Save image in cache if: steps.image_cache.outputs.cache-hit != 'true' run: | @@ -262,12 +275,18 @@ jobs: - name: Update run: docker exec -i dpdk dnf update -y || true - name: Install packages - run: docker exec -i dpdk dnf install -y ccache intel-ipsec-mb-devel + run: docker exec -i dpdk dnf install -y ccache isa-l-devel jansson-devel libarchive-devel libatomic libbsd-devel libbpf-devel libfdt-devel libpcap-devel libxdp-devel ninja-build numactl-devel openssl-devel python3-pip python3-pyelftools python3-setuptools python3-wheel rdma-core-devel zlib-devel ${{ matrix.config.compiler }} + - name: Install ipsec-mb library + run: | + wget "https://launchpad.net/ubuntu/+archive/primary/+files/libipsec-mb-dev_1.4-3_amd64.deb" + wget "https://launchpad.net/ubuntu/+archive/primary/+files/libipsec-mb1_1.4-3_amd64.deb" + sudo dpkg -i libipsec-mb1_1.4-3_amd64.deb + sudo dpkg -i libipsec-mb-dev_1.4-3_amd64.deb - name: Run setup run: docker exec -i dpdk .ci/linux-setup.sh - name: Build -- 2.25.1