[all-commits] [llvm/llvm-project] 5013cf: [cmake] Add symbolic links for MSVC libraries (#10...
Mike Hommey via All-commits
all-commits at lists.llvm.org
Fri Aug 30 16:10:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5013cf682cf010c299e64acf68d35248b7c3e883
https://github.com/llvm/llvm-project/commit/5013cf682cf010c299e64acf68d35248b7c3e883
Author: Mike Hommey <mh at glandium.org>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M llvm/cmake/platforms/WinMsvc.cmake
Log Message:
-----------
[cmake] Add symbolic links for MSVC libraries (#106710)
When cross-compiling a Windows clang with `-DLLVM_BUILD_INSTRUMENTED`,
the profiling compiler-rt is linked to binaries, as one would expect,
but the profiling compiler-rt contains objects with `/DEFAULTLIB:LIBCMT`
and `/DEFAULTLIB:OLDNAMES` directives, which makes the build expect
`LIBCMT.lib` and `OLDNAMES.lib`, but they are nowhere to be found
because they are in lowercase. While the WinMsvc.cmake helper recreates
symbolic links to work around such case sensitivity issues for the
Windows SDK libs, it doesn't do so for the MSVC libs, which we add here.
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