1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Merge pull request #29343 from abhishek-gola:disable_windows_mlas_assembly

Disable MLAS on windows
This commit is contained in:
Alexander Smorkalov
2026-06-19 18:55:43 +03:00
committed by GitHub
+4
View File
@@ -71,6 +71,10 @@ set(mlas_platform_srcs)
set(OPENCV_DNN_MLAS_ENABLED 0 CACHE INTERNAL "" FORCE)
set(OPENCV_DNN_MLAS_SKIP_REASON "" CACHE INTERNAL "" FORCE)
if(WIN32)
return()
endif()
# Probe ASM language once. check_language(ASM) is a no-op when
# CMAKE_ASM_COMPILER is already set in cache — and the Android NDK toolchain
# pre-sets it for every ABI. So on Android the guard falls through to