Merge pull request #298002 from wfdewith/odp-dpdk-1.44.0.0

odp-dpdk: 1.42.0.0_DPDK_22.11 -> 1.44.0.0_DPDK_22.11
This commit is contained in:
Weijia Wang
2024-03-27 16:32:39 +01:00
committed by GitHub
+7 -11
View File
@@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, autoreconfHook
, pkg-config
, dpdk
@@ -19,11 +19,13 @@
stdenv.mkDerivation rec {
pname = "odp-dpdk";
version = "1.42.0.0_DPDK_22.11";
version = "1.44.0.0_DPDK_22.11";
src = fetchurl {
url = "https://git.linaro.org/lng/odp-dpdk.git/snapshot/${pname}-${version}.tar.gz";
hash = "sha256-qtdqYE4+ab6/9Z0YXXCItcfj+3+gyprcNMAnAZkl4GA=";
src = fetchFromGitHub {
owner = "OpenDataPlane";
repo = "odp-dpdk";
rev = "v${version}";
hash = "sha256-hYtQ7kKB08BImkTYXqtnv1Ny1SUPCs6GX7WOYks8iKA=";
};
nativeBuildInputs = [
@@ -46,12 +48,6 @@ stdenv.mkDerivation rec {
libnl
];
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=maybe-uninitialized"
"-Wno-error=uninitialized"
];
# binaries will segfault otherwise
dontStrip = true;