<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - The keyword signature for target_link_libraries has already been used with the target "FIRDialect"."
href="https://bugs.llvm.org/show_bug.cgi?id=45574">45574</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The keyword signature for target_link_libraries has already been used with the target "FIRDialect".
</td>
</tr>
<tr>
<th>Product</th>
<td>flang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>Build System
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lone_wolf@klaas-de-kat.nl
</td>
</tr>
<tr>
<th>CC</th>
<td>David.Truby@arm.com, jperier@nvidia.com, llvm-bugs@lists.llvm.org, sscalpone@nvidia.com
</td>
</tr></table>
<p>
<div>
<pre>Attempting to build flang with FIR/MLIR (as is default) fails.
gcc 9.3 , python 3.8.2 , llvm trunk master
<a href="https://github.com/llvm/llvm-project/commit/2ec5520a54ef9b359c6154adf857ba690bc117f1">https://github.com/llvm/llvm-project/commit/2ec5520a54ef9b359c6154adf857ba690bc117f1</a>
CMake Error at
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/flang/lib/Optimizer/Dialect/CMakeLists.txt:10
(target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "FIRDialect". All uses of target_link_libraries with a target
must be either all-keyword or all-plain.
The uses of the keyword signature are here:
*
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/llvm/cmake/modules/AddLLVM.cmake:616
(target_link_libraries)
CMake Error at
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/flang/lib/Optimizer/Support/CMakeLists.txt:5
(target_link_libraries):
The keyword signature for target_link_libraries has already been used with
the target "FIRSupport". All uses of target_link_libraries with a target
must be either all-keyword or all-plain.
The uses of the keyword signature are here:
*
/home/panoramix/Documents/Aur/pkgbuilds/llvm-git/src/llvm-project/llvm/cmake/modules/AddLLVM.cmake:616
(target_link_libraries)</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>