From d091e4dfab6c05730c29070377d7438693f9f742 Mon Sep 17 00:00:00 2001 From: Zack Johnson Date: Tue, 22 Jul 2025 16:46:08 -0400 Subject: [PATCH] [compiler-rt][MSVC] Update check to include clang-cl --- compiler-rt/lib/builtins/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt index eb2e7664152b8..1dadb6a810efb 100644 --- a/compiler-rt/lib/builtins/CMakeLists.txt +++ b/compiler-rt/lib/builtins/CMakeLists.txt @@ -594,8 +594,8 @@ set(aarch64_SOURCES aarch64/fp_mode.c ) -# Append sources specific to AArch64 targets that aren't supported by MSVC. -if(NOT MSVC) +# Append sources specific to AArch64 targets that aren't supported by cl.exe +if(CLANG_CL OR NOT MSVC) list(APPEND aarch64_SOURCES aarch64/emupac.cpp )