accelerate make imagemagick speed
This commit is contained in:
parent
84e5031080
commit
836dbbd0f3
|
@ -321,7 +321,7 @@ if [ -z $(which convert) ]; then
|
||||||
tar xvfz libpng-1.5.13.tar.gz && \
|
tar xvfz libpng-1.5.13.tar.gz && \
|
||||||
cd libpng-1.5.13/ && \
|
cd libpng-1.5.13/ && \
|
||||||
./configure && \
|
./configure && \
|
||||||
make && sudo make install && \
|
make -j $(nproc) && sudo make install && \
|
||||||
apt install -y libltdl-dev graphviz libpng-dev libfftw3-dev && \
|
apt install -y libltdl-dev graphviz libpng-dev libfftw3-dev && \
|
||||||
apt-get install -y libjpeg-turbo8-dev && \
|
apt-get install -y libjpeg-turbo8-dev && \
|
||||||
apt install -y libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-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 && \
|
tar xfz ImageMagick.tar.gz && \
|
||||||
cd /root/libpng-1.5.13/ImageMagick-7* && \
|
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 && \
|
./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/* /usr/lib/. && \
|
||||||
ln -s /usr/local/lib/pkgconfig/* /usr/lib/pkgconfig/. && \
|
ln -s /usr/local/lib/pkgconfig/* /usr/lib/pkgconfig/. && \
|
||||||
ln -s /usr/local/bin/* /usr/bin/. && \
|
ln -s /usr/local/bin/* /usr/bin/. && \
|
||||||
|
|
Loading…
Reference in New Issue