mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/fp16: new package
This package is required by tensorflow-lite. 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
6732f4df7c
commit
f110a78825
@@ -3034,6 +3034,7 @@ F: package/ti-gfx/
|
||||
|
||||
N: Stefan Hager <stefan.hager@ginzinger.com>
|
||||
F: package/cpuinfo/
|
||||
F: package/fp16/
|
||||
F: package/gemmlowp/
|
||||
F: package/psimd/
|
||||
F: package/pthreadpool/
|
||||
|
||||
@@ -2187,6 +2187,7 @@ menu "Other"
|
||||
source "package/flann/Config.in"
|
||||
source "package/flatbuffers/Config.in"
|
||||
source "package/flatcc/Config.in"
|
||||
source "package/fp16/Config.in"
|
||||
source "package/fxdiv/Config.in"
|
||||
source "package/gconf/Config.in"
|
||||
source "package/gdal/Config.in"
|
||||
|
||||
8
package/fp16/Config.in
Normal file
8
package/fp16/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_FP16
|
||||
bool "fp16"
|
||||
select BR2_PACKAGE_PSIMD
|
||||
help
|
||||
Header-only library for conversion to/from half-precision
|
||||
floating point formats.
|
||||
|
||||
https://github.com/Maratyszcza/FP16
|
||||
4
package/fp16/fp16.hash
Normal file
4
package/fp16/fp16.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 e7b509c76a2ea162ebdda77fb6b6f51f2f37dedee0866077d428e214516f0c2b fp16-98b0a46bce017382a6351a19577ec43a715b6835.tar.gz
|
||||
# License files, locally calculated
|
||||
sha256 17e4f539024be2749ee729d1e2f01d24cef12ece8c9bf18e91a4349be29c80bf LICENSE
|
||||
20
package/fp16/fp16.mk
Normal file
20
package/fp16/fp16.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# fp16
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FP16_VERSION = 98b0a46bce017382a6351a19577ec43a715b6835
|
||||
FP16_SITE = $(call github,Maratyszcza,FP16,$(FP16_VERSION))
|
||||
FP16_LICENSE = MIT
|
||||
FP16_LICENSE_FILES = LICENSE
|
||||
FP16_INSTALL_STAGING = YES
|
||||
# Only installs a header
|
||||
FP16_INSTALL_TARGET = NO
|
||||
FP16_DEPENDENCIES = psimd
|
||||
FP16_CONF_OPTS = \
|
||||
-DFP16_BUILD_TESTS=OFF \
|
||||
-DFP16_BUILD_BENCHMARKS=OFF \
|
||||
-DPSIMD_SOURCE_DIR="$(PSIMD_DIR)"
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user