diff --git a/install_orbit_environment.sh b/install_orbit_environment.sh index bb6af9e..384f1d1 100644 --- a/install_orbit_environment.sh +++ b/install_orbit_environment.sh @@ -321,7 +321,7 @@ if [ -z $(which convert) ]; then tar xvfz libpng-1.5.13.tar.gz && \ cd libpng-1.5.13/ && \ ./configure && \ - make && sudo make install && \ + make -j $(nproc) && sudo make install && \ apt install -y libltdl-dev graphviz libpng-dev libfftw3-dev && \ apt-get install -y libjpeg-turbo8-dev && \ apt install -y libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-dev && \ @@ -330,7 +330,7 @@ if [ -z $(which convert) ]; then tar xfz ImageMagick.tar.gz && \ cd /root/libpng-1.5.13/ImageMagick-7* && \ ./configure --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes --disable-shared --with-modules && \ - make && make install && \ + make -j $(nproc) && make install && \ ln -s /usr/local/lib/* /usr/lib/. && \ ln -s /usr/local/lib/pkgconfig/* /usr/lib/pkgconfig/. && \ ln -s /usr/local/bin/* /usr/bin/. && \