add CURL to other builds

This commit is contained in:
slaren 2025-01-25 14:31:23 +01:00
parent 6473d646d5
commit 6fe22643a8

View file

@ -12,9 +12,9 @@ WORKDIR /app
COPY . . COPY . .
RUN if [ "$TARGETARCH" = "amd64" ]; then \ RUN if [ "$TARGETARCH" = "amd64" ]; then \
cmake -S . -B build -DGGML_BACKEND_DL=ON -DGGML_NATIVE=OFF -DGGML_CPU_ALL_VARIANTS=ON -DLLAMA_CURL=ON -DCMAKE_BUILD_TYPE=Release; \ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=ON -DGGML_BACKEND_DL=ON -DGGML_NATIVE=OFF -DGGML_CPU_ALL_VARIANTS=ON; \
else \ else \
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release; \ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=ON; \
fi && \ fi && \
cmake --build build -j $(nproc) cmake --build build -j $(nproc)