Merge pull request #864 from hugovk/make-j

Update WebP and build it and OpenJPEG with 4 job slots
This commit is contained in:
wiredfool 2014-08-26 08:43:52 -07:00
commit 0c94adc538
2 changed files with 8 additions and 11 deletions

View File

@ -11,9 +11,9 @@ rm -r openjpeg-2.1.0
tar -xvzf openjpeg-2.1.0.tar.gz 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 popd

View File

@ -1,18 +1,15 @@
#!/bin/bash #!/bin/bash
# install webp # install webp
if [ ! -f libwebp-0.4.1.tar.gz ]; then
if [ ! -f libwebp-0.4.0.tar.gz ]; then wget 'http://downloads.webmproject.org/releases/webp/libwebp-0.4.1.tar.gz'
wget 'https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz'
fi fi
rm -r libwebp-0.4.0 rm -r libwebp-0.4.1
tar -xvzf libwebp-0.4.0.tar.gz 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 -j4 && sudo make -j4 install
./configure --prefix=/usr --enable-libwebpmux --enable-libwebpdemux && make && sudo make install
popd popd