[Openmp-commits] [PATCH] D118522: [OpenMP] disable build of old nvptx device runtime

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 28 19:26:15 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGbafb6f3e9cc7: [OpenMP] disable build of old nvptx device runtime (authored by ye-luo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118522/new/

https://reviews.llvm.org/D118522

Files:
  openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt


Index: openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
===================================================================
--- openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
+++ openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
@@ -14,8 +14,8 @@
 set(LIBOMPTARGET_BUILD_NVPTX_BCLIB FALSE CACHE BOOL
   "Whether build NVPTX deviceRTL on CUDA free system.")
 
-if (NOT (LIBOMPTARGET_DEP_CUDA_FOUND OR LIBOMPTARGET_BUILD_NVPTX_BCLIB))
-  libomptarget_say("Not building NVPTX deviceRTL by default on CUDA free system.")
+if (NOT LIBOMPTARGET_BUILD_NVPTX_BCLIB)
+  libomptarget_say("Not building NVPTX deviceRTL: Disabled by LIBOMPTARGET_BUILD_NVPTX_BCLIB")
   return()
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118522.404215.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220129/bba25710/attachment.bin>


More information about the Openmp-commits mailing list