mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/ruy: 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:
committed by
Julien Olivain
parent
ea1cc1af55
commit
c655ed35f6
@@ -3034,6 +3034,7 @@ F: package/ti-gfx/
|
||||
|
||||
N: Stefan Hager <stefan.hager@ginzinger.com>
|
||||
F: package/cpuinfo/
|
||||
F: package/ruy/
|
||||
|
||||
N: Stefan Nickl <Stefan.Nickl@gmail.com>
|
||||
F: board/freescale/imx8dxlevk/
|
||||
|
||||
@@ -2300,6 +2300,7 @@ endif
|
||||
source "package/qlibc/Config.in"
|
||||
source "package/reproc/Config.in"
|
||||
source "package/riemann-c-client/Config.in"
|
||||
source "package/ruy/Config.in"
|
||||
source "package/shapelib/Config.in"
|
||||
source "package/skalibs/Config.in"
|
||||
source "package/sphinxbase/Config.in"
|
||||
|
||||
22
package/ruy/Config.in
Normal file
22
package/ruy/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_RUY_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_RUY
|
||||
bool "ruy"
|
||||
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # cpuinfo
|
||||
select BR2_PACKAGE_CPUINFO
|
||||
help
|
||||
Ruy is a matrix multiplication library. Its focus is to cover
|
||||
the matrix multiplication needs of neural network inference
|
||||
engines. Its initial user has been TensorFlow Lite, where it
|
||||
is used by default on the ARM CPU architecture.
|
||||
|
||||
https://github.com/google/ruy
|
||||
|
||||
comment "ruy needs a toolchain w/ C++14, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
package/ruy/ruy.hash
Normal file
4
package/ruy/ruy.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 0bd02bef7675d3edd8168e6e4ce22e162516947fcc07bb79809be4cda8f27a0c ruy-83fd40d730feb0804fafbc2d8814bcc19a17b2e5.tar.gz
|
||||
# License files, locally calculated
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
18
package/ruy/ruy.mk
Normal file
18
package/ruy/ruy.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# ruy
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RUY_VERSION = 83fd40d730feb0804fafbc2d8814bcc19a17b2e5
|
||||
RUY_SITE = $(call github,google,ruy,$(RUY_VERSION))
|
||||
RUY_LICENSE = Apache-2.0
|
||||
RUY_LICENSE_FILES = LICENSE
|
||||
RUY_INSTALL_STAGING = YES
|
||||
RUY_DEPENDENCIES = cpuinfo
|
||||
RUY_CONF_OPTS = \
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||
-DRUY_FIND_CPUINFO=ON \
|
||||
-DRUY_MINIMAL_BUILD=ON
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user