mirror of
https://github.com/ollama/ollama.git
synced 2025-04-07 19:38:08 +02:00
ci: be more aggressive on parallelism in build (#8102)
This commit is contained in:
parent
7a81daf026
commit
b75ccfc5ec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user