Generate tensorflow lite c library in macos m2

Hello,
I want to generate tensorflow lite c libarary for cross-compiling on esp32. I following this instruction: Build TensorFlow Lite with CMake. When come to

cmake --build .

My mac run to 94% and freezed and restart. Is there any Target of cmake that I need to set before build?
Thanks all