<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Build clang for ARM target in Visual Studio 2015 failed"
href="https://llvm.org/bugs/show_bug.cgi?id=30255">30255</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Build clang for ARM target in Visual Studio 2015 failed
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alfedotov@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=17207" name="attach_17207" title="log from VStudio build console">attachment 17207</a> <a href="attachment.cgi?id=17207&action=edit" title="log from VStudio build console">[details]</a></span>
log from VStudio build console
Hi guys
I'm trying to build clang for ARM target using Cmake and Visual Studio 2015.
Cmake generates solution well with LLVM_TARGETS_TO_BUILD=ARM.
But during build process I've git following error:
222> Kaleidoscope-Ch8.vcxproj -> D:\llvm_arm\Debug\bin\Kaleidoscope-Ch8.exe
233>------ Skipped Build: Project: Kaleidoscope, Configuration: Debug Win32
------
233>Project not selected to build for this solution configuration
224>LINK : fatal error LNK1104: cannot open file 'LLVMX86CodeGen.lib'
232>LINK : fatal error LNK1104: cannot open file 'LLVMX86CodeGen.lib'
228> Building Custom Rule D:/llvm-nxp/CMakeLists.txt
228> CMake does not need to re-run because
D:\llvm_arm\CMakeFiles\generate.stamp is up-to-date.
234>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
234>Project not selected to build for this solution configuration
235>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32 ------
235>Project not selected to build for this solution configuration
========== Build: 224 succeeded, 3 failed, 0 up-to-date, 8 skipped ==========
Why it is trying to find LLVMX86CodeGen.lib while target is ARM ?
When I setup LLVM_TARGETS_TO_BUILD=X86;ARM - build process finishes without
error.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>