From 1bde4ccae6a65d98caa710fd99214f1f6301cfc5 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 30 Jan 2023 17:52:04 -0600 Subject: [PATCH] [Libomptarget] Fix building AMDGPU tests Summary: Accidentally deleted this. --- openmp/libomptarget/plugins/amdgpu/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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() -- 2.7.4