Closed devapriyas2001 closed 1 week ago
cross compilation :
cmake -DCMAKE_C_COMPILER=${XTENSA_PREFIX}/clang -DCMAKE_CXX_COMPILER=${XTENSA_PREFIX}/clang++ -DCMAKE_C_FLAGS="${XTENSA_FLAGS}" -DCMAKE_CXX_FLAGS="${XTENSA_FLAGS}" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=xtensa -DCMAKE_THREAD_LIBS_INIT="-lpthread" -DCMAKE_HAVE_THREADS_LIBRARY=1 -DCMAKE_USE_PTHREADS_INIT=1 -DTHREADS_PREFER_PTHREAD_FLAG=ON
../tensorflow_src/tensorflow/lite
build: cmake --build . -j
I would suggest trying here: https://github.com/tensorflow/tensorflow/issues
Hi, I need to compile tensorflow lite on xtensa lx7 platform. Currently, I used cross compilation information from tflite documentation but build errors (file not found errors, undefined references, syntax errors) are generated. Please provide instruction on the build steps. Also, how to find the compatible EDK version for the device and tflite?