SWDEV-492356 - Install hip-test artifacts into a single folder

Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d
This commit is contained in:
Michael Xie
2024-10-23 16:14:59 -07:00
committed by Ajay GunaShekar
parent e248f1072a
commit 72450ae7a1
29 changed files with 292 additions and 157 deletions
+7 -1
View File
@@ -18,7 +18,13 @@ set(TEST_SRC
)
if(UNIX)
add_custom_target(dummy_kernel.code COMMAND ${CMAKE_CXX_COMPILER} --genco ${CMAKE_CURRENT_SOURCE_DIR}/dummy_kernel.cpp -o ${CMAKE_CURRENT_BINARY_DIR}/../multiproc/dummy_kernel.code -I${HIP_PATH}/include/ -I${CMAKE_CURRENT_SOURCE_DIR}/../../include)
add_custom_target(dummy_kernel.code
COMMAND ${CMAKE_CXX_COMPILER}
--genco ${CMAKE_CURRENT_SOURCE_DIR}/dummy_kernel.cpp
-o ${CMAKE_CURRENT_BINARY_DIR}/../multiproc/dummy_kernel.code
-I${HIP_PATH}/include/ -I${CMAKE_CURRENT_SOURCE_DIR}/../../include)
set_property(GLOBAL APPEND PROPERTY
G_INSTALL_CUSTOM_TARGETS ${CMAKE_CURRENT_BINARY_DIR}/dummy_kernel.code)
endif()
# the last argument linker libraries is required for this test but optional to the function