Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[WIP][Dependency Update] Upgrade the libtiff to 4.0.10 #14623

Merged
merged 5 commits into from
Apr 10, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tools/dependencies/libtiff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@

# This script builds the static library of libtiff that can be used as dependency of mxnet/opencv.
set -ex
TIFF_VERSION="4-0-9"
TIFF_VERSION="4.0.10"
if [[ ! -f $DEPS_PATH/lib/libtiff.a ]]; then
# download and build libtiff
>&2 echo "Building libtiff..."
download \
https://gitlab.com/libtiff/libtiff/-/archive/Release-v${TIFF_VERSION}/libtiff-Release-v${TIFF_VERSION}.zip \
https://download.osgeo.org/libtiff/tiff-${TIFF_VERSION}.zip \
${DEPS_PATH}/libtiff.zip
unzip -q $DEPS_PATH/libtiff.zip -d $DEPS_PATH
pushd .
cd $DEPS_PATH/libtiff-Release-v$TIFF_VERSION
cd $DEPS_PATH/tiff-$TIFF_VERSION
./configure --quiet --disable-shared --disable-jpeg --disable-zlib --disable-jbig --disable-lzma --prefix=$DEPS_PATH
$MAKE
$MAKE install
Expand Down