[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 17:53:30 PST 2022
ye-luo created this revision.
Herald added subscribers: asavonic, guansong, yaxunl, mgorny.
ye-luo requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
Fully respect LIBOMPTARGET_BUILD_NVPTX_BCLIB. There is no CUDA toolchain dependency. Complement D118268 <https://reviews.llvm.org/D118268>.
Repository:
rG LLVM Github Monorepo
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.404204.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220129/1b1cb56b/attachment.bin>
More information about the Openmp-commits
mailing list