SWDEV-469138 - Added fix for find_package(LLVM)
Changed find_package call to prioritize the package that is found under the rocm installation over other system locations Change-Id: Ice93c94bbb9cdebd467d3e88bb2e4bfb7a1e76d9
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -188,7 +188,7 @@ endif()
|
||||
# Enable pre compiled header
|
||||
if(__HIP_ENABLE_PCH)
|
||||
find_package(LLVM REQUIRED CONFIG
|
||||
PATHS
|
||||
HINTS
|
||||
${ROCM_PATH}/llvm)
|
||||
# find_package(LLVM) returns the lib/cmake/llvm location. We require the root.
|
||||
if(NOT DEFINED HIP_LLVM_ROOT)
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user