2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00
qpdf/build-scripts/build-linux32

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
492 B
Plaintext
Raw Normal View History

2019-06-21 11:53:05 +00:00
#!/bin/bash
set -ex
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get -y install \
2023-05-20 15:49:39 +00:00
build-essential cmake libc6-i386 libgcc-s1:i386 \
zlib1g-dev:i386 libjpeg-dev:i386 libssl-dev:i386 g++-multilib
2022-03-12 12:23:37 +00:00
CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 \
cmake -S . -B build -DCI_MODE=1 -DCMAKE_BUILD_TYPE=Release \
-DUSE_IMPLICIT_CRYPTO=0 -DBUILD_STATIC_LIBS=0 \
-DREQUIRE_CRYPTO_NATIVE=1
cmake --build build --verbose -j$(nproc) -- -k
2022-03-12 12:23:37 +00:00
(cd build; ctest --verbose)