[compiler-rt] [cmake][compiler-rt][darwin] builtin libraries don't build for armv6m in Darwin (PR #195372)
Ian Anderson via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 15:54:12 PDT 2026
================
@@ -450,11 +450,14 @@ macro(darwin_add_builtin_libraries)
OS ${os}
ARCH ${arch}
MIN_VERSION ${DARWIN_${os}_BUILTIN_MIN_VER})
+ cmake_push_check_state()
+ set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -arch ${arch}")
----------------
ian-twilightcoder wrote:
Claude made these changes, and they look consistent with similar code I found at <https://github.com/llvm/llvm-project/blob/bcd75cb494a2aacef4cc379338be635048056cc0/compiler-rt/lib/builtins/CMakeLists.txt#L1004-L1015>. I verified that armv7 still gets BF16 files.
https://github.com/llvm/llvm-project/pull/195372
More information about the llvm-commits
mailing list