mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-10-09 12:02:10 +02:00
Use nproc to get the number of processors on the build host.
This commit is contained in:
1 parent
880de32bc7
commit
9b81da1b2d
1 file changed
+2
-2
+2
-2
@@ -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 *
|
||||
Reference in new issue
Block a user