Use nproc and sysctl -n hw.cpu for default initializing CORES
This avoids having to pass --build-arg CORES=n when building the docker images.
This commit is contained in:
1 parent
e0f186967a
commit
99e2fefc9d
9 files changed
+13
-7
No files matched your search
@@ -13,8 +13,6 @@ RUN git config --global user.name "LLVM MinGW" && \
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
ARG CORES=4
|
||||
|
||||
ENV TOOLCHAIN_PREFIX=/opt/llvm-mingw
|
||||
|
||||
# Build LLVM
|
||||
|
||||
Reference in new issue
Block a user