From 5af9ea4e726732e0e16eebb99e006e6244f55274 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sat, 1 Dec 2018 22:19:01 -0600 Subject: [PATCH] CPACK_PACKAGING_INSTALL_PREFIX fix Change-Id: If8f428a5f8b1780e33ef3fe0e55d47f07ce18c4d [ROCm/rocprofiler commit: 2ad478423e96ca314dd721f9dd71f8c51b3f97af] --- projects/rocprofiler/CMakeLists.txt | 5 ----- projects/rocprofiler/test/run.sh | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) 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