[all-commits] [llvm/llvm-project] cf0d18: runtimes: Pass CMAKE_SYSTEM_NAME based on target t...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jun 12 13:24:13 PDT 2026
Branch: refs/heads/users/arsenm/runtimes/only-forward-macos-targets-darwin
Home: https://github.com/llvm/llvm-project
Commit: cf0d18cf8da96251ad41785b5f97a3916220c862
https://github.com/llvm/llvm-project/commit/cf0d18cf8da96251ad41785b5f97a3916220c862
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M clang/cmake/modules/ClangConfig.cmake.in
A cmake/Modules/GetTripleCMakeSystemName.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
runtimes: Pass CMAKE_SYSTEM_NAME based on target triple
Compute the cmake system name from the target triple, rather
than passing through the host's. This is primarily to stop
forwarding OSX specific cmake variables.
This fixes build failures when trying to build gpu libc on mac
hosts. Previously it would fail on several issues, starting with
an unused argument -mmacos-version-min error, followed by other
errors caused by passing -isysroot.
Secondarily, restrict the cmake imported targets when cross compiling.
Without this, the amdgpu build prints many cmake warnings about the
target not supporting shared libraries.
Claude did most of the actual work, though it required quite a few
rounds of prodding to get it into the right place. In particular it
took care of handling all of the cmake platform recognized names from
the triple.
Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
Commit: 0f7ed6ac48bd6934b8be3f1d77500e05b09d39ed
https://github.com/llvm/llvm-project/commit/0f7ed6ac48bd6934b8be3f1d77500e05b09d39ed
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M cmake/Modules/GetTripleCMakeSystemName.cmake
Log Message:
-----------
Handle mingw
Commit: e02a9deb15365caf725dbfb78ffff75c221ad88b
https://github.com/llvm/llvm-project/commit/e02a9deb15365caf725dbfb78ffff75c221ad88b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M cmake/Modules/GetTripleCMakeSystemName.cmake
Log Message:
-----------
Handle more cases from the chart
Commit: ba338cf9740e4b3a2a38170d1f108576fd67be63
https://github.com/llvm/llvm-project/commit/ba338cf9740e4b3a2a38170d1f108576fd67be63
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M cmake/Modules/GetTripleCMakeSystemName.cmake
Log Message:
-----------
Match android and cygwin from environment
Compare: https://github.com/llvm/llvm-project/compare/8f6cb73077ab...ba338cf9740e
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