qtbase-opensource-src/config.tests/avx512/avx512.pro

11 lines
309 B
Prolog
Raw Normal View History

2022-05-14 17:39:13 +08:00
SOURCES = avx512.cpp
!defined(AVX512, "var"): error("You must set the AVX512 variable!")
varname = QMAKE_CFLAGS_AVX512$$AVX512
value = $$eval($$varname)
!defined($$varname, "var"): error("This compiler does not support AVX512")
QMAKE_CXXFLAGS += $$value
DEFINES += WANT_AVX512=$$AVX512 WANT_AVX512$$AVX512