mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
lcitool/alpine: workaround bindgen issue
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250924120426.2158655-15-marcandre.lureau@redhat.com>
This commit is contained in:
@@ -131,6 +131,8 @@ ENV LANG "en_US.UTF-8"
|
||||
ENV MAKE "/usr/bin/make"
|
||||
ENV NINJA "/usr/bin/ninja"
|
||||
ENV PYTHON "/usr/bin/python3"
|
||||
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/17463
|
||||
RUN apk add clang19-libclang
|
||||
# As a final step configure the user (if env is defined)
|
||||
ARG USER
|
||||
ARG UID
|
||||
|
||||
@@ -97,6 +97,11 @@ def generate_yaml(os, target, arch, trailer=None):
|
||||
generate(filename, cmd, trailer)
|
||||
|
||||
|
||||
alpine_extras = [
|
||||
"# https://gitlab.alpinelinux.org/alpine/aports/-/issues/17463\n",
|
||||
"RUN apk add clang19-libclang\n",
|
||||
]
|
||||
|
||||
# Netmap still needs to be manually built as it is yet to be packaged
|
||||
# into a distro. We also add cscope and gtags which are used in the CI
|
||||
# test
|
||||
@@ -167,7 +172,8 @@ try:
|
||||
#
|
||||
# Standard native builds
|
||||
#
|
||||
generate_dockerfile("alpine", "alpine-321")
|
||||
generate_dockerfile("alpine", "alpine-321",
|
||||
trailer="".join(alpine_extras))
|
||||
generate_dockerfile("centos9", "centos-stream-9")
|
||||
generate_dockerfile("debian", "debian-12",
|
||||
trailer="".join(debian12_extras))
|
||||
|
||||
Reference in New Issue
Block a user