Merge topic 'hip-lang-lib64search'

c34d827622 HIP: Ensure lib64 directories are included in hip-lang dependency search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9741
This commit is contained in:
Brad King
2024-08-22 13:03:37 +00:00
committed by Kitware Robot
+1 -1
View File
@@ -223,7 +223,7 @@ if(CMAKE_HIP_PLATFORM STREQUAL "amd")
endif()
unset(_CMAKE_HIP_COMPILER_ROCM_LIB_DIRS)
endif()
if(CMAKE_HIP_COMPILER_ROCM_LIB MATCHES "/lib64$" AND NOT DEFINED CMAKE_SIZEOF_VOID_P)
if(NOT DEFINED CMAKE_SIZEOF_VOID_P)
# We have not yet determined the target ABI but we need 'find_package' to
# search lib64 directories to find hip-lang CMake package dependencies.
# This will be replaced by ABI detection later.