We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68db36f commit 0ec7b4eCopy full SHA for 0ec7b4e
CMakeLists.txt
@@ -187,11 +187,15 @@ if (CMAKE_COMPILER_IS_GNUCC AND NOT CROSS_COMPILE)
187
string(FIND "${GNUCC_ARCH}" "sve" POS_SVE)
188
string(FIND "${GNUCC_ARCH}" "sve2" POS_SVE2)
189
string(FIND "${GNUCC_ARCH}" "sve2-bitperm" POS_SVE2_BITPERM)
190
- if (NOT POS_SVE EQUAL 0)
+ if(NOT POS_SVE2_BITPERM EQUAL 0)
191
+ set(SVE2_BITPERM_FOUND 1)
192
+ set(SVE2_FOUND 1)
193
set(SVE_FOUND 1)
194
elseif(NOT POS_SVE2 EQUAL 0)
195
set(SVE2_FOUND 1)
- elseif(NOT POS_SVE2_BITPERM EQUAL 0)
196
+ set(SVE_FOUND 1)
197
+ elseif (NOT POS_SVE EQUAL 0)
198
199
set(SVE2_BITPERM_FOUND 1)
200
endif()
201
0 commit comments