Commit 60f1f4537f51f6c69ee3d255d49e7543c8869836

Authored by Jay Berkenbilt
1 parent 54bd37e8

Download external libraries from github

Download external libraries from an isolated branch in github to avoid
dependencies on external download locations, which cause sporadic CI
build failures.
azure-pipelines/build-mac
1 #!/bin/bash 1 #!/bin/bash
2 set -ex 2 set -ex
3 -curl -L https://www.ijg.org/files/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz 3 +curl -L https://github.com/qpdf/qpdf/raw/external-libs/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz
4 tar xzf jpegsrc.v9c.tar.gz 4 tar xzf jpegsrc.v9c.tar.gz
5 cd jpeg-9c 5 cd jpeg-9c
6 ./configure 6 ./configure
azure-pipelines/build-windows
@@ -20,7 +20,7 @@ fi @@ -20,7 +20,7 @@ fi
20 if [ -f distfiles/distfiles.zip ]; then 20 if [ -f distfiles/distfiles.zip ]; then
21 unzip distfiles/distfiles.zip 21 unzip distfiles/distfiles.zip
22 fi 22 fi
23 -curl -L https://downloads.sourceforge.net/project/qpdf/external-libs/2017-08-21/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip 23 +curl -L https://github.com/qpdf/qpdf/raw/external-libs/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip
24 unzip qpdf-external-libs-bin.zip 24 unzip qpdf-external-libs-bin.zip
25 cwd=`pwd` 25 cwd=`pwd`
26 PATH=$cwd/libqpdf/build:$PATH 26 PATH=$cwd/libqpdf/build:$PATH