[Openmp-commits] [openmp] 1bde4cc - [Libomptarget] Fix building AMDGPU tests
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 30 15:57:00 PST 2023
Author: Joseph Huber
Date: 2023-01-30T17:56:48-06:00
New Revision: 1bde4ccae6a65d98caa710fd99214f1f6301cfc5
URL: https://github.com/llvm/llvm-project/commit/1bde4ccae6a65d98caa710fd99214f1f6301cfc5
DIFF: https://github.com/llvm/llvm-project/commit/1bde4ccae6a65d98caa710fd99214f1f6301cfc5.diff
LOG: [Libomptarget] Fix building AMDGPU tests
Summary:
Accidentally deleted this.
Added:
Modified:
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt b/openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
index 26f62b9582413..dca01b4644940 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()
More information about the Openmp-commits
mailing list