summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-09-08 17:47:28 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-09-10 18:29:05 +0300
commitff1a44be33f4bc05d502a2ca49171e0408992f61 (patch)
treee0ddd0b3f8880eae0f2362b5c15730ca296b27f2 /configure.json
parent54c37146b78812e286a495a4bfc39d97858d3f99 (diff)
Android: don't use avx and avx2 when building for Android x86_64
The Android build for x86_64 fails with CMake. It should also fail with qmake builds but the current multi-ABI build is testing the feature for arm64-v8a only. In [1], it's stated that AVX and AVX2 are not supported on x86_64 ABI. [1] https://developer.android.com/ndk/guides/abis#86-64 Task-number: QTBUG-85982 Change-Id: I20c9366bdee2a13ca554ec67f5d0c041bd068b91 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r--configure.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.json b/configure.json
index 507ffd20dd..a00a22c6da 100644
--- a/configure.json
+++ b/configure.json
@@ -1084,7 +1084,7 @@
},
"avx": {
"label": "AVX",
- "condition": "features.sse4_2 && tests.avx",
+ "condition": "features.sse4_2 && tests.avx && (!config.android || !arch.x86_64)",
"output": [
"privateConfig",
{ "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX", "value": 1 }
@@ -1100,7 +1100,7 @@
},
"avx2": {
"label": "AVX2",
- "condition": "features.avx && tests.avx2",
+ "condition": "features.avx && tests.avx2 && (!config.android || !arch.x86_64)",
"output": [
"privateConfig",
"privateFeature",