Make directed_test support static libs

1.Make directed_test apps linked against static libs
    of hip, rocclr, rocr, roct and amd_comgr.
    2.Remove custom_target amdhip64_static_combiner.
    3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
    4.Simplify argument list parsing.
    5.Install rocclr when rocm is installed.
    6.Fix some original small bugs.

Revert "Revert "Make directed_test support static libs""
This reverts commit 4a8a95a8e9.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702


[ROCm/hip commit: bcd067f462]
This commit is contained in:
Tao Sang
2020-10-12 10:27:33 -04:00
orang tua bc9b26a59f
melakukan fd5ef38166
20 mengubah file dengan 322 tambahan dan 271 penghapusan
@@ -7,6 +7,9 @@ cmake_minimum_required(VERSION 3.10)
# Search for rocm in common locations
list(APPEND CMAKE_PREFIX_PATH /opt/rocm/hip /opt/rocm)
# create square.cpp
execute_process(COMMAND sh -c "/opt/rocm/hip/bin/hipify-perl ../square.cu > ../square.cpp")
# Find hip
find_package(hip)