mirror of
https://github.com/ollama/ollama.git
synced 2025-05-10 18:06:33 +02:00
ci: be more aggressive on parallelism in build (#8102)
This commit is contained in:
parent
7a81daf026
commit
b75ccfc5ec
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue