odp-dpdk: 1.42.0.0_DPDK_22.11 -> 1.44.0.0_DPDK_22.11

This commit is contained in:
Wim de With 2024-03-22 10:48:02 +01:00
parent 6da1795208
commit a2d3d02ac7

View File

@ -1,6 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchurl , fetchFromGitHub
, autoreconfHook , autoreconfHook
, pkg-config , pkg-config
, dpdk , dpdk
@ -19,11 +19,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "odp-dpdk"; pname = "odp-dpdk";
version = "1.42.0.0_DPDK_22.11"; version = "1.44.0.0_DPDK_22.11";
src = fetchurl { src = fetchFromGitHub {
url = "https://git.linaro.org/lng/odp-dpdk.git/snapshot/${pname}-${version}.tar.gz"; owner = "OpenDataPlane";
hash = "sha256-qtdqYE4+ab6/9Z0YXXCItcfj+3+gyprcNMAnAZkl4GA="; repo = "odp-dpdk";
rev = "v${version}";
hash = "sha256-hYtQ7kKB08BImkTYXqtnv1Ny1SUPCs6GX7WOYks8iKA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -46,12 +48,6 @@ stdenv.mkDerivation rec {
libnl libnl
]; ];
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=maybe-uninitialized"
"-Wno-error=uninitialized"
];
# binaries will segfault otherwise # binaries will segfault otherwise
dontStrip = true; dontStrip = true;