<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 - Not able to disable CUDA offloading"
href="https://bugs.llvm.org/show_bug.cgi?id=44971">44971</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Not able to disable CUDA offloading
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>alexander.grund@tu-dresden.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The CMake build system only allows to enable or disable the OpenMP target
offloading completely via OPENMP_ENABLE_LIBOMPTARGET. But it is not possible to
disable a specific backend, e.g. CUDA. If CMake finds CUDA it will be enabled
even if the CUDA found is not what is wanted. This may lead to e.g.
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Compilation failure LLVM >= 7, gcc > 5 when system CUDA present"
href="show_bug.cgi?id=39388">https://bugs.llvm.org/show_bug.cgi?id=39388</a>
--> There should be an option to disable specific backends, at least once that
require some external dependency (e.g CUDA)</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>