qt5base-lts/config.tests
Alexandru Croitor ba7c62eed5 Fix sub-architecture (instruction sets / SIMD) handling
In qmake there are at least 2 things to know regarding
sub-architectures and instruction sets.

Which instruction sets does the compiler know to compile for,
represented by the various config.tests and features in
qtbase/configure.json.

And which instructions sets are enabled by the compiler by default,
represented by the configure.json "architecture" test and accessed
via QT_CPU_FEATURES.$$arch qmake argument.

Before this patch there was some mishandling of the above concepts
in CMake code.

The former can now be checked in CMake with via TEST_subarch_foo and
QT_FEATURE_foo (where foo is sse2, etc).

The latter can now be checked by
TEST_arch_${TEST_architecture_arch}_subarch_foo
(where foo is sse2, etc and the main arch is dynamyicall evaluated).

The configurejson2cmake script was adjusted to take care of the above
changes, and the cmake files were regenerated as well.

Change-Id: Ifbf558242e320cafae50da388eee56fa5de2a50c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-03-21 17:47:01 +00:00
..
arch SIMD: Remove unused (and unlikely to be ever used) AVX-512 profiles 2018-06-25 18:49:33 +00:00
atomicfptr configure: un-namespace remaining non-inline configure tests 2017-08-02 16:38:00 +00:00
avx512 AVX512 test: an intrinsic that GCC forgot to implement prior to GCC8 2018-09-15 20:55:25 +00:00
common/pch Centralize the x86 SIMD testing in one place 2017-11-30 08:30:42 +00:00
corewlan configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
gnu-libiconv configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
iconv configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
openssl configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
qpa/vulkan Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
stl configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
sun-libiconv configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
unix Clean up OS version checks for Apple platforms 2017-09-29 03:30:13 +00:00
verifyspec configure: un-namespace remaining non-inline configure tests 2017-08-02 16:38:00 +00:00
x11/xrender Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
x86_simd Fix sub-architecture (instruction sets / SIMD) handling 2019-03-21 17:47:01 +00:00
xlocalescanprint configure: clean up projects of remaining non-inline tests 2017-08-02 16:38:06 +00:00
.gitignore
.qmake.conf make also configure tests not see %LIB% and %INCLUDE% under mingw 2016-10-17 13:44:43 +00:00