aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-01-28 01:56:20 +0100
committerJay Berkenbilt <ejb@ql.org>2019-01-28 01:56:20 +0100
commit60f1f4537f51f6c69ee3d255d49e7543c8869836 (patch)
treee72ccffff635591507a5baa6052542b2a10343e4
parent54bd37e8816bd6833ce0fa2801d4a0e9a6ada7ad (diff)
downloadqpdf-60f1f4537f51f6c69ee3d255d49e7543c8869836.tar.zst
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.
-rwxr-xr-xazure-pipelines/build-mac2
-rwxr-xr-xazure-pipelines/build-windows2
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