diff --git a/projects/rocprofiler/CMakeLists.txt b/projects/rocprofiler/CMakeLists.txt index 2cd916bb61..d46cf67c3c 100644 --- a/projects/rocprofiler/CMakeLists.txt +++ b/projects/rocprofiler/CMakeLists.txt @@ -77,11 +77,6 @@ add_subdirectory ( ${TEST_DIR} ${PROJECT_BINARY_DIR}/test ) add_custom_target ( rocprof-link ALL WORKING_DIRECTORY ${PROJECT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink rpl_run.sh rocprof-link ) -## Install information -#if ( CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT ) -#message ( "CMAKE default prefix: ${CMAKE_INSTALL_PREFIX}" ) -#endif () -set ( CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} ) set ( CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/${ROCPROFILER_NAME}" ) message ( "---------Install-Dir: ${CMAKE_INSTALL_PREFIX}" ) install ( TARGETS ${ROCPROFILER_TARGET} LIBRARY DESTINATION lib ) diff --git a/projects/rocprofiler/test/run.sh b/projects/rocprofiler/test/run.sh index 0a0a2f727b..550ad5b1af 100755 --- a/projects/rocprofiler/test/run.sh +++ b/projects/rocprofiler/test/run.sh @@ -22,6 +22,8 @@ # THE SOFTWARE. ################################################################################ +# enable tools load failure reporting +export HSA_TOOLS_REPORT_LOAD_FAILURE=1 # paths to ROC profiler and oher libraries export LD_LIBRARY_PATH=$PWD # ROC profiler library loaded by HSA runtime