2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-02-08 22:58:25 +00:00

Update azure-pipelines for openssl crypto provider

Explicitly enable openssl crypto provider in the linux and sanitizer
builds, and disable it in the windows build.
This commit is contained in:
Dean Scarff 2020-04-06 17:19:52 +10:00 committed by Jay Berkenbilt
parent 0f2507234f
commit 98174373b9
4 changed files with 5 additions and 5 deletions

View File

@ -3,9 +3,9 @@ set -ex
sudo apt-get update sudo apt-get update
sudo apt-get -y install \ sudo apt-get -y install \
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \ autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick libssl-dev docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick
./configure --enable-werror --enable-doc-maintenance \ ./configure --enable-werror --enable-doc-maintenance \
--enable-crypto-native --enable-crypto-gnutls \ --enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
--enable-show-failed-test-output --enable-show-failed-test-output
make -j$(nproc) -k make -j$(nproc) -k
for i in $(./qpdf/build/qpdf --show-crypto); do for i in $(./qpdf/build/qpdf --show-crypto); do

View File

@ -16,7 +16,7 @@ sudo apt-get update
sudo apt-get -y install \ sudo apt-get -y install \
autoconf build-essential zlib1g-dev:i386 libjpeg-dev:i386 \ autoconf build-essential zlib1g-dev:i386 libjpeg-dev:i386 \
g++-multilib libssl-dev:i386 g++-multilib
./configure --enable-werror --enable-show-failed-test-output \ ./configure --enable-werror --enable-show-failed-test-output \
CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32

View File

@ -27,7 +27,7 @@ PATH=$cwd/libqpdf/build:$PATH
installdir=install-$tool$wordsize installdir=install-$tool$wordsize
rm -rf $installdir rm -rf $installdir
./config-$tool --enable-show-failed-test-output --disable-crypto-gnutls ./config-$tool --enable-show-failed-test-output --disable-crypto-gnutls --disable-crypto-openssl
make -j$(nproc) -k make -j$(nproc) -k
make -k check make -k check
make install make install

View File

@ -7,7 +7,7 @@ sudo apt-get -y install \
CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ CFLAGS="-fsanitize=address -fsanitize=undefined -g" \
CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \
LDFLAGS="-fsanitize=address -fsanitize=undefined" \ LDFLAGS="-fsanitize=address -fsanitize=undefined" \
--enable-crypto-native --enable-crypto-gnutls \ --enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
--enable-werror --disable-shared --enable-show-failed-test-output --enable-werror --disable-shared --enable-show-failed-test-output
make -j$(nproc) -k make -j$(nproc) -k
for i in $(./qpdf/build/qpdf --show-crypto); do for i in $(./qpdf/build/qpdf --show-crypto); do