From: Joseph Huber Date: Mon, 30 Jan 2023 23:52:04 +0000 (-0600) Subject: [Libomptarget] Fix building AMDGPU tests X-Git-Tag: upstream/17.0.6~19125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bde4ccae6a65d98caa710fd99214f1f6301cfc5;p=platform%2Fupstream%2Fllvm.git [Libomptarget] Fix building AMDGPU tests Summary: Accidentally deleted this. --- diff --git a/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt b/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt index 26f62b9..dca01b4 100644 --- a/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt +++ b/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt @@ -114,6 +114,7 @@ set_target_properties(omptarget.rtl.amdgpu PROPERTIES option(LIBOMPTARGET_FORCE_AMDGPU_TESTS "Build AMDGPU libomptarget tests" OFF) if (LIBOMPTARGET_FOUND_AMDGPU_GPU OR LIBOMPTARGET_FORCE_AMDGPU_TESTS) # Report to the parent scope that we are building a plugin for amdgpu + set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa" PARENT_SCOPE) list(APPEND LIBOMPTARGET_TESTED_PLUGINS "omptarget.rtl.amdgpu") set(LIBOMPTARGET_TESTED_PLUGINS "${LIBOMPTARGET_TESTED_PLUGINS}" PARENT_SCOPE) else()