Remove outdated check for Apple Clang 2.x and 3.x
The minimum version of Xcode that we support is 5.1 (based on Clang 3.4) Change-Id: I536c32a88bff44dab37afffd14a11f709fb25169 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
8798d03e7e
commit
b6bf2a33f4
@ -314,10 +314,6 @@
|
||||
"type": "compile",
|
||||
"test": "common/avx"
|
||||
},
|
||||
"avx_apple_clang": {
|
||||
"label": "bugfree AVX support in compiler",
|
||||
"type": "avx_test_apple_clang"
|
||||
},
|
||||
"avx2": {
|
||||
"label": "AVX2 instructions",
|
||||
"type": "compile",
|
||||
@ -751,7 +747,7 @@
|
||||
},
|
||||
"avx": {
|
||||
"label": "AVX",
|
||||
"condition": "features.sse4_2 && tests.avx && tests.avx_apple_clang",
|
||||
"condition": "features.sse4_2 && tests.avx",
|
||||
"output": [
|
||||
"privateConfig",
|
||||
{ "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX", "value": 1 }
|
||||
|
@ -274,18 +274,6 @@ defineTest(qtConfTest_architecture) {
|
||||
return(true)
|
||||
}
|
||||
|
||||
defineTest(qtConfTest_avx_test_apple_clang) {
|
||||
!*g++*:!*-clang*: return(true)
|
||||
|
||||
qtRunLoggedCommand("$$QMAKE_CXX --version", compiler)|return(false)
|
||||
contains(compiler, "Apple clang version [23]") {
|
||||
# Some clang versions produce internal compiler errors compiling Qt AVX code
|
||||
return(false)
|
||||
} else {
|
||||
return(true)
|
||||
}
|
||||
}
|
||||
|
||||
defineTest(qtConfTest_gnumake) {
|
||||
make = $$qtConfFindInPath("gmake")
|
||||
isEmpty(make): make = $$qtConfFindInPath("make")
|
||||
|
Loading…
Reference in New Issue
Block a user