File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ target_sources(omptarget.rtl.amdgpu PRIVATE src/rtl.cpp)
8
8
target_include_directories (omptarget.rtl.amdgpu PRIVATE
9
9
${CMAKE_CURRENT_SOURCE_DIR} /utils )
10
10
11
- set (USE_SHARED )
12
- if (LLVM_LINK_LLVM_DYLIB )
13
- set (USE_SHARED USE_SHARED )
14
- endif ()
15
- llvm_config (omptarget.rtl.amdgpu ${USE_SHARED} FrontendOffloading )
16
-
17
11
if (hsa-runtime64_FOUND AND NOT "amdgpu" IN_LIST LIBOMPTARGET_DLOPEN_PLUGINS )
18
12
message (STATUS "Building AMDGPU plugin linked against libhsa" )
19
13
target_link_libraries (omptarget.rtl.amdgpu PRIVATE hsa-runtime64::hsa-runtime64 )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ set(USE_SHARED)
50
50
if (LLVM_LINK_LLVM_DYLIB )
51
51
set (USE_SHARED USE_SHARED )
52
52
endif ()
53
- llvm_config (PluginCommon ${USE_SHARED} ProfileData )
53
+ llvm_config (PluginCommon ${USE_SHARED} FrontendOffloading ProfileData )
54
54
55
55
target_include_directories (PluginCommon PUBLIC
56
56
${CMAKE_CURRENT_SOURCE_DIR} /include
You can’t perform that action at this time.
0 commit comments