From 324e0e5e0a09788d35f4ecb485d71e5f618f3b48 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Thu, 22 Aug 2019 16:50:04 -0500 Subject: [PATCH] Correct ROCr library path in rocrtst. Change-Id: I3624f37e256a0b61f55b1eb1ae48dabd87481b5f --- rocrtst/suites/test_common/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rocrtst/suites/test_common/CMakeLists.txt b/rocrtst/suites/test_common/CMakeLists.txt index f51d0a4f05..3ce6c7b06a 100755 --- a/rocrtst/suites/test_common/CMakeLists.txt +++ b/rocrtst/suites/test_common/CMakeLists.txt @@ -53,8 +53,9 @@ endif() # Required Defines first: set(ROCR_INC_DIR ${ROCM_DIR}/include) -set(ROCR_LIB_DIR ${ROCM_DIR}/lib) +set(ROCR_LIB_DIR ${ROCM_DIR}/hsa/lib) set(ROCM_SMI_INC_DIR ${ROCM_DIR}/include) +set(ROCM_SMI_LIB_DIR ${ROCM_DIR}/lib) # # Determine ROCR Header files are present # @@ -227,7 +228,7 @@ aux_source_directory(${ROCRTST_ROOT}/common common_srcs) # Specify the directory containing various libraries of ROCR # to be linked against for building ROC Perf applications # -LINK_DIRECTORIES(${ROCR_LIB_DIR}) +LINK_DIRECTORIES(${ROCR_LIB_DIR} ${ROCM_SMI_LIB_DIR}) # # Extend the list of libraries to be used for linking ROC Perf Apps