Skip to content

Commit

Permalink
chore: Fix Circle CI failing on a missing clang lib
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nurupo committed Apr 27, 2024
1 parent 85d1761 commit 1c68998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c68998

Please sign in to comment.