build failure
cc: error: unrecognized command-line option ‘-Wunreachable-code-break’; did you mean ‘-Wunreachable-code’? cc: error: unrecognized command-line option ‘-Wunreachable-code-return’; did you mean ‘-Wunreachable-code’? gmake[2]: *** [3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/build.make:76: 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:759: 3rdparty/llama.cpp/ggml/src/CMakeFiles/ggml.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2
got the same Error building on android. try that:
rm -rf build && mkdir build && cd build
CC=clang CXX=clang++ cmake ..
make
谢谢您的来信!我会及时查阅的
https://github.com/Benjamin-Wegener/BitNet/commit/561bbf12a268e3f5a6437a418748d6c044ba70fa
its not tested so far, will comment if successful
Indeed successful,very good!
then close the issue please 😊
https://github.com/microsoft/BitNet/pull/242