Skip to content

Commit

Permalink
[CPU] Disable mlas with webassembly (#19005)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangYiIntel authored Aug 7, 2023
1 parent d2947e2 commit 648351b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/intel_cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ endif()
set(OV_CPU_ARM_TARGET_ARCH ${OV_CPU_ARM_TARGET_ARCH_DEFAULT})

if(X86 OR X86_64 OR AARCH64)
if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7)
# disable mlas with webassembly
if(EMSCRIPTEN OR (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7))
set(ENABLE_MLAS_FOR_CPU_DEFAULT OFF)
else()
set(ENABLE_MLAS_FOR_CPU_DEFAULT ON)
Expand Down

0 comments on commit 648351b

Please sign in to comment.