Merge pull request #231530 from mweinelt/odp-dpdk-openssl3

odp-dpdk: Build against openssl3
This commit is contained in:
Martin Weinelt 2023-05-13 01:09:33 +02:00 committed by GitHub
commit 15dc18849a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 20 deletions

View file

@ -1,25 +1,28 @@
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config
, dpdk, libbpf, libconfig, libpcap, numactl, openssl, zlib, libbsd, libelf, jansson
{ lib
, stdenv
, fetchurl
, autoreconfHook
, pkg-config
, dpdk
, libbpf
, libconfig
, libpcap
, numactl
, openssl
, zlib
, libbsd
, libelf
, jansson
, libnl
}: let
dpdk_19_11 = dpdk.overrideAttrs (old: rec {
version = "19.11.12";
src = fetchurl {
url = "https://fast.dpdk.org/rel/dpdk-${version}.tar.xz";
sha256 = "sha256-F9m2+MZi3n0psPIwjWwhiIbbNkoGlxqtru2OlV7TbzQ=";
};
mesonFlags = old.mesonFlags ++ [
"-Denable_docs=false"
];
});
}:
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "odp-dpdk";
version = "1.37.0.0_DPDK_19.11";
version = "1.41.0.0_DPDK_22.11";
src = fetchurl {
url = "https://git.linaro.org/lng/odp-dpdk.git/snapshot/${pname}-${version}.tar.gz";
sha256 = "sha256-Ai6+6eZJeG0BrwNboBPfgDGkUbCC8lcj7+oxmWjWP2k=";
hash = "sha256-4p+R+7IeDKQFqBzQTvXfR407exxhoS8pnKxF9Qnr8tw=";
};
nativeBuildInputs = [
@ -28,7 +31,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
dpdk_19_11
dpdk
libconfig
libpcap
numactl

View file

@ -27184,9 +27184,7 @@ with pkgs;
odin = callPackage ../development/compilers/odin { };
odp-dpdk = callPackage ../os-specific/linux/odp-dpdk {
openssl = openssl_1_1;
};
odp-dpdk = callPackage ../os-specific/linux/odp-dpdk { };
odroid-xu3-bootloader = callPackage ../tools/misc/odroid-xu3-bootloader { };