Skip to content

Commit 96d7cde

Browse files
committed
making the cores used for build adjusted to the system
1 parent ee6ec30 commit 96d7cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN cd /usr/src/librealsense \
4747
-DBUILD_GRAPHICAL_EXAMPLES=OFF \
4848
-DBUILD_PYTHON_BINDINGS:bool=true \
4949
-DCMAKE_BUILD_TYPE=Release ../ \
50-
&& make -j4 all \
50+
&& make -j$(($(nproc)-1)) all \
5151
&& make install
5252

5353
######################################

0 commit comments

Comments
 (0)