spdlog/scripts/ci_setup_clang.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
226 B
Bash
Raw Normal View History

2022-09-30 02:29:40 +08:00
#!/bin/bash
set -ex
VERSION=$1
apt-get update
apt-get install -y libc++-${VERSION}-dev libc++abi-${VERSION}-dev
if [[ "${VERSION}" -ge 12 ]]; then
apt-get install -y --no-install-recommends libunwind-${VERSION}-dev
fi