Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/setup-debian-buster.sh
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | PACKAGES=( | ||||
protobuf-compiler | protobuf-compiler | ||||
python3 | python3 | ||||
python3-setuptools | python3-setuptools | ||||
python3-zmq | python3-zmq | ||||
qttools5-dev | qttools5-dev | ||||
qttools5-dev-tools | qttools5-dev-tools | ||||
software-properties-common | software-properties-common | ||||
wget | wget | ||||
wine | |||||
) | ) | ||||
function join_by() { | function join_by() { | ||||
local IFS="$1" | local IFS="$1" | ||||
shift | shift | ||||
echo "$*" | echo "$*" | ||||
} | } | ||||
Show All 11 Lines | |||||
ln -s /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 /usr/lib/jvm/default-java | ln -s /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 /usr/lib/jvm/default-java | ||||
echo 'JAVA_HOME="/usr/lib/jvm/default-java"' >> /etc/environment | echo 'JAVA_HOME="/usr/lib/jvm/default-java"' >> /etc/environment | ||||
# Install llvm-8 | # Install llvm-8 | ||||
apt-key add "${TEAMCITY_DIR}"/llvm.pub | apt-key add "${TEAMCITY_DIR}"/llvm.pub | ||||
add-apt-repository "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" | add-apt-repository "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" | ||||
apt-get update | apt-get update | ||||
apt-get install -y --force-yes clang-format-8 clang-tidy-8 clang-tools-8 | apt-get install -y --force-yes clang-format-8 clang-tidy-8 clang-tools-8 | ||||
# Use the mingw posix variant | |||||
update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | |||||
update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | |||||
No newline at end of file |