Skip to content

Commit 8d13721

Browse files
authored
Merge pull request llvm#586 from AMD-Lightning-Internal/amd/dev/dpalermo/flang_rt_hostexec
[OpenMP][llvm-flang] Now use flang_rt.runtime in hostexec
2 parents 55ac85e + 3e5e596 commit 8d13721

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

offload/hostexec/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ set_property(TARGET amdgpu_hostexec_services PROPERTY POSITION_INDEPENDENT_CODE
9292
option(LIBOMPTARGET_BUILD_DEVICE_FORTRT "Build device fortran IO runtime to use hostexec" OFF)
9393
if (LIBOMPTARGET_BUILD_DEVICE_FORTRT)
9494
add_compile_definitions(_HOSTEXEC_BUILD_DEVICE_FORTRT)
95-
target_link_libraries(amdgpu_hostexec_services FortranDecimal -L${CMAKE_BINARY_DIR}/../../lib -L${CMAKE_INSTALL_PREFIX}/lib)
96-
target_link_libraries(amdgpu_hostexec_services FortranRuntime -L${CMAKE_BINARY_DIR}/../../lib -L${CMAKE_INSTALL_PREFIX}/lib)
95+
target_link_libraries(amdgpu_hostexec_services flang_rt.runtime -L${CMAKE_BINARY_DIR}/../../lib -L${CMAKE_INSTALL_PREFIX}/lib)
9796
endif()
9897

9998
if (LIBOMPTARGET_DEP_CUDA_FOUND)

0 commit comments

Comments
 (0)