Fixed painfully slow single process builds. (#7326)
* Fixed painfully slow single process builds. * Added nproc for systems that don't default to nproc
This commit is contained in:
@@ -40,6 +40,6 @@ ENV LLAMA_HIPBLAS=1
|
||||
ENV CC=/opt/rocm/llvm/bin/clang
|
||||
ENV CXX=/opt/rocm/llvm/bin/clang++
|
||||
|
||||
RUN make
|
||||
RUN make -j$(nproc)
|
||||
|
||||
ENTRYPOINT [ "/app/main" ]
|
||||
|
||||
Reference in New Issue
Block a user