Browse Source

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

Daniel Hiltgen 4 months ago
parent
commit
b75ccfc5ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -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