diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-06-14 17:24:52 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-06-21 21:42:18 +0200 |
commit | 84e22f9e822cc71799bad01423cc407f2ea26fcd (patch) | |
tree | c48ab1081449477f2e03153f9257aedbef9e4eb4 /tests | |
parent | ac171469a0021b5ddabd0197c31b814fbbaad16a (diff) |
Fix concurrent access to files by androiddeployqt in multi-abi builds
'androiddeployqt' supposed to copy artifacts that may not have
abi-specific identifies. One example is Qt6Android.jar file. We need
to prevent execution of multiple androiddeployqt instances in
parallel. External projects now are divided into two steps. The
first runs the build and can be executed in parallel to the build
steps from the other external projects. The second one triggers
androiddeployqt and can only be run exclusively in relation
to the similar steps from other ABI-specific external projects.
To solve the issue we build the dependency chain between the all
ABI-pecific qt_internal_${target}_copy_apk_dependencies targets to
execute androiddeployqt sequentially. This is non-optimal, but
guarantees that androiddeployqt is not running simultaneously with
another instance in external projects.
Pick-to: 6.3 6.4
Fixes: QTBUG-104013
Change-Id: I39a25dd5f38ed988e0ca74b185024bc602ab81a1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions