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
Αυτή η υποβολή περιλαμβάνεται σε:
Freddy Paul
2021-05-26 08:57:06 -07:00
υποβλήθηκε από Freddy Paul
γονέας e5dd1e9b85
υποβολή 1cc934204f
2 αρχεία άλλαξαν με 2 προσθήκες και 2 διαγραφές
+1
Προβολή Αρχείου
@@ -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