react-native-fast-tflite
react-native-fast-tflite copied to clipboard
feat: Use native `TensorFlowLiteC` library from source
Uses the native TensorFlowLiteC library from source, (here: tensorflow/
git submodule) to avoid using different versions for Android and iOS.
ERROR: /private/var/tmp/_bazel_mrousavy/10ea0aaf7e74747e617bc9430c3edeaf/external/ruy/ruy/BUILD:423:11: Compiling ruy/denormal.cc failed: undeclared inclusion(s) in rule '@ruy//ruy:denormal':
this rule is missing dependency declarations for the following files included by 'ruy/denormal.cc':
'external/androidndk/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/17/include/stdint.h'
'external/androidndk/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/17/include/stddef.h'
'external/androidndk/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/17/include/__stddef_max_align_t.h'
Target //tensorflow/lite:tensorflowlite failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.481s, Critical Path: 0.13s
INFO: 11 processes: 11 internal.
FAILED: Build did NOT complete successfully
So far, I couldn't manage to get Android to build with bazel yet. idk @thomas-coldwell do you have any ideas?