mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-21 05:49:42 +08:00
This script has previously failed under some configurations, while also failing to stop provisioning. This patch enables fast-fail behavior, catches potential issues with missing executables early with a descriptive error message. This should allow us to detect if the required packages are missing in the future, and stop provisioning accordingly. This patch also installs the necessary packages on the relevant CI build targets. Task-number: QTBUG-136930 Pick-to: 6.10 6.9 6.8 Change-Id: I7c781264ad67508d19fd44556a9caf0f201638d4 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
10 lines
373 B
Bash
Executable File
10 lines
373 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#Copyright (C) 2025 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
|
|
|
|
# binutils is installed with an error: The formula built, but is not symlinked into /usr/local
|
|
# To avoid stopping the configuration due to this problem, "|| true" is added.
|
|
brew install binutils || true
|