Merge pull request #1118 from yxsamliu/fix-build-hiprtc

Fix build failure due to hiprtc for HIP-Clang
This commit is contained in:
Maneesh Gupta
2019-05-17 21:38:22 +05:30
committed by GitHub
+5 -1
View File
@@ -303,7 +303,11 @@ endif()
#############################
# Install hip_hcc if platform is hcc
if(HIP_PLATFORM STREQUAL "hcc")
install(TARGETS hip_hcc_static hip_hcc hiprtc DESTINATION lib)
if(HIP_COMPILER STREQUAL "hcc")
install(TARGETS hip_hcc_static hip_hcc hiprtc DESTINATION lib)
else()
install(TARGETS hip_hcc_static hip_hcc DESTINATION lib)
endif()
# Install .hipInfo
install(FILES ${PROJECT_BINARY_DIR}/.hipInfo DESTINATION lib)