[all-commits] [llvm/llvm-project] a59e17: [libc][obvious] Fix conditional when CUDA is not f...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jun 5 16:51:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a59e1712fa0a3a51097bbf3e1f52531bb4d85475
      https://github.com/llvm/llvm-project/commit/a59e1712fa0a3a51097bbf3e1f52531bb4d85475
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M libc/utils/gpu/loader/CMakeLists.txt

  Log Message:
  -----------
  [libc][obvious] Fix conditional when CUDA is not found

If CUDA is not found this string will expand into nothing. We need to
surround it with a string otherwise it will cause build failures.

Differential Revision: https://reviews.llvm.org/D152209




More information about the All-commits mailing list