aboutsummaryrefslogtreecommitdiffstats
path: root/build-scripts/build-mac
blob: eb41f817f6ff7347c60b43619a3c24d0253c699e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -ex
cd $(dirname $0)/..
unzip qpdf-external-libs-src.zip
tar xzf external-libs-src/jpegsrc*
cd jpeg-*
./configure
make -k
sudo make install
cd ..
if [ -f distfiles/distfiles.zip ]; then
    unzip distfiles/distfiles.zip
fi
./configure --enable-werror --enable-show-failed-test-output
make -j$(nproc) -k
make -k check