mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
Memory page compression requires liblz4, but making it mandatory would prevent CRIU from building on systems that do not provide it. Detect liblz4 with pkg-config and enable CONFIG_LZ4 only when it is available. Add NO_LZ4=1 as an explicit opt-out and register the development package in the supported distribution dependency lists. Install liblz4 for the per-commit build, then run a separate NO_LZ4 build and unit test to keep the optional configuration usable. Assisted-by: Codex:GPT-5 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
35 lines
437 B
Bash
Executable file
35 lines
437 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
pacman -Syu --noconfirm \
|
|
asciidoctor \
|
|
base-devel \
|
|
bash \
|
|
coreutils \
|
|
diffutils \
|
|
git \
|
|
gnutls \
|
|
go \
|
|
iproute2 \
|
|
iptables \
|
|
libaio \
|
|
libbsd \
|
|
libcap \
|
|
libdrm \
|
|
lz4 \
|
|
libelf \
|
|
libnet \
|
|
libnl \
|
|
libtraceevent \
|
|
libtracefs \
|
|
nftables \
|
|
pkg-config \
|
|
protobuf \
|
|
protobuf-c \
|
|
python-importlib-metadata \
|
|
python-pip \
|
|
python-protobuf \
|
|
python-yaml \
|
|
sudo \
|
|
tar \
|
|
util-linux \
|
|
util-linux-libs
|