From 1c6899821675ae2138b9c82673e6eba5e497b748 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sat, 27 Apr 2024 09:19:08 -0400 Subject: [PATCH] chore: Fix Circle CI failing on a missing clang lib The ubsan build fails due to the missing /usr/lib/llvm-18/lib/clang/18/lib/linux/libclang_rt.ubsan_standalone-x86_64.a which is provided by the libclang-rt-18-dev package, which would be installed if we didn't disallow recommends. Installing it manually is not practical, as using libclang-rt-18-dev once clang updates to version 19 would be wrong, and installing libclang-rt-*-dev would attempt to install of them, either failing or installing all of the clang version available along with it. Thus allowing apt to automatically install recommended packages seems like best solution. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9fd1c82266e..0c7ae2aa92d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -62,7 +62,7 @@ jobs: - run: &apt_install apt-get update && DEBIAN_FRONTEND=noninteractive - apt-get install -y --no-install-recommends + apt-get install -y ca-certificates clang cmake