configure: don't force debug build for arch & cpu feature tests
amendsb4525b3407
, which gives no indication for why this was done. judging by other tests, it wasn't cargo-culted. i presume it was just about disabling debug-and-release, and the debug choice was arbitrary. the central system nowadays does the same, just that it uses release. amends1533bfc5fc
, which certainly _was_ cargo-culted from the former. as a side effect, this removes some other CONFIG manipulations which are handled centrally or are wholly ineffective nowadays. Change-Id: Ib9af2837925a2f19af05506e798a26d363635735 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
479b2ab55f
commit
aaed0530fd
@ -1,4 +1,2 @@
|
||||
TARGET = arch
|
||||
SOURCES = arch.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = avx.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_AVX, "var"):error("This compiler does not support AVX")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_AVX
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = avx2.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_AVX2, "var"):error("This compiler does not support AVX2")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_AVX2
|
||||
|
@ -1,6 +1,4 @@
|
||||
SOURCES = avx512.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
|
||||
!defined(AVX512, "var"): error("You must set the AVX512 variable!")
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = f16c.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_F16C, "var"):error("This compiler does not support F16C")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_F16C
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = sse2.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_SSE2, var): error("This compiler does not support SSE2")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSE2
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = sse3.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_SSE3, "var"):error("This compiler does not support SSE3")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSE3
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = sse4_1.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_SSE4_1, "var"):error("This compiler does not support SSE4.1")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSE4_1
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = sse4_2.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_SSE4_2, "var"):error("This compiler does not support SSE4.2")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSE4_2
|
||||
|
@ -1,5 +1,3 @@
|
||||
SOURCES = ssse3.cpp
|
||||
CONFIG -= qt dylib release debug_and_release
|
||||
CONFIG += debug console
|
||||
!defined(QMAKE_CFLAGS_SSSE3, "var"):error("This compiler does not support SSSE3")
|
||||
else:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_SSSE3
|
||||
|
Loading…
Reference in New Issue
Block a user