package/grout: new package

Grout is a Graph router based on DPDK.

Signed-off-by: Maxime Leroy <maxime@leroys.fr>
Reviewed-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Maxime Leroy
2025-04-03 17:39:49 +02:00
committed by Thomas Petazzoni
parent 585cf21fa9
commit 3e65c8005a
5 changed files with 62 additions and 0 deletions

View File

@@ -2387,6 +2387,9 @@ F: package/libtraceevent/
F: package/libtracefs
F: package/linux-tools/linux-tool-rtla.mk.in
N: Maxime Leroy <maxime@leroys.fr>
F: package/grout/
N: Meena Murthy <meena.murthy@amarulasolutions.com>
F: board/engicam/px30core/
F: configs/engicam_px30_core_defconfig

View File

@@ -2503,6 +2503,7 @@ endif
source "package/gesftpserver/Config.in"
source "package/gloox/Config.in"
source "package/glorytun/Config.in"
source "package/grout/Config.in"
source "package/gupnp-tools/Config.in"
source "package/gutenprint/Config.in"
source "package/hans/Config.in"

31
package/grout/Config.in Normal file
View File

@@ -0,0 +1,31 @@
config BR2_PACKAGE_GROUT
bool "grout"
depends on BR2_PACKAGE_DPDK_ARCH_SUPPORTS # dpdk
depends on BR2_TOOLCHAIN_HAS_THREADS # dpdk
depends on BR2_USE_MMU # dpdk, numactl, libecoli, util-linux-smartcols, libcap
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # dpdk
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 # dpdk
depends on BR2_TOOLCHAIN_USES_GLIBC # dpdk
depends on BR2_TOOLCHAIN_HAS_ATOMIC # numactl
depends on !BR2_STATIC_LIBS # libecoli
depends on BR2_USE_WCHAR # libecoli
select BR2_PACKAGE_DPDK
select BR2_PACKAGE_LIBCAP
select BR2_PACKAGE_LIBEVENT
select BR2_PACKAGE_NUMACTL
select BR2_PACKAGE_LIBECOLI
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS
help
Graph router based on DPDK
NOTE: grout needs a working UTF-8 locale (BR2_GENERATE_LOCALE)
comment "grout needs a glibc toolchain w/ dynamic library, threads, wchar, gcc >= 4.9, headers >= 4.19"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_DPDK_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19

3
package/grout/grout.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 0470754b31922645177f4d15654fd345882fb6af4c415229b50b185eeeb8aa95 grout-0.9.1.tar.gz
sha256 1e412aae8da58b718c78b3d7a52eb547004384d4347e4746a22ca6af7522930c LICENSE

24
package/grout/grout.mk Normal file
View File

@@ -0,0 +1,24 @@
################################################################################
#
# grout
#
################################################################################
GROUT_VERSION = 0.9.1
GROUT_SITE = $(call github,DPDK,grout,v$(GROUT_VERSION))
GROUT_LICENSE = BSD-3-Clause
GROUT_LICENSE_FILES = LICENSE
# Avoid using buildroot commit hash
GROUT_CONF_ENV = GROUT_VERSION=$(GROUT_VERSION)
GROUT_DEPENDENCIES = \
host-pkgconf \
dpdk \
libcap \
libevent \
numactl \
libecoli \
util-linux
$(eval $(meson-package))