Skip to content

Commit

Permalink
Fix cmake POWER10 detection
Browse files Browse the repository at this point in the history
Recent commit 60c98a8 changed variable mlas_common_srcs which affects
POWER10 detection.
  • Loading branch information
Rajalakshmi Srinivasaraghavan authored and snnn committed Sep 12, 2021
1 parent c674343 commit e83cc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/onnxruntime_mlas.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e83cc53

Please sign in to comment.