https://bugs.llvm.org/show_bug.cgi?id=44127
Bug ID: 44127
Summary: CMakeLists.txt for LLVM-C checks wrong host-triple for
windows-x86
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
The CMakeLists.txt for the llvm-shlib is currently checking against
`LLVM_HOST_TRIPLE STREQUAL "1686=pc-win32"`:
https://github.com/llvm/llvm-project/blob/master/llvm/tools/llvm-shlib/CMakeLists.txt#L120
However, the default host-triple for the official Win32 builds is
"i686-pc-windows-msvc" (this is also the default host triple computed when
building locally with MSVC).
This results in the official LLVM-C.dll binary (as downloaded from
http://releases.llvm.org/download.html) being only 9kb in size and containing
no exports.
The CMakeLists.txt should likely default to "i686-pc-windows-msvc" so that
official builds work as expected. Ideally, the logic would also check other
Win32 triplets as appropriate.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs