roctracer: Support static thunk
Add numa lib as this will be required with a static thunk Look for static thunk of shared thunk cannot be found Signed-off-by: Kent Russell <kent.russell@amd.com> Change-Id: I5de63e0a56a8946132ccbb7140a19a82a70b951d
This commit is contained in:
@@ -150,6 +150,9 @@ get_filename_component ( HSA_RUNTIME_INC_PATH "${HSA_RUNTIME_INC}" DIRECTORY )
|
||||
get_filename_component ( HSA_RUNTIME_LIB_PATH "${HSA_RUNTIME_LIB}" DIRECTORY )
|
||||
|
||||
find_library ( HSA_KMT_LIB "libhsakmt.so" )
|
||||
if ( "${HSA_KMT_LIB_PATH}" STREQUAL "" )
|
||||
find_library ( HSA_KMT_LIB "libhsakmt.a" )
|
||||
endif()
|
||||
get_filename_component ( HSA_KMT_LIB_PATH "${HSA_KMT_LIB}" DIRECTORY )
|
||||
set ( HSA_KMT_INC_PATH "${HSA_KMT_LIB_PATH}/../include" )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user