Unverified Commit cb6042a1 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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
parents 6456dc08 a2d3d02a
Loading
Loading
Loading
Loading
+7 −11
Original line number Diff line number Diff line
{ 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;