mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
13 lines
226 B
Bash
Executable File
13 lines
226 B
Bash
Executable File
#!/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
|