From 4152227f17315a9cf9038266d9f9bb06e21e3424 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 17 May 2021 16:55:55 +0200 Subject: [PATCH] CI: add workaround to fix clang builds see https://github.com/actions/virtual-environments/issues/3376 --- util/ci/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/ci/common.sh b/util/ci/common.sh index eb282c823..6a28482fd 100644 --- a/util/ci/common.sh +++ b/util/ci/common.sh @@ -19,6 +19,9 @@ install_linux_deps() { sudo apt-get update sudo apt-get install -y --no-install-recommends ${pkgs[@]} "$@" + + # workaround for bug with Github Actions' ubuntu-18.04 image + sudo apt-get remove -y libgcc-11-dev gcc-11 || : } # Mac OSX build only