Temporary: Disabling Roctracer test package

When separate debug info is requested, the test package
generation fails because /usr/bin/objcopy does not understand
the HSA code object format. We need a workaround to get
past this issue.

Change-Id: I9a307fcf532ce8219a9301850aae972303d19990
This commit is contained in:
Ammar ELWazir
2022-07-13 23:08:59 -05:00
zatwierdzone przez Laurent Morichetti
rodzic a7cac4b4c9
commit c2ecd15197
2 zmienionych plików z 2 dodań i 2 usunięć
+1 -1
Wyświetl plik
@@ -140,7 +140,7 @@ if(NOT ROCM_DEP_ROCMCORE)
string(REGEX REPLACE ",? ?rocm-core" "" CPACK_DEBIAN_RUNTIME_PACKAGE_DEPENDS ${CPACK_DEBIAN_RUNTIME_PACKAGE_DEPENDS})
endif()
set(CPACK_COMPONENTS_ALL runtime tests)
set(CPACK_COMPONENTS_ALL runtime)
include(CPack)
+1 -1
Wyświetl plik
@@ -83,7 +83,7 @@ add_dependencies(mytest codeobj_test)
## Build the hsa (standalone) copy test
function(generate_hsaco TARGET_ID INPUT_FILE OUTPUT_FILE)
separate_arguments(CLANG_ARG_LIST UNIX_COMMAND
"-O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0
"-O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -Wl,--build-id=sha1
-target amdgcn-amd-amdhsa -mcpu=${TARGET_ID} -o ${OUTPUT_FILE} ${INPUT_FILE}")
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/${OUTPUT_FILE}
COMMAND clang ${CLANG_ARG_LIST}