[llvm-bugs] [Bug 44971] New: Not able to disable CUDA offloading

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 20 02:00:00 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44971

            Bug ID: 44971
           Summary: Not able to disable CUDA offloading
           Product: Build scripts
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: alexander.grund at tu-dresden.de
                CC: llvm-bugs at lists.llvm.org

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.
https://bugs.llvm.org/show_bug.cgi?id=39388

--> There should be an option to disable specific backends, at least once that
require some external dependency (e.g CUDA)

-- 
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/20200220/6c34cd21/attachment-0001.html>


More information about the llvm-bugs mailing list