mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
Fix cmake POWER10 detection
Recent commit 60c98a8 changed variable mlas_common_srcs which affects
POWER10 detection.
This commit is contained in:
parent
c674343d94
commit
e83cc534d4
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ else()
|
|||
HAS_P10_RUNTIME
|
||||
)
|
||||
if (HAS_P10_RUNTIME)
|
||||
set_source_files_properties(${mlas_common_srcs} PROPERTIES COMPILE_FLAGS "-DPOWER10")
|
||||
set_source_files_properties(${MLAS_SRC_DIR}/platform.cpp PROPERTIES COMPILE_FLAGS "-DPOWER10")
|
||||
endif()
|
||||
set(mlas_platform_srcs_power10
|
||||
${MLAS_SRC_DIR}/power/SgemmKernelPOWER10.cpp
|
||||
|
|
|
|||
Loading…
Reference in a new issue