mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-24 16:05:36 +08:00
Provisioning: Install Swiftly and its dependencies
Swiftly is need to install swift tools to linux. Change-Id: Idfdaacf680f2dc30aa944811ce3daf2e52efe21d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
@@ -246,6 +246,9 @@ installPackages+=(cifs-utils)
|
||||
installPackages+=(uml-utilities)
|
||||
# Fix dependencies in shared ffmpeg libs
|
||||
installPackages+=(patchelf)
|
||||
# For swiftly
|
||||
installPackages+=(gnupg2)
|
||||
installPackages+=(pkg-config)
|
||||
|
||||
# Keep zoneinfo up-to-date (COIN-1282)
|
||||
installPackages+=(tzdata)
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2026 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
|
||||
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
checksum="83051570e514a10b6f60d732cd2c35eb3fcc9d3d"
|
||||
url="https://download.swift.org/swiftly/linux/swiftly-1.1.1-x86_64.tar.gz"
|
||||
url_cached="http://ci-files01-hki.ci.qt.io/input/swiftly-1.1.1-x86_64.tar.gz"
|
||||
target=swiftly.tar.gz
|
||||
DownloadURL $url_cached $url $checksum $target
|
||||
|
||||
tar zxf swiftly.tar.gz
|
||||
./swiftly init --quiet-shell-followup -y
|
||||
# The installer leaves out line feed when modifying .profile
|
||||
echo " " >> /home/qt/.profile
|
||||
Reference in New Issue
Block a user