<html>
<head>
<base href="http://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 --- - TableGen.cmake concats dependencies without a seperator"
href="http://llvm.org/bugs/show_bug.cgi?id=19044">19044</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>TableGen.cmake concats dependencies without a seperator
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yaron.keren@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>In TableGen/cmake:54
set(TABLEGEN_OUTPUT ${TABLEGEN_OUTPUT} ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
PARENT_SCOPE)
If I print out TABLEGEN_OUTPUT values:
-- Targeting X86
{TABLEGEN_OUTPUT} =
{TABLEGEN_OUTPUT} = C:/llvm/msvc/lib/Target/X86/X86GenRegisterInfo.inc
{TABLEGEN_OUTPUT} =
C:/llvm/msvc/lib/Target/X86/X86GenRegisterInfo.incC:/llvm/msvc/lib/Target/X86/X86GenDisassemblerTables.inc
{TABLEGEN_OUTPUT} =
C:/llvm/msvc/lib/Target/X86/X86GenRegisterInfo.incC:/llvm/msvc/lib/Target/X86/X86GenDisassemblerTables.incC:/llvm/msvc/lib/Target/X86/X86GenInstrInfo.inc
{TABLEGEN_OUTPUT} =
C:/llvm/msvc/lib/Target/X86/X86GenRegisterInfo.incC:/llvm/msvc/lib/Target/X86/X86GenDisassemblerTables.incC:/llvm/msvc/lib/Target/X86/X86GenInstrInfo.incC:/llvm/msvc/lib/Target/X86/X86GenAsmWriter.inc
etc...
Simple string concatention makes no sense, some separator should be used?
Maybe a space like this:
set(TABLEGEN_OUTPUT ${TABLEGEN_OUTPUT} ${CMAKE_CURRENT_BINARY_DIR}/${ofn} " "
PARENT_SCOPE)
I don't know. Similar problem is in line 70,
set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} ${target} PARENT_SCOPE)
again dependencies without separator.</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>