roctracer:All libraries need to be installed with LIBRARY TAG
Cmake will do the post processing required for RPATH or any other needed for the libraries only if installed as libraries not as regular files FIX: SWDEV-287893 Change-Id: I9cf478fcd23b9f2e8b3bdd81aa566cad3ec2a5e3
This commit is contained in:
@@ -87,6 +87,7 @@ if ( DEFINED ROCTRACER_TARGET )
|
||||
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} ${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 )
|
||||
endif ()
|
||||
|
||||
## Build hsaco_test.cpp referenc test
|
||||
|
||||
Reference in New Issue
Block a user