mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2026-01-21 12:32:43 +03:00
This drops Fedora 40 and introduces Fedora 42 and drops deprecated setting of env vars in dockerfiles. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
36 lines
894 B
Bash
36 lines
894 B
Bash
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool manifest ci/manifest.yml
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
|
|
|
function install_buildenv() {
|
|
dnf update -y
|
|
dnf install -y \
|
|
ca-certificates \
|
|
ccache \
|
|
gcc \
|
|
git \
|
|
glibc-langpack-en \
|
|
libvirt-devel \
|
|
pkgconfig \
|
|
python3 \
|
|
python3-build \
|
|
python3-devel \
|
|
python3-lxml \
|
|
python3-pip \
|
|
python3-pytest \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
rpm-build
|
|
rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
|
|
rpm -qa | sort > /packages.txt
|
|
mkdir -p /usr/libexec/ccache-wrappers
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
|
|
}
|
|
|
|
export CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
|
|
export LANG="en_US.UTF-8"
|
|
export PYTHON="/usr/bin/python3"
|