mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-02-04 04:27:42 +01:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_TENSORFLOW_LITE_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_aarch64
|
|
default y if BR2_arm
|
|
default y if BR2_i386
|
|
default y if BR2_x86_64
|
|
depends on BR2_PACKAGE_CPUINFO_ARCH_SUPPORTS
|
|
|
|
config BR2_PACKAGE_TENSORFLOW_LITE
|
|
bool "tensorflow-lite"
|
|
depends on BR2_PACKAGE_TENSORFLOW_LITE_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # cpuinfo
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
depends on BR2_SHARED_LIBS
|
|
select BR2_PACKAGE_CPUINFO
|
|
select BR2_PACKAGE_EIGEN
|
|
select BR2_PACKAGE_FARMHASH
|
|
select BR2_PACKAGE_FFT2D
|
|
select BR2_PACKAGE_FLATBUFFERS
|
|
select BR2_PACKAGE_GEMMLOWP
|
|
select BR2_PACKAGE_LIBABSEIL_CPP
|
|
select BR2_PACKAGE_NEON_2_SSE
|
|
select BR2_PACKAGE_RUY if BR2_PACKAGE_RUY_ARCH_SUPPORTS
|
|
select BR2_PACKAGE_XNNPACK if BR2_PACKAGE_XNNPACK_ARCH_SUPPORTS
|
|
help
|
|
Tensorflow Lite dynamic library and headers: Inference engine
|
|
to run previously trained machine learning models.
|
|
|
|
comment "tensorflow-lite needs a toolchain w/ glibc, C++17, threads"
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
comment "tensorflow-lite needs a toolchain w/ shared libraries"
|
|
depends on !BR2_SHARED_LIBS
|