Skip to content

Commit

Permalink
fix jpeg install lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Jan 7, 2025
1 parent b441e51 commit 4a295bc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions ci-utils/install_prereq_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,15 @@ if [[ $BUILD_Z5_DEP -eq 1 ]]; then
cd ../../
fi

JPEG_INSTALL_PATH=$PWD
curl -L http://www.ijg.org/files/jpegsrc.v9f.tar.gz -o jpegsrc.v9f.tar.gz
tar -xzf jpegsrc.v9f.tar.gz
cd jpeg-9f
./configure --prefix="$JPEG_INSTALL_PATH"/"$LOCAL_INSTALL_DIR"

curl -L https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/3.1.0.zip -o 3.1.0.zip
unzip 3.1.0.zip
cd libjpeg-turbo-3.1.0
mkdir build_man
cd build_man
cmake -DCMAKE_INSTALL_PREFIX=../../"$LOCAL_INSTALL_DIR"/ -DCMAKE_PREFIX_PATH=../../"$LOCAL_INSTALL_DIR"/ ..
make install -j4
cd ..
cd ../../

if [[ $BULD_DCMTK_DEP -eq 1 ]]; then
curl -L https://github.com/glennrp/libpng/archive/refs/tags/v1.6.39.zip -o v1.6.39.zip
Expand Down Expand Up @@ -192,7 +194,7 @@ unzip tiff-4.6.0.zip
cd tiff-4.6.0
mkdir build_man
cd build_man
cmake -DCMAKE_INSTALL_PREFIX=../../"$LOCAL_INSTALL_DIR"/ -DCMAKE_PREFIX_PATH=../../"$LOCAL_INSTALL_DIR"/ -DJPEG_LIBRARY_RELEASE=../../"$LOCAL_INSTALL_DIR"/lib -DJPEG_INCLUDE_DIRS=../../"$LOCAL_INSTALL_DIR"/include ..
cmake -DCMAKE_INSTALL_PREFIX=../../"$LOCAL_INSTALL_DIR"/ -DCMAKE_PREFIX_PATH=../../"$LOCAL_INSTALL_DIR"/ ..
make install -j4
cd ../../

Expand Down

0 comments on commit 4a295bc

Please sign in to comment.