mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-21 04:16:39 +08:00
Task-number: QTQAINFRA-6203 Change-Id: I46c1fc36150b2b73682033c88dfcca45a0280778 Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
18 lines
464 B
Bash
18 lines
464 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (C) 2024 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
set -ex
|
|
|
|
curl -L https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
|
|
# https://apt.llvm.org
|
|
# Ubuntu
|
|
# Noble (24.04) LTS
|
|
|
|
# 20
|
|
sudo apt-add-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main'
|
|
|
|
sudo apt update
|
|
sudo apt -y install clang-20 lldb-20 lld-20 libc++-20-dev
|