mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
ci: be more aggressive on parallelism in build (#8102)
This commit is contained in:
@@ -69,7 +69,7 @@ ARG OLLAMA_FAST_BUILD
|
|||||||
ARG VERSION
|
ARG VERSION
|
||||||
RUN --mount=type=cache,target=/root/.ccache \
|
RUN --mount=type=cache,target=/root/.ccache \
|
||||||
if grep "^flags" /proc/cpuinfo|grep avx>/dev/null; then \
|
if grep "^flags" /proc/cpuinfo|grep avx>/dev/null; then \
|
||||||
make -j $(expr $(nproc) / 2 ) dist ; \
|
make -j $(nproc) dist ; \
|
||||||
else \
|
else \
|
||||||
make -j 5 dist ; \
|
make -j 5 dist ; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user