Skip to content

Commit

Permalink
install executables to bin/asan for ASAN builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lawruble13 committed Mar 13, 2024
1 parent e0d7b0f commit cb23f70
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function(rocm_install_targets)
set(LIB_INSTALL_DIR ${PARSE_PREFIX}/${ROCM_INSTALL_LIBDIR})
set(INCLUDE_INSTALL_DIR ${PARSE_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR})
elseif(ENABLE_ASAN_PACKAGING)
set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR})
set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR}/asan)
set(LIB_INSTALL_DIR ${ROCM_INSTALL_LIBDIR}/asan)
set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR})
else()
Expand Down Expand Up @@ -185,9 +185,6 @@ function(rocm_install_targets)
set(export_arg EXPORT ${EXPORT_FILE})
if(T_TYPE STREQUAL "EXECUTABLE")
unset(export_arg)
if(ENABLE_ASAN_PACKAGING)
continue()
endif()
endif()
install(
TARGETS ${TARGET}
Expand Down

0 comments on commit cb23f70

Please sign in to comment.