mirror of https://github.com/xianyi/OpenBLAS.git
Use remove_item to prune dynamic_list
This commit is contained in:
parent
854b597dde
commit
6f5c9675b3
|
|
@ -112,7 +112,7 @@ if (DYNAMIC_ARCH)
|
|||
endif ()
|
||||
if (DYNAMIC_LIST)
|
||||
if (NO_AVX512)
|
||||
string (REGEX REPLACE "SKYLAKEX|COOPERLAKE|SAPPHIRERAPIDS" "" DYNAMIC_LIST ${DYNAMIC_LIST})
|
||||
list(REMOVE_ITEM ${DYNAMIC_LIST} SKYLAKEX COOPERLAKE SAPPHIRERAPIDS)
|
||||
endif()
|
||||
set(DYNAMIC_CORE PRESCOTT ${DYNAMIC_LIST})
|
||||
endif ()
|
||||
|
|
|
|||
Loading…
Reference in New Issue