You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
226 B
13 lines
226 B
1 year ago
|
#!/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
|