mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
Meta: Install libclang-dev on the devcontainer instance
This commit is contained in:
parent
a5defd1c15
commit
932ca61936
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ if [ "${LLVM_VERSION}" = "trunk" ]; then
|
|||
apt install -y llvm clang clangd clang-tools lld lldb clang-tidy clang-format
|
||||
elif [ "${MAJOR_VERSION}" -lt "${LLVM_VERSION}" ]; then
|
||||
FAILED_INSTALL=0
|
||||
apt install -y "llvm-${LLVM_VERSION}" "clang-${LLVM_VERSION}" "clangd-${LLVM_VERSION}" "clang-tools-${LLVM_VERSION}" "lld-${LLVM_VERSION}" "lldb-${LLVM_VERSION}" "clang-tidy-${LLVM_VERSION}" "clang-format-${LLVM_VERSION}" || FAILED_INSTALL=1
|
||||
apt install -y "llvm-${LLVM_VERSION}" "clang-${LLVM_VERSION}" "clangd-${LLVM_VERSION}" "clang-tools-${LLVM_VERSION}" "lld-${LLVM_VERSION}" "lldb-${LLVM_VERSION}" "clang-tidy-${LLVM_VERSION}" "clang-format-${LLVM_VERSION}" "libclang-${LLVM_VERSION}-dev" || FAILED_INSTALL=1
|
||||
|
||||
if [ "${FAILED_INSTALL}" -ne 0 ]; then
|
||||
install_llvm_key
|
||||
apt install -y "llvm-${LLVM_VERSION}" "clang-${LLVM_VERSION}" "clangd-${LLVM_VERSION}" "clang-tools-${LLVM_VERSION}" "lld-${LLVM_VERSION}" "lldb-${LLVM_VERSION}" "clang-tidy-${LLVM_VERSION}" "clang-format-${LLVM_VERSION}"
|
||||
apt install -y "llvm-${LLVM_VERSION}" "clang-${LLVM_VERSION}" "clangd-${LLVM_VERSION}" "clang-tools-${LLVM_VERSION}" "lld-${LLVM_VERSION}" "lldb-${LLVM_VERSION}" "clang-tidy-${LLVM_VERSION}" "clang-format-${LLVM_VERSION}" "libclang-${LLVM_VERSION}-dev"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue