Skip to content

Commit 7af47d4

Browse files
authored
docker/debian: Add libxml2 on arm to workaround llvm bug (#473)
llvm/llvm-project#113696 Signed-off-by: Ryan Northey <ryan@synca.io>
1 parent e37b4f9 commit 7af47d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/linux/debian/fun.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ install_base () {
104104
echo "Installing common packages..."
105105
apt_install "${COMMON_PACKAGES[@]}"
106106

107+
# Workaround for https://github.com/llvm/llvm-project/issues/113696
108+
if [[ "$DEB_ARCH" == "arm64" ]]; then
109+
WORKER_PACKAGES+=(libxml2)
110+
fi
111+
107112
apt_install "${WORKER_PACKAGES[@]}"
108113

109114
# Note: No development tools installed in base layer

0 commit comments

Comments
 (0)