Add COMGR relative path for build machines

[ROCm/clr commit: 6b3095f7cb]
This commit is contained in:
Aaron Enye Shi
2019-04-23 18:30:14 +00:00
committed by Siu Chi Chan
parent 4177b6f8a1
commit 9cd137f2e4
+4 -1
View File
@@ -200,7 +200,10 @@ endif()
if(HIP_PLATFORM STREQUAL "hcc")
find_package(amd_comgr REQUIRED CONFIG
PATHS
/opt/rocm/lib/cmake/amd_comgr
/opt/rocm/
PATH_SUFFIXES
cmake/amd_comgr
lib/cmake/amd_comgr
)
MESSAGE(STATUS "Code Object Manager found at ${amd_comgr_DIR}.")
endif()