google-ai-edge / LiteRT

LiteRT is the new name for TensorFlow Lite (TFLite). While the name is new, it's still the same trusted, high-performance runtime for on-device AI, now with an expanded vision.
https://ai.google.dev/edge/litert
Apache License 2.0
125 stars 9 forks source link

Compilation crashes on MacOS 15.0 #7

Open feranick opened 4 weeks ago

feranick commented 4 weeks ago

Using MacOS 15.0. Running:

PYTHON=python3 tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh native

as recommended, leads to a crash during compilation. Log:

[ 36%] Linking CXX static library libabsl_str_format_internal.a
cd /Users/feranick/Desktop/LiteRT/third_party/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_deps/abseil-cpp-build/absl/strings && /opt/local/bin/cmake -P CMakeFiles/absl_str_format_internal.dir/cmake_clean_target.cmake
cd /Users/feranick/Desktop/LiteRT/third_party/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/_deps/abseil-cpp-build/absl/strings && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/absl_str_format_internal.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc libabsl_str_format_internal.a CMakeFiles/absl_str_format_internal.dir/internal/str_format/arg.cc.o CMakeFiles/absl_str_format_internal.dir/internal/str_format/bind.cc.o CMakeFiles/absl_str_format_internal.dir/internal/str_format/extension.cc.o CMakeFiles/absl_str_format_internal.dir/internal/str_format/float_conversion.cc.o CMakeFiles/absl_str_format_internal.dir/internal/str_format/output.cc.o CMakeFiles/absl_str_format_internal.dir/internal/str_format/parser.cc.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib libabsl_str_format_internal.a
gmake[3]: Leaving directory '/Users/feranick/Desktop/LiteRT/third_party/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
[ 36%] Built target absl_str_format_internal
gmake[2]: Leaving directory '/Users/feranick/Desktop/LiteRT/third_party/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
gmake[1]: *** [CMakeFiles/Makefile2:1532: CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/rule] Error 2
gmake[1]: Leaving directory '/Users/feranick/Desktop/LiteRT/third_party/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build'
gmake: *** [Makefile:208: _pywrap_tensorflow_interpreter_wrapper] Error 2