From ea36baf3950c5b23b94d5363ea62f68b550c999f Mon Sep 17 00:00:00 2001 From: liuhao2638 <2284903223@qq.com> Date: Fri, 17 Apr 2026 03:43:36 +0000 Subject: [PATCH] Revert first WITH_ARM check removal from PR #78619 Restore AND NOT WITH_ARM condition for cutlass build section, keeping the flashattn section change from the original PR. --- cmake/third_party.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/third_party.cmake b/cmake/third_party.cmake index 231cdcf458826d..755739e5336958 100755 --- a/cmake/third_party.cmake +++ b/cmake/third_party.cmake @@ -349,6 +349,7 @@ include(external/glog) # download, build, install glog ########################### include third_party according to flags ############################### if(WITH_GPU + AND NOT WITH_ARM AND NOT WIN32 AND NOT APPLE) if(${CMAKE_CUDA_COMPILER_VERSION} GREATER_EQUAL 11.0) @@ -600,6 +601,7 @@ if(WITH_ROCM) endif() if(WITH_GPU + AND NOT WITH_ARM AND NOT WIN32 AND NOT APPLE) if(${CMAKE_CUDA_COMPILER_VERSION} GREATER_EQUAL 12.3)