Skip to content

Commit 0fa04b6

Browse files
committed
[libomptarget] Fix libomptarget.rtl.amdgpu.so installation
If AMD GPUs don't exist when building libomptarget, the early return causes skipping the plugin installation.
1 parent 929ceec commit 0fa04b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openmp/libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ if (LIBOMPTARGET_FOUND_AMDGPU_GPU OR LIBOMPTARGET_FORCE_AMDGPU_TESTS)
109109
else()
110110
libomptarget_say("Not generating AMDGPU tests, no supported devices detected."
111111
" Use 'LIBOMPTARGET_FORCE_AMDGPU_TESTS' to override.")
112-
return()
113112
endif()
114113

115114
# Install plugin under the lib destination folder.

0 commit comments

Comments
 (0)