[all-commits] [llvm/llvm-project] 6ad1db: [cmake] Forward MacOS sysroot to runtimes when not...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Thu May 7 08:22:46 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ad1db6ff7fc1bd7ce7b88e0df38c0fd9fbbdeea
https://github.com/llvm/llvm-project/commit/6ad1db6ff7fc1bd7ce7b88e0df38c0fd9fbbdeea
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[cmake] Forward MacOS sysroot to runtimes when not crosscompiling (#182501)
The LLVM build documentation says that setting CMAKE_OSX_SYSROOT should
be sufficient to correctly configure the sysroot, however this flag was
not forwarded to the build of runtimes: leading to failures in flang-rt
tests. https://llvm.org/docs/CMake.html#apple-osx
It is not safe to forward this flag in general because the runtime might
be cross-compiled. In this case I have tried to do this only for native
builds. My intention here is not to make the build more complex than
currently documented.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list