From 60f1f4537f51f6c69ee3d255d49e7543c8869836 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 27 Jan 2019 19:56:20 -0500 Subject: 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 | 2 +- azure-pipelines/build-windows | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines/build-mac b/azure-pipelines/build-mac index 274ea5b1..96d900bb 100755 --- a/azure-pipelines/build-mac +++ b/azure-pipelines/build-mac @@ -1,6 +1,6 @@ #!/bin/bash set -ex -curl -L https://www.ijg.org/files/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz +curl -L https://github.com/qpdf/qpdf/raw/external-libs/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz tar xzf jpegsrc.v9c.tar.gz cd jpeg-9c ./configure diff --git a/azure-pipelines/build-windows b/azure-pipelines/build-windows index e49bead7..d0bd7316 100755 --- a/azure-pipelines/build-windows +++ b/azure-pipelines/build-windows @@ -20,7 +20,7 @@ fi if [ -f distfiles/distfiles.zip ]; then unzip distfiles/distfiles.zip fi -curl -L https://downloads.sourceforge.net/project/qpdf/external-libs/2017-08-21/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip +curl -L https://github.com/qpdf/qpdf/raw/external-libs/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip unzip qpdf-external-libs-bin.zip cwd=`pwd` PATH=$cwd/libqpdf/build:$PATH -- cgit v1.2.3-54-g00ecf