mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-21 04:16:39 +08:00
Integrity: git track toolchain file
Also make cmake find libraries only from toolchain Pick-to: 6.2 Task-number: QTQAINFRA-4580 Change-Id: I5eabaa3b6915e16db6ce152591d3b88bc7483d29 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
@@ -49,12 +49,15 @@ SHA1_toolchainAddons="1eb838edca4edaa3d9076b5ce4aea6409ffaa022"
|
||||
targetFolder="$HOME"
|
||||
appPrefix=""
|
||||
|
||||
toolchain_file="${BASH_SOURCE%/*}/cmake_toolchain_files/integrity_toolchain.cmake"
|
||||
|
||||
echo "Install Integrity toolchain es7"
|
||||
InstallFromCompressedFileFromURL "$urlToolchainEs7" "$urlToolchainEs7" "$SHA1_toolchainEs7" "$targetFolder" "$appPrefix"
|
||||
|
||||
echo "Install Integrity toochain addons"
|
||||
echo "Install Integrity toolchain addons"
|
||||
DownloadURL "$urlToolchainAddons" "$urlToolchainAddons" "$SHA1_toolchainAddons" "/tmp/integrity_toolchain_addons.zip"
|
||||
unzip "/tmp/integrity_toolchain_addons.zip" -d "/tmp"
|
||||
mv /tmp/toolchain/* $targetFolder/toolchain
|
||||
mv $targetFolder/toolchain $targetFolder/integrity_toolchain
|
||||
cp $toolchain_file "$targetFolder/integrity_toolchain/toolchain.cmake"
|
||||
sudo rm -fr /tmp/toolchain
|
||||
|
||||
Reference in New Issue
Block a user