docker : do not build tests (#13204)

* docker : do not build tests

* include "ggml-cpu.h"
This commit is contained in:
Xuan-Son Nguyen 2025-04-30 10:44:07 +02:00 committed by GitHub
parent a0f7016d17
commit da84c04d8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 9 additions and 8 deletions

View file

@ -22,7 +22,7 @@ ENV LD_LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/runtime/lib64/stub:$LD_LIBRARY_PATH
RUN echo "Building with static libs" && \
source /usr/local/Ascend/ascend-toolkit/set_env.sh --force && \
cmake -B build -DGGML_NATIVE=OFF -DGGML_CANN=ON -DBUILD_SHARED_LIBS=OFF && \
cmake -B build -DGGML_NATIVE=OFF -DGGML_CANN=ON -DBUILD_SHARED_LIBS=OFF -DLLAMA_BUILD_TESTS=OFF && \
cmake --build build --config Release --target llama-cli
# TODO: use image with NNRT