Changeset View
Changeset View
Standalone View
Standalone View
contrib/utils/install-dependencies.sh
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
# Install llvm-8 and clang-10 | # Install llvm-8 and clang-10 | ||||
apt-key add "$(dirname "$0")"/llvm.pub | apt-key add "$(dirname "$0")"/llvm.pub | ||||
add-apt-repository "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" | add-apt-repository "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" | ||||
add-apt-repository "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-10 main" | add-apt-repository "deb https://apt.llvm.org/buster/ llvm-toolchain-buster-10 main" | ||||
apt-get update | apt-get update | ||||
LLVM_PACKAGES=( | LLVM_PACKAGES=( | ||||
clang-10 | clang-10 | ||||
clang-format-8 | clang-format-10 | ||||
clang-tidy-8 | clang-tidy-10 | ||||
clang-tools-8 | clang-tools-10 | ||||
) | ) | ||||
DEBIAN_FRONTEND=noninteractive apt-get install -y $(join_by ' ' "${LLVM_PACKAGES[@]}") | DEBIAN_FRONTEND=noninteractive apt-get install -y $(join_by ' ' "${LLVM_PACKAGES[@]}") | ||||
# Use the mingw posix variant | # 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-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) | update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | ||||
# Python library for merging nested structures | # Python library for merging nested structures | ||||
Show All 19 Lines |