diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-09-08 12:19:06 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-09-09 17:04:16 +0200 |
commit | 1e9c97011a80a6a6dae3774a5c0ed9aeb2bf0f3d (patch) | |
tree | 9a00e79dc0a5ff2a3fbc1a4cdd664405c3974355 /src/corelib/doc/src/cmake/cmake-configure-variables.qdoc | |
parent | c7d1d56b0951ea6e65552fa814927e1ffa8c68d9 (diff) |
Use the correct way to include qsimd_x86_p.h
qsimd_x86_p.h is not synced and installed as part of macOS multi-arch
builds, because of TEST_architecture_arch. With new approach when we
supposed to deploy only header files that belong to a platform in Qt
builds and installation, this file is missing. Considering
CMAKE_OSX_ARCHITECTURES in qt_internal_extend_target CONDITION fixes
this behavior and the file is added to CMake source tree.
Include qsimd_x86_p.h using private module include path, but not by
the relative path. This helps to detect the issue if file doesn't
exists in build or install directory when building qtbase, but
not other repositories.
The current architecture_arch test returns the very first
architecture that pass the check. Since arm64 is located in very
beginning it's returned first and other architectures that might be
used for multi-arch builds are not taken into account by conditions
that checks architecture_arch test results.
Fixes: QTBUG-106462
Task-number: QTBUG-103196
Change-Id: I6a9f110007d7069222c7d63bcd3ea586efab3aae
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/doc/src/cmake/cmake-configure-variables.qdoc')
0 files changed, 0 insertions, 0 deletions