Skip to content

Commit

Permalink
ci: be more aggressive on parallelism in build (ollama#8102)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiltgen authored Dec 14, 2024
1 parent 7a81daf commit b75ccfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b75ccfc

Please sign in to comment.