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: unassignedb...@nondot.org
          Reporter: alexander.gr...@tu-dresden.de
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to