mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-10 23:20:58 +00:00
06c6f9a971
That way we can always ensure that the right compiler flags are being used if there is an issue.
15 lines
466 B
Bash
Executable File
15 lines
466 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
sudo dpkg --add-architecture i386
|
|
sudo apt-get update
|
|
sudo apt-get -y install \
|
|
build-essential cmake zlib1g-dev:i386 libjpeg-dev:i386 \
|
|
libssl-dev:i386 g++-multilib
|
|
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
|
|
(cd build; ctest --verbose)
|