mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #864 from hugovk/make-j
Update WebP and build it and OpenJPEG with 4 job slots
This commit is contained in:
commit
0c94adc538
|
@ -11,9 +11,9 @@ rm -r openjpeg-2.1.0
|
|||
tar -xvzf openjpeg-2.1.0.tar.gz
|
||||
|
||||
|
||||
pushd openjpeg-2.1.0
|
||||
pushd openjpeg-2.1.0
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr . && make -j4 && sudo make -j4 install
|
||||
|
||||
popd
|
||||
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
#!/bin/bash
|
||||
# install webp
|
||||
|
||||
|
||||
if [ ! -f libwebp-0.4.0.tar.gz ]; then
|
||||
wget 'https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz'
|
||||
if [ ! -f libwebp-0.4.1.tar.gz ]; then
|
||||
wget 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.1.tar.gz'
|
||||
fi
|
||||
|
||||
rm -r libwebp-0.4.0
|
||||
tar -xvzf libwebp-0.4.0.tar.gz
|
||||
rm -r libwebp-0.4.1
|
||||
tar -xvzf libwebp-0.4.1.tar.gz
|
||||
|
||||
pushd libwebp-0.4.1
|
||||
|
||||
pushd libwebp-0.4.0
|
||||
|
||||
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make && sudo make install
|
||||
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make -j4 && sudo make -j4 install
|
||||
|
||||
popd
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user