SWDEV-532676 - Fix hipcc flags for catch tests (#191)

Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>
This commit is contained in:
Deshpande, Chinmay Diwakar
2025-06-24 21:42:11 -07:00
committed by GitHub
parent 3e69e3d3a8
commit 1c366ee950
8 changed files with 33 additions and 34 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ endfunction() # CheckAcceptedArchs
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/tex_ref_get_module.code
COMMAND ${CMAKE_CXX_COMPILER} --genco ${OFFLOAD_ARCH_STR} --std=c++17 ${CMAKE_CURRENT_SOURCE_DIR}/tex_ref_get_module.cc
-o tex_ref_get_module.code
-I${HIP_PATH}/include/ --rocm-path=${ROCM_PATH}
-I${HIP_PATH}/include/ --hip-path=${HIP_PATH}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tex_ref_get_module.cc)
add_custom_target(tex_ref_get_module ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tex_ref_get_module.code)
set_property(GLOBAL APPEND PROPERTY G_INSTALL_CUSTOM_TARGETS ${CMAKE_CURRENT_BINARY_DIR}/tex_ref_get_module.code)