Remove unnecessary stuff from hip cmakefile

Remove the following from hip cmakefile,
1.find_package cmds of hsa-runtime64 and amd_comgr;
2.macros of USE_COMGR_LIBRARY and COMGR_DYN_DLL
because they have already been used in Rocclr cmakefile.
cmake mechanism will make hip cmakefile inherite them.

Change-Id: I03b527fc4135c79bb35cbbfe419211ec363cb067
Cette révision appartient à :
Tao Sang a créé et Tao Sang a révisé 2020-11-13 15:01:32 -05:00
1 Parent 25c8b41cb5
révision 10f4918d97
2 fichiers modifiés
+2 -18

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -7,7 +7,7 @@ set(HIP_LIB_TYPE "shared")
if (NOT ${BUILD_SHARED_LIBS})
set(HIP_LIB_TYPE "static")
endif()
message(STATUS "HIP_LIB_TYPE - ${HIP_LIB_TYPE}")
message(STATUS "HIP runtime lib type - ${HIP_LIB_TYPE}")
#-------------------------------------------------------------------------------
# Helper macro to parse BUILD instructions
macro(PARSE_BUILD_COMMAND _target _sources _hipcc_options _hcc_options _clang_options _nvcc_options _link_options _exclude_platforms _exclude_runtime _exclude_compiler _exclude_lib_type _depends _dir)