[llvm-bugs] [Bug 45270] New: Please backport eb2ba2ea953b5e to 10.x ([CUDA] Warn about unsupported CUDA SDK version only if it's used)
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Mar 21 13:00:30 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45270
Bug ID: 45270
Summary: Please backport eb2ba2ea953b5e to 10.x ([CUDA] Warn
about unsupported CUDA SDK version only if it's used)
Product: clang
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: mgorny at gentoo.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Blocks: 44555
Created attachment 23270
--> https://bugs.llvm.org/attachment.cgi?id=23270&action=edit
0001-CUDA-Warn-about-unsupported-CUDA-SDK-version-only-if.patch (rebased)
We've gotten a bug report today indicating that the new clang version throws
warning about unsupported CUDA versions unconditionally (even when not using
CUDA). This means that if the user happens to have newer CUDA installed, a lot
of CMake checks fail wrongly, and it can't even compile LLVM correctly.
I realize that it's really late for fixes but I think this is a serious
blocker. I'm attaching a rebased version of the following commit:
commit eb2ba2ea953b5ea73cdbb598f77470bde1c6a011
Author: Artem Belevich <tra at google.com>
Date: 2020-03-11 22:53:03 +0100
[CUDA] Warn about unsupported CUDA SDK version only if it's used.
This fixes an issue with clang issuing a warning about unknown CUDA SDK if
it's
detected during non-CUDA compilation.
Differential Revision: https://reviews.llvm.org/D76030
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=44555
[Bug 44555] [meta] 10.0.0 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200321/2f96eed3/attachment.html>
More information about the llvm-bugs
mailing list