Fix hip-config.cmake for hip-clang
Define HIP_COMPILER and HIP_RUNTIME in hip-config.cmake to
facilitate other packages identify hip-clang and HIP/VDI
runtime.
[ROCm/hip commit: cce99bfa24]
Ta zmiana jest zawarta w:
%! (template.HTML=
Yaxun (Sam) Liu)złożyło 2019-04-09 16:41:01 -04:00
1 rodzic
be808fd3ca
złożenie
a38f40a151
2 plików zmienionych
+4
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -39,6 +39,8 @@ if (NOT _CMakeFindDependencyMacro_FOUND)
|
||||
endmacro()
|
||||
endif()
|
||||
|
||||
set(HIP_COMPILER "@HIP_COMPILER@")
|
||||
set(HIP_RUNTIME "@HIP_RUNTIME@")
|
||||
|
||||
set_and_check( hip_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@" )
|
||||
set_and_check( hip_INCLUDE_DIRS "${hip_INCLUDE_DIR}" )
|
||||
|
||||
@@ -39,6 +39,8 @@ if (NOT _CMakeFindDependencyMacro_FOUND)
|
||||
endmacro()
|
||||
endif()
|
||||
|
||||
set(HIP_COMPILER "@HIP_COMPILER@")
|
||||
set(HIP_RUNTIME "@HIP_RUNTIME@")
|
||||
|
||||
set_and_check( hip_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@" )
|
||||
set_and_check( hip_INCLUDE_DIRS "${hip_INCLUDE_DIR}" )
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika