Skip to content

Commit

Permalink
cmake changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwins990 committed Jan 3, 2025
1 parent 5c010af commit 0014fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/developer_package/compile_flags/os_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ macro(ov_arm_sve_optimization_flags flags)
if(ANDROID_ABI STREQUAL "arm64-v8a")
set(${flags} -Wno-unused-command-line-argument)
if(CXX_SVE_FOUND)
list(APPEND ${flags} -march=armv8.2-a+sve)
list(APPEND ${flags} -march=armv8-a+sve)
else()
message(WARNING "SVE is not supported on this Android ABI: ${ANDROID_ABI}")
endif()
Expand All @@ -281,7 +281,7 @@ macro(ov_arm_sve_optimization_flags flags)

# Add flag for SVE if supported
if(CXX_SVE_FOUND)
list(APPEND ${flags} -march=armv8.2-a+sve)
list(APPEND ${flags} -march=armv8-a+sve)
endif()
if(NOT CMAKE_CL_64)
list(APPEND ${flags} -ftree-vectorize)
Expand Down

0 comments on commit 0014fd3

Please sign in to comment.