30 lines
1.1 KiB
Python
30 lines
1.1 KiB
Python
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class Dpdk(MakefilePackage):
|
|
"""DPDK is a set of libraries and drivers for fast packet processing.
|
|
It supports many processor architectures and both FreeBSD and Linux."""
|
|
|
|
homepage = "https://github.com/DPDK/dpdk"
|
|
url = "https://github.com/DPDK/dpdk/archive/v19.11.tar.gz"
|
|
|
|
version('20.02', sha256='29e56ea8e47e30110ecb881fa5a37125a865dd2d45b61f68e93e334caaab16b7')
|
|
version('19.11', sha256='ce1befb20a5e5c5399b326a39cfa23314a5229c0ced2553f53b09b1ae630706b')
|
|
version('19.08', sha256='1ceff1a6f4f8d5f6f62c1682097249227ac5225ccd9638e0af09f5411c681038')
|
|
version('19.05', sha256='5fea95cb726e6adaa506dab330e79563ccd4dacf03f126c826aabdced605d32b')
|
|
version('19.02', sha256='04885d32c86fff5aefcfffdb8257fed405233602dbcd22f8298be13c2e285a50')
|
|
|
|
depends_on('numactl')
|
|
|
|
def build(self, spec, prefix):
|
|
make('defconfig')
|
|
make()
|
|
|
|
def install(self, spec, prefix):
|
|
install_tree('.', prefix)
|