From 7da76aaaf41e963a1ec3b108f2bfefd88f42858b Mon Sep 17 00:00:00 2001 From: Jon Chesterfield Date: Mon, 15 Mar 2021 20:12:01 +0000 Subject: [PATCH] [libomptarget] Build amdgpu plugin by default [libomptarget] Build amdgpu plugin by default This will build the amdgpu plugin if cmake is able to find the hsa runtime library, which will be the case if rocm is installed or if the hsa library has been installed somewhere cmake looks. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D98654 --- openmp/libomptarget/plugins/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/openmp/libomptarget/plugins/CMakeLists.txt b/openmp/libomptarget/plugins/CMakeLists.txt index 9fb5476..ac15678 100644 --- a/openmp/libomptarget/plugins/CMakeLists.txt +++ b/openmp/libomptarget/plugins/CMakeLists.txt @@ -70,6 +70,7 @@ endif() endmacro() add_subdirectory(aarch64) +add_subdirectory(amdgpu) add_subdirectory(cuda) add_subdirectory(ppc64) add_subdirectory(ppc64le) -- 2.7.4