ci: be more aggressive on parallelism in build (#8102)

This commit is contained in:
Daniel Hiltgen 2024-12-14 14:56:05 -08:00 committed by GitHub
parent 7a81daf026
commit b75ccfc5ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ ARG OLLAMA_FAST_BUILD
ARG VERSION
RUN --mount=type=cache,target=/root/.ccache \
if grep "^flags" /proc/cpuinfo|grep avx>/dev/null; then \
make -j $(expr $(nproc) / 2 ) dist ; \
make -j $(nproc) dist ; \
else \
make -j 5 dist ; \
fi