diff options
| -rw-r--r-- | coin/fetch_libclang_arm64.ps1 | 8 | ||||
| -rw-r--r-- | coin/instructions/common_environment.yaml | 27 |
2 files changed, 35 insertions, 0 deletions
diff --git a/coin/fetch_libclang_arm64.ps1 b/coin/fetch_libclang_arm64.ps1 new file mode 100644 index 000000000..124041157 --- /dev/null +++ b/coin/fetch_libclang_arm64.ps1 @@ -0,0 +1,8 @@ +# 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 +# Download the file + +wget https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_19.1.0-based-windows-vs2022_arm64.7z -o libclang.7z +# Unzip the contents to /home/qt +7z x libclang.7z -o/utils +Remove-Item libclang.7z diff --git a/coin/instructions/common_environment.yaml b/coin/instructions/common_environment.yaml index 7663014e2..ad3123f9f 100644 --- a/coin/instructions/common_environment.yaml +++ b/coin/instructions/common_environment.yaml @@ -236,6 +236,21 @@ instructions: equals_value: AARCH64 userMessageOnFailure: > Failed to download libclang from Qt servers + - type: ExecuteCommand + command: ["powershell", "-ExecutionPolicy", "Bypass", "-File", "coin\\fetch_libclang_arm64.ps1"] + maxTimeInSeconds: 14400 + maxTimeBetweenOutput: 1200 + enable_if: + condition: and + conditions: + - condition: property + property: host.os + equals_value: Windows + - condition: property + property: host.arch + equals_value: AARCH64 + userMessageOnFailure: > + Failed to download libclang from Qt servers - type: EnvironmentVariable variableName: LLVM_INSTALL_DIR variableValue: "/home/qt/libclang" @@ -249,6 +264,18 @@ instructions: property: host.os equals_value: Linux - type: EnvironmentVariable + variableName: LLVM_INSTALL_DIR + variableValue: "\\utils\\libclang" + enable_if: + condition: and + conditions: + - condition: property + property: target.arch + equals_value: AARCH64 + - condition: property + property: host.os + equals_value: Windows + - type: EnvironmentVariable variableName: interpreter variableValue: "python3.11" enable_if: |
