package/gemmlowp: new package

This package is required by tensorflow-lite.

Tested-by: Stefan Hager <stefan.hager@ginzinger.com>
Signed-off-by: Stefan Hager <stefan.hager@ginzinger.com>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Stefan Hager
2025-01-28 10:01:46 -07:00
committed by Julien Olivain
parent c655ed35f6
commit 1cb85a5cb1
5 changed files with 34 additions and 0 deletions

View File

@@ -3034,6 +3034,7 @@ F: package/ti-gfx/
N: Stefan Hager <stefan.hager@ginzinger.com>
F: package/cpuinfo/
F: package/gemmlowp/
F: package/ruy/
N: Stefan Nickl <Stefan.Nickl@gmail.com>

View File

@@ -2190,6 +2190,7 @@ menu "Other"
source "package/fxdiv/Config.in"
source "package/gconf/Config.in"
source "package/gdal/Config.in"
source "package/gemmlowp/Config.in"
source "package/gflags/Config.in"
source "package/gli/Config.in"
source "package/glibmm/Config.in"

View File

@@ -0,0 +1,12 @@
config BR2_PACKAGE_GEMMLOWP
bool "gemmlowp"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
help
Low-precision matrix multiplication.
https://github.com/google/gemmlowp
comment "gemmlowp needs a toolchain w/ C++11"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8

View File

@@ -0,0 +1,4 @@
# Locally calculated
sha256 c3feb896a1b42595cf9a508ed64ed0dc3cd84fffdb8eed790d02d0534ab322ce gemmlowp-16e8662c34917be0065110bfcd9cc27d30f52fdf.tar.gz
# License files, locally calculated
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE

View File

@@ -0,0 +1,16 @@
################################################################################
#
# gemmlowp
#
################################################################################
GEMMLOWP_VERSION = 16e8662c34917be0065110bfcd9cc27d30f52fdf
GEMMLOWP_SITE = $(call github,google,gemmlowp,$(GEMMLOWP_VERSION))
GEMMLOWP_LICENSE = Apache-2.0
GEMMLOWP_LICENSE_FILES = LICENSE
GEMMLOWP_INSTALL_STAGING = YES
# Only installs a header
GEMMLOWP_INSTALL_TARGET = NO
GEMMLOWP_SUBDIR = contrib
$(eval $(cmake-package))