mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 14:15:44 +01:00
Use nproc to get the number of processors on the build host.
This commit is contained in:
parent
880de32bc7
commit
9b81da1b2d
@ -32,7 +32,7 @@ RUN git clone git://cmake.org/cmake.git CMake && \
|
||||
RUN mkdir CMake-build
|
||||
WORKDIR /usr/src/CMake-build
|
||||
RUN /usr/src/CMake/bootstrap \
|
||||
--parallel=$(ls /sys/bus/cpu/devices | wc -w) \
|
||||
--parallel=$(nproc) \
|
||||
--prefix=/usr && \
|
||||
make -j$(ls /sys/bus/cpu/devices | wc -w) install && \
|
||||
make -j$(nproc) install && \
|
||||
rm -rf *
|
||||
|
Loading…
x
Reference in New Issue
Block a user