File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -205,20 +205,9 @@ if(__HIP_ENABLE_PCH)
205
205
target_sources (amdhip64 PRIVATE ${CMAKE_BINARY_DIR} /hip_pch.o )
206
206
endif ()
207
207
208
- set (HIPRTC_OBJECTS )
209
208
# Add hiprtc
210
209
add_subdirectory (hiprtc )
211
210
212
- target_compile_definitions (amdhip64 PRIVATE __HIP_ENABLE_RTC )
213
- if (BUILD_SHARED_LIBS )
214
- target_link_libraries (amdhip64 PRIVATE ${HIPRTC_OBJECTS} )
215
- add_dependencies (amdhip64 hiprtc-builtins )
216
- INSTALL (TARGETS hiprtc-builtins
217
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
218
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
219
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} )
220
- endif ()
221
-
222
211
#############################
223
212
# Profiling API support
224
213
#############################
Original file line number Diff line number Diff line change @@ -225,15 +225,6 @@ add_custom_command(
225
225
target_link_libraries (hiprtc PRIVATE ${HIPRTC_GEN_OBJ} )
226
226
target_compile_definitions (hiprtc PRIVATE __HIP_ENABLE_RTC )
227
227
228
- if (NOT WIN32 )
229
- if (BUILD_SHARED_LIBS )
230
- target_sources (amdhip64 PRIVATE hiprtc.cpp ../hip_comgr_helper.cpp hiprtcInternal.cpp )
231
- endif ()
232
- endif ()
233
-
234
- list (APPEND HIPRTC_OBJECTS ${HIPRTC_GEN_OBJ} )
235
- set (HIPRTC_OBJECTS ${HIPRTC_OBJECTS} PARENT_SCOPE )
236
-
237
228
add_dependencies (hiprtc hiprtc-builtins )
238
229
install (TARGETS hiprtc-builtins
239
230
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
You can’t perform that action at this time.
0 commit comments