File reorganization with backward compatibility

Package installed /opt/rocm
Soft links and wrapper header files installed /opt/rocm/roctracer for backward compatibility
tracer_tool library renamed to roctracer_tool and installed in /opt/rocm/lib/roctracer

Change-Id: Ica7518c5ef2e591715121cbc942b69dff29233d3
This commit is contained in:
Ranjith Ramakrishnan
2022-02-25 15:29:30 -08:00
rodzic c037ccb95e
commit bc19ae71eb
5 zmienionych plików z 139 dodań i 31 usunięć
+2 -2
Wyświetl plik
@@ -82,12 +82,12 @@ file( GLOB UTIL_SRC "${HSA_TEST_DIR}/util/*.cpp" )
if ( DEFINED ROCTRACER_TARGET )
## Build test library
set ( TEST_LIB "tracer_tool" )
set ( TEST_LIB "roctracer_tool" )
set ( TEST_LIB_SRC ${TEST_DIR}/tool/tracer_tool.cpp ${UTIL_SRC} )
add_library ( ${TEST_LIB} SHARED ${TEST_LIB_SRC} )
target_include_directories ( ${TEST_LIB} PRIVATE ${HSA_TEST_DIR} ${ROOT_DIR} ${ROOT_DIR}/inc ${HSA_RUNTIME_INC_PATH} ${ROCM_INC_PATH} ${HIP_INC_DIR} ${HSA_KMT_INC_PATH} ${GEN_INC_DIR} )
target_link_libraries ( ${TEST_LIB} ${ROCTRACER_TARGET} ${HSA_RUNTIME_LIB} c stdc++ dl pthread rt numa )
install ( TARGETS ${TEST_LIB} LIBRARY DESTINATION ${DEST_NAME}/tool )
install ( TARGETS ${TEST_LIB} LIBRARY DESTINATION lib/${DEST_NAME})
endif ()
## Build hsaco_test.cpp referenc test