Parcourir la source

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

Daniel Hiltgen il y a 4 mois
Parent
commit
b75ccfc5ec
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

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